From 2c904e9c4c169dde68e9c2a00da66538569713b1 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 6 Sep 2026 03:18:48 +0000 Subject: [PATCH] docs(metadata-protocol): boot reconciliation is ADR-0094 D4, not D3, at two comment sites MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01ARYe3yQTQCUFm5qPYNgKaJ --- .../src/protocol.recovery-doors-mutation-projector.test.ts | 2 +- packages/metadata-protocol/src/protocol.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/metadata-protocol/src/protocol.recovery-doors-mutation-projector.test.ts b/packages/metadata-protocol/src/protocol.recovery-doors-mutation-projector.test.ts index bc01e4aa3a..69c6b13330 100644 --- a/packages/metadata-protocol/src/protocol.recovery-doors-mutation-projector.test.ts +++ b/packages/metadata-protocol/src/protocol.recovery-doors-mutation-projector.test.ts @@ -17,7 +17,7 @@ * three recovery doors restored the row and the in-memory registry but never * called it: a rollback (or a commit revert) left the derived record on the * ROLLED-BACK-FROM state until an unrelated save/publish/delete on the same - * name, or a boot reconciliation (ADR-0094 D3), re-derived it. + * name, or a boot reconciliation (ADR-0094 D4), re-derived it. * * The companion file `protocol.recovery-doors-emit-mutation.test.ts` (a prior * card) pins the sibling half of the SAME four call sites — the diff --git a/packages/metadata-protocol/src/protocol.ts b/packages/metadata-protocol/src/protocol.ts index 89436302d0..426728d2ae 100644 --- a/packages/metadata-protocol/src/protocol.ts +++ b/packages/metadata-protocol/src/protocol.ts @@ -20021,7 +20021,7 @@ export class ObjectStackProtocolImplementation implements // registry to the target version; a derived read-model (e.g. // `permission` -> `sys_permission_set`) must be just as current // when this call returns, not only after the next unrelated - // write or boot reconciliation (ADR-0094 D3) eventually heals it. + // write or boot reconciliation (ADR-0094 D4) eventually heals it. // `body` is the restored version's own — the same value the // write-through above registered. await this.runMutationProjector({