provident-storeroom 1.12.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/RELEASE-NOTES.md CHANGED
@@ -16,7 +16,7 @@ claims to be installable.**
16
16
 
17
17
  **⟶ AND THE CUT-STATE IS DROPPED FROM THIS FILE, 2026-10-28 — `D-57`, THE ARCHITECT VERBATIM: *"Drop the cut-state."*** `RCA-8(g)` ANNOTATE-BESIDE: **the title line and every dated paragraph of this file stand BYTE-FOR-BYTE as the reading of their own date, THIS clause is the one that reads them, and not one byte is deleted.** **THE REASON IS STRUCTURAL AND IT WAS MEASURED THREE TIMES: A SHIPPED DOCUMENT IS SEALED BEFORE THE TAG THAT MAKES ITS CUT-STATE TRUE**, so every release packed before its tag ships a document denying itself, and a guard running in that release's own preflight can only ever confirm *"not cut"* — `1.2.0` shipped *"NOT CUT"*, `1.3.0` shipped *"`v1.3.0` DOES NOT EXIST"*, and this file's own head was stale within minutes of the tag that falsified it. **SO EVERY SENTENCE BELOW THAT CLAIMS WHETHER SOME VERSION IS OR IS NOT CUT — *"PREPARED — NOT CUT"*, *"no `v1.3.0`"*, *"nothing in this section is cut"*, *"the release is not cut"*, *"what is installed today is still `1.1.0`"*, and each reading printed beside them — IS READ THROUGH THIS CLAUSE: the cut-state is not a document's to state.** **WHAT SURVIVES IS THE ONE FIGURE A SHIPPED DOCUMENT CAN BE RIGHT ABOUT, AND IT IS GENERATED FROM THE MANIFEST AND ASSERTED BY THE PREFLIGHT:**
18
18
 
19
- PUBLISH-NOTES-VERSION-LINE: THE VERSION THIS CHANGE LIST DESCRIBES IS `1.12.0`.
19
+ PUBLISH-NOTES-VERSION-LINE: THE VERSION THIS CHANGE LIST DESCRIBES IS `2.0.0`.
20
20
 
21
21
  **AND THE TAG SET SURVIVES AS A RECORD OF RELEASES — PAST TENSE, A LIST OF WHAT HAS BEEN CUT, NEVER A CLAIM ABOUT THE CURRENT ONE** (the record stands in `§1.4.0` below — the section this file's head called `§main` until it was re-cut to name the version it prepares, 2026-10-28 — beside the section for the tree this file describes). (`D-57`; `DEF-AC` (b) — `scripts/publish.sh --figures` generates that line from `bindings/js/package.json`'s `version` and refuses on any disagreement, in this file, in `bindings/js/README.md` and in the shipped guide: three documents, three version lines, one generator, one assertion.)
22
22
 
@@ -55,6 +55,189 @@ the value to assert against, not the crate's own `Cargo.toml` version.
55
55
 
56
56
  ---
57
57
 
