provident-storeroom 1.11.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.guide.md +269 -26
- package/README.md +43 -13
- package/RELEASE-NOTES.md +203 -1
- package/index.d.ts +233 -13
- package/index.mjs +88 -2097
- package/package.json +9 -8
- package/src/entry/addon-slot.mjs +484 -0
- package/src/entry/artefact-node.mjs +327 -0
- package/src/entry/artefact.mjs +55 -394
- package/src/entry/carrier.mjs +15 -6
- package/src/entry/class-decision.mjs +82 -18
- package/src/entry/class-instrument.mjs +186 -0
- package/src/entry/constraints.mjs +164 -11
- package/src/entry/delivery.mjs +658 -12
- package/src/entry/frame.mjs +125 -13
- package/src/entry/instance.mjs +2312 -0
- package/src/entry/kernel-attempt.mjs +5 -1
- package/src/entry/kernel-foundations.mjs +79 -2
- package/src/entry/kernel-loader.mjs +53 -0
- package/src/entry/kernel-registration.mjs +70 -5
- package/src/entry/kernel-terminal.mjs +91 -8
- package/src/entry/state.mjs +189 -21
package/README.md
CHANGED
|
@@ -1,18 +1,37 @@
|
|
|
1
1
|
# `provident-storeroom` — the published Node ESM binding for the native Rust store
|
|
2
2
|
|
|
3
|
-
**THE CLAIMED REALM IS
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
**THE CLAIMED REALM IS THE ES MODULE ITSELF — ONE FILE, ONE NAMESPACE, ONE DECLARED MEMBER SET — AND IT IS
|
|
4
|
+
REACHED BY EITHER OF NODE'S TWO SPECIFIERS FOR THAT ONE MODULE** (`A70`, `package.md §1.1`; `docs/specs/storeroom-js/contract.md §3.1`'s
|
|
5
|
+
re-derivation of 2026-11-17, `D-128`/`D-129`): you `import` this package as an ES module, and a CommonJS host
|
|
6
|
+
`require`s the SAME entry through the package's own `require` condition, from a Node runtime whose ABI carries a
|
|
7
|
+
Node-API addon and whose version is at or above the declared `engines` floor, `>=22.12.0`. **Every other realm is
|
|
8
|
+
UNCLAIMED and each owes its declared answer** (`package.md §2`: Node CJS as a module *format*, Electron `main`,
|
|
9
|
+
`preload` and `renderer`, the browser, `worker_threads` and any IPC route). **No other realm is described here as
|
|
10
|
+
supported.**
|
|
11
|
+
|
|
12
|
+
**⟶ AND ONE OF THOSE REALMS IS NOW SUPPORTED AS A BUILD, IN ITS OWN PACKAGE — 2026-11-17** (`D-154` item 1, the
|
|
13
|
+
architect's *"Lift the realm claim restriction and plan for the change"*; `D-157` item 1). **`@auspicion/provident-storeroom-js-wasm`
|
|
14
|
+
carries the same store on a WebAssembly host**, its bindings handed in instead of looked for: no Node-API addon, no
|
|
15
|
+
`filePath` (the key is not in domain there — a browser cannot write one), the `file` tier meaning *durable with no
|
|
16
|
+
path*, saved through a caller's `saveCall` and seeded through an `initialImage`. **IT IS A SECOND PACKAGE AND NOT A
|
|
17
|
+
SECOND ARM OF THIS ONE, AND NOTHING ABOVE MOVES FOR IT**: this package's realm claim, its one `exports` arm, its one
|
|
18
|
+
module name and its `require` condition stand byte-for-byte. **AND THE SENTENCE THIS PARAGRAPH SITS UNDER REMAINS
|
|
19
|
+
TRUE OF THIS PACKAGE**: what ships here reaches Node ESM and nothing else.
|
|
20
|
+
|
|
21
|
+
**Node CJS stays UNCLAIMED as a module format: the package publishes NO CJS arm — no `.cjs` artefact, no `main`
|
|
22
|
+
field and no second build — and it DOES publish a `require` condition on its one ESM entry, so a CJS host's
|
|
23
|
+
`require` is supported at or above the floor.** **What remains your side of the boundary is the runtime feature
|
|
24
|
+
and the floor: below it the loader refuses the module and the package publishes no second answer.**
|
|
7
25
|
|
|
8
26
|
**THE LICENCE OF RECORD IS `AGPL-3.0`** (`DD-43`): it is the repository's own `LICENSE`, and no clause of this
|
|
9
27
|
package changes it. **AND THE LICENCE COPY TRAVELS WITH EVERY ARTEFACT, THIS PACKAGE'S OWN INCLUDED: each of
|
|
10
|
-
the
|
|
28
|
+
the SEVEN artefacts — this package, the five native platform packages and the WebAssembly package (`D-157` item 1,
|
|
29
|
+
2026-11-17) — carries a copy of the repository's own
|
|
11
30
|
`LICENSE` as the licence TEXT travelling with it, copied BYTE-FOR-BYTE at the release's own assembly step**
|
|
12
31
|
(`docs/specs/storeroom-publish/contract.md §2.3` item 2; `distribution.md §4.3` item 2; `PUB-DD-11`; `Q3-5`).
|
|
13
32
|
**The copy is an ARTEFACT-LEVEL fact and not a crate-level file**: no `LICENSE` byte is written under
|
|
14
33
|
`bindings/js/` (`§2.3` item 4), the manifest's `files` allowlist names no `LICENSE` row, and **a tarball's own
|
|
15
|
-
copy is not a fifth declaration site** — four AUTHORED sites stay four, while
|
|
34
|
+
copy is not a fifth declaration site** — four AUTHORED sites stay four, while seven artefacts CARRY a notice.
|
|
16
35
|
|
|
17
36
|
**★ AND THIS FILE IS THE SHIPPED HALF OF A TWO-PART STORY: the long-form consumer guide — every member, every
|
|
18
37
|
refusal, every file-tier reading and the measured behaviour behind each — **TRAVELS WITH THIS PACKAGE at
|
|
@@ -31,7 +50,7 @@ an edit belongs.
|
|
|
31
50
|
|
|
32
51
|
**⟶ AND THE ONE FIGURE THIS PAGE CAN BE RIGHT ABOUT IS GENERATED AND ASSERTED, 2026-10-28 — `DEF-AC`'s third part, and `D-57`'s one surviving figure.** `RCA-8(g)` ANNOTATE-BESIDE: **every clause above stands BYTE-FOR-BYTE and is read THROUGH this one; nothing above moves.** **THE DEFECT THIS CLOSES: THIS PAGE DECLARED NO VERSION AT ALL** — a shipped document a consumer reads first, saying nothing about which release it describes — **so `scripts/publish.sh --figures` now GENERATES the line below from `bindings/js/package.json`'s `version` and REFUSES when it disagrees, exactly as it does at the guide's and the change list's own marked lines: three shipped documents, three version lines, one generator, one assertion.** **AND THE CUT-STATE IS NOT STATED HERE, OR ANYWHERE ELSE IN THIS PACKAGE'S DOCUMENTS** (`D-57`, the architect verbatim: *"Drop the cut-state"*): a document is sealed before the tag that would make its cut-state true, so **the cut-state is not a document's to state**; the record of what has been cut is the change list's, and it is past tense. **EVERY OTHER CLAIM OF THIS PAGE STANDS EXACTLY AS IT STOOD.**
|
|
33
52
|
|
|
34
|
-
PUBLISH-README-VERSION-LINE: THE VERSION THIS README DESCRIBES IS `
|
|
53
|
+
PUBLISH-README-VERSION-LINE: THE VERSION THIS README DESCRIBES IS `2.0.0`.
|
|
35
54
|
|
|
36
55
|
## The one entry
|
|
37
56
|
|
|
@@ -43,20 +62,24 @@ import { storeCreate } from 'provident-storeroom';
|
|
|
43
62
|
namespace's `8 → 1`). There is no module-level `read`, `write`, `listen` or any other verb — every other name
|
|
44
63
|
you will use is a method of the instance `storeCreate` returns.
|
|
45
64
|
|
|
46
|
-
**The `exports` map publishes EXACTLY ONE arms-bearing entry — the ESM one** (`package.md §1.3`, `DD-24`),
|
|
47
|
-
|
|
48
|
-
|
|
65
|
+
**The `exports` map publishes EXACTLY ONE arms-bearing entry — the ESM one** (`package.md §1.3`, `DD-24`), and its
|
|
66
|
+
whole content is THREE conditions: `types` names the declaration, and `import` and `require` name the SAME
|
|
67
|
+
`./index.mjs`. **So the package publishes no wildcard export, no deep import to the addon and no CJS arm** — no
|
|
68
|
+
`.cjs` artefact, no `main` field and no second build exists beside the entry — **and `require` IS A SUPPORTED
|
|
69
|
+
ROUTE INTO THE CLAIMED REALM: a CommonJS host needs no interop of its own.** **The addon is reached INTERNALLY by
|
|
70
|
+
the package's own resolution step and is not an entry point.**
|
|
49
71
|
|
|
50
72
|
## The surface
|
|
51
73
|
|
|
52
|
-
|
|
53
|
-
**and they are these
|
|
74
|
+
**⟶ AND THE FIGURE IS FIFTEEN, 2026-11-17: `readTiered` (the tier readout) was in the instance and absent from this table.** **`storeCreate(cfg)` answers an
|
|
75
|
+
instance carrying exactly FIFTEEN own members** — `10 + 1 + 1 + 1 + 2 = 15` ✓ — **and they are these fifteen and no others** (`bindings/js/index.d.ts`, `StoreInstance`;
|
|
54
76
|
`docs/specs/storeroom-held-listener-identity/contract.md §2.7` item 9):
|
|
55
77
|
|
|
56
78
|
| The member | Its answer |
|
|
57
79
|
| --- | --- |
|
|
58
80
|
| `read(address, tier?)` | a leaf's literal, a branch's assembled value, or the empty address's whole register |
|
|
59
81
|
| `readLiteral(address, tier?)` | the same, narrowed to a leaf (`ReadTargetIsBranch` on a branch) |
|
|
82
|
+
| `readTiered(address)` | `{ value, tier }[]` — the standing versions at an address and the tier each is at; **a shadowed address answers more than one** |
|
|
60
83
|
| `write(address, tier, value, commit?)` | `{op, watched, triggered}` — **four positions, `commit` the fourth and optional** |
|
|
61
84
|
| `delete(address, tier?)` | `{address, op, tiers, triggered}`, plus a non-enumerable `discarded` witness |
|
|
62
85
|
| `rollback(opId)` | `{opId, undoneOps, restoredTo}` |
|
|
@@ -117,7 +140,14 @@ SPELLING — wrong, not redundant. **AND NO OWN MEMBER IS A DATA MEMBER:** there
|
|
|
117
140
|
field and no getter over the register; `store.read(address)` is the route to state. **There is no release
|
|
118
141
|
verb** — construct one store and keep it for the process's life.
|
|
119
142
|
|
|
120
|
-
|
|
143
|
+
**⟶ AND THAT SECOND SENTENCE IS NOW BEHAVIOUR RATHER THAN ADVICE, 2026-11-19 — `D-171` ITEMS 1–3.** **THERE IS STILL NO RELEASE VERB AND NO MEMBER MOVES.** What changed is that **a store you DROP is now released**: the package holds the store's own index in a `FinalizationRegistry` and hands it to the addon's `storeRelease` when the instance is collected, and that entry drops the store and empties its slot in one act — **before this landing a constructed-and-dropped store stayed in the addon's table for the process's life (`~573,112` bytes per construct-and-drop against `~42,000` after it)**, and **the WebAssembly artefact carries the same entry** (`bindings/js/src/facade.rs`; `bindings/js/src/wasm.rs`; `tests/e2e/store-retirement.test.mjs`). **So one store per process is still the shape the register wants, and it is no longer a rule you keep in order not to leak.**
|
|
144
|
+
|
|
145
|
+
### The construction's six keys
|
|
146
|
+
|
|
147
|
+
**⟶ AND THE COUNT IS SIX FROM 2026-11-17 — THE HEADING SAID FOUR AND THE TREE TAKES SIX.** `saveCall` and `initialImage` joined `filePath` and the two
|
|
148
|
+
required keys (`journalLength`, `listeners`) along with `constraints`; **the heading and every sentence that counts them read six.** **The two newest are the
|
|
149
|
+
ones a path-less store needs** (`saveCall` is how such a store saves and `initialImage` is the only way it can start with state), **and `§13` of the guide is
|
|
150
|
+
where they are described.**
|
|
121
151
|
|
|
122
152
|
**`cfg` carries FOUR declared keys and no fifth: `filePath` · `journalLength` · `listeners` · `constraints`**
|
|
123
153
|
(`parameter-semantics.md §2.21`; `docs/specs/storeroom-native/contract.md §7.1`). `journalLength` and
|
package/RELEASE-NOTES.md
CHANGED
|
@@ -16,7 +16,7 @@ claims to be installable.**
|
|
|
16
16
|
|
|
17
17
|
**⟶ AND THE CUT-STATE IS DROPPED FROM THIS FILE, 2026-10-28 — `D-57`, THE ARCHITECT VERBATIM: *"Drop the cut-state."*** `RCA-8(g)` ANNOTATE-BESIDE: **the title line and every dated paragraph of this file stand BYTE-FOR-BYTE as the reading of their own date, THIS clause is the one that reads them, and not one byte is deleted.** **THE REASON IS STRUCTURAL AND IT WAS MEASURED THREE TIMES: A SHIPPED DOCUMENT IS SEALED BEFORE THE TAG THAT MAKES ITS CUT-STATE TRUE**, so every release packed before its tag ships a document denying itself, and a guard running in that release's own preflight can only ever confirm *"not cut"* — `1.2.0` shipped *"NOT CUT"*, `1.3.0` shipped *"`v1.3.0` DOES NOT EXIST"*, and this file's own head was stale within minutes of the tag that falsified it. **SO EVERY SENTENCE BELOW THAT CLAIMS WHETHER SOME VERSION IS OR IS NOT CUT — *"PREPARED — NOT CUT"*, *"no `v1.3.0`"*, *"nothing in this section is cut"*, *"the release is not cut"*, *"what is installed today is still `1.1.0`"*, and each reading printed beside them — IS READ THROUGH THIS CLAUSE: the cut-state is not a document's to state.** **WHAT SURVIVES IS THE ONE FIGURE A SHIPPED DOCUMENT CAN BE RIGHT ABOUT, AND IT IS GENERATED FROM THE MANIFEST AND ASSERTED BY THE PREFLIGHT:**
|
|
18
18
|
|
|
19
|
-
PUBLISH-NOTES-VERSION-LINE: THE VERSION THIS CHANGE LIST DESCRIBES IS `
|
|
19
|
+
PUBLISH-NOTES-VERSION-LINE: THE VERSION THIS CHANGE LIST DESCRIBES IS `2.0.0`.
|
|
20
20
|
|
|
21
21
|
**AND THE TAG SET SURVIVES AS A RECORD OF RELEASES — PAST TENSE, A LIST OF WHAT HAS BEEN CUT, NEVER A CLAIM ABOUT THE CURRENT ONE** (the record stands in `§1.4.0` below — the section this file's head called `§main` until it was re-cut to name the version it prepares, 2026-10-28 — beside the section for the tree this file describes). (`D-57`; `DEF-AC` (b) — `scripts/publish.sh --figures` generates that line from `bindings/js/package.json`'s `version` and refuses on any disagreement, in this file, in `bindings/js/README.md` and in the shipped guide: three documents, three version lines, one generator, one assertion.)
|
|
22
22
|
|
|
@@ -55,6 +55,208 @@ the value to assert against, not the crate's own `Cargo.toml` version.
|
|
|
55
55
|
|
|
56
56
|
---
|
|
57
57
|
|
|
58
|
+
## §2.0.0 · a MAJOR — the second claimed realm, the save arm it made possible, AND THE REMOVAL OF A PUBLISHED DECLARATION MEMBER: a WebAssembly build in its own package, three `cfg` keys' companions, a twenty-third status, two receipt accessors, and `JournalOp.compacted` gone from the record and the declaration
|
|
59
|
+
|
|
60
|
+
**⟶ THIS HEADING READ `§1.13.0 · a MINOR` UNTIL 2026-11-17, AND `D-158`'s CLASS IS SUPERSEDED — NOT WITHDRAWN.**
|
|
61
|
+
**THE ELEVEN ENTRIES BELOW ARE THE SAME LANDING READ AT A DIFFERENT CLASS**: every one of them still ships, every one of
|
|
62
|
+
them still describes what a consumer on `1.12.0` meets, **and a reader who sees this section re-lettered is not being told
|
|
63
|
+
the work is new** — the work is the same work, and what moved is the number the work is released under, because the same
|
|
64
|
+
landing also removes a member the published declaration carried. **THE ARCHITECT'S RULINGS, VERBATIM AND IN ORDER**
|
|
65
|
+
(`strata/decisions.md`): `D-158` — *"MINOR — 1.13.0"*; `D-189` item 2 — *"If .compacted is always false drop it"*; and
|
|
66
|
+
`D-190` — **`MAJOR — bump to 2.0.0`**. **THE REASON THE CLASS MOVED IS ONE SENTENCE AND IT IS THE ONLY ONE**: `D-189` item
|
|
67
|
+
2 removes `readonly compacted: boolean` from the PUBLISHED `JournalOp` (`bindings/js/index.d.ts`), **and removing a
|
|
68
|
+
declared member is breaking against `1.12.0`** — `D-189` item 2 says it in as many words (*"removing it is breaking
|
|
69
|
+
against `1.12.0` and `D-158`'s `1.13.0` `MINOR` cannot absorb it"*), so a `MINOR` could not carry this landing and the
|
|
70
|
+
class is `MAJOR`. **THE VERSION MOVES TWELVE SITES TOGETHER: the main manifest's `version`, its FIVE
|
|
71
|
+
exact `optionalDependencies` pins, and the SIX `platforms/*/package.json` versions** — the five native siblings and the
|
|
72
|
+
WebAssembly sibling whose `version` its own coupled-version clause names (the admission's reading of `§3.2`'s rule as
|
|
73
|
+
*"the SEVEN manifests move to `X.Y.Z` TOGETHER"*). **The artefact is stamped from the manifest by `bindings/js/build.rs`,
|
|
74
|
+
so `version()` answers `2.0.0`**, and that is the value to assert against.
|
|
75
|
+
|
|
76
|
+
**THE HEADLINE IS ONE SENTENCE: THE PACKAGE IS NO LONGER CLOSED AT ONE REALM, AND A WEBASSEMBLY BUILD OF THIS STORE NOW
|
|
77
|
+
SHIPS AS ITS OWN PACKAGE.** `D-154` lifted the claim; the build carries **no `filePath`** — the key is not in domain
|
|
78
|
+
there, and a construction that supplies it is refused **by the store's own path arm with `FilePathUnreachable`, whose message names the path** —
|
|
79
|
+
**⟶ RE-CUT 2026-11-17: this entry said `AddressMalformed` at the `cfg` gate, and the shipped bytes answer `FilePathUnreachable`** (`CW-2`
|
|
80
|
+
measures the divergence itself and records it; the guide prints the measured answer) — so the seven `std::fs`
|
|
81
|
+
calls and `std::process::id()` are `#[cfg]`-ed out with the writer and the reader they belong to, and the register is
|
|
82
|
+
**`file` tier with no path**: a store whose durability is a caller's function.
|
|
83
|
+
|
|
84
|
+
**WHAT A CONSUMER ON `1.12.0` MEETS, AT EACH ENTRY POINT:**
|
|
85
|
+
|
|
86
|
+
1. **`import` AND `require` OF `provident-storeroom` ARE UNCHANGED.** Same module, same one name `storeCreate`, same
|
|
87
|
+
`types` condition standing first, same `require` condition on the same one ESM file, same floor `>=22.12.0`.
|
|
88
|
+
2. **`@auspicion/provident-storeroom-js-wasm` IS NEW, AND IT IS A SECOND PACKAGE AND NOT A SECOND ARM.** Its
|
|
89
|
+
construction is `storeCreate(bindings, cfg)`: the WebAssembly module is an ARGUMENT, the package instantiates
|
|
90
|
+
nothing and loads no addon, and a first position that is not the module refuses in the package's own class form
|
|
91
|
+
(`TypeError`, `status` absent) rather than as a store status. **A store the package never constructed is not a state
|
|
92
|
+
the store can be in.**
|
|
93
|
+
3. **`cfg` GAINS TWO KEYS ON THE NODE ARM AND KEEPS ITS TWO REQUIRED ONES.** `saveCall` (a function the store hands its
|
|
94
|
+
own image to, and whose verdict gates the write's answer) and `initialImage` (the image text a store boots from) are
|
|
95
|
+
both optional and both absent-by-default, so every construction lawful on `1.12.0` is lawful here. **`filePath` and
|
|
96
|
+
`saveCall` are mutually exclusive** — a construction carrying both is refused, because two save mechanisms over one
|
|
97
|
+
register is a state the store cannot answer for.
|
|
98
|
+
4. **THE SAVE ARM IS FIVE ENTRIES AND NO NEW VERB.** `exportImage` (the store composes and verifies its own image),
|
|
99
|
+
`saveSucceeded(opId)` and `saveFailed(opId)` (the caller's verdict, and its mirror), each reached through the store's
|
|
100
|
+
own pass. **The addon's export set moves `16 → 19`; the instance's own fifteen members DO NOT MOVE.**
|
|
101
|
+
5. **THE CLOSED STATUS SET GAINS ITS TWENTY-THIRD MEMBER, `ListenerBodyRejected`.** A DELIVERED listener body that
|
|
102
|
+
REJECTS refuses the act that fired it — which is not rank `21`'s `ListenerBodyThrew`: a throw leaves the write
|
|
103
|
+
unanswered, a rejection RESOLVES it and the refusal is the datum. **No rank of `1`…`22` moves.**
|
|
104
|
+
6. **THE WRITE, DELETE AND ROLLBACK RECEIPTS GAIN TWO NON-ENUMERABLE ACCESSORS**: `bodyFailures` and `returnedValues`,
|
|
105
|
+
each a `configurable` getter over symbol-keyed data. **`Object.keys` and every deep-equality over a receipt are
|
|
106
|
+
unmoved** — the one census that sees them is `Object.getOwnPropertyNames`.
|
|
107
|
+
7. **A VALUE MUST BE CLONEABLE, AND A `Proxy` IS REFUSED WITHOUT A TRAP RUNNING.** The crossing is a deep copy in both
|
|
108
|
+
directions — which is what stops an application mutating a value the store holds, and so bypassing a listener's
|
|
109
|
+
firing or a constraint's pass — and on the WebAssembly arm the detector is `structuredClone`. **On the Node arm
|
|
110
|
+
nothing about this moves**: `util.types.isProxy` still reads no member and invokes no handler, and the refusal is
|
|
111
|
+
still `ValueRefusedAtBoundary`.
|
|
112
|
+
8. **THE JOURNAL NOW DROPS HISTORY, AND `journalLength` IS THE WIDTH OF THE COMPENSATION WINDOW.** On `1.12.0` the cap
|
|
113
|
+
was a MARK: the oldest entries were flagged and kept for the store's whole life, and the flag was what told a
|
|
114
|
+
reversal it had gone past the floor. **From `2.0.0` the cap is a BOUND** (the sentence printed `1.13.0` before
|
|
115
|
+
`D-190` re-classed this landing; no `1.13.0` is released): what survives is the base state plus at
|
|
116
|
+
most `journalLength` uncompacted ops, **an op the compaction reaches is REMOVED and its op id is gone with it**, and
|
|
117
|
+
memory is `O(store + journalLength)` rather than growing with every write ever made (`D-160` items 1–2). **The two
|
|
118
|
+
refusals stay distinguishable and they are told apart by ONE NUMBER rather than by a retained list**: an op the
|
|
119
|
+
compaction DROPPED answers `RollbackCompacted`, and an id that never named an op answers `JournalOpUnknown`
|
|
120
|
+
(`D-160` item 3 — the floor's own `seq` is the watermark). **A write's record still carries its `compacted` member
|
|
121
|
+
and it reads `false`**: no act sets it any more, because the mark is not the mechanism — **and whether the member
|
|
122
|
+
survives the drop is a declaration this section does not make** (`D-160` item 4 of its unsettled). **⟶ AND THAT
|
|
123
|
+
QUESTION IS ANSWERED, AND THE ANSWER IS THAT THE MEMBER DOES NOT SURVIVE: `compacted` IS REMOVED FROM THE WRITE'S
|
|
124
|
+
RECORD, 2026-11-17** (`strata/decisions.md` · `D-189` item 2, the architect VERBATIM: *"If .compacted is always false
|
|
125
|
+
drop it"*). **THE DIRECTIVE WAS A CONDITIONAL AND THE SHIPPED TREE ANSWERED IT**: the store produced the flag at
|
|
126
|
+
exactly two sites and both set it `false`, **so a member that can hold one value carried nothing**, and the
|
|
127
|
+
discrimination it once shared — *an op this store compacted* against *an op this store never held* — is the
|
|
128
|
+
`journal_floor` watermark's (`D-160` item 3), which answers `RollbackCompacted` and `JournalOpUnknown` as two
|
|
129
|
+
refusals without a per-op bit. **SO THIS SENTENCE IS WITHDRAWN, NOT AMENDED** (*"a write's record still carries its
|
|
130
|
+
`compacted` member"*): the record carries **SEVEN** members — `{ opId, kind, address, tier, before, after, seq }` —
|
|
131
|
+
and the eighth is **gone: not renamed, not deprecated, and not typed `false`**. **WHAT YOU MEET AS A CONSUMER**:
|
|
132
|
+
`record.op.compacted` no longer type-checks, and at run time it is `undefined` because the key is absent; the write's
|
|
133
|
+
record, the delete's receipt's `op`, and every op the kernel's repair leg copies all carry the same seven. **THIS
|
|
134
|
+
REMOVAL IS THE WHOLE OF WHY THIS RELEASE IS A `MAJOR`** — see the section head.
|
|
135
|
+
9. **A REVERSAL THAT NEEDS AN OP THE COMPACTION DROPPED REGENERATES FROM THE FILE — AND ANSWERS `RollbackCompacted`
|
|
136
|
+
ONLY ON A STORE WITH NO READ PATH.** `D-164` item 2's division, at the two shapes you can construct: **with a
|
|
137
|
+
`filePath` whose image can be read — or the state the store was created with where no image stands — the store
|
|
138
|
+
REBUILDS its base from that file and the call RETURNS a `RollbackResult`; no refusal is involved.** **With NO READ
|
|
139
|
+
PATH the call answers `RollbackCompacted`, and that token is your signal to recover the value from your own copy**
|
|
140
|
+
— the path-less `saveCall` store, whose channel is write-only by construction, and any `mem` store, which has no
|
|
141
|
+
durable ground truth at all (`D-165` items 1–3; the test is the empty path and it is the whole test). **The token's
|
|
142
|
+
rank, its code and its generated message are unmoved; what moves is the set of acts that produce it** (`D-163`
|
|
143
|
+
item 6; `D-164` items 3–4).
|
|
144
|
+
10. **A CLOSED ATTEMPT'S REPORT IS KEPT WHILE THE ATTEMPT CAN STILL BE NAMED — BY REACHABILITY, NOT BY A WINDOW.** The package does not
|
|
145
|
+
retain one report per act for the life of the instance, and **it no longer keeps a count either**: the closed table is a `WeakMap` keyed by the
|
|
146
|
+
attempt's reference, so **a report lives exactly as long as something can still name the attempt — which is the receipt you were handed** — and
|
|
147
|
+
the collector is what ends it, not an eviction (`D-175`, the architect's one-word clarification *"Clarification: Weak map"*; `D-176`).
|
|
148
|
+
**BOTH DECLARED WAYS OF NAMING AN ATTEMPT STILL ANSWER**: the `AttemptRef` record **or its `id` string**
|
|
149
|
+
(`parameter-semantics.md §2.15`), through a weak id index beside the map — **and the two cannot disagree**, because an id whose attempt has been
|
|
150
|
+
collected and an id that never named one both answer `KC-2`. **★ AND THIS ENTRY IS RE-CUT FROM A SUPERSEDED ONE, SAID PLAINLY**: it declared a
|
|
151
|
+
`1024`-attempt window (`CLOSED_ATTEMPT_WINDOW`) whose FIFO was the map's own insertion order (`D-162` items 1–3). **`D-162`'s window was the right
|
|
152
|
+
bound while the table was a `Map`; it is not what the tree does now**, and `CLOSED_ATTEMPT_WINDOW`'s `1024` stands with no reader. **What a consumer
|
|
153
|
+
observes is unchanged in kind**: an attempt that can still be named answers as it did, an id that names nothing answers `KC-2`. **What moved is that
|
|
154
|
+
AGE NO LONGER ENDS AN ANSWER — being unreachable does** (`D-176` item 2).
|
|
155
|
+
|
|
156
|
+
11. **A `Proxy` IS DETECTED BY WHAT IT HANDS THE STORE, NOT BY WHAT YOU HAND A CONSTRUCTION — ON THE WEBASSEMBLY ARM.**
|
|
157
|
+
**The clone probe is asked of DATA THAT ENTERS THE RUST STORE**: the write's value, an address, a tier, a value's
|
|
158
|
+
class and a value's prototype link — the population `DD-34`'s refusal is about — **and there a `Proxy` is still
|
|
159
|
+
refused in the declared form with not one trap run.** **At a CARRIER gate it is not detected on that arm** — `cfg`
|
|
160
|
+
itself, `cfg.listeners`, `cfg.constraints` and the write's commit record are the package's own data and never
|
|
161
|
+
cross into the store, and the one platform signal that tells a `Proxy` from its target cannot tell it from a
|
|
162
|
+
carrier that carries a function, which the API's own keys require (`D-166` item 1; `D-167` items 1–2 and 5).
|
|
163
|
+
**What that costs you is bounded and it is stated**: a `cfg` handed as a `Proxy` on that arm is READ rather than
|
|
164
|
+
refused — its traps run for the reads a construction must make anyway, and a target missing a declared key is
|
|
165
|
+
refused for that reason. **On the Node arm both questions are `util.types.isProxy` and not a byte moves.**
|
|
166
|
+
|
|
167
|
+
**⟶ AND THE SEVENTH ENTRY'S HEADLINE IS TRUE OF VALUES AND OF ONE ARM'S DATA, 2026-11-17 — `D-167`, READ BESIDE
|
|
168
|
+
`D-166`, AND THIS CLAUSE IS WHERE THE DIFFERENCE IS SAID RATHER THAN LEFT TO THE ENTRY ABOVE** (`RCA-8(d)`
|
|
169
|
+
ANNOTATE-BESIDE: **the entry stands BYTE-FOR-BYTE as the reading of the date it was written and is read THROUGH this
|
|
170
|
+
clause**). **THE SENTENCES IT CARRIES ARE** *"A VALUE MUST BE CLONEABLE, AND A `Proxy` IS REFUSED WITHOUT A TRAP
|
|
171
|
+
RUNNING … on the WebAssembly arm the detector is `structuredClone`"*. **THE SPLIT IS THE WHOLE OF WHAT MOVED: the
|
|
172
|
+
probe answers the DATA question** — *"is this a `Proxy`"* for the population that enters the Rust store, which is
|
|
173
|
+
`DD-34`'s property and which this entry's sentence states exactly — **and the CARRIER question is answered without
|
|
174
|
+
it on that arm, where the answer is `false` and where the declaration is written at the predicate's own byte**
|
|
175
|
+
(`class-instrument.mjs`'s `isProxyOf` and `isProxyOfCarrier`; **on Node the two are the same instrument and not a
|
|
176
|
+
behaviour moves**). **So the entry's first clause is read as the VALUE clause it is**, and a consumer who took it for
|
|
177
|
+
a statement about `cfg` on the WebAssembly arm took it one gate wide — **which is the defect `D-166` measured when
|
|
178
|
+
every `saveCall` construction was refused as if `cfg` were a `Proxy`, and the arm could not construct the one store
|
|
179
|
+
it exists for.** **⟶ AND THE CLASS CLAUSE THAT STOOD HERE IS SUPERSEDED AT ITS OWN BYTE, 2026-11-17 — IT READ *"`D-158`'s `MINOR` at
|
|
180
|
+
`1.13.0` stands, no version cell moves, and a class claim is the architect's — none is made here"*.** **`D-158`'s
|
|
181
|
+
`MINOR` DOES NOT STAND ANY MORE: `D-190` SUPERSEDES IT WITH `MAJOR — bump to 2.0.0`**, and the reason is stated once, at
|
|
182
|
+
this section's head: `D-189` item 2 removes a published declaration member, which no `MINOR` absorbs. **THE SENTENCE IS
|
|
183
|
+
WITHDRAWN FOR ITS CLASS HALF AND STANDS FOR ITS OTHER HALF** — the four entries above and the clause they carry move the
|
|
184
|
+
class by nothing, and **they are the same landing this section always described**; what moved is the release's number.
|
|
185
|
+
**No class claim is invented here: the class is `D-190`'s and the version cells follow it**, and **whether a release has actually been made is still not this section's to write — it is `D-57`'s and `delivery`'s** (and **this sentence avoids the ratchet's own phrase deliberately**: `publish.sh --cut-claims` refuses the words the corpus uses for a cut claim wherever they stand, INCLUDING inside a negation, because a guard that read intent could be argued with and a substring cannot).
|
|
186
|
+
|
|
187
|
+
**WHAT DOES NOT MOVE, LISTED AND CLOSED:** the module namespace's one name (`storeCreate`) · the instance's own fifteen
|
|
188
|
+
members, name for name · the one `exports` arm and its three conditions · the `files` allowlist's five rows · the floor
|
|
189
|
+
`>=22.12.0` · the five native platform artefacts' shape, names and `os`/`cpu` pairs · `DD-24`'s refusal of a co-equal CJS
|
|
190
|
+
arm, whose PRICE was re-grounded (a second claimable realm no longer makes it wrong; two module systems inside ONE realm
|
|
191
|
+
still does) · `S-ONE-ADDON` and `P-SR-7`'s load-time-reach sentence, unchanged · the store's own statuses `1`…`22`,
|
|
192
|
+
in their order · **`RollbackCompacted`'s and `JournalOpUnknown`'s ranks, codes and generated messages, unmoved — what
|
|
193
|
+
moves is WHICH ACTS PRODUCE the first, not what it says** (`D-164` item 2; `D-165` item 3) · **and the `file`-tier
|
|
194
|
+
`saveCall` store's own shape: `exportImage`, `saveSucceeded` and `saveFailed` keep their arities and their answers.**
|
|
195
|
+
|
|
196
|
+
**AND THE PUBLISHED SET MOVES `6 → 7` MANIFESTS** — the main package, the five native platform artefacts, and the
|
|
197
|
+
WebAssembly artefact, which is produced by **a job BESIDE the prebuild matrix and never as a sixth row of it**. **The
|
|
198
|
+
main package is still published last**, of all seven.
|
|
199
|
+
|
|
200
|
+
**AND THIS SECTION DESCRIBES `2.0.0` AND CLAIMS NO TAG**: the cut-state is not a document's to state (`D-57`).
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
**⟶ AND THE ENTRIES FROM TWELVE TO SEVENTEEN BELOW ARE THE SAME RELEASE LINE, 2026-11-17.** **THE ARCHITECT RULED THE NUMBER AND THIS SECTION IS ITS ONE HEADING**:
|
|
206
|
+
*"Next release is 2.0.0"* — so **`P-3`'s change detection and `P-2`'s two repairs do not take a line of their own**, and every *"the number is the architect's"*
|
|
207
|
+
clause they carried is **answered here rather than left standing**. **The entries keep their own text and their own grounds and are renumbered into one list**; the
|
|
208
|
+
class is **one `MAJOR` with two `MAJOR` moves and one `MINOR`-class move riding it** — the member removal, the firing rule, and the creation's two repairs — which is
|
|
209
|
+
**`D-126` item 3's own arithmetic: a version is the maximum of the moves it carries.**
|
|
210
|
+
|
|
211
|
+
**THE RULING, VERBATIM** (`strata/decisions.md` · `D-193`): *"P-3 checks literal equivalence, not reference equality"*; and (`D-195`): *"Take the default on the blocker and proceed"*. **The class is this pass's reading of `D-190`'s precedent; the number is his.**
|
|
212
|
+
|
|
213
|
+
**WHAT A CONSUMER ON `2.0.0` MEETS, AT EACH ENTRY POINT:**
|
|
214
|
+
|
|
215
|
+
12. **`write` STOPS FIRING THE LISTENERS REGISTERED WHERE THE VALUE DID NOT MOVE.** A `write` that lands **the literal the address already stands at** answers the same record with **`triggered: []` and `watched: []`**, and no listener body runs — **at the act's address, and at every ANCESTOR of it**, because the ancestor's assembled value did not move either. **The test is on the literal and on nothing else:** `file V` then `mem V` **fires nothing** although `readTiered` moves from `file` to `mem`; a `mem V` then `file V` **fires nothing** although the `mem` version is destroyed; `-0` over `0` **fires nothing** although a reversal's judgement would call it moved. **`op` still records the landing, and a `file`-tier write still saves.**
|
|
216
|
+
13. **A CONSTRAINT PAIR AT THAT ADDRESS IS NO LONGER ASKED, AND THAT IS NOT A WEAKENING.** The pass evaluates the store's returned set; the set is now empty, so no pair is asked, nothing is repaired and nothing is refused — **on the same act, and on the same evidence `D-152` already used for the registration instants** (*"a registration that writes nothing fires nothing"*).
|
|
217
|
+
14. **`triggered: []` CANNOT TELL YOU *"no registration stood"* FROM *"nothing changed."*** **The member is present either way and its emptiness is the same emptiness** — `D-78`'s device does not reach this axis. **`op.before` beside `op.after` is a second reading and a partial one**: at an address that stood at two tiers `op.before.value` is the per-tier list, so the two disagree with the rule at exactly the address the rule's price lives at.
|
|
218
|
+
15. **THE GUIDE'S FIRING LIST, THE RE-ENTRANCY CLAUSE AND THE NATIVE CONTRACT ARE RE-SPELLED IN THIS RELEASE, IN PLACE.** `docs/guides/package-use.md §6`'s closed list gains the value condition; `docs/specs/storeroom-js/contract.md`'s *"a listener that writes at the address it was delivered for fires itself again … nothing detects it and nothing is meant to"* **becomes conditional on a value**; and `docs/specs/storeroom-native/contract.md`'s `P-TP-8` **(a)** and **(e)** gain it in one bounded amendment, with the failure list's *"a MISSING handle where a listener's address is a prefix of the write's"* re-cut with them — **because this release is the thing that now detects one form of that sentence.**
|
|
219
|
+
|
|
220
|
+
**⟶ AND THIS SAME SECTION CARRIES `P-2`'S TWO REPAIRS — 2026-11-17, `D-198`, THE ARCHITECT, VERBATIM: *"Take default and continue"*, AND `D-198` ITEM 4 PRINTS THE CLASS SEPARATELY FROM THIS SECTION'S.** **`P-2` IS NOT A THIRD BEHAVIOUR CHANGE BESIDE `P-3`'S; IT IS TWO DEFECTS REPAIRED IN WHAT `1.11.0` ALREADY SHIPPED** (`D-197` item 1: the creation's build → sweep → save → deliver order is the shipped one), **so a reader who takes this section as ONE landing is reading it right — the two repairs ride the same cut and each is a sentence a consumer can act on.**
|
|
221
|
+
|
|
222
|
+
16. **A REFUSED CONSTRUCTION NOW REMOVES THE FILE IT CREATED — ON EVERY ARM — AND NEVER TOUCHES A FILE THAT WAS THERE BEFORE YOUR CALL.** `D-198` item 1's rule is one: *"the file a construction CREATED is removed on EVERY refusal the construction reaches after the create, and ONLY that file"*, and its ground is `A55` read at *"what the construction CAUSES"* — the file's existence is caused by the call, the refusal is the call's answer, and no caller data is in it. **BEFORE THIS RELEASE THE TREE HELD THREE DISPOSITIONS FOR ONE STATE**: a construction refused **after a round had already run** (rank `20` `ConstraintPassRefused`, the cycle and the post-round inconsistency) **left the created file standing**; **every other refusing arm removed it**; and a **creation-fired listener body that threw** (rank `21` `ListenerBodyThrew`) **left it standing**. **THE LINE BETWEEN THE FIRST TWO WAS A STATUS COMPARISON INSIDE A REFUSAL CONVERSION — which is nobody's decision — so the rule is now stated once, at the frame that owns the file's whole lifetime.** **THE MIGRATION SENTENCE, SO YOU CAN TELL WHICH BEHAVIOUR YOUR VERSION HAS:** *"If you construct with a `filePath`, carry constraints, and the construction refuses, the file used to be left behind on some refusing arms and not others; it is now always removed — the file is the construction's own, and a file that was there before your call is never touched."* **WHAT DOES NOT MOVE: a passing registration's already-saved `file` landing stands** — no rollback composes at the delivery seat and a removal is not a save's undo — **and a file your own call did not create is never removed, on any arm**, which is the guard's `existed` bound and the half that protects your data (`CAW-3`).
|
|
223
|
+
17. **A LISTENER WHOSE WATCHED ADDRESS SITS BENEATH A SCALAR IS NOW SILENT AT THE CONSTRUCTION AND THE BOOT.** `D-198` item 2's sentence is *"`AddressNotFound` **and** `LeafHasNoDownstream` are absence; `ReadTargetIsBranch` and a value are presence"*. **BEFORE THIS RELEASE A CREATION FIRED A LISTENER AT AN ADDRESS THAT DOES NOT RESOLVE — `storeCreate` over an image standing `{"a": 5}` with an adopted listener at `["a","b"]` fired it once** — because the resolution test read the walk's `AddressNotFound` alone and treated a **leaf with segments remaining** (`LeafHasNoDownstream`: *"'b' cannot be walked through 'a', it is a leaf"*) as if it were a value. **SO THE FIX IS ONE TEST WIDENED TO THE WALK'S ABSENCE CLASSES AND NOTHING ELSE**: *"any other code means present"* was the defect and it is not the shape of the repair, and **an address whose walk answers a value, or `ReadTargetIsBranch` for a container, is still PRESENT and still fires.**
|
|
224
|
+
|
|
225
|
+
**AND THE CLASS OF EVERY MOVE IN THIS SECTION IS PRINTED HERE, BECAUSE THEY RIDE ONE LINE.** **THE ARCHITECT RULED THE NUMBER — *"Next release is 2.0.0"* — and `D-126` item 3's arithmetic decides the rest: **a version is the maximum of the moves it carries.** **THIS SECTION CARRIES TWO `MAJOR` MOVES AND ONE `MINOR`-CLASS ONE**: **the removal of a published declaration member** (`record.op.compacted`, entry 8's own section before the merge), **the firing rule's narrowing** (§`D-193`/`D-195`'s change detection, entries 12–15) — and **`P-2`'s content, which is `MINOR`**: it adds, removes and renames **no published member** (one side effect of a refusal and one resolution test, entries 16–17), **so it rides the same `2.0.0` and is printed as the smaller class rather than as a line of its own.** **No pass mints a number after this one** (`D-124` item 3's discipline).
|
|
226
|
+
|
|
227
|
+
**THE CELLS THAT CARRY THIS SECTION'S TWO REPAIRS, NAMED SO THE TURN IS AUDITABLE.** `CAW-1`…`CAW-8` (`tests/e2e/creation-as-write.test.mjs`, with `CAW-7`'s one instrument in `tests/e2e/creation-as-write-support.mjs`): `CAW-1` the rank-`20` arm leaves no file · `CAW-2` the rank-`21` arm leaves no file · `CAW-3` a pre-existing file's bytes unmoved at both · `CAW-4` a boot carrying no constraints still fires once · `CAW-5` the scalar above the watched address is silent · `CAW-6` a `mem` repair leaves the created file at `0` bytes · `CAW-7` a creation's attempts are unnameable · `CAW-8` the repair's empty set beside the creation's one delivery. **AND FOUR EXISTING CELLS ARE RE-DERIVED RATHER THAN WEAKENED**: `CSW-20`, `CSW-19` and `CSW-10` lose the standing-bytes limb — that limb was `PIN-12`'s first clause, re-spelt by `D-198` item 1 — and gain the pre-existing-file limb, and `FSC-ARM1-D`/`FSC-ARM1-ONCE` are re-derived the same way because their evidence for the carry's save was that same limb (`docs/L3/creation-as-write/design.md` §6's census names three and the measurement found five).
|
|
228
|
+
|
|
229
|
+
**AND WHAT DOES NOT MOVE, NAMED SO THE NARROWING IS NOT READ WIDER THAN IT IS.**
|
|
230
|
+
- **THE TOUCHED ARM IS NOT NARROWED.** A registration at a node a second identical STRUCTURED write creates or purges below it is still told, because those nodes *"exist after the write and did not before"* (`D-66`). **A re-write of the same object at `['a']` still fires a listener bound at `['a','b','c']`.**
|
|
231
|
+
- **THE `delete` IS UNMOVED.** Its receipt is computed on the same one predicate and answers the act's value position `true` — a delete that removes at least one version moved the value at its address — **and a delete that removed nothing still carries `triggered: []`** (`D-3`).
|
|
232
|
+
- **THE JOURNAL IS UNMOVED.** A no-change write **still mints its op**, `seq` still bumps, the compaction can still drop the oldest entry, **and `rollback(opId)` still resolves the id** (`P-TP-8` (g) holds *because* the op is minted).
|
|
233
|
+
- **THE `file` SAVE OF A NO-CHANGE `file` WRITE STILL RUNS** — the same bytes are rewritten and the file's mtime moves. **A durable act that moved no durable datum is the accepted cost of not re-deciding the save's eligibility in the same release.**
|
|
234
|
+
- **`log` KEEPS ITS ONE `commit` ENTRY** (`[]` is never that arm's answer), **`bodyFailures` and `returnedValues` are the one shared frozen `{}` present on both**, and **`discarded` is `[]` because no body ran and therefore no raise was born** — not because a raise was lost (`D-170`).
|
|
235
|
+
- **NO NAME IS MINTED, RENAMED OR REMOVED.** A `changed` flag on the record was priced and **declined** (`D-195` item 2's `O-4`), so `Object.keys` is still `["op","watched","triggered"]` and `Object.getOwnPropertyNames` still reads SEVEN.
|
|
236
|
+
|
|
237
|
+
**THE CELLS THAT CARRY THIS SECTION.** `CD-1`…`CD-16` (`tests/unit/store-core/change_detection.rs` and `tests/unit/js-constraints/change-detection.test.mjs`), **with `CD-2`, `CD-3` and `CD-9` asserting the ruling's two prices as DECLARED STATES** so a later pass cannot repair them as defects; and one existing drive is **re-derived, not weakened**: `tests/e2e/json-crossing.test.mjs`'s FRESHNESS limb gives its second write a different value, because its subject is the fresh array and not a firing count. **Two Rust drives are re-derived the same way and for the same reason** (`properties.rs`'s `P-TP-8` no-tier-test and kept cells, `watched_addresses.rs`'s `S-WATCH` `(iii)`), **each now varying the value its tiers carry so the tier-independence reading it exists for survives.**
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## §1.12.0 · a MINOR — the `require` route into the one claimed realm: a third condition on the one `exports` arm, naming the SAME `./index.mjs`, and a floor that moves `>=18.0.0` → `>=22.12.0` on all six manifests — one line, two moves
|
|
242
|
+
|
|
243
|
+
**THE VERSION IS `1.12.0` AND ITS CLASS IS A MINOR — `D-129` ITEM 5 (`Q-C1`), THE ARCHITECT'S RULING OF 2026-11-17 (`strata/decisions.md`, *"Take proposed on all"*), read beside `D-128` ITEM 1 (*"Proceed with arm 1"*) AND `D-127` (*"Bump the floor, there's no backwards compatibility concerns"*).** **`PUB-DD-9` IS THE AUTHORITY FOR THE CLASS AND THE CLASS IS ITS `MINOR` LIMB — *"a MINOR adds a member to the declared surface"*** (`docs/specs/storeroom-publish/contract.md`, the `PUB-DD-9` row, read at its two dated clauses) — **`PATCH` is FORECLOSED (`D-39`'s *"semver breach"*, and `D-126` item 3's *"carries a breaking input requirement on top"*) and `MAJOR` is FORECLOSED BY THAT ROW'S OWN TERMS**, so **one number, `1.12.0`**, and this section names it and not the cut-state (`D-57`).
|
|
244
|
+
|
|
245
|
+
**THE CHANGE IS ONE LINE — `exports["."]` GAINS `"require": "./index.mjs"` — AND IT IS THE THIRD CONDITION ON THE ONE ARM, AFTER `types` AND `import` (THE ORDER IS DECLARED RATHER THAN LEFT TO THE EDITOR) AND NAMING THE SAME ESM ENTRY THE `import` CONDITION NAMES.** **No `main`, no `default`, no `node`, no `.cjs` artefact, no wildcard, no second subpath, no second build: the package publishes no CJS ARM — nothing built for CJS is shipped — and it does publish the `require` ROUTE into its one claimed realm, served by NODE'S OWN `require(esm)` interop at or above the floor** (`docs/specs/storeroom-js/contract.md §0.2`'s 2026-11-17 foot clause, limbs 1–2; `§3.1`'s re-derivation — *"`require` IS A SUPPORTED ROUTE INTO THE CLAIMED REALM AND IS NOT A SECOND CLAIMED REALM"*; `§3.2`'s `HO-1` as re-derived, `D-129` item 3). **AND THE FLOOR MOVES WITH IT — `"engines": { "node": ">=22.12.0" }` on the main manifest AND on the five platform manifests (one declaration, one reader; `D-129` items 1–2) — because `require(esm)` is unflagged only from `Node 20.19.0` / `Node 22.12.0` (and on `23.x`+), so `">=22.12.0"` is the one single comparator set under which the declared route is true at EVERY admitted version** (`DD-38` as re-derived).
|
|
246
|
+
|
|
247
|
+
**WHAT A CONSUMER ON `1.11.0` MEETS, AT EACH ENTRY POINT:**
|
|
248
|
+
|
|
249
|
+
1. **`import` IS UNCHANGED.** Same module, same one name `storeCreate`, same `types` condition standing first, same declaration, same refusal set — no byte of the load path moves.
|
|
250
|
+
2. **`require('provident-storeroom')` NOW LOADS.** On `1.11.0` the map resolved no arm for that specifier and the loader answered `ERR_PACKAGE_PATH_NOT_EXPORTED`; from `1.12.0` the `require` condition resolves and the same `./index.mjs` loads through Node's own interop — **so a CommonJS host needs no interop of its own.**
|
|
251
|
+
3. **THE FLOOR MOVES `">=18.0.0"` → `">=22.12.0"`, AND THAT IS THE BREAKING HALF.** A host below the figure is no longer served: below the floor the failure is the LOADER's — the runtime refuses the module — and the package mints neither that error nor a fallback (`docs/specs/storeroom-js/contract.md §0.2`'s foot clause, limb 2). **The carrier's own Node-API requirement (version 6, `Node 12.17.0` / `10.20.0`) is far below that figure and does not contest it; the floor is the loader's** (`DD-29`; `DD-38` as re-derived).
|
|
252
|
+
4. **NO CJS BUILD APPEARS.** No `.cjs`, no `main`, no dual build and no dual-package hazard: **the one file is reached by two of Node's specifiers for it**, and a `require` of a directory or of the addon's path stays refused exactly as it was.
|
|
253
|
+
|
|
254
|
+
**WHAT DOES NOT MOVE, LISTED AND CLOSED:** the module namespace's one name (`storeCreate`) · the instance's own member set · every record, status and message · the `files` allowlist's seven rows, `index.mjs` among them · the type surface (`types` stands first and both routes reach the same `./index.d.ts`, so no CJS-typed leg is owed — `D-129` item 6) · the addon's internal reach, still not an entry point · every `HO-` row, with `HO-1` re-said as the supported route it now is.
|
|
255
|
+
|
|
256
|
+
**AND THIS SECTION DESCRIBES `1.12.0` AND CLAIMS NO TAG**: the cut-state is not a document's to state (`D-57`).
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
58
260
|
## §1.11.0 · a MINOR — the creation sweep: the `listener` a `cfg.listeners[]` entry must now carry, a fail set that ends at `22`, and a delivery at four registration instants — one line, three classes
|
|
59
261
|
|
|
60
262
|
**THE VERSION IS `1.11.0` AND ITS CLASS IS A MINOR — `D-126` ITEM 3, THE ARCHITECT'S RULING OF 2026-11-06 (`strata/decisions.md:6620`–`:6628`), VERBATIM: *"`MINOR` → 1.11.0, one line, three classes printed in the notes"*.** **`PUB-DD-9` IS THE AUTHORITY FOR THE CLASS, IN ITS OWN ROW'S WORDS** — *"a set change in the store's own membership is NOT by itself a package major"* (`docs/specs/storeroom-publish/contract.md:117`) — **so `D-124` item 3's `MAJOR` PRESUMPTION FOR THE SET'S HALF IS SUPERSEDED BY THAT ROW AND NOT BY ANY PASS'S READING OF IT; `1.10.1` is FORECLOSED at `D-126` item 3's own sentence** (`D-39`'s *"a semver breach"* on the last set-growth-under-a-patch, with a breaking input requirement riding on top); **and `2.0.0` is not taken.** **ONE NUMBER, AND THE THREE CLASSES STAND BESIDE IT UNFOLDED** — a version is the maximum of the moves it carries, and no unit of this project has been cut twice (`§1.7.0`'s four message changes as one `MINOR`; `§1.6.2`'s record member and seven behaviours as one `PATCH`). **NO VERSION CELL MOVES BY THIS SECTION**: the eleven cells and the three generated version lines are the CUT's (`D-124` item 3), and this section names the number and not the cut-state (`D-57`).
|