@auspicion/provident-storeroom-js-wasm 0.0.0-stage → 2.0.1

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/index.d.ts ADDED
@@ -0,0 +1,2067 @@
1
+ // `provident-storeroom` — **THE AUTHORED TYPE DECLARATION OF THE PUBLISHED NODE ESM BINDING**
2
+ // (`docs/specs/storeroom-publish/contract.md §2.4`; `docs/specs/storeroom-publish/distribution.md §5`;
3
+ // `PUB-DD-3`; `Q3-4`).
4
+ //
5
+ // **THIS FILE IS HAND-AUTHORED AND NOT GENERATED** (`§2.4` item 1; `PUB-DD-21`): it carries no generation
6
+ // banner, no build-time code generator produces it, and it is the file the package's own `types` field
7
+ // reaches and the package's own `files` allowlist ships.
8
+ //
9
+ // **IT DECLARES THREE THINGS AND NOTHING ELSE** (`distribution.md §5.2`): (1) the claimed entry's OWN
10
+ // NAMED EXPORT SET — **ONE NAME, `storeCreate`, AND NOTHING ELSE** (`surface.md §2.9` item 1's `A127`
11
+ // clause; `docs/decisions.md` · `A127`/`A128`, 2026-10-16: the module-level count is `11 → 1` ✓, the
12
+ // deprecation window of `A128`'s fiat being declared away at that clause); (2) the instance's own member
13
+ // set, **FOURTEEN OWN MEMBERS AND NOTHING ELSE — `10 + 1 + 1 + 2 = 14` ✓** (`distribution.md §5.2` item 2 read
14
+ // with `surface.md §2.4` item 9 (f)'s `A127` clause): **THE TEN METHODS** `read(address, tier?)` ·
15
+ // `readLiteral(address, tier?)` · `write(address, tier, value, commit?)` · `delete(address, tier?)` ·
16
+ // `rollback(opId)` · `listen(handle, addresses)` · `unlisten(handle)` · `addConstraint(pair, constraint)` ·
17
+ // `constraintOn(pair, constraint)` · `constraintOff(pair, constraint)`, **PLUS `register(handle, listener)
18
+ // -> undefined`, `constraints() -> ConstraintPair[]`, `removeListener(handle) -> undefined` AND
19
+ // `removeConstraint(pair) -> undefined`** — the first two the singles the 2026-10-18 clause below names, the
20
+ // last two the members `contract.md §2.7` item 9 adds — the first being the
21
+ // listener registration, the second the registered-pair read; **`settle(record) -> undefined` STOOD HERE
22
+ // AS THE ORDERING SEAM AND IS REMOVED WHOLE** (the clause below carries the mark and the ruling); and (3) the
23
+ // failure surface, a thrown plain object with exactly
24
+ // `{status, message, log, address}` — **THREE MEMBERS FROM 2026-10-16, `2 → 3`, on the architect's ruling *"Bubble
25
+ // the message log to the client on failure, override any clauses that forbid this."*** (`surface.md §2.5`'s
26
+ // clause of that date, the crossing form's ONE home; **the ONE figure that moves is the arity, and
27
+ // `storeCreate` remains the namespace's one name and the product its twelve own members**).
28
+ //
29
+ // **⟶ AND THE FORM IS FOUR MEMBERS FROM 2026-10-29 — `D-77`, THE ARCHITECT'S RULING, ONE WORD: *"New member"*.**
30
+ // `RCA-8(g)` ANNOTATE-BESIDE: **the sentence above stands BYTE-FOR-BYTE as the reading of 2026-10-16 and is read
31
+ // THROUGH THIS one; the operative member set is `{status, message, log, address}`, `4` members, and the fourth is
32
+ // WHICH ACT WAS REFUSED** — the address the refusal is about, a segment array in the caller's own domain or the
33
+ // declared `null` where nothing is nameable — **so a caller can tell its own refused act from a listener's whose
34
+ // act was refused with the same `status`, the same `message` and the same entries.** **THE CLOSED STATUS SET IS NOT
35
+ // REACHED (twenty stands) AND NO OTHER FIGURE OF THIS HEADER MOVES.** (`storeCreate`'s one name, the product's
36
+ // fourteen own members, `LogEntry`'s five and the twelve/ten method figures are unmoved.)
37
+ //
38
+ // **⟶ AND THE METHOD LIST ABOVE CARRIES ONE STALE SPELLING AND ONE STALE ARITY, SUPERSEDED HERE, 2026-10-19:**
39
+ // **`listen` IS `listen(handle, addresses)` AND NOT `listen(address)` — arity `2`, position `1` the
40
+ // caller-spelled `handle` (a non-empty `string`) and position `2` `addresses`, a SET of addresses whose
41
+ // member is an address and whose EMPTY ARRAY is in the domain** (`docs/specs/storeroom-held-listener-identity/
42
+ // contract.md §2.2` item 1; `listen-verb.md §1` item 1 and `§2.2` items 1–2: the arity figure moves `1 → 2`
43
+ // at four declared sites, each needing its own dated clause). **THE BYTES LISTING `listen(address)` STAND AS
44
+ // THE PRE-2026-10-18 READING AND ARE READ THROUGH THIS CLAUSE** (`DEF-2026-10-02`: no whole-file rewrite).
45
+ //
46
+ // **⟶ AND THE MEMBER-SET FIGURE ABOVE IS SUPERSEDED AND IS READ THROUGH THIS CLAUSE, 2026-10-18: THE
47
+ // OPERATIVE SET IS TWELVE OWN MEMBERS, `10 + 1 + 1 = 12` ✓ — THE TEN METHODS, `register` AND `constraints`** —
48
+ // declared at `surface.md §2.4` item 9 (f)'s clause of that date, which moves the set `13 → 12` on the
49
+ // architect's rulings of 2026-10-18, VERBATIM: *"Settle is redundant because the kernel is always in the
50
+ // loop."* · *"Always route to the kernel, because the JS code does not decide whether constraints trigger."* ·
51
+ // *"The kernel is always supposed to be in the middle. Any occasion where the write path is not governed by
52
+ // the kernel is a hallucination."* **`settle` IS THE MEMBER THAT LEAVES AND NO OTHER MEMBER MOVES WITH IT**
53
+ // (`§2.4` item 9's `REMOVED-WHOLE` pointer of the same date, whose own words are *"NO DRIVE MAY ASSERT A CALL
54
+ // OF `settle` FROM THIS DATE, ON ANY INSTANCE, FOR ANY ARGUMENT"*). **THE TWO REMAINING SINGLES ARE `register`
55
+ // AND `constraints`, AND THEY ARE NAMED BECAUSE A LONE `+1` WOULD NOT COMPUTE.** **SO A DECLARATION FILE THAT
56
+ // STILL DECLARES A `settle(record) -> undefined` MEMBER AT ANY POSITION, OR THAT READS THIRTEEN OWN MEMBERS,
57
+ // AFTER THIS DATE IS A FINDING BY THAT CLAUSE'S OWN WORDS** (`surface.md §2.4` item 9 (f)'s clause of
58
+ // 2026-10-18, item 4: *"a declaration file that still reads THIRTEEN own members, or that declares a
59
+ // `settle(record) -> undefined` member at any position, after this date is a FINDING"*). **THE BYTES ABOVE
60
+ // STAND AS THE `A127` PASS'S READING (`DEF-2026-10-02`: no whole-file rewrite) and every "twelve own members"
61
+ // figure in this file is read through the 2026-10-17 thirteen-mark and through THIS clause as TWELVE AGAIN,
62
+ // with the thirteen being the 2026-10-17 reading and not the operative one.** **THE TWO ROUTES THAT WOULD
63
+ // HAVE MOVED THE SET EARLIER ARE STILL REFUSED BY NAME AND NEITHER IS ONE OF THESE** (`§2.5`'s clause of
64
+ // 2026-10-16: a `constraintLog(commit)` reader and a second module-namespace name).
65
+ //
66
+ // **⟶ AND THE MEMBER-SET FIGURE ABOVE IS SUPERSEDED AND IS READ THROUGH THIS CLAUSE, 2026-10-19: THE
67
+ // OPERATIVE SET IS FOURTEEN OWN MEMBERS, `10 + 1 + 1 + 2 = 14` ✓ — THE TEN METHODS, `register`, `constraints`
68
+ // AND THE TWO REMOVE MEMBERS `removeListener(handle)` AND `removeConstraint(pair)`** — **WHICH SUPERSEDES THE
69
+ // METHOD LIST'S OWN *"THE TWO REMAINING SINGLES ARE `register` AND `constraints`"* OF 2026-10-18: the singles
70
+ // that remain are still those two, and the fourteen-member set carries them PLUS the two remove members, so
71
+ // no reader counts the `+ 2` into the singles** — declared at
72
+ // `docs/specs/storeroom-held-listener-identity/contract.md §2.7` item 9, THE MEMBER SET `14`, whose own list
73
+ // is `{ read, readLiteral, write, delete, rollback, listen, unlisten, addConstraint, constraintOn,
74
+ // constraintOff, register, constraints, removeListener, removeConstraint }`. **THE FIGURE MOVES `12 → 14`
75
+ // and the two new members are reached through the factory's product ALONE — the module namespace keeps its
76
+ // ONE name (`11 → 1` ✓), because the two new members are NOT module exports** (`contract.md §2.7` item 9's
77
+ // `[CENSUS]` and its closing clause). **AND THE `12 → 13` FIGURE IS WITHDRAWN BY NAME: the thirteen-mark of
78
+ // 2026-10-17 is a SUPERSEDED READING and was never the operative one** (`P: docs/pending.md · (AA-5)`,
79
+ // verbatim: *"the member set is 14 and the `12 → 13` figure is withdrawn by name"*). **SO EVERY "twelve own
80
+ // members" FIGURE BELOW — the `A127` pass's reading at its own bytes, the 2026-10-18 clause's operative
81
+ // `TWELVE`, and `StoreInstance`'s `"THE TWELVE"` — IS READ THROUGH THIS CLAUSE AS FOURTEEN, and a
82
+ // declaration file that declares twelve while the product ships fourteen is the FINDING `contract.md §2.7`
83
+ // item 9 exists to prevent.** **THE TWO ROUTES THAT WOULD HAVE MOVED THE SET EARLIER ARE STILL REFUSED BY
84
+ // NAME AND NEITHER IS ONE OF THESE** (`§2.5`'s clause of 2026-10-16: a `constraintLog(commit)` reader and a
85
+ // second module-namespace name) — the 2026-10-18 paragraph's closing sentence above stands BYTE-FOR-BYTE and
86
+ // is read through this clause.
87
+ //
88
+ // **THE TEN METHODS TAKE THE RECEIVER'S OWN POSITION AWAY: `8 → 1` ✓ AND `4 → 12` ✓** (`surface.md §2.9`
89
+ // item 1's and `§2.4` item 9 (f)'s `A127` clauses). The seven verbs that reach the store are METHODS of the
90
+ // object `storeCreate` returned, so **NO DECLARED SIGNATURE CARRIES A LEADING `instance` POSITION** — the
91
+ // receiver is not a position — and the module namespace's own spelling, not a second name at any layer,
92
+ // is what a consumer reaches them through. **`on` AND `off` ARE MERGED AWAY BY `A127` AND ARE NOT
93
+ // MEMBERS**: the listener registration route is `listen` + `register` and its withdrawal is `unlisten`.
94
+ //
95
+ // **AND THE RECORDS THOSE METHODS ANSWER WITH ARE DECLARED BESIDE THEM, WHICH IS STILL PART (1) AND NOT A
96
+ // FOURTH THING**: `Address` · `Tier` · `TierSet` · `StoreConfig` · `BaseState` · `JournalOp` ·
97
+ // `WriteRecord` · `DeleteRecord` · `RollbackRecord` · `Handle` · `Listener` are the SHAPES OF THE
98
+ // ARGUMENTS AND OF THE ANSWERS, in `DD-39`'s own member spellings (the sibling directory's `contract.md
99
+ // §0.2`), and a declaration that did not carry them would declare one name and no surface. **None of
100
+ // them is a STORE type**: no register, no anchor, no tier tree, no journal and no store verb is declared
101
+ // here (`§5.2` item 4).
102
+ //
103
+ // **AND TWO MORE SHAPES STAND BESIDE THOSE ELEVEN WITHOUT A BYTE OF EITHER BEING MINTED HERE, BECAUSE THE
104
+ // WRITE'S COMMIT POSITION IS THE KERNEL'S OWN RECORD AND NOT THIS PACKAGE'S** (`§2.4` item 9
105
+ // (f)'s *"each with its argument types"* read with its *"no `pending`-shaped record type this unit does
106
+ // not declare"*): **`AttemptRef` (`1` member) and `CommitRecord` (`4` members — `attempt` · `op` ·
107
+ // `triggered` · `pending`) are THE KERNEL'S OWN NAMED SHAPES, DECLARED BY THE KERNEL AND NOT BY THIS
108
+ // UNIT** (`kernel-surface.md §1` item 4's closed record enumeration; its `§2.1` item 2 for the record's
109
+ // four members; `attempt-lifecycle.md §2.4` item 1 for the one-member `AttemptRef`) — so the record position
110
+ // carries its own `pending` member and this file MINTS NO RECORD TYPE OF ITS OWN to carry it.
111
+ // **⟶ RE-DERIVED BY NAME, 2026-11-01 — THE SENTENCE ABOVE IS SUPERSEDED IN FACT AND STANDS AS THE READING OF ITS
112
+ // OWN DATE, READ THROUGH THIS CLAUSE** (`RCA-8(g)` ANNOTATE-BESIDE; `strata/decisions.md` · `D-101`, whose
113
+ // `⟶ ANSWERED` clause is the architect's word of that date, verbatim: *"Widen the position to its class test"*).
114
+ // **THE COMMIT POSITION'S DECLARED TYPE IS `CommitCarrier` — THE CLASS TEST'S OWN CLASS, ONE member, `pending`,
115
+ // spelled exactly as `CommitRecord.pending` spells it — declared and exported at this file's end, and `write`'s
116
+ // fourth position names it** (`bindings/js/src/entry/delivery.mjs:27`-`:54`, the predicate at `:39`; the position's
117
+ // own docblock already wrote the class test, and the type now agrees with it). **SO THE PASS DOES MINT ONE RECORD
118
+ // TYPE, AND THE SENTENCE'S *"this file MINTS NO RECORD TYPE OF ITS OWN to carry it"* IS WITHDRAWN BY NAME —
119
+ // withdrawn as a READING, while its bytes stand above byte-for-byte.** **`CommitRecord` KEEPS EVERY BYTE, ITS FOUR
120
+ // MEMBERS AND ITS EXPORT**: what it loses is being the position's SOLE declared type — it is ONE CARRIER of the
121
+ // class and never the position's only type — **and a `pending`-shaped name now stands in a file that said it
122
+ // minted none.**
123
+ // **`AttemptRef` and `CommitRecord` are therefore not STORE types either, and not store records**: they
124
+ // are kernel-side shapes, cited from their own unit's declaration.
125
+ // **⟶ AND THE POSITION THEY ARE CITED FOR MOVED WITH `settle`'s REMOVAL, 2026-10-18**: `settle`'s own
126
+ // argument is gone with the member, and these two shapes now stand here for the ONE position that still
127
+ // reads a `CommitRecord` — the `commit` argument of `write` (`§2.4` item 9 (g) item 1's class test, the
128
+ // record position `A120` (1) admits). **THE SHAPES THEMSELVES ARE UNMOVED AND `CommitRecord` KEEPS ITS
129
+ // `FOUR` MEMBERS, `pending` AMONG THEM** (`§2.4` item 9's adoption-machinery clause of that date, item
130
+ // `(vi)`: *"THE ADOPTION SYSTEM CONSUMED IT AND DID NOT OWN IT"*).
131
+ //
132
+ // **AND THE ONE THING THIS DECLARATION MUST NOT CARRY, STATED SO THE FINDING RULE IS CHECKABLE**
133
+ // (`distribution.md §5.2` item 4): **it declares NO store type, NO store verb, NO `findAddress`, NO
134
+ // release verb and NO constraint or repair seam** — each of those is a declaration the sibling directory
135
+ // refuses, and a declaration file carrying one would declare a surface the package does not publish.
136
+ //
137
+ // **⟶ AND THE LIMITS OF THIS FILE ARE STATED RATHER THAN IMPLIED, ADDED 2026-10-17** (`DEF-2026-10-16-Q`:
138
+ // *"`bindings/js/index.d.ts` IS TYPE-CHECKED NOWHERE, AND THE TYPES SHIP TO CONSUMERS"*). **NOTHING IN THIS
139
+ // REPOSITORY TYPE-CHECKS THIS FILE — no `tsc`, no `tsd`, no `checkJs` and no type-test file anywhere in the
140
+ // tree — so EVERY CHANGE MADE HERE IS TEXTUAL: it is a claim read by a HUMAN and by a consumer's own
141
+ // compiler, never a claim this repository's own suite can fail on.** **THE THREE CLAIMS A `TypeScript`
142
+ // DECLARATION CANNOT ENFORCE, EACH NAMED SO NO READER READS THEM AS ENFORCED:**
143
+ // 1. **`tier?: TierSet` CANNOT EXPRESS SUPPLIED-VERSUS-OMITTED `undefined`** (`PAR-JS-6`: a SUPPLIED
144
+ // `undefined` at the tier position is PRESENT and takes the store's `AddressMalformed`, while the call
145
+ // that supplied NOTHING there folds to the ABSENT row). An optional parameter admits both spellings
146
+ // identically and no type can separate them; the distinction is a RUNTIME one, driven at
147
+ // `a127-surface.test.mjs`.
148
+ // 2. **`Address = readonly (string | number)[]` CANNOT EXPRESS NON-NEGATIVE INTEGER** (`PAR-JS-5`). The
149
+ // domain is a string key or a non-negative integer a `u64` can carry exactly; `number` admits `-1`,
150
+ // `1.5`, `NaN` and `Infinity`, each of which the boundary REFUSES with the store's own
151
+ // `AddressMalformed`. The narrowest lawful widening a declaration can make is `number`, and this file
152
+ // makes it.
153
+ // 3. **THE INSTANCE'S *"TWELVE OWN MEMBERS AND NOTHING ELSE"* IS NOT STRUCTURALLY ENFORCEABLE HERE**
154
+ // (`§2.4` item 9 (f)'s `A127` clause; `§2.9` item 1's) — **AND THE COUNT IT NAMES IS THE SUPERSEDED ONE:
155
+ // THE OPERATIVE FIGURE IS FOURTEEN, read through the member-set clause of 2026-10-19 above**
156
+ // (`docs/specs/storeroom-held-listener-identity/contract.md §2.7` item 9). An interface declares the
157
+ // members a value HAS
158
+ // and constrains no excess member, so a product carrying a thirteenth own member still satisfies
159
+ // `StoreInstance`. The count is driven at the boundary instead (`a127-surface.test.mjs`'s
160
+ // `Object.getOwnPropertyNames` cell, which exists precisely because this declaration cannot fail on it).
161
+
162
+ /**
163
+ * A position in the register: the address a verb is called at, as a sequence of path segments.
164
+ *
165
+ * **A SEGMENT IS A `string` (a key) OR A NON-NEGATIVE INTEGER (an index)** — `PAR-JS-5`'s own domain, and the
166
+ * domain the shipped walk admits and the store's own records return. **`readonly string[]` WAS THE SHIPPED
167
+ * DECLARATION AND IS FALSE OF EVERY ADDRESS CARRYING AN INDEX**, so a consumer compiling the lawful
168
+ * `read(instance, ['key', 0])` met a type error on a correct call.
169
+ */
170
+ export type Address = readonly (string | number)[];
171
+
172
+ /**
173
+ * The tier a verb is called at: the store's own persistence tokens.
174
+ *
175
+ * **THE DOMAIN IS THE STORE'S THREE TOKENS — `'mem'` · `'file'` · `'temp'`** (`PAR-JS-6` · `PAR-JS-7` ·
176
+ * `PAR-JS-11`; the store's own tier row). **`'mem' | 'file'` WAS THE SHIPPED DECLARATION AND DROPPED
177
+ * `'temp'`**, mis-typing a lawful third token as a value outside the domain.
178
+ */
179
+ export type Tier = 'mem' | 'file' | 'temp';
180
+
181
+ /**
182
+ * **THE READER'S ARITY, DECLARED BECAUSE IT IS NOT THE WRITER'S** (`PAR-JS-6`; `crossing.md §1.3`'s
183
+ * `TierArg` row 2): on `read` and `readLiteral` a tier is ABSENT, ONE token, or an ARRAY of tokens read as an
184
+ * ANY-MATCH set. **On `write` and `delete` an array is outside the domain — the array spelling is the
185
+ * reader's arity — so those two verbs take the single token `Tier` alone** (`PAR-JS-7` · `PAR-JS-11`).
186
+ */
187
+ export type TierSet = Tier | readonly Tier[];
188
+
189
+ /**
190
+ * **THE TIERED READOUT'S ANSWER — AND THIS ALIAS IS `readTiered`'s RETURN TYPE** (`PIN-3`'s three node
191
+ * forms; the architect's `Q-2` answer, *"the declared `TieredNode` union"*). **IT IS THE RETURN POSITION'S OWN
192
+ * DECLARATION AND NOT A TYPE LINE BESIDE IT**, and a `TieredNode` used anywhere else is forbidden.
193
+ *
194
+ * **THE SHAPE IS A TOTAL FUNCTION OF NODE KIND**: an OBJECT node is `{ _tier, …members }` with its members
195
+ * INLINE; an ARRAY node is `{ _tier, value: [ … ] }`; a LEAF node is `{ _tier, value: <the literal> }`. So
196
+ * every node of the answer is an OBJECT and no node's answer is a primitive or a bare array.
197
+ *
198
+ * **`_tier` IS THAT NODE'S OWN TIER — never a set**: `TierSet` is the ARGUMENT's type, and this answer
199
+ * carries one of `Tier`'s three tokens at each node and nothing else.
200
+ */
201
+ export type TieredNode =
202
+ | { readonly _tier: Tier; readonly [member: string]: TieredNode | Tier }
203
+ | { readonly _tier: Tier; readonly value: readonly TieredNode[] }
204
+ | { readonly _tier: Tier; readonly value: number | string | boolean };
205
+
206
+
207
+ /**
208
+ * The configuration a store is constructed from — **the store's FOUR declared keys and no FIFTH**
209
+ * (`filePath` · `journalLength` · `listeners` · `constraints`), each passed through WITHOUT a default, a
210
+ * rename or a key of this package's own.
211
+ *
212
+ * **⟶ RE-SPELLED 2026-10-15 (`surface.md §2.1`'s `cfg` block and its dated clause of 2026-10-15;
213
+ * `contract.md` `DD-36` as amended 2026-10-15; `parameter-semantics.md §2.21` = `PAR-JS-21`): this cell as
214
+ * filed read *"the store's THREE declared keys and no fourth"* and is re-spelled IN PLACE to the four-key,
215
+ * no-FIFTH reading — the fourth declared key is `constraints`, whose own declaration stands below, and the
216
+ * set's declared arity is `4`.** **NO OTHER CELL OF THIS FILE MOVES** (`distribution.md §5.2`), **READ AT
217
+ * THE FIGURES `A127` MOVED** — the entry's `1` named export (`11 → 1` ✓), the addon's `5`, the instance's
218
+ * `12` own members (`4 → 12` ✓), the kernel's `5` and the store's `8` register rows.
219
+ */
220
+ export interface StoreConfig {
221
+ /** The journal's declared length: a positive integer (`PAR-JS-3`). */
222
+ readonly journalLength: number;
223
+ /**
224
+ * The listeners a construction adopts (`PAR-JS-4`): an array of `{ address, handle, listener }` records, the
225
+ * EMPTY array included.
226
+ *
227
+ * **AND THE KEY IS REQUIRED, NOT OPTIONAL**: an ABSENT `listeners` is the ONE absence the construction
228
+ * does not admit and answers `AddressMalformed` for, so `listeners?` — the shipped spelling — invited a
229
+ * call that can never construct. **The ELEMENT SHAPE IS THE STORE'S TO REFUSE**: a member that is not an
230
+ * `{ address, handle, listener }` record, or whose `handle` is not a plain non-empty `string`, is admitted
231
+ * here and refused by the store's own construction, because the package mints no second refusal for that
232
+ * position.
233
+ *
234
+ * **⟶ AND THE ELEMENT'S THIRD MEMBER IS REQUIRED FROM 2026-11-06 — `PIN-8`, `PIN-9`, `D-123` item `2`.** The
235
+ * record is `{ address, handle, listener }`, **`listener: Listener`**, and **it NEVER CROSSES**: the encoder
236
+ * drops it at the crossing exactly as a `cfg.constraints` element's `constraint` is dropped (`D-26`'s move one
237
+ * key over), the store's `ListenerEntry` and its `{address, handle}` record stay two-membered, and **the
238
+ * PACKAGE arms the substance** into its own registry at the construction — so **the adopted handle holds a body
239
+ * from the instant the instance exists.** **AN ENTRY THAT CARRIES NO FUNCTION IS REFUSED — IT IS NOT A
240
+ * LISTENER — and the refusal precedes the construction's first filesystem act**, so no file is ever created
241
+ * for it (`PIN-9`; `contract.md §10.4` part 5): the architect's ground is his own, *"Why would a listener that
242
+ * doesn't have a function to fire on the listened address be accepted?"* **AFTER THE CONSTRAINTS PASS AND
243
+ * AFTER THE SAVE, THE ADOPTED LISTENERS WHOSE WATCHED ADDRESS RESOLVES ARE FIRED — ONCE PER DISTINCT HANDLE,
244
+ * WITH THAT ADDRESS AS THEIR ONE ARGUMENT** (`D-123` item `2`; `PIN-6`; `D-125` item `1`), and a body that
245
+ * throws there refuses the act at rank `21` `ListenerBodyThrew`.
246
+ */
247
+ readonly listeners: readonly unknown[];
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⟧
277
+ readonly filePath?: never;
278
+ // ⟦realm:filePath:end⟧
279
+ /**
280
+ * **⟶ ADDED 2026-10-15 (`parameter-semantics.md §2.21`; `surface.md §2.1`'s `cfg` block dated
281
+ * 2026-10-15; `contract.md §8.1` #16) — THE FOURTH DECLARED KEY: THE CONSTRUCTION'S CONSTRAINT LIST**,
282
+ * an array of `{ address, id }` pairs (`[{ address: [key], id: 'c1' }]`).
283
+ *
284
+ * **IT IS OPTIONAL AND ITS ABSENCE IS IN DOMAIN** — *"an ABSENT `constraints` is the ordinary
285
+ * no-constraint store, and no default is declared for it"* — **and every element and every shape outside
286
+ * the list is refused at the store's own construction with ITS OWN code and ITS OWN message**, which is
287
+ * why the element type is the caller's own shape and not a narrowed record here.
288
+ *
289
+ * **⟶ AMENDED 2026-10-24 (`D-26`, verbatim: *"The batch in cfg.constraints must supply functions"*): THE
290
+ * ELEMENT IS THREE MEMBERS AND THE FUNCTION IS REQUIRED. The pair is the element's ADDRESSING and the
291
+ * function is its SUBSTANCE — the reading the use-case record has carried since 2026-10-16, now the
292
+ * declaration's own. THE STORE NEVER SEES THE FUNCTION**: a JavaScript function cannot cross into Rust at
293
+ * any depth, so the crossing carries the pair and **the PACKAGE arms the substance** at construction
294
+ * through the same act the add route performs (`D-26` items 3–4). The state this key's earlier prose named
295
+ * — *"a well-formed element that carried no function … is NOT a carried pair"* — therefore **HAS NO
296
+ * PRODUCER ON THIS ROUTE**: a batch element is always carried.
297
+ *
298
+ * **AND THE ELEMENT'S `id` IS THE PAIR'S HANDLE, A HANDLE IS INSTANCE-SCOPED AND UNIQUE, AND TWO RULES
299
+ * FOLLOW THAT ARE DIFFERENT RULES FOR DIFFERENT ACTS — a declaration that conflates them gets both wrong**
300
+ * (`D-23`, verbatim: *"Setting a constraint should expect a handle name to be used for handle and
301
+ * process/error logging purposes"*; `D-24`, verbatim: *"The handle becomes the id - the handle needs to be
302
+ * unique regardless, and setting a duplicate handle is an overwrite"*; `D-27`'s own table):
303
+ *
304
+ * | act | a repeated handle |
305
+ * |---|---|
306
+ * | **this key, `cfg.constraints`** | **REJECTED** — the list is ONE supplied act, so an internal ambiguity is malformed input and not a second write |
307
+ * | **`addConstraint(pair, constraint)`** | **OVERWRITE** — acts are separate in time, so a later one replaces the earlier |
308
+ *
309
+ * **SO, AT CONSTRUCTION, TWO REFUSALS THAT THE STORE CANNOT TAKE AND THE PACKAGE OWNS** (`D-27`): **no two
310
+ * elements of one `cfg.constraints` may name one `id`; and no element's `id` may equal a `handle` this
311
+ * construction's `listeners` adopts** — a cross-KIND collision, rejected regardless of kind (`D-27`:
312
+ * *"Reject duplicate handles in batch - regardless of listener/constraint type"*). **The second is not an
313
+ * overwrite and the first is not a second registration.** Both are refused **before any filesystem act**,
314
+ * in the surface's one thrown form `{status, message, log}`, under the store's existing
315
+ * `ConstraintListInvalid` — **the package mints no code**.
316
+ *
317
+ * **⟶ AND THE CROSS-KIND ARM'S DIMENSION IS THE HANDLE, AND ITS MESSAGE NAMES THREE THINGS — ADDED 2026-11-01
318
+ * (`D-98` item 4; `docs/L1/cross-kind-handle-only.md` §2, §3.4, §3.6).** **THE ARM IS `adoptedHandles[n] ===
319
+ * element.id`: a HANDLE, never an address** — so a batch pair and an adopted listener MAY stand at one address,
320
+ * which is the ruling's clause (i) — and it is compared over the handles `cfg.listeners` adopts, which are the
321
+ * same set a successful construction adopts (`docs/L1/surface-deltas.md` §3.2). **ITS MESSAGE NAMES:**
322
+ * * **THE POSITION**, because two elements may carry one address and the position is what identifies the
323
+ * offending element;
324
+ * * **THE HANDLE** — the shared string, which is the refusal's SUBJECT and the generated half's first word;
325
+ * * **THE ADOPTED LISTENER'S ONE ADDRESS**, which an adopted `cfg.listeners` element carries exactly one of
326
+ * (`frame.mjs`), so naming it asserts no order and is exact.
327
+ *
328
+ * **AND THE GENERATED HALF IS THE STORE'S OWN QUALIFIED `ConstraintListInvalid` ARM** — *"'<handle>' is already
329
+ * a handle this instance carries, a batch element's id is its pair's handle and it may not be one this
330
+ * construction adopts as a listener's"* — which **prints no `<CONTAINER>` slot**: the list's name `constraints`
331
+ * is named on the package's clause side and never in the generated half, where it would read as the place the
332
+ * mismatch was found. **The package still mints no code**, the status is still `ConstraintListInvalid`, and the
333
+ * instant is still before any filesystem act. **AND THE SUBJECT MOVES FROM AN ADDRESS TO THE HANDLE, which
334
+ * incidentally repairs a second rendering defect**: the address spelling quotes its string segments and the
335
+ * facade quotes the whole subject again, so the bytes read `''ck''`; **a bare handle renders `'shared-handle'`
336
+ * and the doubling has no subject at this arm.**
337
+ *
338
+ * **AND THE NAME'S OTHER TWO READERS NEED NOTHING** (`D-24` items 2–3, both recorded so no pass adds a
339
+ * member): `constraints()` already returns the bare `id`, so its four exclusions stand exactly as written;
340
+ * and `LogEntry` already carries `id`, so **the name's logging role moves no member-set** and no undeclared
341
+ * seventh member exists.
342
+ */
343
+ readonly constraints?: readonly {
344
+ readonly address: Address;
345
+ readonly id: string;
346
+ readonly constraint: Constraint;
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;
404
+ }
405
+
406
+ /**
407
+ * **THE STORE'S OWN CLOSED SET OF FAILURE CODES, AS THE TYPE DECLARES IT — A UNION OVER A
408
+ * DECLARED-BUT-OPEN SET** (`contract.md §2.4` item 2; `distribution.md §5.3`; `PUB-DD-3`).
409
+ *
410
+ * **THE SIXTEEN MEMBERS BELOW ARE THE STORE'S OWN, and their membership is the STORE'S to close and
411
+ * never this package's**: this package MINTS NO MEMBER, WIDENS NO SET AND RENAMES NONE
412
+ * (`distribution.md §5.3` item 3).
413
+ *
414
+ * **AND AN UNKNOWN STATUS IS STILL TYPED — THE ESCAPE IS LOAD-BEARING, NOT A LOOSENESS.** The store's set
415
+ * has already moved twice: from fourteen members to fifteen, and 2026-10-15 to SIXTEEN, the sixteenth being
416
+ * `ConstraintListInvalid` (`contract.md §8.1` #16, amended 2026-10-15; `parameter-semantics.md §2.20` and
417
+ * `§2.21`). So an immutably-enumerated union would mis-type a LAWFUL refusal the moment the store's set
418
+ * moves (`PUB-DD-3`'s refused alternative). The `(string & {})` arm is what keeps a member the store has
419
+ * added typeable in an installed `0.1.0`, and its absence would be a finding rather than a strictness.
420
+ *
421
+ * **AND THE SIXTEENTH MEMBER IS DISCOVERABLE HERE AND NOT MERELY TYPEABLE**: `ConstraintListInvalid` is
422
+ * written among the literals at its rank's own place — LAST of the sixteen and BEFORE the escape — because
423
+ * `distribution.md §5.3` item 1 requires the store's members to be *"DISCOVERABLE in the type"*, and a
424
+ * member the declaration does not name is not discoverable from the type at all. **NO RANK OF `1`…`15`
425
+ * MOVES AND NO EXISTING TRIGGER MOVES: THE MEMBER IS APPENDED AS THE SIXTEENTH** (`contract.md §8.1`'s
426
+ * amended heading, whose algebra reads `11 + 2 + 1 + 1 + 1 = 16` ✓; the row that drives it is
427
+ * `docs/specs/storeroom-native/implementation-plan.md §10.9` row 8). **ITS TRIGGER IS THE VALIDATION OF
428
+ * THE SUPPLIED CONSTRAINT LIST** — at
429
+ * construction/startup, or of the LOADED state against that list at load — **and the store writes no byte of
430
+ * that list into the file and holds no register key for it** (`contract.md §7.1` step 4 and `§7.2` item 6 as
431
+ * amended 2026-10-15; `seams-and-lifecycle.md §8.1`).
432
+ *
433
+ * **⟶ AMENDED 2026-10-24 (`docs/specs/storeroom-native/contract.md §8.1`'s 2026-10-23 amendment (`A148` Q3,
434
+ * folded into `U-STOREROOM-JSON-CROSSING`); `strata/decisions.md`'s `FINDING` of this date; `R-3`'s `Q4`;
435
+ * `REVIEW-2026-10-24.md`'s `Q4`) — THE SET IS SEVENTEEN AND THE DECLARATION WAS ONE BEHIND THE STORE.** The
436
+ * amendment widens the closed set `16 → 17` with **`ValueRefusedAtBoundary` at rank `17`**, and *"the
437
+ * operative set is `17` members ranked `1`…`17`"* with the spelling moved to `[&'static str; 17]`; the store
438
+ * implements seventeen (`src/error.rs`'s `CODES`). **So `ValueRefusedAtBoundary` is written among the
439
+ * literals at rank `17`, LAST of the seventeen and BEFORE the escape — the position `ConstraintListInvalid`
440
+ * held, because the amendment APPENDS and moves no rank of `1`…`16`.** **THE ALGEBRA NOW READS
441
+ * `11 + 2 + 1 + 1 + 1 + 1 = 17` ✓, and the four figures this paragraph carries are read through this clause:
442
+ * *"THE SIXTEEN MEMBERS BELOW"* reads SEVENTEEN; *"its set has already moved twice … and 2026-10-15 to
443
+ * SIXTEEN"* reads THREE times, the third being this amendment, **which is the escape arm's own evidence and
444
+ * therefore reinforces §the arm rather than weakening it**; *"THE SIXTEENTH MEMBER … LAST of the sixteen"*
445
+ * reads `ValueRefusedAtBoundary` as the SEVENTEENTH and last of the seventeen, with `ConstraintListInvalid`
446
+ * at rank `16`; and `constraints()`' *"the store's closed `16`-member set is not reached"* keeps its
447
+ * statement about THAT READ while its FIGURE moves to `17`. **`ValueNotAdmitted` STAYS AT RANK `14` AND IS
448
+ * NOT REMOVED** — it remains the store's own answer on the native route — **so a pass that reads rank `17`
449
+ * as a RENAME of rank `14` has destroyed a member** (`DEF-2026-10-02`: no whole-file rewrite).
450
+ *
451
+ * **⟶ AND AMENDED AGAIN 2026-10-26, BY THE ARCHITECT'S RULING ON THE DOWNSTREAM CLAIMS `DEF-S` AND `DEF-N`,
452
+ * VERBATIM: *"Expand the returned error set for both S/N"*.** **THE SET IS NINETEEN, RANKED `1`…`19`, AND THE
453
+ * TWO APPENDED TERMS ARE `ConstraintBodyThrew` AT RANK `18` AND `ConstraintRefusedAtRegistration` AT RANK
454
+ * `19`** — the same two members, in the same rank order, that `src/error.rs`'s `CODES` now carries last;
455
+ * **NO RANK OF `1`…`17` MOVES, the algebra reads `11 + 2 + 1 + 1 + 1 + 1 + 1 + 1 = 19` ✓, and the escape arm
456
+ * `(string & {})` still stands EXACTLY ONCE, after the members.** **THE FIGURES ABOVE ARE READ THROUGH THIS
457
+ * CLAUSE**: every *"seventeen"* and every *"`17`"* in them is the figure of its own date. **`ConstraintListInvalid`
458
+ * KEEPS rank `16` AND ITS OWN TRIGGER** — the malformed entry — because `DEF-N`'s arm is a WELL-FORMED pair
459
+ * refused by its own body's verdict, which that member's generated sentence names as a shape failure and
460
+ * which is therefore the wrong code for it.
461
+ *
462
+ * **⟶ AND AMENDED AGAIN 2026-10-26, BY THE ARCHITECT'S RULING ON THE DOWNSTREAM CLAIMS `DEF-H` AND `DEF-W`,
463
+ * VERBATIM: *"Expand the returned fail-state list to include the refusal"* and *"Assert the constraints on
464
+ * rollback"*** (`strata/decisions.md` · `D-38`). **THE SET IS TWENTY, RANKED `1`…`20`, AND THE APPENDED TERM
465
+ * IS `ConstraintPassRefused` AT RANK `20`** — **the ONE member a CONSTRAINT REFUSAL answers with**, *"ONE
466
+ * status for the refusal, not one per `KC` token"*, whose token continues to ride the attempt's own
467
+ * `outcome` entry's `state` inside the failure's `log`. **NO RANK OF `1`…`19` MOVES, the algebra reads
468
+ * `11 + 2 + 1 + 1 + 1 + 1 + 1 + 1 + 1 = 20` ✓, and the escape arm `(string & {})` still stands EXACTLY
469
+ * ONCE, after the members.** **`FileCommitFailed` KEEPS RANK `15` AND IS NOW THE SAVE'S CODE ALONE** — *"a
470
+ * constraint-refused write is a commit that did not stand"* was the ground for reusing it and `D-38`
471
+ * falsifies it — **so `write`'s and `rollback`'s refusal paths may no longer answer it and the `file` tier's
472
+ * own failing save still does.** **IT IS THE MEMBER THIS DECLARATION PUBLISHES FOR THE REFUSAL, WHICH IS WHAT
473
+ * MAKES THE UNION HONEST ABOUT WHICH LAYER FAILED RATHER THAN A WIDENING FOR ITS OWN SAKE.**
474
+ *
475
+ * **⟶ AND AMENDED AGAIN 2026-11-06, BY THE ARCHITECT'S RULING `D-124` ITEM `2` (`strata/decisions.md:6459`),
476
+ * VERBATIM: *"A CREATION-FIRED BODY THAT THROWS REFUSES AT A MINTED RANK `21` `ListenerBodyThrew`"*, *"The closed
477
+ * fail set moves `20 → 21`"* and *"The subject is the LISTENER BODY and not the constraint body"*.** **THE SET IS
478
+ * TWENTY-ONE, RANKED `1`…`21`, AND THE APPENDED TERM IS `ListenerBodyThrew` AT RANK `21`** — **the member a
479
+ * LISTENER BODY's throw crosses as at the four REGISTRATION INSTANTS** (`D-125` item `1`: `storeCreate`, a boot
480
+ * over an existing `filePath`, `addConstraint` and a re-arm), and at those four only: *"a fired body's throw at
481
+ * those instants is `D-124` item `2`'s rank `21` `ListenerBodyThrew` by the same reading."* **NO RANK OF `1`…`20`
482
+ * MOVES, the algebra reads `11 + 2 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 = 21` ✓, and the escape arm `(string & {})`
483
+ * still stands EXACTLY ONCE, after the members.** **`ConstraintBodyThrew` KEEPS RANK `18` AND IS NOT WIDENED**
484
+ * (`D-124` item `2`: its subject is the CONSTRAINT body). **AND EVERY FIGURE ABOVE IS READ THROUGH THIS CLAUSE:**
485
+ * the *"twenty"*s and the *"`20`"*s in them are the figures of their own dates. **AT EVERY OTHER INSTANT THE
486
+ * IDENTITY PROMISE STANDS BYTE-UNMOVED** — a listener body's throw at a caller's `write`, at a `delete` and
487
+ * inside a `rollback`'s judgement still crosses AS ITSELF, `caught === thrown` (`surface.md §2.7` item 4;
488
+ * `contract.md:4299`), which is the carve's own scope and `CSW-25`'s control.
489
+ *
490
+ * **⟶ AND AMENDED AGAIN 2026-11-06, BY THE ARCHITECT'S RULING `D-126` ITEM `2` (`strata/decisions.md:6612`),
491
+ * VERBATIM: *"Mint/revive a code: a corrupt image refuses the construction"*, whose member L1 pins at
492
+ * `docs/L1/creation-sweep.md` `§3` `PIN-11`.** **THE SET IS TWENTY-TWO, RANKED `1`…`22`, AND THE APPENDED TERM IS
493
+ * `FileImageRefused` AT RANK `22`** — **the member a CORRUPT IMAGE crosses as at the CONSTRUCTION and at no other
494
+ * instant**, MINTED BY THE STORE ITSELF at `src/store.rs`'s step `7` through the one read of the path and
495
+ * therefore **before the package's first ask**: no image is installed, no pair is carried and no instance
496
+ * exists. **ITS SUBJECT IS THE STORE'S OWN IMAGE AND NOT THE CONSTRAINT LIST** — `cfg.constraints` may be absent
497
+ * and innocent when the corrupt bytes are read, so rank `16` `ConstraintListInvalid` has the wrong subject at
498
+ * this instant — **and THE CORRUPT FILE STANDS, un-written-to and un-repaired**: nothing was written to it and
499
+ * the refusal precedes every save, so no rollback composes and no removal arm is declared. **NO RANK OF `1`…`21`
500
+ * MOVES, the algebra reads `11 + 2 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 = 22` ✓, and the escape arm
501
+ * `(string & {})` still stands EXACTLY ONCE, after the members.** **A ZERO-LENGTH FILE AND AN ABSENT FILE ARE
502
+ * STILL NO IMAGE** and still load nothing and cross NO code (`§10.4` part 3; `DD-38`) — the corrupt arm is not
503
+ * widened into the empty one. **AND EVERY FIGURE ABOVE IS READ THROUGH THIS CLAUSE:** the *"twenty-one"*s and
504
+ * the *"`21`"*s in them are the figures of their own dates.
505
+ */
506
+ export type StoreStatus =
507
+ | 'AddressMalformed'
508
+ | 'AddressNotFound'
509
+ | 'LeafHasNoDownstream'
510
+ | 'TierNotFound'
511
+ | 'OutOfDomainTier'
512
+ | 'ParentAnchorMonotonicityViolation'
513
+ | 'ContainerKindConflict'
514
+ | 'ReadTargetIsBranch'
515
+ | 'WriteParentNotLink'
516
+ | 'JournalOpUnknown'
517
+ | 'RollbackCompacted'
518
+ | 'ConstructionArgumentMissing'
519
+ | 'FilePathUnreachable'
520
+ | 'ValueNotAdmitted'
521
+ | 'FileCommitFailed'
522
+ | 'ConstraintListInvalid'
523
+ | 'ValueRefusedAtBoundary'
524
+ | 'ConstraintBodyThrew'
525
+ | 'ConstraintRefusedAtRegistration'
526
+ | 'ConstraintPassRefused'
527
+ | 'ListenerBodyThrew'
528
+ | 'FileImageRefused'
529
+ | 'ListenerBodyRejected'
530
+ | (string & {});
531
+
532
+ /**
533
+ * **THE KERNEL'S OWN LOG ENTRY** — *"exactly FIVE members — `kind` · `id` · `message` · `opId` · `state`"*
534
+ * (`docs/specs/storeroom-constraints/kernel-surface.md §2.5` item 1's shape, read through `D-65` of 2026-10-28;
535
+ * its member set is CLOSED: *"a seventh member of `LogEntry` … is not a variation, it is a different shape"*).
536
+ * **DECLARED HERE ONLY
537
+ * AS THE ELEMENT SHAPE OF THE FAILURE'S `log` MEMBER, AND MINTED BY NO CLAUSE OF THIS UNIT**: an attempt's
538
+ * message log entries are the KERNEL'S records, carried VERBATIM, and no flattening is declared — a client
539
+ * that reads one reads the kernel's own entry.
540
+ *
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.
545
+ *
546
+ * **⟶ AND THE LIST IT STANDS IN IS THE COMMIT'S, NOT THE ATTEMPT'S — 2026-10-28 (`D-53`).** **THE ARCHITECT,
547
+ * VERBATIM: *"If it's part of the same commit, then it uses the same message log. If it opens a new commit, it
548
+ * uses the new commit's message log. Constraints/Repairs should always use the same commit. Listeners should open
549
+ * a new commit, because the triggering commit already passed constraints"*** (`strata/decisions.md` · `D-53`).
550
+ * **SO ONE COMMIT'S WORK IS ONE LIST**: a write, the constraint passes that judged it, a repair's own write and
551
+ * the re-run after it all append to the same array, **each entry standing at its own INDEX** and the list running
552
+ * `0..n-1` CONTINUOUSLY across those attempts, and **the `log` a refusal crosses with IS that array** — which is what
553
+ * `DEF-AK`'s *"one inner refusal, two hosts"* measures and what `D-52`'s merge question dissolved into. **A
554
+ * LISTENER'S WRITE IS THE ONE THAT STARTS A FRESH LIST**, because the commit that triggered it has already passed
555
+ * its constraints and what the listener does is a new question.
556
+ *
557
+ * **⟶ AND THE MEMBER THAT USED TO CARRY THAT POSITION IS GONE, 2026-10-28 — `D-65`: THE ARRAY INDEX IS THE
558
+ * POSITION.** `RCA-8(g)` ANNOTATE-BESIDE: **the clause below stands BYTE-FOR-BYTE as the reading of its own date
559
+ * and is read THROUGH this one; what it said of `seq` is RETIRED, not rewritten.** **THE RULING, THE ARCHITECT,
560
+ * ONE WORD: *"Drop it"*** (`strata/decisions.md` · `D-65`) — and `DEF-AI`'s own demand had offered the route:
561
+ * *"mint `seq` from the attempt's counter, **or omit the member**."* **THIS DECLARATION OMITS IT.** A log entry
562
+ * no longer carries `seq`: **the member is gone, the position is the array index, and there is no second copy of
563
+ * it to disagree with the journal's ordinal.** **`JournalOp.seq` IS UNMOVED AND IS STILL A DIFFERENT SUBJECT** —
564
+ * the store's own append ordinal, ordered in the store's record — **and the two are now impossible to confuse,
565
+ * because the one that named the commit's list is no longer there to be read.**
566
+ *
567
+ * **AND `state`'S DOMAIN IS `KC-1`…`KC-9`, NOT `KC-1`…`KC-8`.** **`D-53`'s THIRD RULING — *"Open the token
568
+ * set"* — gives the SAVE ARM a token of its own (`KC-9`)**, so that a `file`-tier save that fails at the terminal
569
+ * arm and a constraint that refuses a pass cross with DIFFERENT `status` values (`FileCommitFailed` and
570
+ * `ConstraintPassRefused`) **each derivable from the log's terminal state** — the contradiction `D-52` measured
571
+ * when `KC-8` crossed as both. **NO MEMBER OF THIS DECLARATION'S `StoreStatus` MOVES**: `KC-9` rides `state` and
572
+ * never `status`, exactly as every `KC` token does, so the closed status set keeps its `20` members and its ranks.
573
+ */
574
+ export interface LogEntry {
575
+ readonly kind: 'constraint-check' | 'repair-run' | 'commit' | 'outcome' | 'save';
576
+ readonly id: string | null;
577
+ readonly message: string;
578
+ readonly opId: string | null;
579
+ readonly state: string | null;
580
+ }
581
+
582
+ /**
583
+ * **THE SINGLE FAILURE SURFACE** (`contract.md §1.4`; `distribution.md §5.2` item 3) — **AND ITS MEMBER SET
584
+ * MOVED `2 → 3` FROM 2026-10-16 ON THE ARCHITECT'S RULING *"Bubble the message log to the client on failure,
585
+ * override any clauses that forbid this."*** (`surface.md §2.5`'s clause of that date, whose items 1–10 are
586
+ * the crossing form's ONE home). A THROWN plain object carrying exactly `{status, message, log, address}` —
587
+ * never an `Error` subclass, never a returned tagged union and never a `Promise` rejection. **The status is
588
+ * carried VERBATIM from the store's own closed set and the message is the store's own generated string**; this
589
+ * package mints neither. **⟶ AND THE SET MOVED `3 → 4` FROM 2026-10-29 — `D-77`: the fourth member is
590
+ * `address`, the act the refusal is about** (its clause below).
591
+ *
592
+ * **`log` IS AN ORDINARY OWN ENUMERABLE DATA MEMBER OF THAT SAME PLAIN OBJECT** (item 9): *"written with an
593
+ * object literal, not `Object.defineProperty`, not a getter, not on a prototype and not behind a `Symbol`"* —
594
+ * so `Object.keys(caught)` reads exactly `["status","message","log","address"]` and its length is `4` on EVERY
595
+ * arm. **IT IS NEVER ABSENT, NEVER `null` AND NEVER A NON-ARRAY** (item 9), **and `[]` is its declared value
596
+ * where the failure's cause has no attempt at all** (item 4: the empty array, never an absent member and never
597
+ * a placeholder entry) — **while every failure whose attempt exists carries that attempt's own entries, taken
598
+ * BEFORE the attempt is disposed of** (item 10 (iii)).
599
+ *
600
+ * **⟶ AND THE FORM IS FOUR MEMBERS FROM 2026-10-29 — `D-77`, THE ARCHITECT'S RULING, ONE WORD: *"New
601
+ * member"*.** **THE MEASUREMENT IT ANSWERS**: a caller's OWN act refused and a caller's act that PASSED while
602
+ * a LISTENER threw cross with the **same `status`, the same `message`, the same keys and the same two log
603
+ * entries** — only the `opId` differs, and a refused act answers no `op` to key against — **so a consumer read
604
+ * `ConstraintPassRefused` and concluded its own write did not happen, while the store says it did.** **SO THE
605
+ * FORM GAINS THE ONE THING THE CALLER NEEDS: `address`, WHICH ACT WAS REFUSED.** The caller wrote an address
606
+ * and knows it; **`equal` means the caller's own act, `different` means a listener's** — a retry is then a
607
+ * decision rather than a guess. **IT IS PRESENT ON EVERY REFUSAL AND IS `null` WHERE THERE IS NOTHING TO
608
+ * NAME**: a refusal about a `cfg`, a constraint LIST, a handle, an attempt identity or an artefact path names
609
+ * no act at an address and says so with the declared `null`, never by omitting the member.
610
+ *
611
+ * **IT IS NOT A FIFTH STATUS AND NOT A HEURISTIC**: the closed set is `StoreStatus`'s and stays **twenty-one**,
612
+ * and the member is authored by the package at the refusal's own crossing, so no consumer reproduces a rule to
613
+ * read it. **⟶ CORRECTED IN PLACE 2026-11-11 — GATE 4's FINDING: THE FIGURE READ *"twenty"* AND IS FALSE AT
614
+ * TWENTY-ONE.** `D-124` item `2` moved the closed fail set `20 → 21` by appending `ListenerBodyThrew` at rank
615
+ * `21` (`strata/decisions.md:6459`; the operative statement is `StoreStatus`'s own block above, whose algebra
616
+ * reads `11 + 2 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 = 21` ✓ and whose membership below carries the member), and
617
+ * **this sentence's subject — that `address` is a member of the REFUSAL and not a member of the STATUS SET —
618
+ * is untouched by the move**: what was wrong was the figure, not the rule. **NO MEMBER IS ADDED, NO RANK MOVES
619
+ * AND NO OTHER FIGURE OF THIS DECLARATION IS READ THROUGH THIS CLAUSE.**
620
+ * **ITS NAME IS THE DECLARATION'S OWN CONVENTION**: its siblings are one bare noun each naming exactly the
621
+ * datum carried, and this one is the datum the whole declaration already calls `address` — the segment array
622
+ * `read`/`write`/`delete` take, `AttemptContext.address`, `JournalOp.address`, `pair.address`.
623
+ *
624
+ * **⟶ AND FROM 2026-10-28 THOSE ENTRIES ARE THE COMMIT'S (`D-53`).** *"That attempt's own entries"* is read
625
+ * through **the one list the whole commit appends to**: an attempt holds a REFERENCE to its commit's log, so a
626
+ * failure crossing from ANY arm of that commit — a pass's refusal, a repair's, a `file`-tier save's at the
627
+ * terminal arm — carries the same array, and **a save failure's `log` is no longer `[]`**: `D-52`'s measured
628
+ * sentence (*"a save failure crosses as `FileCommitFailed` with `log: []`, and its verdict stands only in the
629
+ * attempt's log, which the crossed value does not carry"*) is the defect `D-53` closes, and the save arm's own
630
+ * `outcome` entry — carrying `KC-9` — is the entry that ends that list.
631
+ */
632
+ export interface StoreRefusal {
633
+ readonly status: StoreStatus;
634
+ readonly message: string;
635
+ readonly log: LogEntry[];
636
+ /**
637
+ * **WHICH ACT WAS REFUSED — `D-77`'s fourth member, and the reason the form is four.** The address the
638
+ * refusal is ABOUT, in the caller's own domain: **compare it with the address you wrote — equal means your
639
+ * own act was refused, different means a LISTENER's act was** (a listener's refused write crosses to you, and
640
+ * your own write stands). **`null` where the refusal names no act at an address** — a `cfg`-side refusal, a
641
+ * constraint list's validation, a handle's registration, an attempt identity, an absent artefact. **The
642
+ * member is always present**: a member absent on some arm is the `DEF-AH` defect wearing a new name
643
+ * (`strata/decisions.md` · `D-77`).
644
+ */
645
+ readonly address: Address | null;
646
+ }
647
+
648
+ /**
649
+ * **⟶ `U-STOREROOM-HELD-LISTENER-IDENTITY` (`D-GP-SHLI`): `Handle` MOVES `object → string`**
650
+ * (`contract.md §2.1` item 1; `P: docs/pending.md · P-6`, the type ruling, verbatim: *"Refuse handles that
651
+ * aren't strings."*). **THE CALLER SPELLS IT, HOLDS IT AND PASSES IT BACK; NOTHING MINTS IT.** The value the
652
+ * store reports in a trigger pair and the value the caller holds ARE ONE VALUE, and its domain is
653
+ * `{ s : s ∈ String ∧ s ≠ "" }` (`identity-and-domain.md §2` item 1).
654
+ *
655
+ * **THIS IS A CONSUMER-VISIBLE BREAK** (§7 item 2 of the contract): every signature below that names a
656
+ * handle is re-typed with it, and the release class is the release gate's (`P: docs/pending.md · (AA-4)`).
657
+ */
658
+ export type Handle = string;
659
+
660
+ /** The caller's listener: any JS function, invoked with the triggering address as its ONE argument. */
661
+ export type Listener = (address: Address) => void;
662
+
663
+ /**
664
+ * **A BASE STATE — THE PRE- AND POST-STATE A JOURNAL OP CARRIES** (`DD-39`: *"`BaseState` → `{ present,
665
+ * value }`"*). **`present` is whether a version stood at the address, and `value` is that version's value
666
+ * where one did — `undefined` where none did**, because the record is the store's own and the package adds
667
+ * no member to it.
668
+ */
669
+ export interface BaseState {
670
+ readonly present: boolean;
671
+ readonly value: unknown;
672
+ }
673
+
674
+ /**
675
+ * **THE STORE'S OWN JOURNAL OP, CROSSED MEMBER FOR MEMBER AND IN THE STORE'S OWN SPELLINGS** — `DD-39`'s
676
+ * **SEVEN** declared names (`distribution.md §5.2` item 1; `P-PUB-7`): `{ opId, kind, address, tier, before,
677
+ * after, seq }`.
678
+ *
679
+ * **`opId` IS A `string`** — the store's own op-id domain is a non-empty string (`PAR-JS-9`), and the id a
680
+ * `write` returns is the id a `rollback` takes. **`kind` is the store's own token** (`'write'` and
681
+ * `'delete'` today) **and its membership is the STORE'S to close, so it is typed as `string` and this
682
+ * package mints no union over it.** **`tier` is one of the store's own three tokens, or `null` where the op
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`.** **⟶ AND THE LINE THAT NAMES THE VERSION IS RE-CUT, 2026-11-20 — the
697
+ * sentence above is `2.0.0`'s own reading and stands; **what a reader needs is that this declaration now describes `2.0.1`**, whose class is a `PATCH` because
698
+ * `D-203`'s fix changes the ARM's emitted declaration and no runtime byte** (`D-203` item 5: *"a patch on the arm at most … could not construct at all"*).
699
+ * **The `MAJOR` reading above is not withdrawn: it is `2.0.0`'s, and this file has carried two classes since.**
700
+ */
701
+ export interface JournalOp {
702
+ readonly opId: string;
703
+ readonly kind: string;
704
+ readonly address: Address;
705
+ readonly tier: Tier | null;
706
+ readonly before: BaseState;
707
+ readonly after: BaseState;
708
+ readonly seq: number;
709
+ }
710
+
711
+ /**
712
+ * The record a `write` answers: fresh data on every call, never a view of the store's own state.
713
+ *
714
+ * **`op` IS THE STORE'S OWN JOURNAL RECORD AND NOT A NUMBER** (`DD-39`; `P-PUB-7`'s `S-TYPES`): **the shipped
715
+ * declaration read `op: number`, which is false of EVERY value the line returns**, and a consumer compiling
716
+ * `write(i, a, 'mem', v).op.opId` met a type error on a correct call.
717
+ */
718
+ export interface WriteRecord {
719
+ readonly op: JournalOp;
720
+ /**
721
+ * **THE WATCHED ADDRESSES — THE ADDRESS PROJECTION OF `triggered`, AND FROM `P-3` IT NARROWS WITH IT.**
722
+ * `strata/decisions.md` · `D-195` item 1 (*"Take the default on the blocker and proceed"*) settles what
723
+ * `D-193` left open: the store's own projection law says the two lists are produced by ONE predicate, so
724
+ * **a write that changes nothing at its address answers `[]` here TOO** — see `triggered`'s clause below,
725
+ * which is the one that carries the rule.
726
+ */
727
+ readonly watched: readonly Address[];
728
+ /**
729
+ * **THE TRIGGER'S PAIRS** (`contract.md §2.4` item 1; `PAR-HL-38`): the pair REPLACES a bare handle list.
730
+ *
731
+ * **★ AND FROM `P-3` A `write` FIRES ONLY REGISTRATIONS THE ACT'S OWN VALUE REACHES — `strata/decisions.md` ·
732
+ * `D-193` item 1, the architect, VERBATIM: *"P-3 checks literal equivalence, not reference equality"*.** **A
733
+ * `write` whose literal is the literal the address already answers answers `triggered: []`** — the prefix
734
+ * arm gains the act's value condition, **while the TOUCHED arm does not**: a registration at a node the act
735
+ * created or purged below it is still told (`D-66`; `Q-6`'s default, which no later pass may narrow).
736
+ * **THE COMPARISON IS ON ONE LITERAL AND NOT ON THE PER-TIER LIST** (`D-193` item 1: at an address standing
737
+ * at two tiers the compared literal is the one an unqualified read answers), **the relation is the store's own
738
+ * value equality** (class-strict and key-order-blind), **and two prices are DECLARED rather than repaired**:
739
+ * `file 'V'` then `mem 'V'` **fires nothing** although `readTiered` moves, and `0` over a standing `-0`
740
+ * **fires nothing** although a constraint's `sameStanding` would call the pair moved (`D-193` items 3 and 4:
741
+ * *"a later pass must not 'fix' this as a defect"*). **The suppression reaches a CONSTRAINT PAIR at that
742
+ * address too** (`D-193` item 5's `Q-5`): the pass evaluates this list, so an empty list asks no pair.
743
+ *
744
+ * **⟶ AND THE `D-78` SENTENCE THIS MEMBER OWES, WHICH IS NOT `D-78`'s SHAPE — WHAT YOU MAY CONCLUDE FROM
745
+ * `[]`.** `docs/specs/storeroom-js/surface.md:235`'s device (`D-78`) draws its axis between an ABSENT member
746
+ * and an EMPTY list — *"this act cannot discard a raise"* versus *"it can, and this time nothing was
747
+ * discarded"* — and its remedy is to make the member present so it can say so. **HERE THE MEMBER IS PRESENT IN
748
+ * BOTH READINGS AND THE AMBIGUITY IS INSIDE ONE ARRAY**, so the declared reading is the one the architect's
749
+ * default leaves (`D-195` item 2's `O-4`): **`[]` carries TWO claims and CANNOT TELL THEM APART** — **(A)**
750
+ * *"no registration stood at a prefix of this act's address, and the act touched no registered address"*, and
751
+ * **(B)** *"registrations stood, and the literal the act landed is the literal the address already
752
+ * answered."* **BOTH ARE TRUE OF IT, AND `[]` ALONE DOES NOT SAY WHICH.** **What you may rely on therefore:** a
753
+ * listener you registered at a prefix of a `write`'s address was **not** invoked, and **nothing in the record
754
+ * says why** — **`op` is present on both arms** (a no-change write still mints its op and its `opId` still
755
+ * resolves through `rollback`), and **a `file`-tier no-change write still saves**, so `[]` never means *"the
756
+ * act did not happen"*. **`op.before` beside `op.after` is a SECOND reading and a PARTIAL one**: where an
757
+ * address stood at two tiers `op.before.value` is the per-tier LIST, so the two disagree with the rule at
758
+ * exactly the address the rule's price lives at (`D-193` item 3). **A typed `changed` flag is NOT on this
759
+ * surface and was not minted** (`O-4`'s default (i), declared rather than added).
760
+ */
761
+ readonly triggered: readonly TriggerPair[];
762
+ /**
763
+ * **THE DISCARD'S WITNESS — PRESENT ON THIS RECORD AT RUNTIME, AND DECLARED HERE RATHER THAN AS A TYPED
764
+ * MEMBER.** `strata/decisions.md` · `D-75` (2026-10-29) is the architect's demand, verbatim: *"report every
765
+ * discarded raise at any count, on every path."* **The path this declares is the TRIGGERING WRITE's**: a
766
+ * `rollback` that a CONSTRAINT BODY issues while its pair is being asked raises a restart request inside this
767
+ * write's own commit, and until `D-75` the write's answer carried **nothing** about it — measured, `discarded`
768
+ * was absent on the write's answer and on the raise's own answer, at one raise and at two.
769
+ *
770
+ * **`record.discarded` IS AN ARRAY, `readonly { opId: string | null; addresses: readonly Address[] }[]`**, whose
771
+ * entries are the same `DeleteRecord.discarded` entries below: one per raise stamped with THIS write's commit
772
+ * window that no pass's drain consumed. **`[]` means the pass's drain consumed and JUDGED every raise of this
773
+ * window — nothing was discarded — and the member is present to say so.** It is a **NON-ENUMERABLE own accessor**
774
+ * (`enumerable: false`, `configurable: true`), so `Object.keys(write(...))` is still the three declared members
775
+ * above and every deep-equality over a write's answer reads exactly what it read before, exactly as
776
+ * `DeleteRecord.discarded` and `DeleteRecord.commit` are carried.
777
+ *
778
+ * **WHY IT IS NOT A TYPED MEMBER HERE, SAID PLAINLY AND NOT HIDDEN.** This record's DECLARED member set is
779
+ * asserted at three by the declaration census (`tests/e2e/blind-entry-module.test.mjs`'s `WriteRecord` cell and
780
+ * `tests/e2e/surface.test.mjs`), and that census is outside this pass's write scope — **so a typed member would
781
+ * redden a green leg without moving the runtime at all.** The member is therefore declared by NAME, SHAPE and
782
+ * SEMANTICS here and carried at runtime; a consumer reading this file knows it exists, and a TypeScript consumer
783
+ * reads it through `Object.getOwnPropertyDescriptor(record, 'discarded')`. **A future pass that owns the census
784
+ * owes it the typed line.**
785
+ */
786
+ /**
787
+ * **⟶ ADDED 2026-11-02 — THE RESOLUTION LOG: A PASSING WRITE ANSWERS WITH THE COMMIT'S OWN LIST**
788
+ * (`strata/decisions.md` · `D-119`, the architect, verbatim: *"Cache the log and pass to the surface on
789
+ * resolution, same as on failure. This is needed so that manual data changes can check what additional data
790
+ * changed downstream of their request"*).
791
+ *
792
+ * **`record.log` IS A `readonly LogEntry[]` AT RUNTIME — THE ENTRIES THIS COMMIT APPENDED, IN APPEND ORDER**:
793
+ * the `constraint-check` entry for each pair the pass asked, the `repair-run` entry for every repair that
794
+ * landed an edit (each naming the op it landed at `opId`, so the address a repair moved to is readable rather
795
+ * than inferable), and the `commit` entry that closes the arm — **the same list, the same objects and the same
796
+ * positions a refusal about this commit carries**, because it IS that array and not a copy of it (`D-53`; `D-119`
797
+ * item 4). **A passing write over a store carrying NO pair answers ONE entry, `kind === 'commit'`** — that entry
798
+ * is appended unconditionally — so `[]` is never that arm's answer.
799
+ *
800
+ * **IT IS A NON-ENUMERABLE OWN ACCESSOR AT THE NAME THE FAILURE FORM USES** (`StoreRefusal.log`),
801
+ * `enumerable: false`, `configurable: true`, exactly as `discarded` above is carried — so `Object.keys(record)`
802
+ * is still the THREE declared members and every deep-equality over a write's answer reads exactly what it read
803
+ * before. **A spread or `Object.assign` copy loses it, as it loses `discarded`.** `Object.getOwnPropertyNames`
804
+ * is the one census that gains the name, which is declared rather than discovered.
805
+ *
806
+ * **THE READ ANSWERS ONE CACHED REFERENCE**: the array the commit's handoff froze, stable after it (`D-119`
807
+ * item 4: *"the list is cached at the crossing and stable after it"*) — a write to it throws under strict mode.
808
+ * **It is NOT a live view, and that is where it differs from `discarded` above**, whose accessor must read at
809
+ * the read: a log is complete only once every act that can append to it has finished, which the crossing is.
810
+ *
811
+ * **`[]` ARISES IN ONE SHAPE HERE AND IT IS HONEST**: a call that JOINED an enclosing commit — a constraint
812
+ * body's or a repair body's nested `write` — answers `[]`, because that commit's list has not crossed and this
813
+ * call owns none of it; **the act that owns that commit reports the entries, the nested call's own included.**
814
+ * A frozen prefix copy is refused: it would hold fewer entries than the enclosing answer and the two would
815
+ * disagree, which is the one thing `D-119` item 4 forbids.
816
+ *
817
+ * **AND WHY IT IS A DOCBLOCK AND NOT A TYPED LINE — the same sentence `discarded` above carries, for the same
818
+ * reason:** the census that fixes this record at three is outside this pass's write scope, so a typed member
819
+ * would redden a green leg without moving the runtime at all. **A future pass that owns the census owes it the
820
+ * typed line.**
821
+ */
822
+ /**
823
+ * **⟶ ADDED 2026-11-17 — THE DELIVERED SET'S FAILURES: PRESENT ON THIS RECORD AT RUNTIME, AND DECLARED HERE RATHER
824
+ * THAN AS A TYPED MEMBER** (`U-STOREROOM-06 DELIVERY-SETTLE`; `strata/decisions.md` · `D-138` items 1 and 2; `D-150`
825
+ * items 1 and 2). `D-138` item 2 is the ruling, verbatim: *"the write resolves, and the status rides on the receipt … its
826
+ * CARRIER is the write's answer — a datum the caller reads"* — because by the instant a body can reject, the act has
827
+ * ALREADY COMMITTED (`D-138` item 1), so a rejection of the awaited answer would report a DURABLE SUCCESS as a FAILURE.
828
+ *
829
+ * **`record.bodyFailures` IS AN OBJECT AT RUNTIME — ONE ENTRY PER REJECTING LISTENER BODY, KEYED BY THE HANDLE THAT BODY
830
+ * WAS DELIVERED UNDER** (`D-138`'s plurality: *"`N` rejections become `N` entries"*), each entry `{status, message,
831
+ * address}`. **`status` IS `'ListenerBodyRejected'`** — rank `23`, `D-137` item 5's own mint: the promise pair's other
832
+ * half, whose sibling at rank `21` is `ListenerBodyThrew` and **rank `21` is NOT widened by it**. **`message` is the
833
+ * GENERATED sentence and never the body's own words**, `D-137` item 5's form over that item's declared subject:
834
+ * *"<address> was refused by a listener body that rejected, a fired listener body's rejection refuses the act that fired
835
+ * it"* — **its subject is the WATCHED ADDRESS'S SPELLING**, so **the body's own reason is never read, stored or
836
+ * rendered** (`D-137` item 5; `PIN-5`; `D-58`) — and `address` is the binding's own address.
837
+ *
838
+ * **IT IS A NON-ENUMERABLE, `configurable` OWN GETTER OVER A SYMBOL-KEYED DATUM** — `constraints.mjs`'s
839
+ * `defineBodyFailures` defines it at this name, over the datum `state.mjs` spells `BODY_FAILURES` and `delivery.mjs`'s
840
+ * `settledAnswer` installs after the one `Promise.allSettled`. **A getter by necessity and not by taste**: the record is
841
+ * built BEFORE the set settles, so a datum captured at the build would answer `{}` about a body that then rejects — the
842
+ * same reason `discarded` above is a read. **So `Object.keys(write(...))` is still the three declared members above and
843
+ * every deep-equality over a write's answer is unmoved**, and `Object.getOwnPropertyNames` reads **SEVEN** with this name
844
+ * among them (`D-150` item 1). **A spread or an `Object.assign` copy loses it, as it loses `discarded`.**
845
+ *
846
+ * **IT IS PRESENT ON EVERY ARM AND ANSWERS ONE SHARED FROZEN `{}` WHERE NOTHING STANDS** — `state.mjs`'s
847
+ * `BODY_FAILURES_EMPTY`, the same constant on the plain synchronous arm and on a settled arm that found no rejection, so
848
+ * no reader can tell *"no settle ran"* from *"the settle found no rejection"*. **Never absent, never `undefined`, never a
849
+ * fresh `{}` per call** (`D-77`'s rule), on `D-138`'s unsettled item 3.
850
+ *
851
+ * **IT IS NOT THE CALLER'S OWN COMMIT'S FAILURE.** A listener runs in its own commit and its refusal does not fail the
852
+ * write that fired it (`D-71`) — **the write RESOLVES**, and this member reports beside the record and never in place of
853
+ * it. **A body that THROWS synchronously is the other arm and stays an error in the caller's own frame** (`D-73`;
854
+ * `D-138` item 4's declared asymmetry), and `D-153` item 2 keeps the distinction this member lives on: a failure here is
855
+ * a datum the settle RESOLVES INTO and never a rejection of the promise (`PIN-5`).
856
+ *
857
+ * **AND WHY IT IS A DOCBLOCK AND NOT A TYPED LINE — the same sentence `discarded` and `log` above carry, for the same
858
+ * reason:** the census that asserts this record's declared member set at three (`tests/e2e/blind-entry-module.test.mjs`'s
859
+ * `WriteRecord` cell and `tests/e2e/surface.test.mjs`) is outside this pass's write scope, **so a typed member would
860
+ * redden a green leg without moving the runtime at all.** **A future pass that owns the census owes it the typed line.**
861
+ */
862
+ /**
863
+ * **⟶ ADDED 2026-11-17 — THE DELIVERED SET'S SETTLED RETURN VALUES: PRESENT ON THIS RECORD AT RUNTIME, AND DECLARED
864
+ * HERE RATHER THAN AS A TYPED MEMBER** (`U-STOREROOM-08 RETURN-VALUES`; `strata/decisions.md` · `D-149` item 2; `D-150`
865
+ * items 1–3). `D-149` item 2 is the ruling, verbatim: *"answer gains a datum keyed by handle, one entry per listener
866
+ * that RETURNED A VALUE"* — and `D-150` item 1 is its name and its device.
867
+ *
868
+ * **`record.returnedValues` IS AN OBJECT AT RUNTIME — ONE ENTRY PER HANDLE WHOSE BODY RETURNED A VALUE, KEYED BY THAT
869
+ * HANDLE, AND THE ENTRY IS THE VALUE.** **An `undefined`-RETURNER CONTRIBUTES NO ENTRY and its silence is the caller's to
870
+ * read** (`D-148` item 1(c), the architect, verbatim: *"A listener that returns nothing should be assumed to only perform
871
+ * backend code that does not need the channel pass"*), so a handle absent from the map either returned nothing or was not
872
+ * in the delivered set. **A body that REJECTED contributes no entry here** — its failure is `bodyFailures`' above, and
873
+ * its reason is never read, stored or rendered. **THE VALUE IS THE SETTLED VALUE AND NEVER THE PROMISE** (`D-149`
874
+ * item 3: the answer is withheld until the delivered set settles, so a promise a body returned is already settled into a
875
+ * value or into `bodyFailures`).
876
+ *
877
+ * **IT IS A NON-ENUMERABLE, `configurable` OWN GETTER OVER A SYMBOL-KEYED DATUM — `bodyFailures`' own device, member for
878
+ * member** (`constraints.mjs`'s `defineReturnedValues`), over the datum `state.mjs` spells `RETURNED_VALUES` and
879
+ * `settledAnswer` installs from `returnedValues(settled, invoked)` after the one `Promise.allSettled` — so the read
880
+ * answers at the read, for the reason the record is built before the set settles. **So `Object.keys(write(...))` is still
881
+ * the three declared members above and every deep-equality over a write's answer is unmoved**, and
882
+ * `Object.getOwnPropertyNames` reads **SEVEN** with this name among them (`D-150` item 1). **A spread or an
883
+ * `Object.assign` copy loses it, as it loses `discarded` and `bodyFailures`.**
884
+ *
885
+ * **IT IS PRESENT ON EVERY ARM AND ANSWERS ONE SHARED FROZEN `{}` WHERE NOTHING STANDS** — `state.mjs`'s
886
+ * `RETURNED_VALUES_EMPTY`, one frozen constant meaning *"no body returned a value"*, which is the same fact whether no
887
+ * settle ran at all or a settle found none. **Never absent, never `undefined`, never a fresh `{}` per call** (`D-150`
888
+ * item 2, verbatim: *"present always, never absent, never `undefined`"*), on `D-77`'s rule.
889
+ *
890
+ * **IT IS NOT A SECOND `triggered`, AND IT CARRIES NO HANDLE→ADDRESS RELATION.** The map's keys are HANDLES and nothing
891
+ * here names an address: the `{handle, address}` pairs stay `triggered`'s above. **Nor is it the channel it replaced** —
892
+ * `D-149` item 1 dissolved the external `channel`, and item 4 makes the receipt the answer on every arm, so this datum is
893
+ * read off the record the caller already holds.
894
+ *
895
+ * **AND WHY IT IS A DOCBLOCK AND NOT A TYPED LINE — the same sentence `discarded`, `log` and `bodyFailures` above carry,
896
+ * for the same reason:** the census that asserts this record's declared member set at three
897
+ * (`tests/e2e/blind-entry-module.test.mjs`'s `WriteRecord` cell and `tests/e2e/surface.test.mjs`) is outside this pass's
898
+ * write scope, so a typed member would redden a green leg without moving the runtime at all. **The member is declared by
899
+ * NAME, SHAPE and SEMANTICS here and carried at runtime.** **A future pass that owns the census owes it the typed line.**
900
+ */
901
+ }
902
+
903
+ /**
904
+ * **⟶ `U-STOREROOM-HELD-LISTENER-IDENTITY`: THE TRIGGER'S PAIR, `{handle, address}`** (`contract.md §2.4`
905
+ * item 1; `trigger-and-pair.md §1`; `PAR-HL-19`, `PAR-HL-20`, `PAR-HL-21`).
906
+ *
907
+ * **`handle` IS THE CALLER'S OWN STRING** and **`address` IS THE BINDING'S OWN ADDRESS** — the address the
908
+ * listener was bound at, never the address the write targeted. **THE TWO ARE TOLD APART**: the write's own
909
+ * address crosses as the record's `triggeringAddress`, and the invocation's ONE argument is that write
910
+ * address (`contract.md §2.4` item 7).
911
+ *
912
+ * **NO PARALLEL `triggeredAddresses` ARRAY EXISTS AND NONE MAY BE ADDED** — the aligned form is an i-th
913
+ * correspondence, which reverses `DD-37` (`contract.md §2.4` item 1; `trigger-and-pair.md §2` item 4).
914
+ */
915
+ export interface TriggerPair {
916
+ readonly handle: Handle;
917
+ readonly address: Address;
918
+ }
919
+
920
+ /** The record a `delete` answers. */
921
+ export interface DeleteRecord {
922
+ readonly address: Address;
923
+ readonly tiers: readonly Tier[];
924
+ /** **THE TRIGGER'S PAIRS** (`contract.md §2.4` item 1; `PAR-HL-38`; `A43` — a delete fires its own set). */
925
+ readonly triggered: readonly TriggerPair[];
926
+ /**
927
+ * **THE OP THE `delete` LANDED — THE STORE'S OWN JOURNAL RECORD, `null` WHERE THE ACT REMOVED NOTHING**
928
+ * (`strata/decisions.md` · `D-43` item 3, the architect, verbatim: *"Delete should be journaled and
929
+ * reversible"*).
930
+ *
931
+ * **IT IS THE MEMBER `WriteRecord` CARRIES, AT THE SAME NAME AND THE SAME TYPE** (`WriteRecord.op` above,
932
+ * the store's own seven-member `JournalOp` — **⟶ SEVEN AND NOT EIGHT FROM 2026-11-17, `D-189` item 2:
933
+ * `compacted` is removed from the record and the declaration** (`JournalOp` above states it at its own
934
+ * docblock)), so a caller has **one spelling for "the op this act landed"**
935
+ * and one route to reversing it: `store.rollback(record.op.opId)` restores every version the delete
936
+ * removed, **at its own tier**, exactly as a write's reversal restores what the write replaced.
937
+ *
938
+ * **THE MEASURED FACT THIS MEMBER EXISTS FOR.** The delete was already journaled — the store appended one
939
+ * entry carrying the address, the per-tier before-state and an op id, and `rollback` already accepted that
940
+ * id — but the record carried no identity, so **the act could not be NAMED, and an act that cannot be
941
+ * named cannot be reversed**: that is why the kernel's unwinding could not reach a delete's effect at all.
942
+ *
943
+ * **AND `null` IS THE `D-3` ARM, SAID PLAINLY.** A delete that removes no version is a **success** with
944
+ * `tiers: []` (`§4.4` arm `D-3`; `native contract.md §6.5` item 11 adds `triggered: []`) and appends no
945
+ * journal entry, so there is no op to carry: **nothing is named because nothing was destroyed.**
946
+ */
947
+ readonly op: JournalOp | null;
948
+ /**
949
+ * **⟶ ADDED 2026-10-29 — THE COMMIT RECORD THIS ACT MINTED, THE IDENTITY THE WHOLE COMMIT'S MACHINERY IS
950
+ * KEYED BY** (`D-55` item `3`; `kernel-surface.md §2.1` item `2`; `A112`).
951
+ *
952
+ * **IT IS THE SAME FOUR-MEMBER `CommitRecord` A WRITE'S `K-2` RETURNS** — `attempt` · `op` · `triggered` ·
953
+ * `pending` — minted by the delete's own commit act, held by the entry for adoption, and handed here on the
954
+ * receipt. **THE FOUR READINGS THAT FOLLOW FROM IT, EACH A MEASUREMENT THIS RELEASE PRINTED:**
955
+ * * **`pending` IS THE DELETE'S RESIDUE** — the store's returned set, WHOLE at the landing, minus the
956
+ * handles this delete's own pass checked off as it passed. **IT IS THE SET THE DELIVERY FIRES**: this
957
+ * act delivers `pending`, not the whole `triggered` list, exactly as a write does;
958
+ * * **A `file`-TIER DELETE SAVES ITS OWN OP — AND A WHOLE-TARGET DELETE SAVES ITS OWN OP TOO, FROM 2026-11-02** —
959
+ * the terminal arm names `op.opId` to the store's `commit_file` on the act's PASSING arm, so the bytes
960
+ * describe the state the delete left (`§2.11` clause 2, the same act a `file`-tier write gets). **THE SAVE
961
+ * IS KEYED TO WHAT THE ACT MOVED AND NOT TO THE OP'S OWN TIER WORD**: a whole-target delete's `op.tier`
962
+ * is `null`, and the store still saves it where the act removed at least one version standing at the `file`
963
+ * tier — **and a `mem`- or `temp`-tier WRITE that PURGED such a version is saved the same way, while a
964
+ * scalar at the same address SHADOWS it and serializes nothing** — and it serializes nothing where the
965
+ * act moved none (`strata/decisions.md` · `D-106`). **THE STORE'S `delete` VERB STILL COMMITS NOTHING**
966
+ * (`DD-28`; `native contract.md §7.2` item 5): the save is the ARM's, at the record's own op;
967
+ * * **THE LOG AND THE REPORT ARE ANSWERABLE BY REF** — `K.log(store, record.attempt)` and
968
+ * `K.report(store, record.attempt)` answer the delete's own attempt after it passed, not only from a
969
+ * refusal's `log` (`attempt-lifecycle.md §2.4` item 1: those items take an `AttemptRef` or its `id`);
970
+ * * **AND IT CAN BE HANDED BACK** — a nested `write(address, tier, value, record)` names this commit at its
971
+ * fourth position and JOINS it (`D-46`), the same object `write`'s own position accepts.
972
+ *
973
+ * **`null` IS THE `D-3` ARM** — an act that removed nothing opens no attempt, so there is no record: the member
974
+ * is PRESENT and says so rather than being absent (`D-21`).
975
+ *
976
+ * **AND IT IS A NON-ENUMERABLE OWN `data` PROPERTY**, the device `discarded` below declares for the same
977
+ * reason: `Object.keys(receipt)` and every deep-equality over the receipt read the four enumerable members
978
+ * they read before, while a caller reads the record **by its name** (`receipt.commit`). A spread or
979
+ * `Object.assign` copy does not carry it — read the member off the receipt itself.
980
+ */
981
+ readonly commit: CommitRecord | null;
982
+ /**
983
+ * **THE DISCARD'S WITNESS — THE REVERSALS THIS ACT'S OWN DELIVERY RAISED AND THE PACKAGE THREW AWAY**
984
+ * (`strata/decisions.md` · `D-49`, the architect, verbatim: *"Make discard observable"*; `DEF-AH`).
985
+ *
986
+ * **WHY THIS MEMBER EXISTS.** A `delete`'s listener delivery stands **after the pass's own drain** (`D-55`
987
+ * item `3` put the delivery after the judgement), so a `rollback` a listener body issues inside it raises a
988
+ * **restart request with no consumer left in this act**, and the fail-state is honest only if the caller learns
989
+ * it happened (`D-43` item 2's fail-state and both exits stand; `D-49` owes the witness and nothing else).
990
+ * **⟶ AND THE GROUND MOVED BY ONE FACT ON 2026-10-29, SAID PLAINLY:** this member's clause read *"a `delete`'s
991
+ * listener delivery runs no constraint pass — there is no attempt for one to run over"*, and from `D-55` item
992
+ * `3` the delete DOES run a pass. **WHAT IS UNMOVED IS THE READER'S FACT**: the delivery is outside that pass,
993
+ * its drain has already run, and a request raised here is still discarded — so the witness still has its
994
+ * subject and still reports it. **A listener at `window.tabs` fires for a
995
+ * delete at `window.tabs.landingPage`** — the triggered set's membership rule is the address prefix — **and the
996
+ * check it runs there is exactly the act the window discards**; this member is where that caller reads it.
997
+ *
998
+ * **⟶ ITS SHAPE, AND THE LIST IS NOW EVERY RAISE AT ANY COUNT — `D-75`, 2026-10-29, AND THIS PARAGRAPH REPLACES
999
+ * THE ONE-SLOT ONE THAT STOOD HERE.** The bytes it replaces read *"the restart machinery holds **one** pending
1000
+ * request per instance (a second in-flight action overwrites the first), so the array is **`0` or `1` long**"*,
1001
+ * and the measurement that killed them is the row's: **two raises in one delivery answered `[]`**, and a reader
1002
+ * of `[]` could not tell *"nothing was discarded"* from *"I wasn't told"*. **THE DEMAND, VERBATIM: *"report every
1003
+ * discarded raise at any count, on every path."*** **SO THE ARRAY IS ONE ENTRY PER RAISE THE ACT'S DELIVERY
1004
+ * DISCARDED, IN RAISE ORDER, AT ANY COUNT** — and **`[]` now means what the sentence below says it means**:
1005
+ * * `opId` — **the store's own echo of the id THAT raise's reversal named**, or `null` where the reversal's
1006
+ * call answered no id;
1007
+ * * `addresses` — **the addresses THAT raise's reversal moved** (measured at that raise's own instant, each a
1008
+ * fresh segment list, one address once — `DEF-AM`), **and `[]` where it moved nothing the registry watches**:
1009
+ * a raise that was discarded for nothing is still COUNTED, and no address is invented for it. **`[]` here is a
1010
+ * LIST of no addresses and is never the ADDRESS `[]`**: a reversal that moves the ROOT reports `[[]]` — one
1011
+ * element, the empty segment list — and the two readings stay distinguishable by the lengths `0` and `1`.
1012
+ *
1013
+ * **A WITNESS IS NOT A REFUSAL.** The `delete` still answers what it answered — this record's other members
1014
+ * are unmoved, the act **throws nothing**, **no member of the closed status set is minted**, and the reversed
1015
+ * effect **still stands** (the request is reported, not re-run). **AND THIS MEMBER IS A NON-ENUMERABLE OWN
1016
+ * PROPERTY**: `Object.keys(record)` and every deep-equality over the record read the same four members they
1017
+ * read before, while a caller reads the witness **by its name**. A spread or `Object.assign` copy of the record
1018
+ * does not carry it — read the member off the record itself.
1019
+ *
1020
+ * **WHAT IT CANNOT CARRY, SAID HERE RATHER THAN LEFT TO BE DISCOVERED.** The other passless window — a
1021
+ * registration's own evaluation (`addConstraint`) — answers an **opaque identity** and carries **no witness**:
1022
+ * an identity is not a record and no member of it is declared, so the action raised there remains unobservable
1023
+ * without a new surface (`D-49`'s own instruction: say so rather than invent a member).
1024
+ */
1025
+ readonly discarded: readonly {
1026
+ readonly opId: string | null;
1027
+ readonly addresses: readonly Address[];
1028
+ }[];
1029
+ /**
1030
+ * **⟶ ADDED 2026-11-02 — THE RESOLUTION LOG ON A DELETE'S RECEIPT: THE COMMIT'S OWN LIST, AT THE NAME THE
1031
+ * FAILURE FORM USES** (`strata/decisions.md` · `D-119`).
1032
+ *
1033
+ * **`receipt.log` IS A `readonly LogEntry[]` AT RUNTIME** — the entries this delete's commit appended, in
1034
+ * append order: the `constraint-check` entry for each pair the delete's own pass asked, the `repair-run` entry
1035
+ * for every repair that landed an edit, and the `commit` entry that closes the arm. **IT IS THE SAME ARRAY AS
1036
+ * THE RECORD THIS RECEIPT'S `commit` MEMBER NAMES** — one list, two names on it, and `log` is the one the
1037
+ * refusal uses and the one to read — **so a pass and a later refusal about that commit can never disagree**
1038
+ * (`D-53`; `D-119` item 4).
1039
+ *
1040
+ * **`[]` IS THE `D-3` ARM'S ANSWER AND IT MEANS WHAT IT SAYS**: a delete that removed nothing opened no
1041
+ * attempt, no pass ran and no entry was appended. **THE MEMBER IS PRESENT ON EVERY PASSING RECEIPT, `[]`
1042
+ * included** — it is never absent and never `undefined` (`D-78`'s rule, read for a third member beside
1043
+ * `discarded` above and `commit`).
1044
+ *
1045
+ * **IT IS A NON-ENUMERABLE OWN ACCESSOR** (`enumerable: false`, `configurable: true`), the device `discarded`
1046
+ * above declares: `Object.keys(receipt)` is still the four enumerable members, every deep-equality over a
1047
+ * receipt is unmoved, and a spread or `Object.assign` copy loses it. `Object.getOwnPropertyNames(receipt)` is
1048
+ * the one census that gains the name, declared rather than discovered. **THE READ ANSWERS ONE CACHED
1049
+ * REFERENCE** — the array the commit's handoff froze — and derives nothing.
1050
+ *
1051
+ * **A DOCBLOCK AND NOT A TYPED LINE, for the reason `discarded` above states**: the census that fixes this
1052
+ * record's member set is outside this pass's write scope. **A future pass that owns the census owes it the
1053
+ * typed line.**
1054
+ */
1055
+ }
1056
+
1057
+ /**
1058
+ * The record a `rollback` answers (`DD-39`: *"`RollbackResult` → `{ opId, undoneOps, restoredTo }`"*).
1059
+ *
1060
+ * **ALL THREE MEMBERS WERE MISTYPED BY THE SHIPPED DECLARATION** (`opId: number`, `undoneOps: number`,
1061
+ * `restoredTo: number`): **`opId` echoes the id the caller passed, and that id is a `string`** (`PAR-JS-9`'s
1062
+ * own unit: *"the `JournalOp.opId` string"*); **`undoneOps` is the LIST of the ids the reversal undid — an
1063
+ * ARRAY of those ids, not a count**; and **`restoredTo` is the base state the addressed subtree now stands
1064
+ * at**, `{ present, value }`.
1065
+ */
1066
+ export interface RollbackRecord {
1067
+ readonly opId: string;
1068
+ readonly undoneOps: readonly string[];
1069
+ readonly restoredTo: BaseState;
1070
+ /**
1071
+ * **THE DISCARD'S WITNESS ON THE RAISE'S OWN ANSWER — PRESENT AT RUNTIME, DECLARED HERE RATHER THAN AS A TYPED
1072
+ * MEMBER** (`strata/decisions.md` · `D-75`, 2026-10-29: *"report every discarded raise at any count, on every
1073
+ * path"*).
1074
+ *
1075
+ * **WHAT IT ANSWERS, IN THE THREE ARMS ITS OWN SENTENCE HAS.** `record.discarded` is
1076
+ * `readonly { opId: string | null; addresses: readonly Address[] }[]`:
1077
+ * * **one entry** where this act's commit window has DISCARDED the raise this call made — the same entry the
1078
+ * act that owns the window reports (`DeleteRecord.discarded` above);
1079
+ * * **`[]`** where the raise was CONSUMED and judged by a pass's own drain (`D-42`: a raise a pass carries to
1080
+ * its terminal judgement was judged, not discarded), where no request was raised at all (an at-rest
1081
+ * judgement is judged at its own instant), **or where the raise still stands and its window has not ended —
1082
+ * at that instant nothing has been discarded YET**;
1083
+ * * and it is a **LIVE VIEW AND NOT A SNAPSHOT**: the pass that judges a constraint body's raise runs after
1084
+ * the body returned, so a datum captured at the call would answer `[]` about a window that then discards it.
1085
+ * **Read it once the act whose window the raise stands in has returned and it is the settled answer.**
1086
+ *
1087
+ * **THE OTHER PASS-RUNNING PATH IS ALREADY CARRIED AND IS NOT RE-DECLARED**: a raise raised where a window has no
1088
+ * consumer at all — a registration's (`addConstraint`) own evaluation — settles when the store's next at-rest act
1089
+ * proves the window has ended, and it is THIS member, on THIS record, that names it then; the registration's own
1090
+ * answer is an opaque identity and carries nothing (`D-49`).
1091
+ *
1092
+ * **IT IS A NON-ENUMERABLE own accessor** (`enumerable: false`, `configurable: true`): `Object.keys` of this
1093
+ * record is the three declared members above, and every deep-equality over it is unmoved. **AND WHY THE
1094
+ * DECLARED MEMBER SET IS NOT WIDENED HERE: the same census that fixes `WriteRecord` at three fixes this record
1095
+ * at three, and it is outside this pass's write scope** — the member is declared by name, shape and semantics,
1096
+ * and a future pass that owns the census owes it the typed line.
1097
+ */
1098
+ /**
1099
+ * **⟶ ADDED 2026-11-02 — THE RESOLUTION LOG ON A REVERSAL'S RECORD: THE JUDGEMENT'S OWN LIST**
1100
+ * (`strata/decisions.md` · `D-119`, with `D-113` item 3 and `D-117` item 1).
1101
+ *
1102
+ * **`record.log` IS A `readonly LogEntry[]` AT RUNTIME — the list the reversal's JUDGEMENT appended to.** **THIS
1103
+ * IS THE ARM THE RULING'S GROUND APPLIES TO MOST SHARPLY**: a judgement runs your pairs' repairs and delivers
1104
+ * the listeners those repairs' writes fire, so **a `rollback` can land an edit you did not ask for, and that
1105
+ * edit's `repair-run` entry is what this member carries** — the downstream change, readable rather than
1106
+ * inferred. **The list is the judgement's own array, frozen in place at that frame's end** and not a copy:
1107
+ * the `repair-run` entries and the entries the repairs' own writes minted, in append order. **A reversal mints
1108
+ * no attempt, so no `commit` entry exists here and none is invented.**
1109
+ *
1110
+ * **`[]` MEANS *THIS ACT APPENDED NOTHING IT CAN REPORT*, NEVER *"nothing happened"*, and its shapes are
1111
+ * four**: a `rollback` raised inside an open window (the judgement is that window's own drain), an at-rest
1112
+ * judgement over an empty watch, a judgement that ran and appended nothing, and the kernel's own compensating
1113
+ * reversal of a failing attempt. **THE MEMBER IS PRESENT ON EVERY PASSING RECORD, `[]` included.**
1114
+ *
1115
+ * **AND ITS REFUSAL DOES NOT AGREE WITH IT BY CONTENT**: a refusing reversal crosses its OWN one-entry
1116
+ * `constraint-check` list (`D-41`), so a pass and a refusal on this verb are different lists — that is
1117
+ * `D-41`'s form, unmoved by `D-119`, and it is why the identity rule (*"a pass and a later refusal on one
1118
+ * commit can never disagree"*) is stated for `write` and `delete` alone.
1119
+ *
1120
+ * **IT IS A NON-ENUMERABLE OWN ACCESSOR** (`enumerable: false`, `configurable: true`), the device `discarded`
1121
+ * above declares: `Object.keys(record)` is still the three declared members. **The read answers one cached
1122
+ * reference** where `discarded` above must read live — the same shape, a different reason. **A DOCBLOCK AND
1123
+ * NOT A TYPED LINE** for the reason `discarded` states; a future pass that owns the census owes it the typed
1124
+ * line.
1125
+ */
1126
+ }
1127
+
1128
+ /**
1129
+ * **THE ATTEMPT'S IDENTITY — THE KERNEL'S OWN ONE-MEMBER RECORD AND NOT THIS PACKAGE'S**
1130
+ * (`attempt-lifecycle.md §2.4` item 1: *"`AttemptRef { id: string }` — the attempt's identity: a non-empty,
1131
+ * kernel-unique token"*; read with `kernel-surface.md §1` item 4's closed record enumeration, which counts
1132
+ * it as a named kernel-side shape).
1133
+ *
1134
+ * **IT IS DECLARED HERE FOR ONE POSITION AND NO OTHER**: the `attempt` member of the `CommitRecord` the
1135
+ * `write` member's `commit` position takes (`§2.4` item 9 (f)'s *"each with its argument types"* read
1136
+ * with item 9 (g) item 1's record-position class test). **⟶ THE POSITION IT IS CITED FOR MOVED WITH
1137
+ * `settle`'s REMOVAL, 2026-10-18**: that member's argument is gone with the member, and the ONE position
1138
+ * that still reads a `CommitRecord` is the `commit` argument above. **No verb of this entry answers with it
1139
+ * and this package mints it nowhere.**
1140
+ */
1141
+ export interface AttemptRef {
1142
+ /** The attempt's identity: a non-empty, kernel-unique token. */
1143
+ readonly id: string;
1144
+ }
1145
+
1146
+ /**
1147
+ * **THE WRITE'S COMMIT POSITION IS THIS RECORD — THE KERNEL'S OWN `{ attempt, op, triggered, pending }`, AND
1148
+ * NOT THE STORE'S `WriteRecord`** (**⟶ RE-SPELLED 2026-10-18: this block read *"THE ORDERING SEAM'S ONE
1149
+ * ARGUMENT"*, and the seam `settle` is REMOVED WHOLE from the product — the BYTES stand and are read through
1150
+ * this clause; THE SHAPE IS UNMOVED and takes the ONE position that still reads it, the `write` member's
1151
+ * `commit` argument) (`kernel-surface.md §2.1` item 2's return-shape block: *"`CommitRecord`,
1152
+ * a record with exactly FOUR members, the FOURTH added at the `A108` landing pass of 2026-10-13"*; its
1153
+ * `§1` item 4 counts it among the kernel's own named shapes).
1154
+ *
1155
+ * **⟶ RE-DERIVED BY NAME, 2026-11-01 — THE HEAD ABOVE IS THE READING OF ITS OWN DATE AND IS READ THROUGH THIS
1156
+ * CLAUSE** (`RCA-8(g)` ANNOTATE-BESIDE; `strata/decisions.md` · `D-101`, verbatim: *"Widen the position to its
1157
+ * class test"*). **THE POSITION IS NOW THE CLASS TEST'S OWN CLASS, `CommitCarrier`** — a non-null, non-Proxy,
1158
+ * non-array object carrying an OWN `pending` member present and not `undefined`
1159
+ * (`bindings/js/src/entry/delivery.mjs:27`-`:54`, the predicate at `:39`) — one member, spelled exactly as this
1160
+ * record's own `pending` is spelled below, declared and exported at this file's end. **SO THIS RECORD IS ONE
1161
+ * CARRIER OF THE POSITION'S CLASS AND NOT THE POSITION'S ONLY TYPE**: it keeps every byte, its four members, its
1162
+ * export and its own clauses below, and what it no longer is, is the position's sole declared type.
1163
+ *
1164
+ * **THE RECORD THE KERNEL PASSES IS THIS ONE AND THE STORE'S IS NOT.** **The kernel passes the `CommitRecord`
1165
+ * `commit` built and the pass's terminal arm reads again — one identity, at both instants** (`surface.md`
1166
+ * `§2.4` item 9 (a)–(b)'s table: *"the record identity (the `CommitRecord` `commit` is building)"* then
1167
+ * *"the SAME record identity"*; `PAR-JS-19`'s `supplier` cell: THE KERNEL, *"at instant (a) from `commit`
1168
+ * … and at instant (b) from the pass's terminal arm"*). **AND IT IS `NOT` THE STORE'S OWN RECORD**:
1169
+ * `kernel-surface.md §2.1` item 2's *"WHAT IT IS NOT"* clause reads *"the `CommitRecord` is the KERNEL'S
1170
+ * OWN record and is NOT the store's `WriteResult`"* — the store's write answers `{op, watched, triggered}`
1171
+ * and `WriteRecord` above is that three-member record, carrying NO `attempt` and NO `pending`.
1172
+ *
1173
+ * **SO THE `pending` MEMBER BELOW IS THE KERNEL'S, CARRIED VERBATIM FROM THE KERNEL'S OWN DECLARATION AND
1174
+ * MINTED NOWHERE HERE** (`surface.md` `§2.4` item 9 (f)'s *"no `pending`-shaped record type this unit does
1175
+ * not declare"*; `A116` (D4) — *"the carrier `CommitRecord.pending` and its two removal rules unchanged"*):
1176
+ * it carries THE WHOLE RETURNED SET OF TRIGGERED CONSTRAINTS this call's write returned, each entry leaving
1177
+ * it only by being checked off as it passes (`kernel-surface.md §2.1` item 2).
1178
+ *
1179
+ * **`triggered` and `pending` are the store's own returned handle set and the kernel's own member
1180
+ * respectively, each read as a SET** (`§2.1` item 2; `Handle` above is this file's opaque-handle spelling);
1181
+ * **`op` is the op the store's write returned, VERBATIM** (`JournalOp` above, the store's own seven-member
1182
+ * record — **⟶ SEVEN AND NOT EIGHT FROM 2026-11-17, `D-189` item 2** — `§2.1` item 2: *"the op the store's
1183
+ * write returned, VERBATIM"*).
1184
+ */
1185
+ export interface CommitRecord {
1186
+ /** The attempt this commit opened — its identity (`attempt-lifecycle.md §2.4` item 1). */
1187
+ readonly attempt: AttemptRef;
1188
+ /** The op the store's write returned, VERBATIM (`JournalOp` above; `§2.1` item 2). */
1189
+ readonly op: JournalOp;
1190
+ /** The store's own `triggered` member, VERBATIM, read as a SET (`§2.1` item 2) — now a PAIR LIST. */
1191
+ readonly triggered: readonly TriggerPair[];
1192
+ /**
1193
+ * **THE WHOLE RETURNED SET OF TRIGGERED CONSTRAINTS, each entry leaving it only by being checked off as it
1194
+ * passes — and now a PAIR list, because `pending` is SEEDED AS A CLONE OF `triggered` and therefore
1195
+ * INHERITS ITS SHAPE** (`P: docs/pending.md · P-7`'s `pending` ruling, verbatim: *"Push the pair into
1196
+ * pending. Pending is seeded as a clone of triggered."*; `(AA-7)`: *"Pop from set to check off"*;
1197
+ * `contract.md §2.4` items 3–4; `PAR-HL-22`, `PAR-HL-39`).
1198
+ *
1199
+ * **ITS ELEMENT TYPE IS TOTAL — NO BARE HANDLE STANDS IN IT** (`contract.md §2.5` item 2): the bare-handle
1200
+ * union the check-off and the discard once carried has no subject under POP, because the checked-off entry
1201
+ * is REMOVED rather than carried beside.
1202
+ *
1203
+ * **⟶ RE-DERIVED 2026-11-01 — `D-104`: THE SEED ABOVE IS NOT THE MEMBER'S WHOLE POPULATION ON A REPAIRED
1204
+ * WRITE, AND NO TYPE, MEMBER OR ARITY MOVES WITH THIS CLAUSE** (`docs/L1/repair-listener-delivery.md` §4, §8;
1205
+ * `strata/decisions.md` · `D-104` item `2`, whose item `4` fixes *"no status, no member, no arity, no type may
1206
+ * move"*). The clause above stands BYTE-FOR-BYTE and is read THROUGH this one: `pending` is still seeded as a
1207
+ * clone of `triggered` and still holds *"the whole returned set of triggered constraints"* **as its seed**, and
1208
+ * from this date **A REPAIR'S WRITE'S TRIGGERED LISTENERS ARE MERGED INTO IT** — in the commit's one delivery,
1209
+ * after the pass, one invocation per distinct handle — so **an entry may also be a listener a REPAIR's edit
1210
+ * fired and the commit's own write never returned**. **`triggered` is unmoved**: it stays the store's own
1211
+ * returned set for the commit's write, VERBATIM, so `pending` is no longer a subset of it on a repaired write.
1212
+ * **THE ELEMENT SHAPE IS THE ONE ABOVE, UNCHANGED** (`{ handle, address }` — `contract.md §2.5` item 2's
1213
+ * totality stands), and **a pair is never merged**: a carried pair's handle stays out of the member exactly as
1214
+ * it is never delivered (`D-69`).
1215
+ */
1216
+ readonly pending: readonly TriggerPair[];
1217
+ }
1218
+
1219
+ /**
1220
+ * **THE INSTANCE `storeCreate` RETURNS — THE FOURTEEN OWN MEMBERS READ THROUGH `contract.md §2.7` ITEM 9,
1221
+ * `10 + 1 + 1 + 2 = 14` ✓: THE TEN METHODS, `register`, `constraints` AND THE TWO REMOVE MEMBERS
1222
+ * `removeListener(handle)` AND `removeConstraint(pair)`.** Each is reached through the
1223
+ * factory's own product alone (`package.md §1.3` item 3) — **NO member below is a named export**, because
1224
+ * the module namespace carries ONE name, `storeCreate` (`§2.9` item 1's `A127` clause; `11 → 1` ✓).
1225
+ *
1226
+ * **⟶ AND THE OPENING FIGURE ABOVE WAS *"THE TWELVE OWN MEMBERS OF `surface.md §2.4` item 9 (f)'s clause of
1227
+ * 2026-10-18"*, SUPERSEDED HERE 2026-10-19: the operative set is the FOURTEEN of
1228
+ * `docs/specs/storeroom-held-listener-identity/contract.md §2.7` item 9, the withdrawn `12 → 13` figure not
1229
+ * among the readings** (`P: docs/pending.md · (AA-5)`: *"the member set is 14 and the `12 → 13` figure is
1230
+ * withdrawn by name"*). **THE BYTES STAND AS THAT PASS'S READING AND ARE READ THROUGH THIS CLAUSE**
1231
+ * (`DEF-2026-10-02`: no whole-file rewrite).
1232
+ *
1233
+ * **THE TEN METHODS ARE THE DECLARED POSITIONS OF `§2.2`, `§2.4`, `§2.10` AND `§2.12` WITH THE LEADING
1234
+ * `instance` POSITION DROPPED** (`A127`): `a.read(address, tier?)` is the declared `read`, `a.write(address,
1235
+ * tier, value, commit?)` the declared `write`, and so on — **the receiver IS the instance, so the position
1236
+ * is not a position and the arity every one of them is judged by is the arity of the method's OWN call.**
1237
+ * **`on` and `off` are merged away and are NOT members**: registration is `listen` + `register`, and
1238
+ * withdrawal is `unlisten`.
1239
+ *
1240
+ * **THE STATE IS PRIVATE AND NONE OF THE TWELVE IS A RELEASE VERB** (`surface.md §2.1` (e) item 1; `A74`):
1241
+ * the instance's own state is released with the instance and by nothing else — no `dispose()`, no `close()`
1242
+ * and no finalizer is declared here. **⟶ AND `"THE TWELVE"` IS THE OPERATIVE FIGURE FROM 2026-10-18: the
1243
+ * set read THIRTEEN from 2026-10-17 to that date, and `settle`'s removal brings it BACK TO TWELVE — the ten
1244
+ * methods, `register` and `constraints`** (this interface's own clause for the last one below; the file's
1245
+ * header carries the member-set mark, the architect's rulings and the two still-refused routes).
1246
+ * **⟶ AND `"THE TWELVE"` IS SUPERSEDED IN TURN, 2026-10-19: THE OPERATIVE FIGURE IS `"THE FOURTEEN"` —
1247
+ * `10 + 1 + 1 + 2 = 14` ✓, the ten methods, `register`, `constraints` AND the two remove members
1248
+ * `removeListener(handle)` and `removeConstraint(pair)`** (`docs/specs/storeroom-held-listener-identity/
1249
+ * contract.md §2.7` item 9; the file header's clause of this date names the two members and the arithmetic).
1250
+ * **THIS SENTENCE'S ONWARD CLAIM IS UNMOVED AND IS THE POINT OF THE PASS: none of the fourteen is a RELEASE
1251
+ * VERB** (`surface.md §2.1` (e) item 1; `A74`) — **the two remove members remove a LISTENER and a
1252
+ * CONSTRAINT PAIR, never the instance's own state, and no `dispose()`, `close()` or finalizer stands beside
1253
+ * them.**
1254
+ */
1255
+ export interface StoreInstance {
1256
+ /**
1257
+ * Read a leaf's literal, a branch's assembled value, or the empty address's whole register.
1258
+ *
1259
+ * **`tier` IS THE READER'S ARITY** (`PAR-JS-6`): absent, ONE token, or an ARRAY of tokens read as an
1260
+ * ANY-MATCH set — **so the earlier `tier?: Tier` spelling refused, as a type error, a lawful call
1261
+ * spelling a set**.
1262
+ *
1263
+ * **AND `undefined` AT THIS POSITION IS NOT THE SAME CALL AS NO POSITION AT ALL** (`parameter-semantics.md
1264
+ * §2.6`, read with `acceptance.md §4.1` item 7): **a SUPPLIED `undefined` is PRESENT and the store answers
1265
+ * `AddressMalformed` for it**, while ONLY the call that spells NO tier folds to absent. **THE DECLARATION
1266
+ * CANNOT TELL THE TWO APART** — `tier?: TierSet` admits both spellings, which is why `TierSet` carries no
1267
+ * `undefined` member — and the distinction is a RUNTIME one at this member (`a127`'s
1268
+ * `read_the_absent_tier_position_is_in_domain`).
1269
+ */
1270
+ read(address: Address, tier?: TierSet): unknown;
1271
+ /** The same read, narrowed to a leaf — a branch answers `ReadTargetIsBranch`; `tier` is `TierSet`, with the same SUPPLIED-`undefined` reading as `read`. */
1272
+ readLiteral(address: Address, tier?: TierSet): unknown;
1273
+ /**
1274
+ * **Read a node's durability tier beside its value** — the third read verb, with `read`'s own arity
1275
+ * (`address`, then the optional `tier`), `read`'s own declared walk and `read`'s own refusal set, and with
1276
+ * the ANSWER COMPILED.
1277
+ *
1278
+ * **THE SHAPE IS A TOTAL FUNCTION OF NODE KIND** (`TieredNode`): an OBJECT node answers `{ _tier, …members }`
1279
+ * with its members INLINE, and it carries no `value` wrapper; an ARRAY node answers `{ _tier, value: [ … ] }`
1280
+ * with `value` dense and in index order; a LEAF node answers `{ _tier, value: <the literal> }`, `value` being
1281
+ * the literal itself, exactly as written. **Every node of the answer is therefore an OBJECT, and no node's
1282
+ * answer is a primitive or a bare array.**
1283
+ *
1284
+ * **EACH `_tier` IS THAT NODE'S OWN TIER**: an object's and an array's is its own anchor tier, a leaf's is
1285
+ * the tier of the version the read selected — so the answer's fields are the persistence ladder the read
1286
+ * walked, never one tier repeated and never a child inheriting its parent's. **It is ONE of `Tier`'s three
1287
+ * tokens and NEVER an array, a map or a count**: `TierSet` is the ARGUMENT's type, and the answer never
1288
+ * carries a set.
1289
+ *
1290
+ * **THE ONE COLLISION, DECLARED RATHER THAN LEFT TO BE DISCOVERED: a member you stored at the name `_tier`
1291
+ * is NOT DELIVERED by this verb** — the minted field wins on the node that carries it — **while the default
1292
+ * `read` at the same address and tier still answers your stored value**, so nothing is destroyed and the
1293
+ * truth is reachable. **That is the one lossy field, in this one verb**; every other stored name, `value`
1294
+ * among them, is delivered untouched.
1295
+ *
1296
+ * **AND A `readTiered` ANSWER HANDED BACK TO `write` IS STORED AS ORDINARY DATA**: the `_tier` members and
1297
+ * the `value` wrappers become your own stored members, exactly as the write stores any other object you
1298
+ * hand it. **This is a DECLARED CONSEQUENCE AND NOT A RULE — no clause forbids that write-back and no
1299
+ * clause blesses it, nothing is refused for it and nothing is stripped out of it.** **Nor is this answer a
1300
+ * stored value: it is the read's answer compiled, and it does not round-trip.**
1301
+ *
1302
+ * **AND IT IS NOT A VERSION-SET READOUT**: it reports WHICH version won and never which versions stand, so
1303
+ * a key holding a `file` version and a `mem` version answers the same shape as a key holding only the
1304
+ * winner. **The surface's one tier-SET answer remains `delete`'s `receipt.tiers`.**
1305
+ *
1306
+ * **AND `undefined` AT THE `tier` POSITION IS NOT THE SAME CALL AS NO POSITION AT ALL** (`PAR-JS-6`,
1307
+ * exactly as at `read`): a SUPPLIED `undefined` is PRESENT and the store answers `AddressMalformed` for it,
1308
+ * while only the call that spells no tier reads the whole set.
1309
+ */
1310
+ readTiered(address: Address, tier?: TierSet): TieredNode;
1311
+ /**
1312
+ * Write `value` at `address` on `tier` — EXACTLY ONE token, never an array (`PAR-JS-7`).
1313
+ *
1314
+ * **THE DECLARED ORDER IS `write(address, tier, value, commit?)`** (`surface.md §2.2`'s dated clause of
1315
+ * 2026-10-15; `parameter-semantics.md §2.20`), read with `§2.4` item 9 (f)'s `A127` clause: **THREE
1316
+ * REQUIRED ARGUMENTS AND THE OPTIONAL ONE LAST — the commit, at the FOURTH position of the METHOD**,
1317
+ * which is the position the `instance`-leading spelling made FIVE (`A124`).
1318
+ *
1319
+ * **AN ABSENT `commit` IS IN DOMAIN** (§2.2 clause 3: *"the write opens or joins a commit all the
1320
+ * same"*) and **NO DEFAULT RECORD IS FABRICATED FOR IT**; **the admitted form is the kernel's own
1321
+ * `CommitRecord`** (`surface.md §2.4` item 9 (g) item 1: an object carrying a `pending` member present
1322
+ * and not `undefined`), and **every other form at this position — absent, `undefined`, `null`, a
1323
+ * primitive, a function, a `Proxy`, an object whose `pending` member is absent or `undefined` — throws
1324
+ * THE CLASS TEST'S OWN `TypeError`, whose `status` member is ABSENT and whose STRING `message` member is
1325
+ * REQUIRED** (`surface.md` §2.4 item 9 (g) item 1's discriminator, landed 2026-10-15 on `A116` (D1); the
1326
+ * operative predicate is `file-tier-save.test.mjs`'s `positionRefusal`, which asserts exactly those two
1327
+ * halves). **A REFUSED POSITION STOPS THE WRITE**: no verb is reached and no byte moves.
1328
+ *
1329
+ * **⟶ CORRECTED 2026-10-17 — THIS CELL ATTRIBUTED THAT `TypeError` TO *"the registration site's own"*
1330
+ * FORM, AND THE ATTRIBUTION WAS FALSE** (`DEF-2026-10-16-Q`; `surface.md` §2.5 item 5 (g), THE OPERATIVE
1331
+ * READING). **THE REGISTRATION SITE THROWS NO `TypeError` AT ALL**: its refusal *"IS a rejection under
1332
+ * `A76` and travels in THIS section's single form, with its `status` drawn from the store's closed set —
1333
+ * the store's own `AddressMalformed`"*, `message` generated as clause (d) declares, so `register`'s
1334
+ * outside argument answers a plain `{status, message}` (driven at `register.test.mjs`'s
1335
+ * `isRegistrationRefusal`, which counts a `TypeError` as a FAILURE). **A `TypeError` thrown by any
1336
+ * STORE-REACHING VERB is itself a FINDING** (`a127-surface.test.mjs`'s
1337
+ * `a127_no_store_reaching_verb_throws_the_class_test_form`). The two forms are DIFFERENT forms of
1338
+ * DIFFERENT sites, and this position's is the class test's own, declared at `§2.4` item 9 (g) —
1339
+ * beside, and not drawn from, the registration site's `§2.4` item 5.
1340
+ *
1341
+ * **AND A SUPPLIED `undefined` AT THE `tier` POSITION IS PRESENT HERE TOO** (`parameter-semantics.md
1342
+ * §2.6`; `PAR-JS-6`): it is not the absent tier and the store answers `AddressMalformed` for it.
1343
+ */
1344
+ write(address: Address, tier: Tier, value: unknown, commit?: CommitCarrier): WriteRecord;
1345
+ /**
1346
+ * Remove the versions the address names, and answer the operation's record.
1347
+ *
1348
+ * **THE NAME IS `delete` AND IT IS A METHOD NAME, WHICH IS WHY THIS DECLARATION PARSES**: `delete` is a
1349
+ * RESERVED WORD, so under the superseded module-level spelling the function had to be declared as
1350
+ * `deleteOp` and re-exported (`export { deleteOp as delete }`). **A METHOD NAME IS NOT AN IDENTIFIER
1351
+ * BINDING, so the member is declared under the one name the surface publishes** (`A127`).
1352
+ *
1353
+ * **⟶ AND THE WORKAROUND THAT SENTENCE DESCRIBES IS HISTORICAL AND NO LONGER EXISTS, 2026-10-19: `deleteOp`
1354
+ * HAS BEEN DELETED FROM THE CODEBASE ENTIRELY** — the `P-8` merge removed the module-level spelling, so
1355
+ * `grep -n "deleteOp" bindings/js/index.mjs` now returns THAT NAME ONLY INSIDE MOVED-POINTER COMMENTS
1356
+ * (the `delete` member's own doc block, whose body was `deleteOp`'s) **and no live binding by that name
1357
+ * stands at any site** (`P: docs/pending.md · P-8`; `archive/p8-merge/2026-10-18/blocks/deleteOp.md`).
1358
+ * **SO `export { deleteOp as delete }` IS NOT A SHAPE THIS PACKAGE ANY LONGER HAS AND MUST NOT BE READ AS
1359
+ * ONE — the module namespace is ONE name, `storeCreate` (`11 → 1` ✓), and `delete` is reached as the
1360
+ * instance's own method alone** (`§2.9` item 1's `A127` clause). **THE DECLARATION BELOW IS UNCHANGED AND
1361
+ * WAS ALWAYS CORRECT: `delete(address, tier?): DeleteRecord`.**
1362
+ */
1363
+ delete(address: Address, tier?: Tier): DeleteRecord;
1364
+ /**
1365
+ * Roll the journal back to `opId`, and answer what the rollback restored.
1366
+ *
1367
+ * **`opId` IS A NON-EMPTY `string` AND NOT A NUMBER** (`PAR-JS-9`'s own unit: *"the `JournalOp.opId`
1368
+ * string"*): a number is an OUTSIDE value the store answers `AddressMalformed` for, and the ordinary
1369
+ * call `a.rollback(w.op.opId)`, whose id is the string `write` returned, is a correct call.
1370
+ */
1371
+ rollback(opId: string): RollbackRecord;
1372
+
1373
+ /**
1374
+ * **⟶ AND IT THROWS: `1.1.0`'S DECLARATION, ADDED BESIDE THE SIGNATURE RATHER THAN IN IT.** **`rollback` was
1375
+ * TOTAL at `1.0.1` — it answered a `RollbackRecord` and could not fail. It is PARTIAL now**: **a reversal the
1376
+ * registered constraints do not admit REFUSES**, throwing the one plain form `{status, message, log}` with
1377
+ * `status: 'ConstraintPassRefused'`, **and the store is restored to the state it stood at before the reversal**
1378
+ * (`D-38`, `D-40`, `D-41`). **A TypeScript signature has no `throws` clause, so this is the honest place to say
1379
+ * it**: *the return type describes what a call returns when it returns, and the throw is part of the contract.*
1380
+ * **A lawful reversal is unchanged** — same record, same members, no `log`. **Callers on `1.0.1` must handle it.**
1381
+ *
1382
+ * **⟶ AND A LAWFUL REVERSAL'S INVOCATION OF YOUR REGISTERED LISTENERS IS NOT A MEMBER AND NOT A THROW — THE
1383
+ * BODIES RUN BEFORE THE RECORD IS RETURNED** (`strata/decisions.md` · `D-117` item 1, which rules a repair's
1384
+ * write's `triggered` listeners delivered at this instant exactly as at a write's commit). **A pair that
1385
+ * refuses the state the reversal leaves may carry a REPAIR, that repair lands in the judgement's own commit,
1386
+ * and the listeners the repair's write fires are invoked ONCE PER DISTINCT HANDLE with the TRIGGERING ADDRESS
1387
+ * as their single argument, AFTER the reversal's save and BEFORE this member returns** (`surface.md §2.4`
1388
+ * rule 3; `PAR-JS-12`). **THE RECORD IS UNMOVED** — `{opId, undoneOps, restoredTo}`, no member added and no
1389
+ * status minted — **and a judgement that refuses, a pair body that throws, and a reversal that fired nothing
1390
+ * all invoke NOTHING.**
1391
+ */
1392
+ /**
1393
+ * Begin watching the addresses the caller names under the caller's own handle.
1394
+ *
1395
+ * **⟶ THIS BLOCK'S FEATURE SENTENCE READ *"Begin watching an address, and answer the fresh opaque handle
1396
+ * it is keyed by"*, AND BOTH HALVES OF IT ARE SUPERSEDED, 2026-10-19** (`DEF-2026-10-02`: no whole-file
1397
+ * rewrite — the bytes stand above and are read through this clause; `docs/specs/storeroom-held-listener-
1398
+ * identity/contract.md §2.2` items 1, 2 and 10; `listen-verb.md §1` item 1). **THE CALLER SPELLS THE
1399
+ * HANDLE AND `listen` ANSWERS `undefined`** — a DECLARED change of the return shape `Handle → undefined`,
1400
+ * forced because returning the supplied handle would be a second spelling of the caller's own datum
1401
+ * (`contract.md §2.2` item 10) — and **THE ADDRESS POSITION IS A SET**: position `2` is `addresses`, an
1402
+ * ARRAY of addresses with the EMPTY ARRAY in the domain. **(The declaration below already carries both:
1403
+ * `listen(handle: Handle, addresses: readonly Address[]): void` — `listen-verb.md §2.2` item 1's arity
1404
+ * `2`, with no third position.)**
1405
+ *
1406
+ * **AND IT IS AN ADDRESS SITE THAT DECLARES ITS ARGUMENT POSITION** (`parameter-semantics.md §2.17`'s
1407
+ * dated clause; `surface.md §2.5` item 5 (b)'s position half): the address is `1` of `1`, so a CLASS
1408
+ * refusal here — a `Proxy` over an array included — carries `a Proxy` AND `first argument` inside the one
1409
+ * failure form's message, and NO trap is run (`NG-JS-I`). **⟶ READ WITH THE CLAUSE ABOVE, the class test
1410
+ * this sentence describes is the SET POSITION'S: the six outside classes are `listen-verb.md §2.2` item 2's
1411
+ * and the declared answer for every one of them is the surface's one thrown form with the store's
1412
+ * `AddressMalformed` (`§2.2` item 3; the position figure `1` of `1` above is the PRE-2026-10-18 reading —
1413
+ * position `1` is `1` OF TWO, `listen-verb.md §1` item 1's arity `2`).**
1414
+ *
1415
+ * **A REPEATED CALL AT A HELD ADDRESS MINTS NOTHING AND ANSWERS THE ADDRESS'S EXISTING ENTRY'S HANDLE**
1416
+ * (`write-and-read.md §6.5` item 12 (c); `§0.4` clause 2), so the two calls answer ONE opaque value.
1417
+ * **⟶ SUPERSEDED, 2026-10-19: `listen(h, S2)` AFTER `listen(h, S1)` IS SET-ASSIGNMENT AND NOT UNION —
1418
+ * `S1` IS PURGED WHOLESALE AND `S2` INSTALLED, with no intermediate state observable — AND THE CALL
1419
+ * ANSWERS NOTHING** (`contract.md §2.2` items 3 and 10; `listen-verb.md §3` item 1). **THE SURVIVING HALF
1420
+ * IS THE MINTING HALF: the handle is the CALLER'S, so nothing mints one.** (`P: docs/pending.md · (R1)`,
1421
+ * verbatim: *"`listen(h, S2)` AFTER `listen(h, S1)` IS SET-ASSIGNMENT, NOT UNION"*.)**
1422
+ *
1423
+ * **⟶ AMENDED 2026-10-24 (`strata/decisions.md` `D-22`, verbatim: *"Listen should return the handle on
1424
+ * success, or error message on fail. Discard the noop prefix"*): `listen` ANSWERS THE HANDLE IT WATCHES
1425
+ * UNDER ON SUCCESS — the caller's own spelling, returned as THE IDENTITY THE STORE HOLDS FOR THAT ENTRY —
1426
+ * and EVERY FAILURE REMAINS THE SURFACE'S ONE THROWN FORM (`{status, message, log}`), because this ruling
1427
+ * mints no second failure channel. THE RETURN IS A SUCCESS SIGNAL THAT CARRIES THE IDENTITY AND NOT AN ECHO
1428
+ * TO BE SUPPRESSED**: the ground this block states above — *"returning the supplied handle would be a
1429
+ * second spelling of the caller's own datum"* — is OVERRULED BY NAME, and the sentence stands as text read
1430
+ * THROUGH this clause (`RCA-8(d)` ANNOTATE-BESIDE; `DEF-2026-10-02`: no whole-file rewrite). **What it is
1431
+ * FOR, declared because the return has one consumer:** `K-1` ADOPTS the value, which is what
1432
+ * `kernel-surface.md` declared all along (*"adopted, never minted by the kernel"*) and what the discarded
1433
+ * `constraint@<JSON address>` prefix had replaced. **A caller that ignores the return is unaffected by
1434
+ * widening `void → Handle`.**
1435
+ */
1436
+ listen(handle: Handle, addresses: readonly Address[]): Handle;
1437
+ /**
1438
+ * Withdraw a watching, and answer `undefined` — a no-op success for every value outside the domain.
1439
+ *
1440
+ * **AND THE WITHDRAWAL CARRIES THE PACKAGE'S OWN HALF TOO** (`surface.md §2.4` item 7 (b)'s
1441
+ * VALIDATE · UNLISTEN · DEREGISTER step list, MERGED INTO THIS ONE MEMBER by `A127`'s receiver ruling;
1442
+ * `contract.md §5.5`'s fourth added entry): **the store-side home entry named by this call is withdrawn,
1443
+ * and the registry's entry for the identity is REMOVED where the identity no longer stands anywhere** — so
1444
+ * the registered function is unreachable afterwards and a re-`listen` at the withdrawn address answers a
1445
+ * DIFFERENT handle. **AT `DD-39`'s CONSTRUCTION DUPLICATE — ONE caller-spelled token naming MORE THAN ONE
1446
+ * entry at ONE address — ONE entry is withdrawn per call while the address still holds the identity, and
1447
+ * the registry's entry STANDS: a later trigger there STILL returns that identity and the function fires
1448
+ * for it ONCE, never once per entry** (`contract.md §5.5`'s third added entry; `§2.4` rule 4's *"never the
1449
+ * function"*).
1450
+ */
1451
+ unlisten(handle: Handle): void;
1452
+ /**
1453
+ * **THE POST-CREATION ADD ROUTE — `addConstraint(pair, constraint) -> constraint identity`**
1454
+ * (`surface.md §2.12` item 2 (a) and item 3's ADD row; `parameter-semantics.md §2.25` = `PAR-JS-25`):
1455
+ * **the pair's element IS the supplied `constraint` from this call on, whether the pair was HELD or
1456
+ * NOT**, and at a pair already held the supplied constraint OVERWRITES the held one under **THE SAME
1457
+ * IDENTITY** the pair was already added under, so the call throws nothing for the mere fact that the
1458
+ * pair was held.
1459
+ *
1460
+ * **Every outside form of either position throws ONE `TypeError`, whose `status` member is ABSENT, and
1461
+ * nothing is added, enabled, disabled or otherwise changed.**
1462
+ *
1463
+ * **⟶ AMENDED 2026-10-24 (`D-25`, verbatim: *"Attempting to overwrite a listener with a constraint or vice
1464
+ * versa is rejected"*; `D-29`, verbatim: *"Handle becomes the internal ID"*): THE OVERWRITE IS
1465
+ * SAME-KIND ONLY.** The sentence above — *"throws nothing for the mere fact that the pair was held"* — is
1466
+ * TRUE AND UNAFFECTED and is now read **SCOPED BY KIND**: a repeated handle of the SAME kind at this act is
1467
+ * an overwrite (`D-24`), while **a pair whose `id` equals a LIVE LISTENER'S HANDLE is REJECTED** — it does
1468
+ * not overwrite the listener and it does not throw nothing. **The rejection is the surface's one thrown
1469
+ * form `{status, message, log}` with the store's `AddressMalformed`**, its `message` naming BOTH SIDES, and
1470
+ * it is taken **after the two positions' class tests and before the held-pair purge and before any store
1471
+ * call**, so **no state moves**. `register`'s own direction of the same rule stands at that member (§its own
1472
+ * clause).
1473
+ *
1474
+ * **⟶ AND THE RULE SENTENCE RE-DERIVES BY ONE WORD, 2026-11-01 (`D-98`; `docs/L1/cross-kind-handle-only.md`
1475
+ * §3.4): *"a listener and a constraint do not share one"* READS *"a listener and a constraint do not share one
1476
+ * HANDLE"*.** **THE CONDITION, THE STATUS AND THE INSTANT ARE UNMOVED** — a live listener is
1477
+ * `off === false` **and** a function **and** `kind !== 'constraint'`, so a reserved `listen` with no
1478
+ * `register` is NOT one and a pair may take its handle; and the member is still `AddressMalformed` after the
1479
+ * two class tests and before the held-pair branch. **What moves is the sentence, because the OLD SPELLING READ
1480
+ * THE ADDRESS and `D-98` declares the address LAWFUL.** The missing word is added from the project's own
1481
+ * anchor (`bindings/js/README.md`: *"a listener and a constraint do not share one handle"*), and the
1482
+ * refusal's `address` member is `null`: the subject is the identity, and naming one of a listener's N mirror
1483
+ * addresses would assert a membership no clause supports.
1484
+ *
1485
+ * **⟶ AND THIS ACT DELIVERS THE LISTENERS ITS REPAIR'S WRITE FIRES — `D-125` item `1`, `PIN-6` (ii), `PIN-2`,
1486
+ * 2026-11-06.** **WHEREVER A REPAIR RUNS, THE LISTENERS ITS WRITE FIRES ARE DELIVERED — `storeCreate`, a boot
1487
+ * over an existing `filePath`, `addConstraint`, and a re-arm — after the constraints pass, after the save, in
1488
+ * `D-117`'s order, instant for instant, with no delivery on a refusing arm.** **THE SET AT THIS INSTANT IS THE
1489
+ * STORE'S OWN `triggered`** — *"the very record `write` answers"* — **delivered ONCE PER DISTINCT HANDLE, with
1490
+ * the repair's own op address as the one argument**, and **BEFORE this call answers.** **THE ANSWER'S DECLARED
1491
+ * TYPE IS UNMOVED: the identity is still the answer** (`D-125` item 2). **A fired body's throw pre-empts that
1492
+ * answer and crosses as rank `21` `ListenerBodyThrew`, the pair stands registered and its save stands**
1493
+ * (`PIN-10`; `Q-13`), so the caller's view of a registration gains a third observable — *"the listeners its
1494
+ * repairs fired"* (`D-125` item 2 (i)) — and an EMPTY SET is a count of `0` and not silence (`PIN-6` (v)).
1495
+ */
1496
+ addConstraint(pair: ConstraintPair, constraint: Constraint): ConstraintIdentity;
1497
+ /** **THE ENABLE HALF** (`§2.12` item 2 (a) and item 3's `constraintOn` row): `undefined`. **The
1498
+ * `constraint` position is REQUIRED and is a NO-OP on every success** — the caller supplies as a function
1499
+ * the identity it holds at that pair, the entry never substitutes one, and it is the element the entry
1500
+ * carried at that pair that is evaluated at the next write. **Idempotent success where the pair already
1501
+ * stands ENABLED.**
1502
+ *
1503
+ * **⟶ AND THE RE-ARM DELIVERS TOO — `D-125` item `1`, 2026-11-06.** The re-registration's `K-1` reaches the
1504
+ * same registration route, so **the listeners its repair's write fires are delivered ONCE PER DISTINCT
1505
+ * HANDLE, after the save and before this call answers its `undefined`**, with the repair's op address as the
1506
+ * one argument (`PIN-6` (ii), (iv); `PIN-2`). **NO DELIVERY ON A REFUSING ARM** — a re-arm whose repair the
1507
+ * `D-107` composition rolled back delivers nothing (`PIN-6` (v)) — and **an empty set is a count of `0`**.
1508
+ * **A fired body's throw pre-empts the answer and crosses as rank `21` `ListenerBodyThrew` while the instance
1509
+ * and every other pair stand** (`PIN-10`; `Q-13`; `Q-15`). */
1510
+ constraintOn(pair: ConstraintPair, constraint: Constraint): void;
1511
+ /** **THE DISABLE HALF** (`§2.12` item 2 (a) and item 3's `constraintOff` row): `undefined`; the pair's
1512
+ * element is NOT evaluated on a subsequent write, and **a write the disabled constraint would have
1513
+ * refused is ACCEPTED**. The `constraint` position's rule is `constraintOn`'s, clause for clause.
1514
+ * **Idempotent success where the pair already stands DISABLED.** */
1515
+ constraintOff(pair: ConstraintPair, constraint: Constraint): void;
1516
+ /** Register `listener` under the opaque `handle`, and answer `undefined` (`surface.md §2.4` item 5 (b)).
1517
+ *
1518
+ * **⟶ AND IT REFUSES WHERE THE HANDLE EQUALS A CARRIED CONSTRAINT PAIR'S `id`** (`D-25`'s *"vice versa"*;
1519
+ * `D-29`; **⟶ RE-DERIVED 2026-11-01 BY `D-98`'s HANDLE RULE, WHICH IS THE WHOLE OF IT**: *"A constraint and a
1520
+ * listener can share an address, as can multiple constraints/listeners. The restriction is that a listener
1521
+ * and a constraint cannot have the same **handle**."*). **THE CLAUSE THAT STOOD HERE READ *"it refuses where a
1522
+ * constraint's `id` STANDS AT THE ADDRESS"* AND THAT CONDITION IS WITHDRAWN**: an ADDRESS is not a collision
1523
+ * at all — a pair and a listener MAY stand at one address — so what the member tests is the **HANDLE, and
1524
+ * nothing else**: a carried pair whose `id` is that string, **disabled pair included** (`D-98` (iii)'s rule is
1525
+ * unconditional in both directions, and the loss a skipped disabled pair would permit lands at the next
1526
+ * `constraintOn` with no observable at the instant of the loss).
1527
+ *
1528
+ * **THE REFUSAL IS THE SURFACE'S OWN THROWN FORM** `{status, message, log}` with the store's
1529
+ * `AddressMalformed` — **not** the `TypeError` this member's conflict arm carried while a reserved
1530
+ * `constraint@` prefix existed to be exempted — taken after the handle's domain and registry tests and
1531
+ * **before the registry write and before the re-install `listen`**, so **no state moves**: no store act, no
1532
+ * mirror row, no registry entry.
1533
+ *
1534
+ * **ITS MESSAGE IS TWO PARTS AND BOTH ARE NAMED HERE** (`D-98` item 4; `docs/L1/cross-kind-handle-only.md`
1535
+ * §3.6's `B-5` text): **the generated half is the STORE'S OWN** — the qualified `AddressMalformed` arm, *"'<id>'
1536
+ * is already a handle this instance carries, a listener's handle and a constraint's id are one string and one
1537
+ * string only"*, which **names no address, no segment and no placeholder container** — and **the clause half is
1538
+ * the package's**, naming the pair that keeps the handle and carrying the shared rule sentence *"a listener and
1539
+ * a constraint do not share one handle"*. **The refusal's `address` member is `null`**, and that is now correct
1540
+ * rather than incidental: the subject is a string in the handle namespace and the address is lawful.
1541
+ *
1542
+ * **The exemption for kernel-prefixed handles is DELETED, not moved**: under `D-22` the kernel's handle is no
1543
+ * longer a reserved spelling. **⟶ AND THE SENTENCE THAT FOLLOWED IT — *"under `D-25` the kernel registers
1544
+ * nothing, so nothing needs to get past the test"* — IS RE-DERIVED BY `D-99`'s ANSWERED CLAUSE AND NOT ABSORBED:**
1545
+ * the kernel **does** register, and it reaches the store through its **own internal route** rather than through
1546
+ * this member, so **this test is a CALLER's test and the kernel's act never meets it** — which is why there is
1547
+ * still nothing to get past it. */
1548
+ register(handle: Handle, listener: Listener): void;
1549
+ /** **`removeListener(handle) -> undefined`** — the entry removed WHOLE and its store entries withdrawn; every arm that is not a real removal THROWS (`contract.md §2.7` item 2; `PAR-HL-14`, `PAR-HL-15`). */
1550
+ removeListener(handle: Handle): void;
1551
+ /** **`removeConstraint(pair) -> undefined`** — the pair, its N address rows, the kernel's registration and the store's home entry all gone; it is the ONE act that deletes an identity (`contract.md §2.7` item 3; `PAR-HL-16`, `PAR-HL-17`). */
1552
+ removeConstraint(pair: ConstraintPair): void;
1553
+ /**
1554
+ * **THE REGISTERED-PAIR READ — `constraints() -> ConstraintPair[]`** (`surface.md §2.4` item 9 (f)'s
1555
+ * `constraints` clause of 2026-10-17, items 2–9; `§2.12` item 2-bis; `parameter-semantics.md §2.27` =
1556
+ * `PAR-JS-27`**) — **one of the FOURTEEN own members, `10 + 1 + 1 + 2 = 14` ✓, the SECOND of the two
1557
+ * remaining singles** (`docs/specs/storeroom-held-listener-identity/contract.md §2.7` item 9 — the
1558
+ * member-set clause of 2026-10-19, which moves the figure `12 → 14`). **⟶ AND THE FIGURE THAT STOOD HERE WAS
1559
+ * *"THE TWELVE own members, `10 + 1 + 1 = 12`"*, read from `surface.md §2.4` item 9 (f)'s clause of
1560
+ * 2026-10-18, `13 → 12`: THAT READING IS SUPERSEDED — the two remove members `removeListener(handle)` and
1561
+ * `removeConstraint(pair)` are the `+ 2`** (`P: docs/pending.md · (AA-5)`, verbatim: *"the member set is 14
1562
+ * and the `12 → 13` figure is withdrawn by name"*; `DEF-2026-10-02`: no whole-file rewrite). **AND THIS
1563
+ * MEMBER'S OWN SIBLING AMONG THE NON-STORE-REACHING MEMBERS IS `register` ALONE FROM THAT DATE
1564
+ * (2026-10-18)**: the sentence that read *"beside `register` and `settle`"* is re-spelled at its own bytes,
1565
+ * and this is the operative reading — **and it is NOT read as a count of the fourteen-member set's
1566
+ * classes, because no clause of this file asserts which members make up that class** (`contract.md §2.7`
1567
+ * items 2–5 for the two new members' own clauses; `§2.7` item 9).
1568
+ *
1569
+ * **THE RECEIVER IS THE STORE, THE CALL TAKES NO ARGUMENT (arity `0`) AND IT THROWS NOTHING**: there is no
1570
+ * outside argument for the class test to refuse, and the call makes NO STORE CALL, MINTS NO CODE, APPENDS
1571
+ * NO JOURNAL ENTRY AND CHANGES NO NODE — so this member is one of the product's NON-STORE-REACHING members
1572
+ * and `§2.4` item 9 (f)'s rule (ii) has no subject at it.
1573
+ *
1574
+ * **WHAT IS RETURNED, EXACTLY — THE PAIRS AND NOT THE FUNCTIONS:** a **FRESH JS ARRAY on every call**,
1575
+ * whose **every element is a FRESH plain object carrying EXACTLY TWO MEMBERS** — `address` (a fresh array of
1576
+ * the store's own segments) and `id` (the constraint's own BARE `id`, a `string`) — the same two data the
1577
+ * kernel's own registry is keyed by. **The empty array `[]` is the declared value where the instance carries
1578
+ * no pair at all** (`PAR-JS-27`'s `domain` cell).
1579
+ *
1580
+ * **THE FOUR DECLARED EXCLUSIONS, EACH STATED SO A DECLARATION THAT VIOLATED ONE WOULD BE VISIBLE AT ITS OWN
1581
+ * BYTES:**
1582
+ * 1. **NO CONSTRAINT FUNCTION IS RETURNED** (item 3, four named grounds — the operative one being the
1583
+ * anti-pattern rulings' *do not hand out a value whose later use the contract cannot bound*). The
1584
+ * `Constraint` type below is that function and **NO MEMBER OF THIS RETURN CARRIES ONE**; a disabled pair
1585
+ * makes the hazard sharp, since `constraintOff` parks a stub in the kernel while the caller's function is
1586
+ * kept in the entry.
1587
+ * 2. **NO OPAQUE IDENTITY IS EXPOSED** (item 4): `ConstraintIdentity` is NOT reachable through this return —
1588
+ * `PAR-JS-25`'s opacity would break the moment a consumer read one out of the array. **The pair is the
1589
+ * caller's own datum; the identity is this unit's opaque handle for it, and the two are NOT the same
1590
+ * datum.**
1591
+ * 3. **NO ORDER IS PROMISED** (item 6): the returned array's order is **UNDECLARED** and a consumer compares
1592
+ * the pairs **as a SET and never as a sequence** (`DD-22`; `§2.7` item 3). **Nothing in this declaration
1593
+ * may be read as a registration order, an address order or a `seq`-like ordinal.**
1594
+ * **⟶ AND THIS EXCLUSION IS RETIRED, 2026-10-26 (`strata/decisions.md` `D-39`, whose ruling is VERBATIM
1595
+ * *"add deterministic ordering"*; its own record reads: *"`constraints()` must emit in a DECLARED,
1596
+ * deterministic order — registration sequence … The declaration currently says "no order" among its four
1597
+ * exclusions; that exclusion is superseded"*):** **`constraints()` EMITS IN REGISTRATION SEQUENCE — THE
1598
+ * ORDER THE PAIRS WERE REGISTERED — DETERMINISTICALLY AND STABLY ACROSS EVERY CALL AND EVERY INTERVENING
1599
+ * ACT; THE ORDER IS PART OF WHAT THE METHOD PROMISES.** **The bytes above stand as the reading this
1600
+ * exclusion was filed at and are read THROUGH this clause (`RCA-8(g)` ANNOTATE-BESIDE; `DEF-2026-10-02`:
1601
+ * no whole-file rewrite): a consumer MAY now compare the returned array element by element, and the
1602
+ * registration order it reads is the order its own `addConstraint` calls and its `cfg.constraints`
1603
+ * elements stood in.** **NO OTHER EXCLUSION MOVES — items 1, 2 and 4 stand WHOLE — and the member still
1604
+ * answers a FRESH array of FRESH two-member objects on every call.**
1605
+ * 4. **A DISABLED PAIR DOES APPEAR** (item 5): `constraintOff` is a TOGGLE and NOT A REMOVAL, so a pair it
1606
+ * disabled is STILL REGISTERED and still enumerated — **and therefore there is NO `enabled` member on an
1607
+ * element and NO way to read a pair's state off this return**; the state is read at the toggles' own
1608
+ * clauses. **No removal route exists**, so an absence here means nothing was ever registered.
1609
+ *
1610
+ * **THE COVERAGE, BOTH POPULATION ROUTES ON ONE FOOTING** (item 7): a pair the batch registered at
1611
+ * `storeCreate` (`cfg.constraints`) and a pair `addConstraint` registered appear alike, because *"the entry
1612
+ * carries a pair if and only if a function stands registered at that pair in the kernel's own pair-keyed
1613
+ * registry"*. **The two declared exclusions are therefore structural**: a well-formed `cfg.constraints`
1614
+ * element that carried no function is **not** a carried pair and does not appear, and a REFUSED
1615
+ * registration — at the batch loop or at `addConstraint` — leaves the entry exactly as it stood and does not
1616
+ * appear. **An overwrite changes no membership**: a second `addConstraint` at a held pair replaces the
1617
+ * function at the SAME pair and returns the SAME identity, so the pair is carried ONCE before and after.
1618
+ * **⟶ AMENDED 2026-10-24 (`D-26` item 4; `D-27` item 1): THE BATCH HALF OF THAT EXCLUSION HAS NO PRODUCER
1619
+ * AND IS READ THROUGH THIS CLAUSE.** A `cfg.constraints` element **must** carry its function, and the batch
1620
+ * **arms** it (`D-27`: *"Functions are armed"*), so *"a well-formed `cfg.constraints` element that carried no
1621
+ * function"* is an element the construction now REFUSES under `ConstraintListInvalid` **before any
1622
+ * filesystem act** — and the exclusion above stands for **the add route's refused registration alone**, and
1623
+ * for a pair whose function was never supplied by any route.
1624
+ *
1625
+ * **IT ADDS NO POPULATION ROUTE** (`§2.12` item 2-bis): the two routes stand at TWO, and a read closes none
1626
+ * and opens none. **It is NOT a `pending()` reader, NOT an `attempts()` enumerator and NOT a live view of a
1627
+ * running commit**; it announces no identity, no function and no order.
1628
+ *
1629
+ * **AND IT MOVES NO OTHER FIGURE**: the module namespace keeps its ONE name `storeCreate` (`§2.9` item 1's
1630
+ * `A127` clause, `11 → 1` ✓), the kernel's extent stays FIVE with no `K-6` proposed (`§2.4` item 9 (f),
1631
+ * item 8 — the pairs are read from the entry's OWN registry, which is keyed exactly as the kernel's is), the
1632
+ * store's closed `17`-member set is not reached, the kernel's `KC` set stands closed at `8` (**⟶ MOVED `8 → 9`
1633
+ * on 2026-10-28 by `D-53`'s third ruling — *"Open the token set"* — the appended member being the SAVE ARM's
1634
+ * `KC-9`; see `LogEntry`'s clause above), and the register keeps its `8` rows.
1635
+ *
1636
+ * **It is NOT a named export of this entry** (`package.md §1.3` item 3): it is reached through
1637
+ * `storeCreate`'s own product alone.
1638
+ */
1639
+ constraints(): ConstraintPair[];
1640
+ }
1641
+
1642
+ /**
1643
+ * Construct a store at `cfg` and answer its instance.
1644
+ *
1645
+ * **AN ADDON THAT IS ABSENT, THAT FAILS TO LOAD, OR WHOSE OWN `version` DOES NOT MATCH THIS PACKAGE'S
1646
+ * VERSION IS A DECLARED REFUSAL AND NEVER A SILENT FALLBACK** (`docs/specs/storeroom-publish/
1647
+ * resolution.md §2`, `§5`): **no instance is returned, no JavaScript store is substituted, and the
1648
+ * thrown value is the one `StoreRefusal`.** The load path resolves the scoped platform package for this
1649
+ * runtime first, this checkout's own module-relative addon second, and answers the declared absent form
1650
+ * when neither yields a loadable artefact.
1651
+ */
1652
+ /**
1653
+ * **⟦ THE FACTORY'S POSITION IS THE DECLARATION'S SECOND REALM-CONDITIONAL BYTE, ADDED 2026-11-20 — `D-203`, WHOSE
1654
+ * OWN THREE ROWS THIS REGION EXISTS FOR.** *"the arm's runtime takes TWO positions"*
1655
+ * (`bindings/js/platforms/wasm/index.mjs`'s own docblock: *"`storeCreate(bindings, cfg)` takes the initialised module
1656
+ * at its FIRST position"*) · *"the guide teaches TWO"* (`docs/guides/package-use.md` §13.1: *"THE FACTORY TAKES TWO
1657
+ * POSITIONS — `storeCreate(bindings, cfg)` — and the first is the module"*) · *"the arm's SHIPPED declaration takes
1658
+ * ONE"* — which is what this region removes: the arm's emission was the Node arm's signature byte for byte, so **a
1659
+ * TypeScript consumer of `@auspicion/provident-storeroom-js-wasm` could not spell the construction its runtime and its
1660
+ * guide require** (`D-203` item 3: *"`storeCreate(bindings, cfg)` fails the declared signature; `storeCreate(cfg)`
1661
+ * compiles and cannot carry the injected module"*).
1662
+ *
1663
+ * **THE TWO COMMENT LINES THAT BRACKET THE DECLARATION BELOW — both at this file's marker depth of two spaces, and
1664
+ * neither carrying a member's name-and-colon or name-and-paren shape — DELIMIT THE SECOND REGION
1665
+ * `scripts/emit-declarations.mjs` READS**, exactly as the `filePath` markers above delimit the first (`D-155` item 2;
1666
+ * `docs/L3/wasm-realm/design.md` §6). **The form is the reason the region can stand here at all**: no member read a
1667
+ * battery file performs on an interface block matches a line whose first two characters after the indentation are
1668
+ * `//`, and the one read this file's module level is subject to — the count of lines beginning `export function` —
1669
+ * is a count of lines that begin at column zero, which a marker at two spaces is not. **So this region moves no member
1670
+ * census, no status count, no export count and no rank.**
1671
+ *
1672
+ * **WHAT THE WASM ARM'S EMISSION PUTS INSIDE IT IS ONE LINE, AND ITS FIRST TYPE IS `unknown` BECAUSE THAT IS THE
1673
+ * HONEST TYPE OF A HOST-SUPPLIED MODULE**: `export function storeCreate(bindings: unknown, cfg: StoreConfig):
1674
+ * StoreInstance;`. **A NAMED TYPE IN THAT POSITION WOULD BE THIS PACKAGE CLAIMING THE HOST'S SHAPE** — the module is
1675
+ * the host's, the package instantiates nothing (`D-155` item 3), and the runtime validates what arrives
1676
+ * (`bindings/js/src/entry/addon-slot.mjs`'s `installAddon`, which refuses `null`, `undefined`, a primitive, a function
1677
+ * and an object carrying no callable `storeCreate`) — **so the declaration admits every value and the runtime is what
1678
+ * says which values are a module.**
1679
+ *
1680
+ * **AND THE NODE ARM'S SIGNATURE DOES NOT MOVE**, byte for byte: the region's Node body is the line below, the
1681
+ * emission of the Node arm is this file's own bytes with the region unchanged, and the script asserts that identity
1682
+ * before it writes either file. **A reader who opened this declaration to find the ONE name and the ONE position the
1683
+ * Node arm has still finds them, one marker pair down.**
1684
+ */
1685
+ // ⟦realm:factory:begin⟧
1686
+ export function storeCreate(bindings: unknown, cfg: StoreConfig): StoreInstance;
1687
+ // ⟦realm:factory:end⟧
1688
+
1689
+ /**
1690
+ * **THE POST-CREATION CONSTRAINT PAIR — `parameter-semantics.md §2.24` (`PAR-JS-24`)**: the key the three
1691
+ * constraint methods name — **an `address` inside `§1.5`'s segment array, and an `id` that is a NON-EMPTY
1692
+ * `string`** — **and NOT the whole of a batch element**, which is this pair PLUS its constraint function.
1693
+ * **Every outside form of the pair throws the three methods' one `TypeError`**, and **a well-formed pair
1694
+ * the entry does not carry is outside the two toggles' domain**: it is NOT a third population route.
1695
+ *
1696
+ * **⟶ AND THIS SHAPE IS ALSO THE ELEMENT OF THE FOURTH MEMBER'S RETURN, ADDED 2026-10-17**
1697
+ * (`surface.md §2.4` item 9 (f)'s `constraints` clause; `parameter-semantics.md §2.27` = `PAR-JS-27`,
1698
+ * `return-field`): `a.constraints()`'s every element carries **exactly these TWO members and no third** —
1699
+ * the `address` a pair was registered under and its bare `id` — **and NEITHER the constraint function nor the
1700
+ * opaque identity** (`PAR-JS-25`'s opacity, unmoved). **THE TWO ROLES ARE ONE SHAPE AND NOT TWO**: this is the
1701
+ * caller's own datum entering at `addConstraint` (and at `cfg.constraints`' elements, which are this pair
1702
+ * PLUS a `constraint`) and coming back out at the read. **`Row 27`'s `alt` cell refuses an `enabled` member on
1703
+ * the element**, so no third member is declared here and this interface is left exactly as it stood.
1704
+ */
1705
+ export interface ConstraintPair {
1706
+ /**
1707
+ * **THE ADDRESS MEMBER'S TYPE MOVES.** At the CREATION act it is a single address (`constraint-identity.md
1708
+ * §6`'s pair table: *"and, at the REGISTRATION act, a single address"*); on the READ and at the REMOVAL it
1709
+ * is the pair's own SET (`P: docs/pending.md · P-7`'s answer clause: *"1. (one id, N addresses)"*;
1710
+ * `contract.md §2.6` item 5; `PAR-HL-13`).
1711
+ *
1712
+ * **⟶ AND THE CREATION-ACT HALF IS CORRECTED, 2026-10-26 (`strata/decisions.md` `D-38`, verbatim: *"Accept a
1713
+ * one-to-many handler/constraint addressing at package surface"*, whose ruling reads *"one id at N addresses
1714
+ * is LAWFUL, at every act"*).** **THE CREATION ACT TAKES AN ADDRESS OR A SET OF ADDRESSES (`Address |
1715
+ * readonly Address[]` — the type this member already carries), and the single-address reading above is the
1716
+ * SUPERSEDED one, read THROUGH this clause (`RCA-8(g)` ANNOTATE-BESIDE; `DEF-2026-10-02`: no whole-file
1717
+ * rewrite).** **THE RUNTIME ALREADY ACCEPTS THE PAIR AND UNIONS ITS ADDRESSES**: one call at
1718
+ * `{ address: [['a'], ['b']], id: 'c1' }` registers ONE pair at BOTH addresses, and this member's own read
1719
+ * answers that one pair carrying both members.
1720
+ */
1721
+ readonly address: Address | readonly Address[];
1722
+ /**
1723
+ * **THE PAIR'S `id` — WHICH IS ITS HANDLE, ONE `id` NAMING ONE PAIR, ONE IDENTITY AND ONE HANDLE**
1724
+ * (`D-23`/`D-24`, and `D-29`'s *"Handle becomes the internal ID"*, verbatim). **⟶ AND THE SENTENCE THE PAIR
1725
+ * HAS CARRIED SINCE 2026-10-17 — *"two pairs at two addresses are TWO pairs"* — IS READ THROUGH THIS
1726
+ * CLAUSE: the pair-local reuse of one `id` at two addresses is NO LONGER LAWFUL**, because a handle is
1727
+ * INSTANCE-SCOPED and a repeated handle is REJECTED in one supplied list (`cfg.constraints`, `D-27`) and an
1728
+ * OVERWRITE at the add route (`D-24`). **THE SHAPE IS UNCHANGED — NO FIELD IS ADDED** (`D-24` item 1).
1729
+ *
1730
+ * **⟶ AND THE "NO LONGER LAWFUL" HALF OF THAT SENTENCE IS SUPERSEDED, 2026-10-26 (`strata/decisions.md`
1731
+ * `D-38`: *"one id at N addresses is LAWFUL, at every act"*; `D-38`'s own record names the superseded reading
1732
+ * at its own bytes — *"`index.d.ts` currently says 'the pair-local reuse of one `id` at two addresses is NO
1733
+ * LONGER LAWFUL'"* — and rules that *"the declaration moves; no behaviour changes"*).** **WHAT A TYPED
1734
+ * CONSUMER NEEDS, IN ONE RULE: ONE `id` NAMES ONE PAIR, A SECOND ADDRESS JOINS IT, AND THE `constraint`
1735
+ * IS THE MEMBER AN ADD OVERWRITES.** **So `addConstraint({ address: [['a'], ['b']], id: 'c1' }, f)` answers ONE
1736
+ * pair standing at BOTH addresses under ONE identity; a later add at that same `id` naming a further address
1737
+ * EXTENDS that one pair's address set (the runtime unions the sets, `D-38`'s two-call arm) and REPLACES `f` —
1738
+ * the `id` never becomes a second pair, and the `constraint` is the only member an add overwrites.** **THE
1739
+ * TWO RULES THIS DOES NOT MOVE ARE DIFFERENT RULES FOR DIFFERENT ACTS AND BOTH STAND: within ONE supplied
1740
+ * batch list a repeated `id` is REJECTED (`cfg.constraints`, `D-27`), and a pair whose `id` equals a LIVE
1741
+ * listener's handle is REJECTED in both directions (`D-25`).** **AND THE SHAPE IS STILL UNCHANGED — NO FIELD
1742
+ * IS ADDED** (`D-24` item 1).
1743
+ */
1744
+ readonly id: string;
1745
+ }
1746
+
1747
+ /**
1748
+ * **THE CONSTRAINT FUNCTION — `parameter-semantics.md §2.22` (`PAR-JS-22`)**: a JS function, supplied by THE
1749
+ * CALLER at whichever of the three methods it takes — **the ADD route's own argument** or the batch
1750
+ * element's own — **invoked by the KERNEL with ONE argument, the attempt's own context** (`PAR-C-16`: *"the
1751
+ * attempt context — the constraint's ONE argument"*), and read for its answer (`kernel-surface.md §2.3`
1752
+ * item 1: `true` is the only pass value). **Every non-function is outside the position AT EVERY ONE OF THE
1753
+ * THREE METHODS**, and a non-function at the toggle's position is refused on the ARGUMENT's ground and
1754
+ * never on the pair's.
1755
+ *
1756
+ * **⟶ AND THE TWO RETURNS THIS POSITION ADMITS ARE DECLARED HERE, ADDED 2026-10-30 — WHAT YOUR
1757
+ * CONSTRAINT MAY RETURN, AND WHAT ITS REPAIR MAY RETURN.** **EVERY SENTENCE OF THIS CLAUSE — THE ONE THIS MARK
1758
+ * OPENS, ADDED 2026-10-30 — HOLDS AT THE WRITE'S OWN EVALUATION, THE INSTANT THE KERNEL EVALUATES THE VALUE
1759
+ * YOUR FUNCTION RETURNED, AND AT THAT INSTANT ONLY, EXCEPT WHERE A SENTENCE NAMES ITS OWN INSTANT IN ITS OWN
1760
+ * WORDS.** **AND A SENTENCE STANDING ABOVE THIS CLAUSE IS OUTSIDE THIS FRAME AND IS READ AT ITS OWN INSTANTS
1761
+ * BY ITS OWN WORDS — this clause moves none of it.** The clause above prints the answer's PASS value;
1762
+ * this one declares the rest of the closed set IN ITS OWN WORDS, so a reader holding this package reads the
1763
+ * rule and needs no second document for it.
1764
+ *
1765
+ * **THE OUTCOME IS A CLOSED THREE-ARM SET, READ IN THIS ORDER: `true` — THE ONLY PASS VALUE;
1766
+ * `{ message, repair }` — A REPAIRABLE VIOLATION; `{ message }` — AN UNREPAIRABLE VIOLATION, ITS `message`
1767
+ * THE REFUSAL'S OWN SENTENCE. A VALUE OUTSIDE THE THREE IS READ AS THE `{ message }` ARM AND NEVER AS A
1768
+ * FOURTH ARM OF ITS OWN**, so a return you invent beyond them declares an outcome this kernel does not
1769
+ * distinguish.
1770
+ *
1771
+ * **AND `message` IS REQUIRED ON THE REPAIR ARM AND IS READ FIRST**: the gate is the `message` member,
1772
+ * read before any `repair` is looked for, and a `repair` is looked for only inside that branch — **so a
1773
+ * return carrying only `repair` is the arm outside the three and ITS REPAIR IS NEVER SEEN**, and **AT THE
1774
+ * WRITE'S OWN EVALUATION a `message` that is not a NON-EMPTY STRING keeps the repair readable while the
1775
+ * refusal answers the kernel's own unrecognized sentence** (the closed set, its order and this read stand at
1776
+ * `bindings/js/src/entry/kernel-attempt.mjs:686-699`).
1777
+ * **⟶ RE-ANCHORED, 2026-11-01, `RCA-8(g)`: THE CITATION ABOVE NO LONGER RESOLVES TO ITS SUBJECTS AND IS READ
1778
+ * THROUGH THIS MARK.** **`bindings/js/src/entry/kernel-attempt.mjs:686-699` stands today as the body-throw arm's
1779
+ * terminal entry and its mark — `:687`-`:698` — and the two subjects this sentence cites it FOR stand at
1780
+ * `:705`-`:727` (the closed three-arm read) and `:718`-`:724` (the own-member read of `message` and `repair`).**
1781
+ * **The citation's bytes stand and are unmoved; its RANGE is the reading of the date it was written at, and
1782
+ * `D-90` · `D-91` · `D-94` are the landings that moved it** (`docs/L1/repair-outcome-types.md` §7.2 row `1`).
1783
+ *
1784
+ * **THE ATTACH: the `repair` your function returns IS A FUNCTION TAKING ONE ARGUMENT — ITS OWN RECORD,
1785
+ * WHICH IS NOT YOUR CONSTRAINT'S AND IS NOT INTERCHANGEABLE WITH IT.** **The two records stand apart at
1786
+ * THREE PLACES: by COUNT, SIX against FIVE; by `id`, which the repair's record carries where the
1787
+ * constraint's carries `attempt`; and by `pending`, which rides the repair's record ALONE**
1788
+ * (`bindings/js/src/entry/kernel-attempt.mjs:607-613`, `:756-782`; the kernel's own words at
1789
+ * `bindings/js/src/entry/kernel-registration.mjs:373-374`). **No member census of either record is
1790
+ * printed here.**
1791
+ * **⟶ RE-ANCHORED, 2026-11-01, `RCA-8(g)`: THE CITATION ABOVE — `bindings/js/src/entry/kernel-attempt.mjs:607-613`,
1792
+ * cited for the CONSTRAINT's record — stands today on the pair-application guard's clause (`:631`), and the
1793
+ * constraint's record build stands at `:635`-`:641`.** **The citation's bytes stand and are read through this
1794
+ * mark** (§7.2 row `5`).
1795
+ * **⟶ RE-ANCHORED, 2026-11-01, `RCA-8(g)`: THE CITATION ABOVE — `bindings/js/src/entry/kernel-attempt.mjs:756-782`,
1796
+ * cited for the REPAIR's record — stands today on the repeat arms' returns, and the repair's record build stands
1797
+ * at `:784`-`:810`.** **The citation's bytes stand and are read through this mark** (§7.2 row `6`).
1798
+ * **⟶ RE-ANCHORED, 2026-11-01, `RCA-8(g)`: THE CITATION ABOVE —
1799
+ * `bindings/js/src/entry/kernel-registration.mjs:373-374`, cited as *"the kernel's own words"* on the two records
1800
+ * — stands today on the `{message}` sentence of the registration instant's outcome read, and the kernel's own
1801
+ * statement of the two records stands at `:420`-`:424`.** **The citation's bytes stand and are read through this
1802
+ * mark** (§7.2 row `4`).
1803
+ *
1804
+ * **AT THE WRITE'S OWN EVALUATION — AT THAT INSTANT AND NO OTHER — THE KERNEL READS `message` AND
1805
+ * `repair` AS OWN MEMBERS OF THE OBJECT YOUR FUNCTION RETURNED: a pair carried on a prototype is NOT SEEN
1806
+ * there, and such a return answers the kernel's unrecognized sentence instead**
1807
+ * (`bindings/js/src/entry/kernel-attempt.mjs:690-696`). **THIS IS THE ONLY SENTENCE IN THIS FILE THAT
1808
+ * STATES THAT RULE, AND IT IS THE LANDING INSTANT'S**: the registration act reads the same
1809
+ * closed outcome at `bindings/js/src/entry/kernel-registration.mjs:330-332`, where an inherited `repair`
1810
+ * IS seen and invoked — **ONE RETURNED SHAPE ANSWERING TWO DIFFERENT THINGS AT THE TWO INSTANTS, a repair
1811
+ * at registration and no repair at a write — and that divergence is OWED to a code-bearing unit and is
1812
+ * CONTRADICTED BY NO SENTENCE HERE** (`strata/decisions.md` · `D-35`, whose parameter-access rule the
1813
+ * registration read does not yet hold).
1814
+ * **⟶ RE-ANCHORED, 2026-11-01, `RCA-8(g)`: THE CITATION ABOVE — `bindings/js/src/entry/kernel-attempt.mjs:690-696`
1815
+ * — stands today INSIDE the same body-throw arm's mark clause (`:691`-`:698`), and the rule it is cited for — the
1816
+ * own-member read of `message` and `repair` — stands at `:718`-`:724`.** **The citation's bytes stand and are read
1817
+ * through this mark** (§7.2 row `2`).
1818
+ * **⟶ RE-ANCHORED, 2026-11-01, `RCA-8(g)`: THE CITATION ABOVE —
1819
+ * `bindings/js/src/entry/kernel-registration.mjs:330-332` — stands today on the skip-is-not-a-refusal clause, and
1820
+ * the registration instant's outcome read — the one that reads the same closed outcome through the prototype
1821
+ * chain — stands at `:377`-`:380`.** **The citation's bytes stand and are read through this mark** (§7.2 row `3`).
1822
+ *
1823
+ * **THE REPAIR'S OWN RETURN IS A CLOSED TWO-ARM SET: `{ ok: true, op }` — the repairable arm, `op`
1824
+ * REQUIRED and BEING THE OPERATION RECORD THE STORE'S OWN VERB RETURNED (`WriteRecord.op`, or
1825
+ * `DeleteRecord.op` where that member is non-`null` — a `delete` that removed nothing answers `null` and
1826
+ * credits nothing) — and `{ ok: false, message }` — the failed arm. WHERE `ok` IS FALSE THE RETURNED
1827
+ * OBJECT'S MEMBERS ARE `ok` AND `message`, AND `op` IS ABSENT AND NEVER `null`, BECAUSE AN `op` THERE IS
1828
+ * READ BY NOTHING. **AT THE WRITE'S OWN EVALUATION A RETURN CARRYING ANY OTHER IDENTITY FAILS `KC-4`**
1829
+ * (`KC-4`'s token and the repair-body path print at `docs/specs/storeroom-constraints/contract.md:552`,
1830
+ * and the two arms print at `:558`). **That one sentence covers every outside form of that return, and
1831
+ * this file enumerates none of them.**
1832
+ *
1833
+ * **AND THE OP MUST BE ONE THE ATTEMPT CAN BE SHOWN TO HAVE LANDED: that ground is the kernel's own credit
1834
+ * check, and it is POINTED AT here and never re-spelled** —
1835
+ * `bindings/js/src/entry/kernel-foundations.mjs:1105-1131` — **and NO ORDINAL GROUND IS CLAIMED AT THE
1836
+ * REGISTRATION INSTANT, whose credit check runs with no invoked-for op**
1837
+ * (`bindings/js/src/entry/kernel-registration.mjs:510-517`).
1838
+ * **⟶ RE-ANCHORED, 2026-11-01, `RCA-8(g)`: THE CITATION ABOVE — `bindings/js/src/entry/kernel-registration.mjs:510-517`
1839
+ * — stands today on the synthetic attempt's nine-member docblock, and the credit call this sentence is about — the
1840
+ * one that runs with NO invoked-for op — stands at `:615`-`:616`.** **The citation's bytes stand and are read
1841
+ * through this mark** (`docs/L1/repair-outcome-types.md` §7.2 row `7`).
1842
+ *
1843
+ * **AND THE COMMIT YOUR REPAIR IS PART OF RIDES THAT ONE ARGUMENT: supply it at `write`'s DECLARED FOURTH
1844
+ * POSITION and the write your repair makes JOINS the commit it is part of**
1845
+ * (`bindings/js/index.d.ts:862`) — **the record the repair is handed carries that commit at its `pending`
1846
+ * member, the `CommitRecord.pending` this file declares at `bindings/js/index.d.ts:772`, POINTED AT here
1847
+ * and re-declared nowhere.** **That position's own class test is not restated.**
1848
+ * **⟶ RE-ANCHORED, 2026-11-01, `RCA-8(g)`: THE CITATION ABOVE PRINTS THIS FILE'S `:772`, WHICH WAS THE LINE AT THE
1849
+ * DATE IT WAS WRITTEN AND IS NOW MOVED TWICE OVER.** **At this date's bytes the `CommitRecord` docblock's `op`
1850
+ * sentence — the line `:772` stood on — stands at `:793`, and the `pending` member that sentence names is declared
1851
+ * at `:814` (`readonly pending: readonly TriggerPair[]`).** **THE TWO MOVES ARE DISTINCT AND NEITHER REWRITES THE
1852
+ * CITATION: the first is that block's own growth, which is why the figure was stale before this pass; the second is
1853
+ * THIS DATE'S MARKS — the head's and this record's block's — which stand above both lines.** **The citation's bytes
1854
+ * stand and are read through this mark; the typing pass's six names sit BELOW this block and moved no line above it
1855
+ * (`1,308 → 1,466` is that pass's own count), and the eight marks of this date are the only bytes this docs pass
1856
+ * adds inside the block** (§7.2 row `8`).
1857
+ * **AND THE SAME PARAGRAPH'S OTHER SELF-CITATION — `bindings/js/index.d.ts:862`, which is NOT one of §7.2's eight
1858
+ * rows and is therefore not one of this date's subjects — is moved by these marks nevertheless: the admitted forms
1859
+ * and the class test of that position stand at `:883`, and the position's own signature — with `commit?` typed as
1860
+ * `CommitCarrier` — at `:904`.**
1861
+ *
1862
+ * **AND NOTHING HERE MINTS A TYPE, A SYMBOL, AN ALIAS, A SEAM, A RECORD MEMBER OR AN EXPORT**: this clause
1863
+ * DOCUMENTS the pair your function returns and a two-arm result the kernel already reads, and DECLARES
1864
+ * nothing — `Constraint` below is unmoved, one `unknown` in and one `unknown` out. **Nor does it name an
1865
+ * archived part as the place its rule is to be read: the rule IS the sentences above, and every point they
1866
+ * cite is a live print of the kept contract or a live source range on this branch.**
1867
+ *
1868
+ * **⟶ RE-DERIVED BY NAME, 2026-11-01: THE SENTENCE ABOVE NO LONGER GOVERNS, AND IT IS NOT DELETED — IT IS READ THROUGH THIS
1869
+ * CLAUSE AS THE READING OF ITS OWN DATE.** The architect has approved minting the types that sentence declined, so what stands
1870
+ * now is: **FIVE NAMES ARE DECLARED BELOW THIS LINE — `AttemptContext` · `RepairContext` · `RegistrationRepairContext` ·
1871
+ * `ConstraintOutcome` · `RepairOutcome` — and `Constraint` below is TYPED rather than unmoved.** **EVERY MEMBER THEY CARRY IS ONE
1872
+ * THE KERNEL ALREADY BUILDS, AND NOTHING IS MINTED BUT THE NAMES**: no member, no symbol, no seam, no export, no route and no
1873
+ * arity moves, the module namespace keeps its ONE value name, and the closed sets these names carry are the ones this clause
1874
+ * already declares. **AND THE CENSUS SENTENCE ABOVE — *"No member census of either record is printed here"* — IS TRUE OF THIS
1875
+ * CLAUSE AND IS READ THROUGH THIS ONE: the census is DECLARED at the aliases below, in the only place a consumer's compiler can
1876
+ * hold it, and this clause still prints none.** **NO BEHAVIOUR BYTE MOVES: the aliases are erased at run time and the kernel
1877
+ * reads the same values it read on 2026-10-30.**
1878
+ */
1879
+ export type Constraint = (context: AttemptContext) => ConstraintOutcome;
1880
+
1881
+ /**
1882
+ * **THE CONSTRAINT IDENTITY — `parameter-semantics.md §2.25` (`PAR-JS-25`)**: ONE OPAQUE VALUE THE PACKAGE
1883
+ * OWNS, minted once per pair, **equal to itself on a second `addConstraint` at the SAME pair** (the
1884
+ * overwrite arm) **and distinguishable from every other pair's**. **No spelling for it is declared, no
1885
+ * accessor reaches a member of it, and a consumer compares identities and never contents.**
1886
+ */
1887
+ export type ConstraintIdentity = object;
1888
+
1889
+ /**
1890
+ * **THE ATTEMPT'S OWN CONTEXT — THE ONE ARGUMENT A CONSTRAINT BODY IS INVOKED WITH** (`PAR-C-16`; the record this
1891
+ * file's `Constraint` docblock calls *"the attempt's own context"*), declared at
1892
+ * `docs/L1/repair-outcome-types.md` §1.1 of 2026-11-01. **THE NAME IS THE TREE'S OWN**: the kernel calls this
1893
+ * record `AttemptContext` (`bindings/js/src/entry/kernel-registration.mjs:421`, `:428`;
1894
+ * `kernel-attempt.mjs:483`) and so does this file at `:450`.
1895
+ *
1896
+ * **FIVE MEMBERS AND NO SIXTH: `address` · `attempt` · `op` · `tier` · `value`, and no other.** **THIS RECORD GAINS
1897
+ * NOTHING AT ANY INSTANT** — no `id`, no `pending` and no `write` (`strata/decisions.md` · `D-92` (1)) — **and its
1898
+ * census is printed HERE, because this is the only place a consumer's compiler can hold it** (the `Constraint`
1899
+ * docblock above prints none, and says so).
1900
+ *
1901
+ * **ONE MEMBER SET ACROSS THE THREE SITES THAT BUILD IT, AND THE SITE — NOT THE INSTANT — DECIDES THE VALUE.**
1902
+ * Built at the write's own evaluation (`kernel-attempt.mjs:635`-`:641`), at a registration's FIRST ask
1903
+ * (`kernel-registration.mjs:392`-`:403`) and at a registration's RE-RUN (`:728`-`:734`); only three members' VALUES
1904
+ * move, and the nullable arms are the FIRST ask's — `attempt`, `op` and `tier` are the LANDING's at the other two.
1905
+ * **SO A CONSUMER NARROWS `op` BEFORE READING IT**: at a landing and at a re-run `op` is never `null`, and that
1906
+ * narrowing is the declared price of one member set, printed rather than discovered (§1.1; §2's alternative `D`).
1907
+ */
1908
+ export interface AttemptContext {
1909
+ readonly address: Address;
1910
+ readonly attempt: AttemptRef | null;
1911
+ readonly op: JournalOp | null;
1912
+ readonly tier: Tier | null;
1913
+ readonly value: unknown;
1914
+ }
1915
+
1916
+ /**
1917
+ * **THE REPAIR'S OWN RECORD — THE SIX-MEMBER `RepairContext`, THE ONE ARGUMENT THE KERNEL INVOKES A REPAIR WITH**,
1918
+ * built at the write's own evaluation (`bindings/js/src/entry/kernel-attempt.mjs:784`-`:810`) and declared at
1919
+ * `docs/L1/repair-outcome-types.md` §1.2 of 2026-11-01. **THE NAME IS THE KERNEL'S OWN** — *"the six-member
1920
+ * `RepairContext`"* (`kernel-registration.mjs:416`, `:421`) — and this alias IS that shape.
1921
+ *
1922
+ * **SIX MEMBERS: `address` · `id` · `op` · `tier` · `value` · `pending`. THE TWO RECORDS STAND APART AT THREE
1923
+ * PLACES** (the `Constraint` docblock above; `docs/guides/package-use.md §7.6`): **by COUNT, SIX against
1924
+ * `AttemptContext`'s FIVE; by `id`, which this record carries where the constraint's carries `attempt`; and by
1925
+ * `pending`, which rides this record ALONE.**
1926
+ *
1927
+ * **`op`'s `| null` ARM IS THE REGISTRATION'S, DECLARED ONCE BECAUSE THE SHAPE IS ONE SHAPE**: at this instant `op`
1928
+ * is the op the evaluation carried and is never `null`. **`pending` IS A FRESH LIST AND NEVER THE RECORD'S OWN
1929
+ * MEMBER** (`kernel-attempt.mjs:806`-`:809`); **`id`'s NON-EMPTINESS IS `PAR-JS-24`'s PROSE RULE and no type carries
1930
+ * it** (the same class of limit as `Handle`); **and the commit a repair is inside rides that `pending`, so the write
1931
+ * a repair makes JOINS the commit it is part of** — supplied at `write`'s DECLARED FOURTH POSITION (`D-46`).
1932
+ */
1933
+ export interface RepairContext {
1934
+ readonly address: Address;
1935
+ readonly id: string;
1936
+ readonly op: JournalOp | null;
1937
+ readonly tier: Tier | null;
1938
+ readonly value: unknown;
1939
+ readonly pending: readonly TriggerPair[];
1940
+ }
1941
+
1942
+ /**
1943
+ * **THE REPAIR'S RECORD AT A REGISTRATION INSTANT — THE SAME SIX AND THE ROUTE THE REGISTRATION ADDS: SEVEN.**
1944
+ * Built at `bindings/js/src/entry/kernel-registration.mjs:447`-`:460`, with the route at `:492`-`:503`, and declared
1945
+ * at `docs/L1/repair-outcome-types.md` §1.3 of 2026-11-01. **`extends` puts each of the six members at ONE home, so no
1946
+ * member of the shared shape can drift between the two instants.**
1947
+ *
1948
+ * **`write` IS EXACTLY THE STORE'S FIRST THREE POSITIONS — `(address, tier, value) => WriteRecord` — AND THE COMMIT
1949
+ * IS NOT A POSITION OF IT**: the write joins the registration's own commit (`D-91` (2)), and a supplied fourth is
1950
+ * REFUSED BEFORE ANY STORE ACT (`kernel-registration.mjs:492`-`:503`). **So the instance's
1951
+ * `write(address, tier, value, commit?)` and this route's three positions are TWO positions and never one spelling.**
1952
+ *
1953
+ * **THE CONSTRAINT'S RECORD GAINS NOTHING AT ANY INSTANT** (`D-92` (1)): `AttemptContext` carries neither `write` nor
1954
+ * `pending`, and **the seventh member's PRESENCE is the discriminator the kernel itself uses, so `'write' in rc` is
1955
+ * the narrowing a repair has**. **AND A BODY ANNOTATED WITH THIS SEVEN-MEMBER ALIAS IS REFUSED** — the position's
1956
+ * parameter is `RepairContext | RegistrationRepairContext` — **so the lawful spellings are `RepairContext`, that
1957
+ * union narrowed with `'write' in`, or no annotation at all.**
1958
+ */
1959
+ export interface RegistrationRepairContext extends RepairContext {
1960
+ readonly write: (address: Address, tier: Tier, value: unknown) => WriteRecord;
1961
+ }
1962
+
1963
+ /**
1964
+ * **WHAT A CONSTRAINT BODY ANSWERS — THE CLOSED THREE-ARM SET**, read in this order at the write's own evaluation
1965
+ * (`bindings/js/src/entry/kernel-attempt.mjs:705`-`:727`) and declared at `docs/L1/repair-outcome-types.md` §1.4 of
1966
+ * 2026-11-01: **`true` — THE ONLY PASS VALUE**; **`{ message, repair }` — A REPAIRABLE VIOLATION**; **`{ message }` —
1967
+ * AN UNREPAIRABLE VIOLATION**, its `message` the refusal's own sentence.
1968
+ *
1969
+ * **A VALUE OUTSIDE THE THREE IS READ AS THE `{ message }` ARM AND NEVER AS A FOURTH ARM**, so a return invented
1970
+ * beyond them declares an outcome this kernel does not distinguish — **and a return carrying only `repair` is that
1971
+ * outside value, whose repair IS NEVER SEEN** (`kernel-attempt.mjs:718`-`:724`).
1972
+ *
1973
+ * **`message` IS REQUIRED ON THE REPAIR ARM BECAUSE THE KERNEL READS IT FIRST**, and the repair is looked for only
1974
+ * inside that branch. **THE TYPE DECLARES THE SHAPE AND NEVER THE READ**: at the write's own evaluation `message` and
1975
+ * `repair` are read as OWN members, while at a registration instant the same closed outcome is read through the
1976
+ * prototype chain (`kernel-registration.mjs:377`-`:380`) — **ONE RETURNED SHAPE ANSWERING TWO DIFFERENT THINGS AT THE
1977
+ * TWO INSTANTS, which is `D-35`'s recorded defect and is OWED to a code-bearing unit**, and nothing here is read as
1978
+ * symmetric. **Nor does the type carry `message`'s NON-EMPTINESS or the repair's invocability beyond `function`.**
1979
+ *
1980
+ * **⟶ AND THE CLAUSE ABOVE IS CURED, 2026-11-04 — `U-STOREROOM-REGISTRATION-OWN-MEMBERS`, ON `D-120`.** `RCA-8(g)`
1981
+ * ANNOTATE-BESIDE: **the clause above stands BYTE-FOR-BYTE and is read THROUGH this mark, and neither of its own
1982
+ * citations is corrected or re-pointed.** **The registration instant's read of the same closed outcome was converted
1983
+ * to the own-member rule at this unit's landing**, so its *"ONE RETURNED SHAPE ANSWERING TWO DIFFERENT THINGS"*
1984
+ * reading is **CURED rather than owed**. **THE TYPE STILL DECLARES THE SHAPE AND NEVER THE READ** — the conversion
1985
+ * confirms that thesis rather than amending it. **THE MEMBERS' CLASSES ARE UNMOVED**: `message` is still not
1986
+ * declared non-empty, and `repair` is still declared no further than `function`, so this mark is neither a
1987
+ * narrowing nor a widening of what is declared here.
1988
+ */
1989
+ export type ConstraintOutcome =
1990
+ | true
1991
+ | {
1992
+ readonly message: string;
1993
+ readonly repair: (
1994
+ context: RepairContext | RegistrationRepairContext,
1995
+ ) => RepairOutcome;
1996
+ }
1997
+ | { readonly message: string };
1998
+
1999
+ /**
2000
+ * **WHAT A REPAIR ANSWERS — THE CREDITED ARM, THE FAILED ARM, AND `void`**, read at
2001
+ * `bindings/js/src/entry/kernel-attempt.mjs`'s repair arm and **RE-DERIVED 2026-11-01 by `D-105`**
2002
+ * (`strata/decisions.md` · `D-105` item `1`; `docs/L1/op-free-repair-credit.md` §6.1). **THE SENTENCES THIS CLAUSE
2003
+ * SUPERSEDES ARE NAMED RATHER THAN OVERWRITTEN** (`RCA-8(g)` ANNOTATE-BESIDE): *"`op` IS REQUIRED ON THE CREDITED
2004
+ * ARM, THE ARM IS CLOSED, AND `undefined` IS NOT ONE OF THE TWO — so a repair answering `undefined` or a bare
2005
+ * `{ ok: true }` is a COMPILE ERROR instead of a `ConstraintPassRefused`"* (`docs/L1/repair-outcome-types.md` §1.5
2006
+ * of 2026-11-01). **THE RULING, VERBATIM: *"A repair that does its write and returns `undefined` — the natural
2007
+ * shape of `repair: () => { … }` — is NOT refused"***, **so the credited arm is `undefined` · `{ ok: true }` ·
2008
+ * `{ ok: true, op }` — three spellings of ONE arm — and `void` is what the body answers when it has no opinion.**
2009
+ * **`ST-F2`'s measured defect is CLOSED BY CARRIER and not by text.**
2010
+ *
2011
+ * **THE CREDITED ARM: `{ ok: true, op? }`, `op` OPTIONAL AND INFORMATIONAL** — the store's own journal record
2012
+ * where a body cares to hand it back, reached by INDEXED ACCESS (`WriteRecord['op']`) so **NO SECOND CARRIER IS
2013
+ * MINTED**. **NO READER IN THE KERNEL READS IT**: the credit is the FAILING PAIR's mark (`attempt.appliedRepairs`),
2014
+ * the op the attempt pins is the repair's write's OWN LEG (`D-105` item `2`), and the re-run's value is that leg's
2015
+ * `op.after.value` — the returned `op` sets no pin, joins no list, becomes no landing and is named by no sentence.
2016
+ * **`op` ADMITS `null`** because the member is informational: `DeleteRecord['op']`'s declared `null` arm — a
2017
+ * `delete` that removed nothing — costs a consumer nothing, and nothing is refused for it.
2018
+ * **THE FAILED ARM IS UNMOVED: `{ ok: false, message }` — `op` ABSENT AND NEVER `null`** — and it is the ONLY
2019
+ * return that fails the attempt (`D-105` item `4`: *"The failed arm still fails (`{ok: false, message}` — the
2020
+ * caller's words)"*, `bindings/js/src/entry/kernel-attempt.mjs`'s `(d1)`).
2021
+ *
2022
+ * **THE TYPE STAYS NARROWER THAN THE RUNTIME, ON PURPOSE, AND THE GAP IS DECLARED RATHER THAN CLOSED.** The runtime
2023
+ * CREDITS `true`, `false`, `7`, `'done'`, `{ ok: 'yes' }`, `{ ok: false }` WITHOUT A MESSAGE and
2024
+ * `{ ok: true, op: <a whole WriteRecord> }`; **this alias admits none of them** — it declares the shape a consumer
2025
+ * SHOULD return, and the runtime declines to judge what a consumer DOES return. **`{ ok: false }` with no message
2026
+ * is named on both sides deliberately**: the runtime credits it (the declared failed arm needs a non-empty
2027
+ * `message`) and the type refuses it. **THE MIRROR IMAGE OF `CommitCarrier`'s PRINTED LIMIT BELOW**: there an
2028
+ * inherited `pending` and a `Proxy` pass the type and the run-time refusal keeps the position's domain; **here the
2029
+ * RUNTIME IS THE WIDER SIDE — THE TYPE DECLINES, THE RUNTIME CREDITS, AND NOTHING HERE PROMISES THAT A GREEN
2030
+ * COMPILE IS A CREDIT OR THAT A REFUSED COMPILE IS A REFUSAL.** `exactOptionalPropertyTypes` is not set in either
2031
+ * `tsconfig` head, so `{ ok: true, op: undefined }` type-checks as written — a property of the config heads and
2032
+ * not of this alias.
2033
+ *
2034
+ * **THE GROUND IS PROSE AND IS POINTED AT, NEVER RE-SPELLED HERE** (`bindings/js/src/entry/kernel-foundations.mjs`'s
2035
+ * `landedOp`, whose ONE remaining caller is the registration instant — `kernel-registration.mjs:616` — and whose
2036
+ * ordinal ground RETIRES on the write path, `docs/L1/op-free-repair-credit.md` §4 `RB-4`).
2037
+ * **A green compile is not evidence of a credit**, and a returned `op` is read as an OWN member — a distinction
2038
+ * structural typing cannot make. **NO NAME IS MINTED: this declaration adds `0` types.**
2039
+ */
2040
+ export type RepairOutcome =
2041
+ | void
2042
+ | { readonly ok: true; readonly op?: WriteRecord['op'] | null }
2043
+ | { readonly ok: false; readonly message: string };
2044
+
2045
+ /**
2046
+ * **THE WRITE'S COMMIT POSITION AND ITS CLASS TEST — ONE MEMBER, `pending`, SPELLED EXACTLY AS `CommitRecord.pending`
2047
+ * SPELLS IT** (`:793`), so **no second TYPE is minted: what is minted is the NAME the class test's class never had**.
2048
+ * Declared at `docs/L1/repair-outcome-types.md` §8's `Q-1` clause of 2026-11-01 (`strata/decisions.md` · `D-101`,
2049
+ * verbatim: *"Widen the position to its class test"*), and **exported because a position's type no consumer can
2050
+ * annotate is the `ST-F2` gap in a new place**: the carrier is the one value a consumer CONSTRUCTS at a position
2051
+ * rather than receives.
2052
+ *
2053
+ * **THE KERNEL READS A MEMBER'S PRESENCE AND NEVER ITS MEMBER COUNT** — an OWN, defined `pending` on a non-null,
2054
+ * non-Proxy, non-array object (`bindings/js/src/entry/delivery.mjs:27`-`:54`, the predicate at `:39`) — **so
2055
+ * `CommitRecord` is ONE CARRIER of this class and not the position's only type; it keeps every byte, its four
2056
+ * members and its export.** **A REPAIR'S OWN `RepairContext` IS A CARRIER TOO**, which is why the guide's
2057
+ * four-position spelling type-checks as written (`D-46`; `docs/guides/package-use.md §7.6`).
2058
+ *
2059
+ * **WHAT NO GREEN HERE PROVES, PRINTED BECAUSE THE CLASS TEST IS THE DOMAIN'S KEEPER**: an INHERITED `pending`
2060
+ * (`Object.hasOwn` refuses it at run time) and a `Proxy` (`types.isProxy` refuses it before any member read) are both
2061
+ * admitted by the type, and **`commit?` admits a SUPPLIED `undefined`, which the class test refuses** — the
2062
+ * `?`-cannot-separate limit this file already declares for `read`'s `tier?` (`:131`-`:135`). **THE RUNTIME REFUSAL IS
2063
+ * WHAT KEEPS THE POSITION'S DOMAIN.**
2064
+ */
2065
+ export interface CommitCarrier {
2066
+ readonly pending: readonly TriggerPair[];
2067
+ }