Commit bd4096f
fix(metadata-protocol): the three recovery doors announce their writes on the mutation choke point (#14411)
* fix(metadata-protocol): emit onMetadataMutation from the three recovery doors (#14179)
rollbackMetaItem, revertCommit (both limbs) and deleteMetaItem's legacy
raw-engine exit mutate live state and never reached emitMetadataMutation —
the documented choke point and, since #13331, the cluster publish point. Each
now announces after its write, with the same org scope and singular type key
the write used. Row-absent exits stay silent; the cluster receive path is
untouched.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
* test(metadata-protocol): name the boot topology instead of passing an id that a default parameter swallows (#14179)
A default parameter fires on an explicitly passed `undefined`, so the harness's
bootstrap-mode cases were built on an environment boot and measured the
two-tier gate's 403 rather than the legacy exit. The factory now takes a named
mode and asserts the topology it constructed.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
* test(metadata-protocol): declare the ablation direction per case before running it (#14179)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
* chore: record the new pin file's three engine doubles in the RETAINED ledger (#14179)
`check:engine-double-contract` reds until the ledger learns about a file that
pins engine doubles, or the pin never protects it. Regenerated with
`--write`: 3 rows added, all naming the new test file, 0 lost.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112hMx9hjJ9BgB28X97DS68
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent a69dfde commit bd4096f
4 files changed
Lines changed: 817 additions & 0 deletions
File tree
- .changeset
- packages/metadata-protocol/src
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
0 commit comments