Repository navigation
docs(memory): let promoted_to name the guard that the same PR adds - #267
Merged
Merged
Conversation
The blocker-to-guard rule of the quality loop adds the guard (a targeted test, or an AGENTS.md rule) in the same PR as the correction record, so that record is promoted when it is made. The README said promoted_to always starts empty. It now says when it names the guard from the start, and when it starts empty and is filled once at graduation. The Content line uses ADR-0081's wording for the path.
Contributor
Author
Cross-review
|
bketelsen
approved these changes
Nov 16, 2026
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
.memory/README.mdsaid thatpromoted_tostarts empty and is set only when a correction graduates intoAGENTS.md, a doc or a skill. The blocker-to-guard rule of the quality loop (Learn station) adds the guard, a targeted test or anAGENTS.mdrule, in the same PR as the record, and says thatpromoted_tonames that test or rule. The PR review rubric row "Blocker has a guard" says the same. The README's own example already names a test.This PR changes 1 file,
.memory/README.md:promoted_tobullet now has 2 cases. When the PR that adds the record also adds its guard,promoted_tonames the guard's path when the record is made (scripts/new-correction.mjs --promoted-to PATH). Otherwise it starts""and is filled once at graduation.Agreement with the sources:
promoted_tois""or a path; a record never changes except that an emptypromoted_tois filled once. A record made with its guard path is never changed, so the permanence rule holds.scripts/check-corrections.mjsaccepts any string inpromoted_tofor a new record, and with--baseallows only the change from""to a non-empty path. No script changes.frostyard/firn#159 found the same gap in firn's copy; frostyard/firn#161 fixed it there with the same 2 cases.
Risk tier
Risk tier: 1 — docs only;
.memory/README.mdmatches no glob in.github/risk-paths.jsonand no organization floor.Docs housekeeping
docs/design/quality-loop.mdresolves (check:docs)Verification
make cigreen on211dfa5before the first push (npm run check:check:docs,check:organization, tests: 953 pass, 0 fail)Not covered: no test reads the README text; the check is a review of the wording against ADR-0018, ADR-0081, the quality loop and
scripts/check-corrections.mjs.Fixes #263