Skip to content

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

Closed

Description

@frostyard-machines

Problem

.memory/README.md says that promoted_to starts empty and is set when a correction graduates into AGENTS.md, a doc under docs/, or a skill.

The blocker-to-guard rule (quality loop) makes the PR that fixes a blocking review point add the guard (a targeted test, or an AGENTS.md rule when no test can catch it) in the same change as the record. So such a record is promoted when it is made, and its promoted_to names the guard from the start. The README's own example already does this ("promoted_to": "test/cache-key.test.mjs"), and scripts/check-corrections.mjs accepts any path.

frostyard/firn#159 found the same gap in firn's copy of the text; the firn fix is linked from that issue.

Done when

  • .memory/README.md says that promoted_to can name the targeted test or the AGENTS.md rule that the same PR adds as the guard, set when the record is made; otherwise it starts "" and is filled once at graduation.
  • The text agrees with ADR-0018, ADR-0081 and scripts/check-corrections.mjs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions