Document confidence markers and typed relationships in ingest skill - #113
Merged
Merged
Conversation
…esolves #110) SKILL.md's page-writing step now covers the inline ^[inferred]/^[ambiguous] markers, their stacking order with ^[source_id] citations, and the confidence: rollup's counting/rounding rule, plus the relationships: block's enrich-not-duplicate and declaring-page-direction rules. ingest-prompts.md gets matching concrete examples in the existing prompt-frame style. Verified against wiki_toolkit/wiki.py's actual lint checks (_check_confidence_drift, _check_relationships) with a hand-authored fixture page that lints clean.
Contributor
|
Contributor
|
Version hint: no-release Comment ID: Display version hint-auto-generated |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
skills/ingest/SKILL.md's page-writing step now documents the inline^[inferred]/^[ambiguous]confidence markers, their stacking order with^[source_id]citations, and theconfidence:rollup's counting/rounding rule.relationships:block: enrich-not-duplicate rule, direction-from-declaring-page, and therelated_to/omit fallback.skills/ingest/ingest-prompts.mdguidance adds concrete examples for both fields, matching the file's existing prompt-frame style.Resolves #110. Both blockers (#108 confidence drift lint, #109 typed-relationships lint) are already merged, so the fixture-page acceptance check could be verified directly.
Test plan
confidence:rollup + arelationships:entry) in a scratch vault and ranwiki-toolkit lintagainst it — passes with no violations.wiki_toolkit/wiki.py(_check_confidence_drift,_check_relationships).pytest tests/test_wiki.pypasses (31 passed) — no code touched by this change.