Skip to content

docs(memory): let promoted_to name the guard that the same PR adds - #267

Merged
bketelsen merged 1 commit into
mainfrom
lucilla/core-263-promoted-to
Nov 16, 2026
Merged

bketelsen merged 1 commit into
mainfrom
lucilla/core-263-promoted-to

Conversation

@frostyard-machines

@frostyard-machines frostyard-machines commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

.memory/README.md said that promoted_to starts empty and is set only when a correction graduates into AGENTS.md, a doc or a skill. The blocker-to-guard rule of the quality loop (Learn station) adds the guard, a targeted test or an AGENTS.md rule, in the same PR as the record, and says that promoted_to names 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:

  • The promoted_to bullet now has 2 cases. When the PR that adds the record also adds its guard, promoted_to names 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.
  • The Content bullet uses the wording of ADR-0081 ("the path of the rule, document, test or skill that the record was promoted to").

Agreement with the sources:

  • ADR-0081: promoted_to is "" or a path; a record never changes except that an empty promoted_to is filled once. A record made with its guard path is never changed, so the permanence rule holds.
  • ADR-0018: the 5 fields and the promotion path stay the same.
  • scripts/check-corrections.mjs accepts any string in promoted_to for a new record, and with --base allows 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.md matches no glob in .github/risk-paths.json and no organization floor.

Docs housekeeping

  • Cross-links hold: the new link to docs/design/quality-loop.md resolves (check:docs)
  • No new doc, no new decision: the text now states what the quality loop and the rubric already require

Verification

  • make ci green on 211dfa5 before 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

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.
@github-actions github-actions Bot added the level:L3 Skim label Nov 16, 2026
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Cross-review

  • Reviewer: openai/gpt-6.1-sol. Coder: anthropic/claude-opus-5-5.
  • Base and merge-base: 675c34df887812d956b796a7ed02f5a8f41e9a54. Head: 211dfa5dba7cd37c674aab4b4d9fd25e6246c430 (the current PR head).
  • Scope: the whole diff (.memory/README.md), checked against ADR-0018, ADR-0081, docs/design/quality-loop.md, docs/specs/pr-review-rubric.md, scripts/check-corrections.mjs, scripts/new-correction.mjs and AGENTS.md. No path excluded.
  • Result: Ready, Blocking: none, 0 findings. The "Permanent" bullet stays true: a record made with a non-empty promoted_to is never changed later; the validator's --base check allows only an empty-to-non-empty change.
  • Revert test: exempt (docs only, no executable behavior).
  • CI at the head: docs-gate, fleet-conventions and scaffold-e2e pass.

@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 16, 2026
@bketelsen
bketelsen added this pull request to the merge queue Nov 16, 2026
Merged via the queue into main with commit ffe933e Nov 16, 2026
6 checks passed
@bketelsen
bketelsen deleted the lucilla/core-263-promoted-to branch November 16, 2026 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L3 Skim ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(memory): say that promoted_to can name the guard test, set when the record is made

2 participants