Repository navigation
Commit 43f4766
fix(spec): stop verbatim-quoting a rotted proof-registry reason in the sharing_rule ledger note (#18994)
Fixes #18801
Clause-②: no
## What was wrong
The `_note` of `packages/spec/liveness/sharing_rule.json` quoted the
`declarative-rbac-seeding` proof-registry entry's `blockedReason`
**verbatim**, and named the file to find it in. PR #18797 (`ac720a9865`)
rewrote that reason, so the quoted sentence stopped existing in the very
file the note sends a reader to.
**The judgement was never wrong.** The seeding does falsify the entry's
original premise — the rewritten reason on the entry now records exactly
that, as a real ADR-0054 §3 binding candidate held back by the adoption
act alone. Only the quotation rotted, which is why this is p3 and why
the fix replaces the quote rather than the verdict.
## Shape chosen: A-2 — stop quoting verbatim
The card preferred A-2 and left the choice to the dev, because the real
question is whether a reader can still **locate** the entry once the
quote is gone. Measured, not assumed:
| reading | result |
|---|---|
| `id: 'declarative-rbac-seeding'` declarations in `proof-registry.mts`
| **1** |
| ...out of all `id:` declarations in that file (firing control for the
predicate) | **42** |
| `declarative-rbac-seeding` occurrences in that file | **6**, across
**5** lines |
So the id is a unique key *within the registry* and grepping it lands a
reader on the entry. A-1 would have bought a pointer with the same
expiry date as the last one: the entry's reason is prose owned by
another card's author, and this note has now been broken by a rewrite of
it once already.
Three things worth stating about the shape:
- **The old premise is paraphrased, deliberately not re-quoted.** A
paraphrase of a premise that has already been retired cannot rot — the
text it describes is frozen in history and nothing will rewrite it
again. Re-quoting it would also have re-introduced the exact string this
card exists to remove.
- **It is the house pattern in the same directory.** `liveness/api.json`
and `liveness/qa.json` both cite `proof-registry.mts` by name and claim,
and quote none of its prose. This file was the outlier.
- 1 parent 2767af8 commit 43f4766
2 files changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments