Repository navigation
feat(review): link, don't restate a value another doc already holds - #112
Merged
Merged
Conversation
The review checklist now finds the home of each value, part number, pin assignment or limit a doc states (the place CONVENTIONS.md names, else the source outside the brain, else the accepted doc on the item) with km search on the item's name, then its values. Two figures for the same item that disagree are blocking, a matching unlinked one is a non-blocking request to link it, a retold page without a link is blocking, and a decision or transcript may quote the figures it was based on. Each such finding carries an origin tag. The eval case review-restated-value covers the disagreeing, the matching and the decision case.
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.
A value, part number, pin assignment or limit that already has a home (the brain's CONVENTIONS section on where facts live, a source outside the brain, or the accepted doc on the item) tends to be restated in several docs, where copies can drift apart. This adds a review rule for it.
Changes (
skills/km/reference/review-and-pr.md)km search, item names and identifiers first, then values. Shared resources and cited files are read directly. A home that cannot be read is reported as "not compared" and never blocks.supersedes:,translates:,sources:,related:or a link: blocking.decision,transcript, a dated state report): may quote the figures they were based on.artifactandverbatim-blockget no link request but keep the disagreement check.(origin: ...): firmware, datasheet, measurement, customer document, other or unknown, so restatements can be counted by where their home is.km searchand points records of a moment to the rule.Eval: new case
review-restated-valuekm searchran;review-restated-valuereview-restated-value, after a grader fixreview-docprkm searchand file:line citations of the home, the origin tag, and the reference read. So the content graders guard against regressions, and the method graders show the lift.Tests
All smoke suites pass, and
skill_smokeholds SKILL.md at 11992 bytes.Review
One serial reviewer pass. Its 16 findings are fixed: