Skip to content

Commit a7cce55

Browse files
claude[bot]claude
andauthored
docs(metadata-protocol): boot reconciliation is ADR-0094 D4, not D3, at two comment sites (#16153)
Two comments in `packages/metadata-protocol` cite `ADR-0094 D3` for boot reconciliation. In ADR-0094 that is D4 (`### D4 — Boot reconciliation and the migration/backfill path`); D3 is a different decision — `### D3 — Data-door writes are redirected into metadata (write-through)`. Prime Directive #13's mechanism is that a code comment naming an ADR section sends the next author to the decision they are standing on. A wrong section sends them to the write-through redirect table when they were looking for the `kernel:ready` convergence pass — a plausible-looking wrong answer, which is worse than no citation at all. Comment text only; no behaviour, no assertion, no test semantics. The edit is byte-length neutral, so no line number moves. Claude-Session: https://claude.ai/code/session_01ARYe3yQTQCUFm5qPYNgKaJ Co-authored-by: Claude <noreply@anthropic.com>
1 parent bdc0218 commit a7cce55

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/metadata-protocol/src/protocol.recovery-doors-mutation-projector.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* three recovery doors restored the row and the in-memory registry but never
1818
* called it: a rollback (or a commit revert) left the derived record on the
1919
* ROLLED-BACK-FROM state until an unrelated save/publish/delete on the same
20-
* name, or a boot reconciliation (ADR-0094 D3), re-derived it.
20+
* name, or a boot reconciliation (ADR-0094 D4), re-derived it.
2121
*
2222
* The companion file `protocol.recovery-doors-emit-mutation.test.ts` (a prior
2323
* card) pins the sibling half of the SAME four call sites — the

packages/metadata-protocol/src/protocol.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20056,7 +20056,7 @@ export class ObjectStackProtocolImplementation implements
2005620056
// registry to the target version; a derived read-model (e.g.
2005720057
// `permission` -> `sys_permission_set`) must be just as current
2005820058
// when this call returns, not only after the next unrelated
20059-
// write or boot reconciliation (ADR-0094 D3) eventually heals it.
20059+
// write or boot reconciliation (ADR-0094 D4) eventually heals it.
2006020060
// `body` is the restored version's own — the same value the
2006120061
// write-through above registered.
2006220062
await this.runMutationProjector({

0 commit comments

Comments
 (0)