provident-storeroom 1.9.0 → 1.9.2
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 +72 -72
- package/README.md +19 -18
- package/RELEASE-NOTES.md +21 -1
- package/index.d.ts +109 -5
- package/index.mjs +41 -5
- package/package.json +6 -6
- package/src/entry/constraints.mjs +535 -49
- package/src/entry/delivery.mjs +55 -3
- package/src/entry/kernel-attempt.mjs +20 -2
- package/src/entry/kernel-foundations.mjs +34 -0
- package/src/entry/kernel-registration.mjs +221 -20
- package/src/entry/kernel-terminal.mjs +54 -25
- package/src/entry/state.mjs +15 -1
package/index.mjs
CHANGED
|
@@ -91,8 +91,8 @@ import { admittedConstraintBatch, constraintAddress, decodeBaseState, decodeJour
|
|
|
91
91
|
// which now name no address at all — `D-98` §3.4). The function keeps its home and its other readers in the
|
|
92
92
|
// entry's other parts.
|
|
93
93
|
import { FORGET_PAIR, INSTANCES, STORE_INDEX, STORE_RETIREMENT, TERMINAL_ARM, appendRepairLeg, carryRefusal, closeCommit, crossTriggered, currentWindow, entryOf, installAttemptSeam, isStoreReceiver, openCommit, writeRefusal } from './src/entry/state.mjs';
|
|
94
|
-
import { commitPositionRefusal, constraintOverwrittenByListen, deliver, installListenRoute, installRegistrationSeam, listenerStandingAt, listenOn, registerOn, terminalArm } from './src/entry/delivery.mjs';
|
|
95
|
-
import { ARGUMENT_POSITION_FIRST, addressSetKey, carryConstraint, constraintDetached, constraintPairKey, constraintRefuse, constraintSite, constraintUncarried, constraintDelete, constraintWrite, constraintsKernel, currentRaise, defineDiscardWitness, enumerateConstraints, judgeReversal, registrationCrossing, restoreHeldPair, reversalWatch, unionAddressSets, withEmptyLog, witnessDiscardedReversal, witnessRaise, withdrawStanding } from './src/entry/constraints.mjs';
|
|
94
|
+
import { commitPositionRefusal, constraintOverwrittenByListen, deliver, installListenRoute, installRegistrationSave, installRegistrationSeam, listenerStandingAt, listenOn, registerOn, terminalArm } from './src/entry/delivery.mjs';
|
|
95
|
+
import { ARGUMENT_POSITION_FIRST, addressSetKey, carryConstraint, constraintDetached, constraintPairKey, constraintRefuse, constraintSite, constraintUncarried, constraintDelete, constraintWrite, constraintsKernel, currentRaise, defineDiscardWitness, defineResolutionLog, enumerateConstraints, judgeReversal, registrationCrossing, restoreHeldPair, reversalWatch, unionAddressSets, withEmptyLog, witnessDiscardedReversal, witnessRaise, withdrawStanding } from './src/entry/constraints.mjs';
|
|
96
96
|
const require_ = createRequire(import.meta.url);
|
|
97
97
|
const ADDON_PATH = join(dirOf(fileURLToPath(import.meta.url)), 'build', 'Release', 'storeroom_js_binding.node');
|
|
98
98
|
|
|
@@ -698,7 +698,22 @@ export function storeCreate(cfg) {
|
|
|
698
698
|
// THE ENTRY IS INVOKED BY `Reflect.apply`, NOT BY A SPREAD — see `read`'s clause of 2026-10-24 above.
|
|
699
699
|
const answer = carryRefusal(() => Reflect.apply(entryOf().rollback, this, args), args);
|
|
700
700
|
// AND THE JUDGEMENT AFTER IT, keyed to the store's own echo of the id the reversal named.
|
|
701
|
-
|
|
701
|
+
// **⟶ AND IT IS HANDED THIS INSTANCE'S OWN STATE FROM 2026-11-02 — `D-117` ITEM 2's DELIVERY**, whose one
|
|
702
|
+
// recipient set is the caller's registry and whose receiver is this member's own: `deliver` is the
|
|
703
|
+
// `surface.md §2.4` loop, so it takes the state that holds both (`§2.7` (iii) (a)). **NOTHING ELSE IN THIS
|
|
704
|
+
// MEMBER MOVES** — not its record (`:702`–`:706`), not `carryRefusal`, not the witness — **and the
|
|
705
|
+
// position is a private frame's fourth, not a member, an arity or a declared surface.**
|
|
706
|
+
//
|
|
707
|
+
// **⟶ AND FROM 2026-11-02 IT ANSWERS THE JUDGEMENT'S OWN LIST — `D-119`.** `judgeReversal` answers the
|
|
708
|
+
// array its judgement appended to, frozen in place at that frame's end (`constraints.mjs`'s
|
|
709
|
+
// `defineResolutionLog` clause), **and that list is what this record carries at `record.log`, installed at
|
|
710
|
+
// the record's return below**: a reversal's judgement runs your pairs' repairs (`D-113` item 3) and
|
|
711
|
+
// delivers the listeners those repairs fire (`D-117` item 1), so the `repair-run` entry a repair left is
|
|
712
|
+
// the downstream edit this ruling exists to make readable. **EVERY ARM THAT ANSWERS `undefined` EARNS THE
|
|
713
|
+
// FROZEN EMPTY LIST** — the compensating composition, the deferred arm and the at-rest judgement over an
|
|
714
|
+
// empty watch own no list of their own — and `[]` means *this act appended nothing it can report*
|
|
715
|
+
// (`resolution-log.md` §3.3, §4.3).
|
|
716
|
+
const judgedLog = judgeReversal(instance, watched, answer.opId, state);
|
|
702
717
|
const record = {
|
|
703
718
|
opId: answer.opId,
|
|
704
719
|
undoneOps: answer.undoneOps,
|
|
@@ -719,7 +734,14 @@ export function storeCreate(cfg) {
|
|
|
719
734
|
// **AND THE RECORD'S THREE DECLARED MEMBERS ARE UNMOVED**: `discarded` is a NON-ENUMERABLE own accessor
|
|
720
735
|
// (`index.d.ts`'s `RollbackRecord` clause; `defineDiscardWitness`), so `Object.keys`, every deep-equality
|
|
721
736
|
// over the record and every census of its members read the three they read before.
|
|
722
|
-
|
|
737
|
+
//
|
|
738
|
+
// **⟶ AND `record.log` IS THE JUDGEMENT'S LIST, INSTALLED THE SAME WAY AND BESIDE IT — `D-119`.** The same
|
|
739
|
+
// device, the same name the failure form uses, `enumerable: false`, `configurable: true`, and **the read
|
|
740
|
+
// answers one captured reference** — the array the judgement's frame froze — where `discarded` beside it
|
|
741
|
+
// is a live read by necessity (§5.4's own note: the two members share a SHAPE and not a REASON). **THE
|
|
742
|
+
// FROZEN EMPTY LIST IS THE ANSWER ON EVERY ARM THE JUDGEMENT DID NOT JUDGE**, and the member is present on
|
|
743
|
+
// every passing answer, `[]` included.
|
|
744
|
+
return defineResolutionLog(defineDiscardWitness(record, () => witnessRaise(raise)), judgedLog);
|
|
723
745
|
},
|
|
724
746
|
/// **⟶ `listen(handle, addresses) -> undefined` — arity `2`, position `1` a caller-spelled string and
|
|
725
747
|
/// position `2` a SET of addresses** (`contract.md §2.2`; `listen-verb.md §1` item 1; `PAR-HL-1`,
|
|
@@ -1570,9 +1592,23 @@ export function storeCreate(cfg) {
|
|
|
1570
1592
|
// **IT CHANGES NO ORDER OF ACTS**: the batch still arms `cfg.constraints` first and `cfg.listeners` are still
|
|
1571
1593
|
// applied afterwards through `listen` (`C-15`, unmoved), because installing a channel is not an act. **AND THE
|
|
1572
1594
|
// CHANNEL ADDS NO MEMBER** — `Symbol.for`-keyed and `enumerable: false`, so the product's declared FOURTEEN own
|
|
1573
|
-
// members are unmoved (`A117` (D6)), exactly as the
|
|
1595
|
+
// members are unmoved (`A117` (D6)), exactly as the channels beside it.
|
|
1574
1596
|
// ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
|
1575
1597
|
installListenRoute(instance, state);
|
|
1598
|
+
// ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
|
1599
|
+
// **⟶ AND THE REGISTRATION'S OWN SAVE CHANNEL, INSTALLED HERE FOR THE SAME MEASURED REASON — `D-106` ARM 1,
|
|
1600
|
+
// 2026-11-02.** **THE REGISTRATION'S CLOSE OWES A SAVE THE TERMINAL ARM NEVER PERFORMS**, and this is the
|
|
1601
|
+
// channel it names the last `file`-tier op its route landed to (`delivery.mjs`'s `installRegistrationSave`,
|
|
1602
|
+
// whose body is the SAME `commitFile` frame the terminal arm calls — one save path, two callers).
|
|
1603
|
+
//
|
|
1604
|
+
// **THE INSTALL SITE IS THIS NEIGHBOURHOOD AND NOT `:1709`/`:1715`'S, AND THE REASON IS THE SAME BYTE THE CLAUSE
|
|
1605
|
+
// ABOVE PRINTS**: the construction's batch arming walk below reaches `K-1` BEFORE either of those two seams
|
|
1606
|
+
// runs, so a save channel installed there would leave a `storeCreate` carrying `cfg.constraints` — and a boot
|
|
1607
|
+
// carrying them — with no route to the save at all. **IT CHANGES NO ORDER OF ACTS AND ADDS NO MEMBER**:
|
|
1608
|
+
// `Symbol.for`-keyed and `enumerable: false`, so the product's declared FOURTEEN own members are unmoved
|
|
1609
|
+
// (`A117` (D6)).
|
|
1610
|
+
// ═════════════════════════════════════════════════════════════════════════════════════════════════════
|
|
1611
|
+
installRegistrationSave(instance, state);
|
|
1576
1612
|
// **⟶ `docs/specs/storeroom-js/surface.md §2.12` ITEM 1 CLAUSE (b): `storeCreate` REGISTERS EACH OF `cfg.constraints`' ELEMENTS THAT CARRIES
|
|
1577
1613
|
// ITS OWN FUNCTION AT `K-1`, AT THE INSTANCE IT IS CONSTRUCTING** — the SAME call the ADD route makes, so
|
|
1578
1614
|
// a batch-populated pair is a pair the entry carries on the same footing (`docs/specs/storeroom-js/surface.md §2.12` item 3's preamble clause
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "provident-storeroom",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.2",
|
|
4
4
|
"description": "U-STOREROOM-PUBLISH: the published Node ESM binding for the native Rust store of Provident-Storeroom — the entry resolves the scoped per-target platform package first, the checkout's own module-relative addon second, and answers the store's single declared absent-addon form when neither loads",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"src/constraint-kernel.mjs"
|
|
42
42
|
],
|
|
43
43
|
"optionalDependencies": {
|
|
44
|
-
"@auspicion/provident-storeroom-js-linux-x64-gnu": "1.9.
|
|
45
|
-
"@auspicion/provident-storeroom-js-linux-arm64-gnu": "1.9.
|
|
46
|
-
"@auspicion/provident-storeroom-js-darwin-x64": "1.9.
|
|
47
|
-
"@auspicion/provident-storeroom-js-darwin-arm64": "1.9.
|
|
48
|
-
"@auspicion/provident-storeroom-js-win32-x64-msvc": "1.9.
|
|
44
|
+
"@auspicion/provident-storeroom-js-linux-x64-gnu": "1.9.2",
|
|
45
|
+
"@auspicion/provident-storeroom-js-linux-arm64-gnu": "1.9.2",
|
|
46
|
+
"@auspicion/provident-storeroom-js-darwin-x64": "1.9.2",
|
|
47
|
+
"@auspicion/provident-storeroom-js-darwin-arm64": "1.9.2",
|
|
48
|
+
"@auspicion/provident-storeroom-js-win32-x64-msvc": "1.9.2"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|