@sensigo/realm-testing 0.33.0 → 0.34.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/dist/index.d.ts
CHANGED
|
@@ -21,5 +21,5 @@ export { runFixtureTests } from './runner/test-runner.js';
|
|
|
21
21
|
export type { TestResult, RunFixtureTestsOptions } from './runner/test-runner.js';
|
|
22
22
|
export { startGitHubMockServer } from './servers/github-mock-server.js';
|
|
23
23
|
export type { GitHubMockServerHandle } from './servers/github-mock-server.js';
|
|
24
|
-
export declare const VERSION = "0.
|
|
24
|
+
export declare const VERSION = "0.34.0";
|
|
25
25
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -21,5 +21,5 @@ export { testAdapter } from './helpers/test-adapter.js';
|
|
|
21
21
|
export { runFixtureTests } from './runner/test-runner.js';
|
|
22
22
|
// Servers
|
|
23
23
|
export { startGitHubMockServer } from './servers/github-mock-server.js';
|
|
24
|
-
export const VERSION = '0.
|
|
24
|
+
export const VERSION = '0.34.0';
|
|
25
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -6,6 +6,45 @@ export type SettlementLaw = 'FRESH_APPLICATION' | 'CONDITIONAL_NOOP' | 'CONDITIO
|
|
|
6
6
|
* directly" invariant, quantified): after EVERY store mutation op, persisted `run_phase ≡
|
|
7
7
|
* deriveRunPhase(record)`. */
|
|
8
8
|
| 'PHASE_IS_GENERATED'
|
|
9
|
+
/** Mixed-complete (a `complete` seal with `failed_steps ≠ ∅`) mints the declared
|
|
10
|
+
* `completed_with_failed_steps` finalizer, discriminated per-arm — VIA `settle_step`, VIA
|
|
11
|
+
* `settle_gate` resolution, and VIA `settle_guard` pass all independently reach `mintFresh`'s
|
|
12
|
+
* one chokepoint (design record S3). */
|
|
13
|
+
| 'CWFS_FIRES_PER_ARM'
|
|
14
|
+
/** The new trigger never over-fires: a CLEAN complete (no `failed_steps`) does not select it;
|
|
15
|
+
* a PURE fail seal (never reaches `complete`) does not select it either. */
|
|
16
|
+
| 'CWFS_NEGATIVES'
|
|
17
|
+
/** Uniform-predicate pin (design record M1): a second-epoch complete seal whose ONLY
|
|
18
|
+
* `failed_steps` scar is a PRIOR epoch's finalizer self-failure (unresumable, so it never
|
|
19
|
+
* leaves `failed_steps`) still fires — no exclusion of finalizer-declared step names. */
|
|
20
|
+
| 'CWFS_SECOND_EPOCH'
|
|
21
|
+
/** A finalizer never fires twice for one seal: the array form
|
|
22
|
+
* (`on_outcome: [complete, completed_with_failed_steps]`) fires EXACTLY once on mixed-complete
|
|
23
|
+
* (Group A, single push despite a multi-element intersection); `always` fires EXACTLY once on
|
|
24
|
+
* mixed-complete too (Group B, once — never double-counted alongside a Group A hit). */
|
|
25
|
+
| 'CWFS_ARRAY_ONCE'
|
|
26
|
+
/** The REJECTED design alternative (D-C: auto-firing `fail` on mixed-complete) never happens,
|
|
27
|
+
* pinned both ways: clean-complete × a `fail`-only finalizer ⇒ not selected (unsurprising);
|
|
28
|
+
* mixed-complete × a `fail`-only finalizer ⇒ ALSO not selected (`fail`-only genuinely requires
|
|
29
|
+
* a `fail` seal — a `complete` seal carrying `failed_steps` is not a backdoor into it). */
|
|
30
|
+
| 'CURRENT_BEHAVIOR_PINNED'
|
|
31
|
+
/** The full `applyExpireGate` arm matrix: not_expired (arm-verified, never the caller-implied
|
|
32
|
+
* clock), replay ×2 idempotence (both dispositions), a DIFFERENT terminal cause refuses
|
|
33
|
+
* run_terminal (never resurrecting/re-terminalizing), an unknown/superseded gateId refuses
|
|
34
|
+
* gate_mismatch, finding-only (expires_at present, on_expiry absent) refuses no_disposition
|
|
35
|
+
* arm-level before APPLY. */
|
|
36
|
+
| 'EXPIRE_ARM_MATRIX'
|
|
37
|
+
/** The abort disposition's full postcondition shape: pending_gate + claim cleared, aborted_at +
|
|
38
|
+
* skip_details `{kind:'gate_expired', gate_id}` (day-one) + finalizers minted in ONE write;
|
|
39
|
+
* the D-4 discriminator (never mistaken for `gate_cancelled_by_abort`); never stamps
|
|
40
|
+
* `defaulted_steps` on the abort edge (the FM-5/#232 guard). */
|
|
41
|
+
| 'EXPIRE_ABORT_CASCADE'
|
|
42
|
+
/** The settle_default disposition's full postcondition shape: `resolved_by:'timeout'`
|
|
43
|
+
* attribution + both isComplete legs (terminalizing/non-terminalizing); FROZEN-BEATS-
|
|
44
|
+
* DEFINITION (enactment reads the RECORD-frozen `default_choice`, never a re-registered
|
|
45
|
+
* definition's drifted value); the evidence `gate_response` snapshot's `responded_by`/
|
|
46
|
+
* `resolution` fields. */
|
|
47
|
+
| 'EXPIRE_DEFAULT_RESOLVE'
|
|
9
48
|
/** Not a real settlement law — a wiring-gap sentinel (see `settlementContract`'s own doc: a
|
|
10
49
|
* store declaring `settleStep` with no `settlementFixture` supplied gets ONE failing case
|
|
11
50
|
* tagged with this, never a silent zero-cases pass). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settlement-contract.d.ts","sourceRoot":"","sources":["../../src/store/settlement-contract.ts"],"names":[],"mappings":"AAoBA,OAAO,EAGL,KAAK,QAAQ,EAEb,KAAK,kBAAkB,EACvB,KAAK,cAAc,EAKpB,MAAM,gBAAgB,CAAC;AAExB;2EAC2E;AAC3E,MAAM,MAAM,aAAa,GACrB,mBAAmB,GACnB,kBAAkB,GAClB,gCAAgC,GAChC,mBAAmB,GACnB,uBAAuB,GACvB,kBAAkB,GAClB,kBAAkB,GAClB,qBAAqB,GACrB,WAAW,GACX,iBAAiB,GACjB,0BAA0B,GAC1B,0BAA0B,GAC1B,oBAAoB,GACpB,mBAAmB,GACnB,iBAAiB,GACjB,eAAe,GACf,YAAY,GACZ,wBAAwB,GACxB,yBAAyB,GACzB,qBAAqB,GACrB,6BAA6B,GAC7B,qBAAqB,GAGrB,sBAAsB,GACtB,0BAA0B,GAC1B,eAAe,GACf,0BAA0B,GAC1B,0BAA0B,GAC1B,6BAA6B,GAC7B,qBAAqB,GACrB,gBAAgB,GAChB,oBAAoB;AACtB;;+BAE+B;GAC7B,oBAAoB;AACtB;;yDAEyD;GACvD,gBAAgB,CAAC;AAErB;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACrC,GAAG,EAAE,aAAa,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC1B;AAED;;;;;;GAMG;AACH,MAAM,WAAW,iBAAiB;IAChC,2FAA2F;IAC3F,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,kBAAkB,CAAC;IAC3D,sFAAsF;IACtF,aAAa,CACX,GAAG,EAAE,kBAAkB,EACvB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,WAAW,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,GACnD,kBAAkB,CAAC;IACtB;;;;;;;OAOG;IACH,SAAS,CAAC,CACR,GAAG,EAAE,kBAAkB,EACvB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,EAC9B,IAAI,CAAC,EAAE;QAAE,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,GAC/B,kBAAkB,CAAC;CACvB;AAED,oGAAoG;AACpG,MAAM,WAAW,yBAAyB;IACxC;;sEAEkE;IAClE,KAAK,EAAE,QAAQ,CAAC;IAChB,oFAAoF;IACpF,SAAS,EAAE,MAAM,CAAC;IAClB;;;;;;;OAOG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AA+DD;;;uEAGuE;AACvE,eAAO,MAAM,wBAAwB,EAAE,iBAItC,CAAC;
|
|
1
|
+
{"version":3,"file":"settlement-contract.d.ts","sourceRoot":"","sources":["../../src/store/settlement-contract.ts"],"names":[],"mappings":"AAoBA,OAAO,EAGL,KAAK,QAAQ,EAEb,KAAK,kBAAkB,EACvB,KAAK,cAAc,EAKpB,MAAM,gBAAgB,CAAC;AAExB;2EAC2E;AAC3E,MAAM,MAAM,aAAa,GACrB,mBAAmB,GAC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