58
+ ## §2.0.0 · a MAJOR — the second claimed realm, the save arm it made possible, AND THE REMOVAL OF A PUBLISHED DECLARATION MEMBER: a WebAssembly build in its own package, three `cfg` keys' companions, a twenty-third status, two receipt accessors, and `JournalOp.compacted` gone from the record and the declaration
59
+
60
+ **⟶ THIS HEADING READ `§1.13.0 · a MINOR` UNTIL 2026-11-17, AND `D-158`'s CLASS IS SUPERSEDED — NOT WITHDRAWN.**
61
+ **THE ELEVEN ENTRIES BELOW ARE THE SAME LANDING READ AT A DIFFERENT CLASS**: every one of them still ships, every one of
62
+ them still describes what a consumer on `1.12.0` meets, **and a reader who sees this section re-lettered is not being told
63
+ the work is new** — the work is the same work, and what moved is the number the work is released under, because the same
64
+ landing also removes a member the published declaration carried. **THE ARCHITECT'S RULINGS, VERBATIM AND IN ORDER**
65
+ (`strata/decisions.md`): `D-158` — *"MINOR — 1.13.0"*; `D-189` item 2 — *"If .compacted is always false drop it"*; and
66
+ `D-190` — **`MAJOR — bump to 2.0.0`**. **THE REASON THE CLASS MOVED IS ONE SENTENCE AND IT IS THE ONLY ONE**: `D-189` item
67
+ 2 removes `readonly compacted: boolean` from the PUBLISHED `JournalOp` (`bindings/js/index.d.ts`), **and removing a
68
+ declared member is breaking against `1.12.0`** — `D-189` item 2 says it in as many words (*"removing it is breaking
69
+ against `1.12.0` and `D-158`'s `1.13.0` `MINOR` cannot absorb it"*), so a `MINOR` could not carry this landing and the
70
+ class is `MAJOR`. **THE VERSION MOVES TWELVE SITES TOGETHER: the main manifest's `version`, its FIVE
71
+ exact `optionalDependencies` pins, and the SIX `platforms/*/package.json` versions** — the five native siblings and the
72
+ WebAssembly sibling whose `version` its own coupled-version clause names (the admission's reading of `§3.2`'s rule as
73
+ *"the SEVEN manifests move to `X.Y.Z` TOGETHER"*). **The artefact is stamped from the manifest by `bindings/js/build.rs`,
74
+ so `version()` answers `2.0.0`**, and that is the value to assert against.
75
+
76
+ **THE HEADLINE IS ONE SENTENCE: THE PACKAGE IS NO LONGER CLOSED AT ONE REALM, AND A WEBASSEMBLY BUILD OF THIS STORE NOW
77
+ SHIPS AS ITS OWN PACKAGE.** `D-154` lifted the claim; the build carries **no `filePath`** — the key is not in domain
78
+ there, and a construction that supplies it is refused **by the store's own path arm with `FilePathUnreachable`, whose message names the path** —
79
+ **⟶ RE-CUT 2026-11-17: this entry said `AddressMalformed` at the `cfg` gate, and the shipped bytes answer `FilePathUnreachable`** (`CW-2`
80
+ measures the divergence itself and records it; the guide prints the measured answer) — so the seven `std::fs`
81
+ calls and `std::process::id()` are `#[cfg]`-ed out with the writer and the reader they belong to, and the register is
82
+ **`file` tier with no path**: a store whose durability is a caller's function.
83
+
84
+ **WHAT A CONSUMER ON `1.12.0` MEETS, AT EACH ENTRY POINT:**
85
+
86
+ 1. **`import` AND `require` OF `provident-storeroom` ARE UNCHANGED.** Same module, same one name `storeCreate`, same
87
+ `types` condition standing first, same `require` condition on the same one ESM file, same floor `>=22.12.0`.
88
+ 2. **`@auspicion/provident-storeroom-js-wasm` IS NEW, AND IT IS A SECOND PACKAGE AND NOT A SECOND ARM.** Its
89
+ construction is `storeCreate(bindings, cfg)`: the WebAssembly module is an ARGUMENT, the package instantiates
90
+ nothing and loads no addon, and a first position that is not the module refuses in the package's own class form
91
+ (`TypeError`, `status` absent) rather than as a store status. **A store the package never constructed is not a state
92
+ the store can be in.**
93
+ 3. **`cfg` GAINS TWO KEYS ON THE NODE ARM AND KEEPS ITS TWO REQUIRED ONES.** `saveCall` (a function the store hands its
94
+ own image to, and whose verdict gates the write's answer) and `initialImage` (the image text a store boots from) are
95
+ both optional and both absent-by-default, so every construction lawful on `1.12.0` is lawful here. **`filePath` and
96
+ `saveCall` are mutually exclusive** — a construction carrying both is refused, because two save mechanisms over one
97
+ register is a state the store cannot answer for.
98
+ 4. **THE SAVE ARM IS FIVE ENTRIES AND NO NEW VERB.** `exportImage` (the store composes and verifies its own image),
99
+ `saveSucceeded(opId)` and `saveFailed(opId)` (the caller's verdict, and its mirror), each reached through the store's
100
+ own pass. **The addon's export set moves `16 → 19`; the instance's own fifteen members DO NOT MOVE.**
101
+ 5. **THE CLOSED STATUS SET GAINS ITS TWENTY-THIRD MEMBER, `ListenerBodyRejected`.** A DELIVERED listener body that
102
+ REJECTS refuses the act that fired it — which is not rank `21`'s `ListenerBodyThrew`: a throw leaves the write
103
+ unanswered, a rejection RESOLVES it and the refusal is the datum. **No rank of `1`…`22` moves.**
104
+ 6. **THE WRITE, DELETE AND ROLLBACK RECEIPTS GAIN TWO NON-ENUMERABLE ACCESSORS**: `bodyFailures` and `returnedValues`,
105
+ each a `configurable` getter over symbol-keyed data. **`Object.keys` and every deep-equality over a receipt are
106
+ unmoved** — the one census that sees them is `Object.getOwnPropertyNames`.
107
+ 7. **A VALUE MUST BE CLONEABLE, AND A `Proxy` IS REFUSED WITHOUT A TRAP RUNNING.** The crossing is a deep copy in both
108
+ directions — which is what stops an application mutating a value the store holds, and so bypassing a listener's
109
+ firing or a constraint's pass — and on the WebAssembly arm the detector is `structuredClone`. **On the Node arm
110
+ nothing about this moves**: `util.types.isProxy` still reads no member and invokes no handler, and the refusal is
111
+ still `ValueRefusedAtBoundary`.
112
+ 8. **THE JOURNAL NOW DROPS HISTORY, AND `journalLength` IS THE WIDTH OF THE COMPENSATION WINDOW.** On `1.12.0` the cap
113
+ was a MARK: the oldest entries were flagged and kept for the store's whole life, and the flag was what told a
114
+ reversal it had gone past the floor. **From `2.0.0` the cap is a BOUND** (the sentence printed `1.13.0` before
115
+ `D-190` re-classed this landing; no `1.13.0` is released): what survives is the base state plus at
116
+ most `journalLength` uncompacted ops, **an op the compaction reaches is REMOVED and its op id is gone with it**, and
117
+ memory is `O(store + journalLength)` rather than growing with every write ever made (`D-160` items 1–2). **The two
118
+ refusals stay distinguishable and they are told apart by ONE NUMBER rather than by a retained list**: an op the
119
+ compaction DROPPED answers `RollbackCompacted`, and an id that never named an op answers `JournalOpUnknown`
120
+ (`D-160` item 3 — the floor's own `seq` is the watermark). **A write's record still carries its `compacted` member
121
+ and it reads `false`**: no act sets it any more, because the mark is not the mechanism — **and whether the member
122
+ survives the drop is a declaration this section does not make** (`D-160` item 4 of its unsettled). **⟶ AND THAT
123
+ QUESTION IS ANSWERED, AND THE ANSWER IS THAT THE MEMBER DOES NOT SURVIVE: `compacted` IS REMOVED FROM THE WRITE'S
124
+ RECORD, 2026-11-17** (`strata/decisions.md` · `D-189` item 2, the architect VERBATIM: *"If .compacted is always false
125
+ drop it"*). **THE DIRECTIVE WAS A CONDITIONAL AND THE SHIPPED TREE ANSWERED IT**: the store produced the flag at
126
+ exactly two sites and both set it `false`, **so a member that can hold one value carried nothing**, and the
127
+ discrimination it once shared — *an op this store compacted* against *an op this store never held* — is the
128
+ `journal_floor` watermark's (`D-160` item 3), which answers `RollbackCompacted` and `JournalOpUnknown` as two
129
+ refusals without a per-op bit. **SO THIS SENTENCE IS WITHDRAWN, NOT AMENDED** (*"a write's record still carries its
130
+ `compacted` member"*): the record carries **SEVEN** members — `{ opId, kind, address, tier, before, after, seq }` —
131
+ and the eighth is **gone: not renamed, not deprecated, and not typed `false`**. **WHAT YOU MEET AS A CONSUMER**:
132
+ `record.op.compacted` no longer type-checks, and at run time it is `undefined` because the key is absent; the write's
133
+ record, the delete's receipt's `op`, and every op the kernel's repair leg copies all carry the same seven. **THIS
134
+ REMOVAL IS THE WHOLE OF WHY THIS RELEASE IS A `MAJOR`** — see the section head.
135
+ 9. **A REVERSAL THAT NEEDS AN OP THE COMPACTION DROPPED REGENERATES FROM THE FILE — AND ANSWERS `RollbackCompacted`
136
+ ONLY ON A STORE WITH NO READ PATH.** `D-164` item 2's division, at the two shapes you can construct: **with a
137
+ `filePath` whose image can be read — or the state the store was created with where no image stands — the store
138
+ REBUILDS its base from that file and the call RETURNS a `RollbackResult`; no refusal is involved.** **With NO READ
139
+ PATH the call answers `RollbackCompacted`, and that token is your signal to recover the value from your own copy**
140
+ — the path-less `saveCall` store, whose channel is write-only by construction, and any `mem` store, which has no
141
+ durable ground truth at all (`D-165` items 1–3; the test is the empty path and it is the whole test). **The token's
142
+ rank, its code and its generated message are unmoved; what moves is the set of acts that produce it** (`D-163`
143
+ item 6; `D-164` items 3–4).
144
+ 10. **A CLOSED ATTEMPT'S REPORT IS KEPT WHILE THE ATTEMPT CAN STILL BE NAMED — BY REACHABILITY, NOT BY A WINDOW.** The package does not
145
+ retain one report per act for the life of the instance, and **it no longer keeps a count either**: the closed table is a `WeakMap` keyed by the
146
+ attempt's reference, so **a report lives exactly as long as something can still name the attempt — which is the receipt you were handed** — and
147
+ the collector is what ends it, not an eviction (`D-175`, the architect's one-word clarification *"Clarification: Weak map"*; `D-176`).
148
+ **BOTH DECLARED WAYS OF NAMING AN ATTEMPT STILL ANSWER**: the `AttemptRef` record **or its `id` string**
149
+ (`parameter-semantics.md §2.15`), through a weak id index beside the map — **and the two cannot disagree**, because an id whose attempt has been
150
+ collected and an id that never named one both answer `KC-2`. **★ AND THIS ENTRY IS RE-CUT FROM A SUPERSEDED ONE, SAID PLAINLY**: it declared a
151
+ `1024`-attempt window (`CLOSED_ATTEMPT_WINDOW`) whose FIFO was the map's own insertion order (`D-162` items 1–3). **`D-162`'s window was the right
152
+ bound while the table was a `Map`; it is not what the tree does now**, and `CLOSED_ATTEMPT_WINDOW`'s `1024` stands with no reader. **What a consumer
153
+ observes is unchanged in kind**: an attempt that can still be named answers as it did, an id that names nothing answers `KC-2`. **What moved is that
154
+ AGE NO LONGER ENDS AN ANSWER — being unreachable does** (`D-176` item 2).
155
+
156
+ 11. **A `Proxy` IS DETECTED BY WHAT IT HANDS THE STORE, NOT BY WHAT YOU HAND A CONSTRUCTION — ON THE WEBASSEMBLY ARM.**
157
+ **The clone probe is asked of DATA THAT ENTERS THE RUST STORE**: the write's value, an address, a tier, a value's
158
+ class and a value's prototype link — the population `DD-34`'s refusal is about — **and there a `Proxy` is still
159
+ refused in the declared form with not one trap run.** **At a CARRIER gate it is not detected on that arm** — `cfg`
160
+ itself, `cfg.listeners`, `cfg.constraints` and the write's commit record are the package's own data and never
161
+ cross into the store, and the one platform signal that tells a `Proxy` from its target cannot tell it from a
162
+ carrier that carries a function, which the API's own keys require (`D-166` item 1; `D-167` items 1–2 and 5).
163
+ **What that costs you is bounded and it is stated**: a `cfg` handed as a `Proxy` on that arm is READ rather than
164
+ refused — its traps run for the reads a construction must make anyway, and a target missing a declared key is
165
+ refused for that reason. **On the Node arm both questions are `util.types.isProxy` and not a byte moves.**
166
+
167
+ **⟶ AND THE SEVENTH ENTRY'S HEADLINE IS TRUE OF VALUES AND OF ONE ARM'S DATA, 2026-11-17 — `D-167`, READ BESIDE
168
+ `D-166`, AND THIS CLAUSE IS WHERE THE DIFFERENCE IS SAID RATHER THAN LEFT TO THE ENTRY ABOVE** (`RCA-8(d)`
169
+ ANNOTATE-BESIDE: **the entry stands BYTE-FOR-BYTE as the reading of the date it was written and is read THROUGH this
170
+ clause**). **THE SENTENCES IT CARRIES ARE** *"A VALUE MUST BE CLONEABLE, AND A `Proxy` IS REFUSED WITHOUT A TRAP
171
+ RUNNING … on the WebAssembly arm the detector is `structuredClone`"*. **THE SPLIT IS THE WHOLE OF WHAT MOVED: the
172
+ probe answers the DATA question** — *"is this a `Proxy`"* for the population that enters the Rust store, which is
173
+ `DD-34`'s property and which this entry's sentence states exactly — **and the CARRIER question is answered without
174
+ it on that arm, where the answer is `false` and where the declaration is written at the predicate's own byte**
175
+ (`class-instrument.mjs`'s `isProxyOf` and `isProxyOfCarrier`; **on Node the two are the same instrument and not a
176
+ behaviour moves**). **So the entry's first clause is read as the VALUE clause it is**, and a consumer who took it for
177
+ a statement about `cfg` on the WebAssembly arm took it one gate wide — **which is the defect `D-166` measured when
178
+ every `saveCall` construction was refused as if `cfg` were a `Proxy`, and the arm could not construct the one store
179
+ it exists for.** **⟶ AND THE CLASS CLAUSE THAT STOOD HERE IS SUPERSEDED AT ITS OWN BYTE, 2026-11-17 — IT READ *"`D-158`'s `MINOR` at
180
+ `1.13.0` stands, no version cell moves, and a class claim is the architect's — none is made here"*.** **`D-158`'s
181
+ `MINOR` DOES NOT STAND ANY MORE: `D-190` SUPERSEDES IT WITH `MAJOR — bump to 2.0.0`**, and the reason is stated once, at
182
+ this section's head: `D-189` item 2 removes a published declaration member, which no `MINOR` absorbs. **THE SENTENCE IS
183
+ WITHDRAWN FOR ITS CLASS HALF AND STANDS FOR ITS OTHER HALF** — the four entries above and the clause they carry move the
184
+ class by nothing, and **they are the same landing this section always described**; what moved is the release's number.
185
+ **No class claim is invented here: the class is `D-190`'s and the version cells follow it**, and **whether a release has actually been made is still not this section's to write — it is `D-57`'s and `delivery`'s** (and **this sentence avoids the ratchet's own phrase deliberately**: `publish.sh --cut-claims` refuses the words the corpus uses for a cut claim wherever they stand, INCLUDING inside a negation, because a guard that read intent could be argued with and a substring cannot).
186
+
187
+ **WHAT DOES NOT MOVE, LISTED AND CLOSED:** the module namespace's one name (`storeCreate`) · the instance's own fifteen
188
+ members, name for name · the one `exports` arm and its three conditions · the `files` allowlist's five rows · the floor
189
+ `>=22.12.0` · the five native platform artefacts' shape, names and `os`/`cpu` pairs · `DD-24`'s refusal of a co-equal CJS
190
+ arm, whose PRICE was re-grounded (a second claimable realm no longer makes it wrong; two module systems inside ONE realm
191
+ still does) · `S-ONE-ADDON` and `P-SR-7`'s load-time-reach sentence, unchanged · the store's own statuses `1`…`22`,
192
+ in their order · **`RollbackCompacted`'s and `JournalOpUnknown`'s ranks, codes and generated messages, unmoved — what
193
+ moves is WHICH ACTS PRODUCE the first, not what it says** (`D-164` item 2; `D-165` item 3) · **and the `file`-tier
194
+ `saveCall` store's own shape: `exportImage`, `saveSucceeded` and `saveFailed` keep their arities and their answers.**
195
+
196
+ **AND THE PUBLISHED SET MOVES `6 → 7` MANIFESTS** — the main package, the five native platform artefacts, and the
197
+ WebAssembly artefact, which is produced by **a job BESIDE the prebuild matrix and never as a sixth row of it**. **The
198
+ main package is still published last**, of all seven.
199
+
200
+ **AND THIS SECTION DESCRIBES `2.0.0` AND CLAIMS NO TAG**: the cut-state is not a document's to state (`D-57`).
201
+
202
+ ---
203
+
204
+
205
+ **⟶ AND THE ENTRIES FROM TWELVE TO SEVENTEEN BELOW ARE THE SAME RELEASE LINE, 2026-11-17.** **THE ARCHITECT RULED THE NUMBER AND THIS SECTION IS ITS ONE HEADING**:
206
+ *"Next release is 2.0.0"* — so **`P-3`'s change detection and `P-2`'s two repairs do not take a line of their own**, and every *"the number is the architect's"*
207
+ clause they carried is **answered here rather than left standing**. **The entries keep their own text and their own grounds and are renumbered into one list**; the
208
+ class is **one `MAJOR` with two `MAJOR` moves and one `MINOR`-class move riding it** — the member removal, the firing rule, and the creation's two repairs — which is
209
+ **`D-126` item 3's own arithmetic: a version is the maximum of the moves it carries.**
210
+
211
+ **THE RULING, VERBATIM** (`strata/decisions.md` · `D-193`): *"P-3 checks literal equivalence, not reference equality"*; and (`D-195`): *"Take the default on the blocker and proceed"*. **The class is this pass's reading of `D-190`'s precedent; the number is his.**
212
+
213
+ **WHAT A CONSUMER ON `2.0.0` MEETS, AT EACH ENTRY POINT:**
214
+
215
+ 12. **`write` STOPS FIRING THE LISTENERS REGISTERED WHERE THE VALUE DID NOT MOVE.** A `write` that lands **the literal the address already stands at** answers the same record with **`triggered: []` and `watched: []`**, and no listener body runs — **at the act's address, and at every ANCESTOR of it**, because the ancestor's assembled value did not move either. **The test is on the literal and on nothing else:** `file V` then `mem V` **fires nothing** although `readTiered` moves from `file` to `mem`; a `mem V` then `file V` **fires nothing** although the `mem` version is destroyed; `-0` over `0` **fires nothing** although a reversal's judgement would call it moved. **`op` still records the landing, and a `file`-tier write still saves.**
216
+ 13. **A CONSTRAINT PAIR AT THAT ADDRESS IS NO LONGER ASKED, AND THAT IS NOT A WEAKENING.** The pass evaluates the store's returned set; the set is now empty, so no pair is asked, nothing is repaired and nothing is refused — **on the same act, and on the same evidence `D-152` already used for the registration instants** (*"a registration that writes nothing fires nothing"*).
217
+ 14. **`triggered: []` CANNOT TELL YOU *"no registration stood"* FROM *"nothing changed."*** **The member is present either way and its emptiness is the same emptiness** — `D-78`'s device does not reach this axis. **`op.before` beside `op.after` is a second reading and a partial one**: at an address that stood at two tiers `op.before.value` is the per-tier list, so the two disagree with the rule at exactly the address the rule's price lives at.
218
+ 15. **THE GUIDE'S FIRING LIST, THE RE-ENTRANCY CLAUSE AND THE NATIVE CONTRACT ARE RE-SPELLED IN THIS RELEASE, IN PLACE.** `docs/guides/package-use.md §6`'s closed list gains the value condition; `docs/specs/storeroom-js/contract.md`'s *"a listener that writes at the address it was delivered for fires itself again … nothing detects it and nothing is meant to"* **becomes conditional on a value**; and `docs/specs/storeroom-native/contract.md`'s `P-TP-8` **(a)** and **(e)** gain it in one bounded amendment, with the failure list's *"a MISSING handle where a listener's address is a prefix of the write's"* re-cut with them — **because this release is the thing that now detects one form of that sentence.**
219
+
220
+ **⟶ AND THIS SAME SECTION CARRIES `P-2`'S TWO REPAIRS — 2026-11-17, `D-198`, THE ARCHITECT, VERBATIM: *"Take default and continue"*, AND `D-198` ITEM 4 PRINTS THE CLASS SEPARATELY FROM THIS SECTION'S.** **`P-2` IS NOT A THIRD BEHAVIOUR CHANGE BESIDE `P-3`'S; IT IS TWO DEFECTS REPAIRED IN WHAT `1.11.0` ALREADY SHIPPED** (`D-197` item 1: the creation's build → sweep → save → deliver order is the shipped one), **so a reader who takes this section as ONE landing is reading it right — the two repairs ride the same cut and each is a sentence a consumer can act on.**
221
+
222
+ 16. **A REFUSED CONSTRUCTION NOW REMOVES THE FILE IT CREATED — ON EVERY ARM — AND NEVER TOUCHES A FILE THAT WAS THERE BEFORE YOUR CALL.** `D-198` item 1's rule is one: *"the file a construction CREATED is removed on EVERY refusal the construction reaches after the create, and ONLY that file"*, and its ground is `A55` read at *"what the construction CAUSES"* — the file's existence is caused by the call, the refusal is the call's answer, and no caller data is in it. **BEFORE THIS RELEASE THE TREE HELD THREE DISPOSITIONS FOR ONE STATE**: a construction refused **after a round had already run** (rank `20` `ConstraintPassRefused`, the cycle and the post-round inconsistency) **left the created file standing**; **every other refusing arm removed it**; and a **creation-fired listener body that threw** (rank `21` `ListenerBodyThrew`) **left it standing**. **THE LINE BETWEEN THE FIRST TWO WAS A STATUS COMPARISON INSIDE A REFUSAL CONVERSION — which is nobody's decision — so the rule is now stated once, at the frame that owns the file's whole lifetime.** **THE MIGRATION SENTENCE, SO YOU CAN TELL WHICH BEHAVIOUR YOUR VERSION HAS:** *"If you construct with a `filePath`, carry constraints, and the construction refuses, the file used to be left behind on some refusing arms and not others; it is now always removed — the file is the construction's own, and a file that was there before your call is never touched."* **WHAT DOES NOT MOVE: a passing registration's already-saved `file` landing stands** — no rollback composes at the delivery seat and a removal is not a save's undo — **and a file your own call did not create is never removed, on any arm**, which is the guard's `existed` bound and the half that protects your data (`CAW-3`).
223
+ 17. **A LISTENER WHOSE WATCHED ADDRESS SITS BENEATH A SCALAR IS NOW SILENT AT THE CONSTRUCTION AND THE BOOT.** `D-198` item 2's sentence is *"`AddressNotFound` **and** `LeafHasNoDownstream` are absence; `ReadTargetIsBranch` and a value are presence"*. **BEFORE THIS RELEASE A CREATION FIRED A LISTENER AT AN ADDRESS THAT DOES NOT RESOLVE — `storeCreate` over an image standing `{"a": 5}` with an adopted listener at `["a","b"]` fired it once** — because the resolution test read the walk's `AddressNotFound` alone and treated a **leaf with segments remaining** (`LeafHasNoDownstream`: *"'b' cannot be walked through 'a', it is a leaf"*) as if it were a value. **SO THE FIX IS ONE TEST WIDENED TO THE WALK'S ABSENCE CLASSES AND NOTHING ELSE**: *"any other code means present"* was the defect and it is not the shape of the repair, and **an address whose walk answers a value, or `ReadTargetIsBranch` for a container, is still PRESENT and still fires.**
224
+
225
+ **AND THE CLASS OF EVERY MOVE IN THIS SECTION IS PRINTED HERE, BECAUSE THEY RIDE ONE LINE.** **THE ARCHITECT RULED THE NUMBER — *"Next release is 2.0.0"* — and `D-126` item 3's arithmetic decides the rest: **a version is the maximum of the moves it carries.** **THIS SECTION CARRIES TWO `MAJOR` MOVES AND ONE `MINOR`-CLASS ONE**: **the removal of a published declaration member** (`record.op.compacted`, entry 8's own section before the merge), **the firing rule's narrowing** (§`D-193`/`D-195`'s change detection, entries 12–15) — and **`P-2`'s content, which is `MINOR`**: it adds, removes and renames **no published member** (one side effect of a refusal and one resolution test, entries 16–17), **so it rides the same `2.0.0` and is printed as the smaller class rather than as a line of its own.** **No pass mints a number after this one** (`D-124` item 3's discipline).
226
+
227
+ **THE CELLS THAT CARRY THIS SECTION'S TWO REPAIRS, NAMED SO THE TURN IS AUDITABLE.** `CAW-1`…`CAW-8` (`tests/e2e/creation-as-write.test.mjs`, with `CAW-7`'s one instrument in `tests/e2e/creation-as-write-support.mjs`): `CAW-1` the rank-`20` arm leaves no file · `CAW-2` the rank-`21` arm leaves no file · `CAW-3` a pre-existing file's bytes unmoved at both · `CAW-4` a boot carrying no constraints still fires once · `CAW-5` the scalar above the watched address is silent · `CAW-6` a `mem` repair leaves the created file at `0` bytes · `CAW-7` a creation's attempts are unnameable · `CAW-8` the repair's empty set beside the creation's one delivery. **AND FOUR EXISTING CELLS ARE RE-DERIVED RATHER THAN WEAKENED**: `CSW-20`, `CSW-19` and `CSW-10` lose the standing-bytes limb — that limb was `PIN-12`'s first clause, re-spelt by `D-198` item 1 — and gain the pre-existing-file limb, and `FSC-ARM1-D`/`FSC-ARM1-ONCE` are re-derived the same way because their evidence for the carry's save was that same limb (`docs/L3/creation-as-write/design.md` §6's census names three and the measurement found five).
228
+
229
+ **AND WHAT DOES NOT MOVE, NAMED SO THE NARROWING IS NOT READ WIDER THAN IT IS.**
230
+ - **THE TOUCHED ARM IS NOT NARROWED.** A registration at a node a second identical STRUCTURED write creates or purges below it is still told, because those nodes *"exist after the write and did not before"* (`D-66`). **A re-write of the same object at `['a']` still fires a listener bound at `['a','b','c']`.**
231
+ - **THE `delete` IS UNMOVED.** Its receipt is computed on the same one predicate and answers the act's value position `true` — a delete that removes at least one version moved the value at its address — **and a delete that removed nothing still carries `triggered: []`** (`D-3`).
232
+ - **THE JOURNAL IS UNMOVED.** A no-change write **still mints its op**, `seq` still bumps, the compaction can still drop the oldest entry, **and `rollback(opId)` still resolves the id** (`P-TP-8` (g) holds *because* the op is minted).
233
+ - **THE `file` SAVE OF A NO-CHANGE `file` WRITE STILL RUNS** — the same bytes are rewritten and the file's mtime moves. **A durable act that moved no durable datum is the accepted cost of not re-deciding the save's eligibility in the same release.**
234
+ - **`log` KEEPS ITS ONE `commit` ENTRY** (`[]` is never that arm's answer), **`bodyFailures` and `returnedValues` are the one shared frozen `{}` present on both**, and **`discarded` is `[]` because no body ran and therefore no raise was born** — not because a raise was lost (`D-170`).
235
+ - **NO NAME IS MINTED, RENAMED OR REMOVED.** A `changed` flag on the record was priced and **declined** (`D-195` item 2's `O-4`), so `Object.keys` is still `["op","watched","triggered"]` and `Object.getOwnPropertyNames` still reads SEVEN.
236
+
237
+ **THE CELLS THAT CARRY THIS SECTION.** `CD-1`…`CD-16` (`tests/unit/store-core/change_detection.rs` and `tests/unit/js-constraints/change-detection.test.mjs`), **with `CD-2`, `CD-3` and `CD-9` asserting the ruling's two prices as DECLARED STATES** so a later pass cannot repair them as defects; and one existing drive is **re-derived, not weakened**: `tests/e2e/json-crossing.test.mjs`'s FRESHNESS limb gives its second write a different value, because its subject is the fresh array and not a firing count. **Two Rust drives are re-derived the same way and for the same reason** (`properties.rs`'s `P-TP-8` no-tier-test and kept cells, `watched_addresses.rs`'s `S-WATCH` `(iii)`), **each now varying the value its tiers carry so the tier-independence reading it exists for survives.**
238
+
239
+ ---
240
+
58
241
  ## §1.12.0 · a MINOR — the `require` route into the one claimed realm: a third condition on the one `exports` arm, naming the SAME `./index.mjs`, and a floor that moves `>=18.0.0` → `>=22.12.0` on all six manifests — one line, two moves
59
242
 
60
243
  **THE VERSION IS `1.12.0` AND ITS CLASS IS A MINOR — `D-129` ITEM 5 (`Q-C1`), THE ARCHITECT'S RULING OF 2026-11-17 (`strata/decisions.md`, *"Take proposed on all"*), read beside `D-128` ITEM 1 (*"Proceed with arm 1"*) AND `D-127` (*"Bump the floor, there's no backwards compatibility concerns"*).** **`PUB-DD-9` IS THE AUTHORITY FOR THE CLASS AND THE CLASS IS ITS `MINOR` LIMB — *"a MINOR adds a member to the declared surface"*** (`docs/specs/storeroom-publish/contract.md`, the `PUB-DD-9` row, read at its two dated clauses) — **`PATCH` is FORECLOSED (`D-39`'s *"semver breach"*, and `D-126` item 3's *"carries a breaking input requirement on top"*) and `MAJOR` is FORECLOSED BY THAT ROW'S OWN TERMS**, so **one number, `1.12.0`**, and this section names it and not the cut-state (`D-57`).
package/index.d.ts CHANGED
@@ -245,8 +245,37 @@ export interface StoreConfig {
245
245
  * throws there refuses the act at rank `21` `ListenerBodyThrew`.
246
246
  */
247
247
  readonly listeners: readonly unknown[];
248
- /** The file the file tier is backed by, where one is declared (`PAR-JS-2`; ABSENT is in domain). */
248
+ /**
249
+ * The file the file tier is backed by, where one is declared (`PAR-JS-2`; ABSENT is in domain).
250
+ *
251
+ * **⟦ THIS MEMBER IS THE DECLARATION'S ONE REALM-CONDITIONAL BYTE** (`D-155` item 2; the marker's home is
252
+ * `docs/L3/wasm-realm/design.md` §6). **THE TWO COMMENT LINES THAT BRACKET THE MEMBER BELOW — both at this
253
+ * member's own two-space depth, and neither carrying a member's name-and-colon or name-and-paren shape —
254
+ * DELIMIT THE ONE REGION `scripts/emit-declarations.mjs` READS.** They are comment lines at that depth on
255
+ * purpose: neither the member read a battery file performs on this interface nor the `StoreStatus` union's
256
+ * census read can see them, so the marker stands in this file without moving a member census, a status
257
+ * count or a rank.
258
+ *
259
+ * **WHAT THE SCRIPT EMITS FROM THAT REGION: TWO DECLARATIONS, AND NO SECOND HAND-AUTHORED SURFACE.** The
260
+ * **NODE** arm's declaration is **this file's own bytes with the region unchanged** — the script asserts
261
+ * that identity byte for byte — and the **WASM** arm's is the same bytes with **exactly the region's body**
262
+ * replaced by `readonly filePath?: never;`. **So the WASM arm's emission replaces the region's body with
263
+ * `filePath?: never`** (`D-155` item 2), **and nothing outside the region differs between the two arms.**
264
+ *
265
+ * **AND THE MEMBER'S PRESENCE AND ITS OPTIONALITY ARE IDENTICAL ON BOTH ARMS.** `never` narrows the
266
+ * **value's** type; it does not remove the member, and it does not make the member required — `filePath` is
267
+ * a DECLARED and OPTIONAL member on either arm, and only a `string` supplied in that position is refused
268
+ * (as a compile error) on the WASM arm. **That is what keeps `StoreConfig`'s census cell byte-identical
269
+ * across the arms**: the six members read in the same order with the same optional markers, so one cell
270
+ * serves both emissions unchanged.
271
+ *
272
+ * **THE WASM ARM'S FILE PATH IS NOT DECLARED HERE**: a second package, a second artefact or a subpath is
273
+ * the publish shape's question (`D-4`; `wasm-realm.md §3(b)`, `SILENT` in this pass), so the script takes
274
+ * its output directory from its own argument and defaults to a build directory it creates.
275
+ */
276
+ // ⟦realm:filePath:begin⟧
249
277
  readonly filePath?: string;
278
+ // ⟦realm:filePath:end⟧
250
279
  /**
251
280
  * **⟶ ADDED 2026-10-15 (`parameter-semantics.md §2.21`; `surface.md §2.1`'s `cfg` block dated
252
281
  * 2026-10-15; `contract.md §8.1` #16) — THE FOURTH DECLARED KEY: THE CONSTRUCTION'S CONSTRAINT LIST**,
@@ -316,6 +345,62 @@ export interface StoreConfig {
316
345
  readonly id: string;
317
346
  readonly constraint: Constraint;
318
347
  }[];
348
+ /**
349
+ * **⟶ ADDED 2026-11-17 — `D-144` ITEM 1, VERBATIM: *"Change response to object, success(bool) and message
350
+ * (string[])"*** (`strata/decisions.md` · `D-144`), read with `D-153` item 2 (*"Add third arm"*) for the thenable's own
351
+ * arm. **THE CALLER'S OWN SAVER: the store's JSON image goes OUT here instead of to a file**, the one position is that
352
+ * image text, and the answer is the verdict `SC-2` was closed on — `success` is the verdict and `message` is the reason,
353
+ * **a LIST by declaration, so several messages are ONE answer**.
354
+ *
355
+ * **It is optional and its absence is the ordinary store** — absent, the `file` tier saves through the store's own
356
+ * writer exactly as it always did. **A non-function `saveCall` is broken config and is refused before any filesystem act**
357
+ * with the status a bad `cfg` already answers (`AddressMalformed`; `D-144` item 2), **and `filePath` and `saveCall` are
358
+ * mutually exclusive**: a `cfg` carrying both is refused at that same gate, naming `cfg` (`D-144` item 7). **The function
359
+ * never crosses into Rust at any depth**: the package holds it, invokes it at ONE position, and tells the store the verdict
360
+ * through the addon's own `saveSucceeded`/`saveFailed` entries.
361
+ *
362
+ * **The answer may be a thenable** — `D-144` item 1's *"(async optional)"*, kept in domain by `D-153` item 2: the
363
+ * write's answer is then withheld until the saver settles, the delivered set is started after the save on that arm too, and
364
+ * a failed save answers rank `15` `FileCommitFailed` with these `message` strings carried as log entries. **Every answer
365
+ * that is not `{success: true}` is a failed save**, and `message` is read only where it is an array. **A save that fails
366
+ * rolls the commit back before the caller hears of it**, **and a `saveCall` store never reconstructs state from a file** —
367
+ * its recovery is the client's, fed back through the seed key `U-STOREROOM-05` lands.
368
+ *
369
+ * **The duty `D-145` item 5 declares is documentary, not a refusal**: two stores must not be doubled on one `saveCall`
370
+ * function, and a store that boots empty and then saves will persist an empty image over whatever the backend held.
371
+ */
372
+ readonly saveCall?: (image: string) =>
373
+ | { readonly success: boolean; readonly message: readonly string[] }
374
+ | Promise<{ readonly success: boolean; readonly message: readonly string[] }>;
375
+ /**
376
+ * **⟶ ADDED 2026-11-17 — `D-137` ITEM 4, VERBATIM: *"THE SEED IS IMAGE TEXT ONLY, AND ITS KEY IS `initialImage`"***
377
+ * (`strata/decisions.md` · `D-137`), read with `D-147` items 1–4. **THE CONSTRUCTION BEGINS WITH CONTENT: this is
378
+ * THIS STORE'S OWN IMAGE TEXT**, exactly as `saveCall` is handed it and as `exportImage` answers it — the saver speaks
379
+ * JSON, so the image is the currency of both halves — and **the store decodes it with its own decoder tail at
380
+ * construction and installs every admitted member at `file` tier**, so a `saveCall`-backed or a `filePath`-backed store
381
+ * starts life holding the caller's data.
382
+ *
383
+ * **It is in domain on every arm** (`D-147` item 1): a `filePath` store may be seeded, a plain `mem` store may be
384
+ * seeded, and a `saveCall` store is seeded as its BOOTSTRAP — its recovery, because such a store never reconstructs
385
+ * state from a file (`D-144` item 4). **Guidance, not a refusal, carries the danger**: a seeded `filePath` store's bytes
386
+ * are in danger of being overwritten by the next `file`-tier write, so seeding is discouraged where the overwrite is not
387
+ * intended.
388
+ *
389
+ * **No save is performed at a seeded construction** (`D-147` item 2: *"a seed is not an act"*): the store and the
390
+ * caller's backend agree at instant zero because the caller just supplied the state, and **the construction stays
391
+ * synchronous**.
392
+ *
393
+ * **Provenance is declared and left** (`D-147` item 3): the loader's filter is the store's own admission test and nothing
394
+ * else, so **the image carries no identity** — a stale, foreign or hand-assembled image of admissible values installs
395
+ * silently — and **the client is responsible for passing its own store's image**. The format is the store's private
396
+ * composition: opaque, transported verbatim, never hand-edited.
397
+ *
398
+ * **An empty string is broken config and is refused at `cfg`'s class gate** under `AddressMalformed`, the seat
399
+ * `filePath: ''` already takes (`D-147` item 4) — **absence alone means *no seed* and the creation state stands** — and
400
+ * a value that is not a string is the same gate. **An image the store cannot read is refused at rank `22`
401
+ * `FileImageRefused` with no instance returned** (`D-135` item 3).
402
+ */
403
+ readonly initialImage?: string;
319
404
  }
320
405
 
321
406
  /**
@@ -441,6 +526,7 @@ export type StoreStatus =
441
526
  | 'ConstraintPassRefused'
442
527
  | 'ListenerBodyThrew'
443
528
  | 'FileImageRefused'
529
+ | 'ListenerBodyRejected'
444
530
  | (string & {});
445
531
 
446
532
  /**
@@ -452,8 +538,10 @@ export type StoreStatus =
452
538
  * message log entries are the KERNEL'S records, carried VERBATIM, and no flattening is declared — a client
453
539
  * that reads one reads the kernel's own entry.
454
540
  *
455
- * `kind` is the kernel's closed four-member `LogKind` set, and `state` is the kernel's own `KC` token on the
456
- * one `outcome` entry and `null` on the three non-`outcome` kinds.
541
+ * `kind` is the kernel's closed FIVE-member `LogKind` set — **⟶ the fifth is `'save'`, minted `2026-11-17` by `D-153`
542
+ * item 1 (`strata/decisions.md`: *"1. take first option"*) so the caller's `saveCall` `message[]` has a lawful seat as one
543
+ * entry per string (`D-145` item 2)** — and `state` is the kernel's own `KC` token on the one `outcome` entry and `null`
544
+ * on the four non-`outcome` kinds.
457
545
  *
458
546
  * **⟶ AND THE LIST IT STANDS IN IS THE COMMIT'S, NOT THE ATTEMPT'S — 2026-10-28 (`D-53`).** **THE ARCHITECT,
459
547
  * VERBATIM: *"If it's part of the same commit, then it uses the same message log. If it opens a new commit, it
@@ -484,7 +572,7 @@ export type StoreStatus =
484
572
  * never `status`, exactly as every `KC` token does, so the closed status set keeps its `20` members and its ranks.
485
573
  */
486
574
  export interface LogEntry {
487
- readonly kind: 'constraint-check' | 'repair-run' | 'commit' | 'outcome';
575
+ readonly kind: 'constraint-check' | 'repair-run' | 'commit' | 'outcome' | 'save';
488
576
  readonly id: string | null;
489
577
  readonly message: string;
490
578
  readonly opId: string | null;
@@ -585,15 +673,27 @@ export interface BaseState {
585
673
 
586
674
  /**
587
675
  * **THE STORE'S OWN JOURNAL OP, CROSSED MEMBER FOR MEMBER AND IN THE STORE'S OWN SPELLINGS** — `DD-39`'s
588
- * eight declared names (`distribution.md §5.2` item 1; `P-PUB-7`): `{ opId, kind, address, tier, before,
589
- * after, seq, compacted }`.
676
+ * **SEVEN** declared names (`distribution.md §5.2` item 1; `P-PUB-7`): `{ opId, kind, address, tier, before,
677
+ * after, seq }`.
590
678
  *
591
679
  * **`opId` IS A `string`** — the store's own op-id domain is a non-empty string (`PAR-JS-9`), and the id a
592
680
  * `write` returns is the id a `rollback` takes. **`kind` is the store's own token** (`'write'` and
593
681
  * `'delete'` today) **and its membership is the STORE'S to close, so it is typed as `string` and this
594
682
  * package mints no union over it.** **`tier` is one of the store's own three tokens, or `null` where the op
595
- * carries none**; **`seq` is the journal's own sequence number and `compacted` the store's own flag**, each
596
- * carried verbatim.
683
+ * carries none**; **`seq` is the journal's own sequence number**, carried verbatim.
684
+ *
685
+ * **★ AND THE EIGHTH MEMBER — `readonly compacted: boolean` — IS REMOVED, 2026-11-17. IT IS GONE: NOT
686
+ * RENAMED, NOT DEPRECATED, NOT TYPED `false`.** The architect, VERBATIM (`strata/decisions.md` · `D-189`
687
+ * item 2): *"If .compacted is always false drop it"*. **The directive was a conditional and the tree answered
688
+ * it**: the store set the flag `false` at both of its producers, **so a member that can hold one value
689
+ * carried nothing**, and the distinction it once shared — *an op this store compacted* against *an op this
690
+ * store never held* — **is carried by the store's `journal_floor` watermark instead** (`D-160` item 3), which
691
+ * answers `RollbackCompacted` and `JournalOpUnknown` as two different refusals without a per-op bit. **WHAT
692
+ * THIS COSTS A CONSUMER: `record.op.compacted` no longer type-checks and no longer exists at run time** — the
693
+ * read returns `undefined` because the key is absent, and it is absent from the write's record, the delete's
694
+ * record and every op the kernel's repair leg copies. **THE CLASS IS `MAJOR` (`2.0.0`, `D-190`) for exactly
695
+ * this reason**: a PUBLISHED declaration member left the surface, which no `MINOR` absorbs — **`D-158`'s
696
+ * `MINOR` at `1.13.0` is SUPERSEDED and this declaration describes `2.0.0`.**
597
697
  */
598
698
  export interface JournalOp {
599
699
  readonly opId: string;
@@ -603,7 +703,6 @@ export interface JournalOp {
603
703
  readonly before: BaseState;
604
704
  readonly after: BaseState;
605
705
  readonly seq: number;
606
- readonly compacted: boolean;
607
706
  }
608
707
 
609
708
  /**
@@ -615,8 +714,47 @@ export interface JournalOp {
615
714
  */
616
715
  export interface WriteRecord {
617
716
  readonly op: JournalOp;
717
+ /**
718
+ * **THE WATCHED ADDRESSES — THE ADDRESS PROJECTION OF `triggered`, AND FROM `P-3` IT NARROWS WITH IT.**
719
+ * `strata/decisions.md` · `D-195` item 1 (*"Take the default on the blocker and proceed"*) settles what
720
+ * `D-193` left open: the store's own projection law says the two lists are produced by ONE predicate, so
721
+ * **a write that changes nothing at its address answers `[]` here TOO** — see `triggered`'s clause below,
722
+ * which is the one that carries the rule.
723
+ */
618
724
  readonly watched: readonly Address[];
619
- /** **THE TRIGGER'S PAIRS** (`contract.md §2.4` item 1; `PAR-HL-38`): the pair REPLACES a bare handle list. */
725
+ /**
726
+ * **THE TRIGGER'S PAIRS** (`contract.md §2.4` item 1; `PAR-HL-38`): the pair REPLACES a bare handle list.
727
+ *
728
+ * **★ AND FROM `P-3` A `write` FIRES ONLY REGISTRATIONS THE ACT'S OWN VALUE REACHES — `strata/decisions.md` ·
729
+ * `D-193` item 1, the architect, VERBATIM: *"P-3 checks literal equivalence, not reference equality"*.** **A
730
+ * `write` whose literal is the literal the address already answers answers `triggered: []`** — the prefix
731
+ * arm gains the act's value condition, **while the TOUCHED arm does not**: a registration at a node the act
732
+ * created or purged below it is still told (`D-66`; `Q-6`'s default, which no later pass may narrow).
733
+ * **THE COMPARISON IS ON ONE LITERAL AND NOT ON THE PER-TIER LIST** (`D-193` item 1: at an address standing
734
+ * at two tiers the compared literal is the one an unqualified read answers), **the relation is the store's own
735
+ * value equality** (class-strict and key-order-blind), **and two prices are DECLARED rather than repaired**:
736
+ * `file 'V'` then `mem 'V'` **fires nothing** although `readTiered` moves, and `0` over a standing `-0`
737
+ * **fires nothing** although a constraint's `sameStanding` would call the pair moved (`D-193` items 3 and 4:
738
+ * *"a later pass must not 'fix' this as a defect"*). **The suppression reaches a CONSTRAINT PAIR at that
739
+ * address too** (`D-193` item 5's `Q-5`): the pass evaluates this list, so an empty list asks no pair.
740
+ *
741
+ * **⟶ AND THE `D-78` SENTENCE THIS MEMBER OWES, WHICH IS NOT `D-78`'s SHAPE — WHAT YOU MAY CONCLUDE FROM
742
+ * `[]`.** `docs/specs/storeroom-js/surface.md:235`'s device (`D-78`) draws its axis between an ABSENT member
743
+ * and an EMPTY list — *"this act cannot discard a raise"* versus *"it can, and this time nothing was
744
+ * discarded"* — and its remedy is to make the member present so it can say so. **HERE THE MEMBER IS PRESENT IN
745
+ * BOTH READINGS AND THE AMBIGUITY IS INSIDE ONE ARRAY**, so the declared reading is the one the architect's
746
+ * default leaves (`D-195` item 2's `O-4`): **`[]` carries TWO claims and CANNOT TELL THEM APART** — **(A)**
747
+ * *"no registration stood at a prefix of this act's address, and the act touched no registered address"*, and
748
+ * **(B)** *"registrations stood, and the literal the act landed is the literal the address already
749
+ * answered."* **BOTH ARE TRUE OF IT, AND `[]` ALONE DOES NOT SAY WHICH.** **What you may rely on therefore:** a
750
+ * listener you registered at a prefix of a `write`'s address was **not** invoked, and **nothing in the record
751
+ * says why** — **`op` is present on both arms** (a no-change write still mints its op and its `opId` still
752
+ * resolves through `rollback`), and **a `file`-tier no-change write still saves**, so `[]` never means *"the
753
+ * act did not happen"*. **`op.before` beside `op.after` is a SECOND reading and a PARTIAL one**: where an
754
+ * address stood at two tiers `op.before.value` is the per-tier LIST, so the two disagree with the rule at
755
+ * exactly the address the rule's price lives at (`D-193` item 3). **A typed `changed` flag is NOT on this
756
+ * surface and was not minted** (`O-4`'s default (i), declared rather than added).
757
+ */
620
758
  readonly triggered: readonly TriggerPair[];
621
759
  /**
622
760
  * **THE DISCARD'S WITNESS — PRESENT ON THIS RECORD AT RUNTIME, AND DECLARED HERE RATHER THAN AS A TYPED
@@ -678,6 +816,85 @@ export interface WriteRecord {
678
816
  * would redden a green leg without moving the runtime at all. **A future pass that owns the census owes it the
679
817
  * typed line.**
680
818
  */
819
+ /**
820
+ * **⟶ ADDED 2026-11-17 — THE DELIVERED SET'S FAILURES: PRESENT ON THIS RECORD AT RUNTIME, AND DECLARED HERE RATHER
821
+ * THAN AS A TYPED MEMBER** (`U-STOREROOM-06 DELIVERY-SETTLE`; `strata/decisions.md` · `D-138` items 1 and 2; `D-150`
822
+ * items 1 and 2). `D-138` item 2 is the ruling, verbatim: *"the write resolves, and the status rides on the receipt … its
823
+ * CARRIER is the write's answer — a datum the caller reads"* — because by the instant a body can reject, the act has
824
+ * ALREADY COMMITTED (`D-138` item 1), so a rejection of the awaited answer would report a DURABLE SUCCESS as a FAILURE.
825
+ *
826
+ * **`record.bodyFailures` IS AN OBJECT AT RUNTIME — ONE ENTRY PER REJECTING LISTENER BODY, KEYED BY THE HANDLE THAT BODY
827
+ * WAS DELIVERED UNDER** (`D-138`'s plurality: *"`N` rejections become `N` entries"*), each entry `{status, message,
828
+ * address}`. **`status` IS `'ListenerBodyRejected'`** — rank `23`, `D-137` item 5's own mint: the promise pair's other
829
+ * half, whose sibling at rank `21` is `ListenerBodyThrew` and **rank `21` is NOT widened by it**. **`message` is the
830
+ * GENERATED sentence and never the body's own words**, `D-137` item 5's form over that item's declared subject:
831
+ * *"<address> was refused by a listener body that rejected, a fired listener body's rejection refuses the act that fired
832
+ * it"* — **its subject is the WATCHED ADDRESS'S SPELLING**, so **the body's own reason is never read, stored or
833
+ * rendered** (`D-137` item 5; `PIN-5`; `D-58`) — and `address` is the binding's own address.
834
+ *
835
+ * **IT IS A NON-ENUMERABLE, `configurable` OWN GETTER OVER A SYMBOL-KEYED DATUM** — `constraints.mjs`'s
836
+ * `defineBodyFailures` defines it at this name, over the datum `state.mjs` spells `BODY_FAILURES` and `delivery.mjs`'s
837
+ * `settledAnswer` installs after the one `Promise.allSettled`. **A getter by necessity and not by taste**: the record is
838
+ * built BEFORE the set settles, so a datum captured at the build would answer `{}` about a body that then rejects — the
839
+ * same reason `discarded` above is a read. **So `Object.keys(write(...))` is still the three declared members above and
840
+ * every deep-equality over a write's answer is unmoved**, and `Object.getOwnPropertyNames` reads **SEVEN** with this name
841
+ * among them (`D-150` item 1). **A spread or an `Object.assign` copy loses it, as it loses `discarded`.**
842
+ *
843
+ * **IT IS PRESENT ON EVERY ARM AND ANSWERS ONE SHARED FROZEN `{}` WHERE NOTHING STANDS** — `state.mjs`'s
844
+ * `BODY_FAILURES_EMPTY`, the same constant on the plain synchronous arm and on a settled arm that found no rejection, so
845
+ * no reader can tell *"no settle ran"* from *"the settle found no rejection"*. **Never absent, never `undefined`, never a
846
+ * fresh `{}` per call** (`D-77`'s rule), on `D-138`'s unsettled item 3.
847
+ *
848
+ * **IT IS NOT THE CALLER'S OWN COMMIT'S FAILURE.** A listener runs in its own commit and its refusal does not fail the
849
+ * write that fired it (`D-71`) — **the write RESOLVES**, and this member reports beside the record and never in place of
850
+ * it. **A body that THROWS synchronously is the other arm and stays an error in the caller's own frame** (`D-73`;
851
+ * `D-138` item 4's declared asymmetry), and `D-153` item 2 keeps the distinction this member lives on: a failure here is
852
+ * a datum the settle RESOLVES INTO and never a rejection of the promise (`PIN-5`).
853
+ *
854
+ * **AND WHY IT IS A DOCBLOCK AND NOT A TYPED LINE — the same sentence `discarded` and `log` above carry, for the same
855
+ * reason:** the census that asserts this record's declared member set at three (`tests/e2e/blind-entry-module.test.mjs`'s
856
+ * `WriteRecord` cell and `tests/e2e/surface.test.mjs`) is outside this pass's write scope, **so a typed member would
857
+ * redden a green leg without moving the runtime at all.** **A future pass that owns the census owes it the typed line.**
858
+ */
859
+ /**
860
+ * **⟶ ADDED 2026-11-17 — THE DELIVERED SET'S SETTLED RETURN VALUES: PRESENT ON THIS RECORD AT RUNTIME, AND DECLARED
861
+ * HERE RATHER THAN AS A TYPED MEMBER** (`U-STOREROOM-08 RETURN-VALUES`; `strata/decisions.md` · `D-149` item 2; `D-150`
862
+ * items 1–3). `D-149` item 2 is the ruling, verbatim: *"answer gains a datum keyed by handle, one entry per listener
863
+ * that RETURNED A VALUE"* — and `D-150` item 1 is its name and its device.
864
+ *
865
+ * **`record.returnedValues` IS AN OBJECT AT RUNTIME — ONE ENTRY PER HANDLE WHOSE BODY RETURNED A VALUE, KEYED BY THAT
866
+ * HANDLE, AND THE ENTRY IS THE VALUE.** **An `undefined`-RETURNER CONTRIBUTES NO ENTRY and its silence is the caller's to
867
+ * read** (`D-148` item 1(c), the architect, verbatim: *"A listener that returns nothing should be assumed to only perform
868
+ * backend code that does not need the channel pass"*), so a handle absent from the map either returned nothing or was not
869
+ * in the delivered set. **A body that REJECTED contributes no entry here** — its failure is `bodyFailures`' above, and
870
+ * its reason is never read, stored or rendered. **THE VALUE IS THE SETTLED VALUE AND NEVER THE PROMISE** (`D-149`
871
+ * item 3: the answer is withheld until the delivered set settles, so a promise a body returned is already settled into a
872
+ * value or into `bodyFailures`).
873
+ *
874
+ * **IT IS A NON-ENUMERABLE, `configurable` OWN GETTER OVER A SYMBOL-KEYED DATUM — `bodyFailures`' own device, member for
875
+ * member** (`constraints.mjs`'s `defineReturnedValues`), over the datum `state.mjs` spells `RETURNED_VALUES` and
876
+ * `settledAnswer` installs from `returnedValues(settled, invoked)` after the one `Promise.allSettled` — so the read
877
+ * answers at the read, for the reason the record is built before the set settles. **So `Object.keys(write(...))` is still
878
+ * the three declared members above and every deep-equality over a write's answer is unmoved**, and
879
+ * `Object.getOwnPropertyNames` reads **SEVEN** with this name among them (`D-150` item 1). **A spread or an
880
+ * `Object.assign` copy loses it, as it loses `discarded` and `bodyFailures`.**
881
+ *
882
+ * **IT IS PRESENT ON EVERY ARM AND ANSWERS ONE SHARED FROZEN `{}` WHERE NOTHING STANDS** — `state.mjs`'s
883
+ * `RETURNED_VALUES_EMPTY`, one frozen constant meaning *"no body returned a value"*, which is the same fact whether no
884
+ * settle ran at all or a settle found none. **Never absent, never `undefined`, never a fresh `{}` per call** (`D-150`
885
+ * item 2, verbatim: *"present always, never absent, never `undefined`"*), on `D-77`'s rule.
886
+ *
887
+ * **IT IS NOT A SECOND `triggered`, AND IT CARRIES NO HANDLE→ADDRESS RELATION.** The map's keys are HANDLES and nothing
888
+ * here names an address: the `{handle, address}` pairs stay `triggered`'s above. **Nor is it the channel it replaced** —
889
+ * `D-149` item 1 dissolved the external `channel`, and item 4 makes the receipt the answer on every arm, so this datum is
890
+ * read off the record the caller already holds.
891
+ *
892
+ * **AND WHY IT IS A DOCBLOCK AND NOT A TYPED LINE — the same sentence `discarded`, `log` and `bodyFailures` above carry,
893
+ * for the same reason:** the census that asserts this record's declared member set at three
894
+ * (`tests/e2e/blind-entry-module.test.mjs`'s `WriteRecord` cell and `tests/e2e/surface.test.mjs`) is outside this pass's
895
+ * write scope, so a typed member would redden a green leg without moving the runtime at all. **The member is declared by
896
+ * NAME, SHAPE and SEMANTICS here and carried at runtime.** **A future pass that owns the census owes it the typed line.**
897
+ */
681
898
  }
682
899
 
683
900
  /**
@@ -709,7 +926,9 @@ export interface DeleteRecord {
709
926
  * reversible"*).
710
927
  *
711
928
  * **IT IS THE MEMBER `WriteRecord` CARRIES, AT THE SAME NAME AND THE SAME TYPE** (`WriteRecord.op` above,
712
- * the store's own eight-member `JournalOp`), so a caller has **one spelling for "the op this act landed"**
929
+ * the store's own seven-member `JournalOp` — **⟶ SEVEN AND NOT EIGHT FROM 2026-11-17, `D-189` item 2:
930
+ * `compacted` is removed from the record and the declaration** (`JournalOp` above states it at its own
931
+ * docblock)), so a caller has **one spelling for "the op this act landed"**
713
932
  * and one route to reversing it: `store.rollback(record.op.opId)` restores every version the delete
714
933
  * removed, **at its own tier**, exactly as a write's reversal restores what the write replaced.
715
934
  *
@@ -956,8 +1175,9 @@ export interface AttemptRef {
956
1175
  *
957
1176
  * **`triggered` and `pending` are the store's own returned handle set and the kernel's own member
958
1177
  * respectively, each read as a SET** (`§2.1` item 2; `Handle` above is this file's opaque-handle spelling);
959
- * **`op` is the op the store's write returned, VERBATIM** (`JournalOp` above, the store's own eight-member
960
- * record — `§2.1` item 2: *"the op the store's write returned, VERBATIM"*).
1178
+ * **`op` is the op the store's write returned, VERBATIM** (`JournalOp` above, the store's own seven-member
1179
+ * record — **⟶ SEVEN AND NOT EIGHT FROM 2026-11-17, `D-189` item 2** — `§2.1` item 2: *"the op the store's
1180
+ * write returned, VERBATIM"*).
961
1181
  */
962
1182
  export interface CommitRecord {
963
1183
  /** The attempt this commit opened — its identity (`attempt-lifecycle.md §2.4` item 1). */