@lapxo/bound 0.2.0 → 0.2.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/README.md +40 -121
- package/TARGET.bound +51 -23
- package/dist/cli/standing-result.js +4 -3
- package/dist/cli/verb.js +36 -3
- package/dist/engine/encoding.js +2 -0
- package/dist/engine/index.d.ts +2 -0
- package/dist/engine/index.js +2 -0
- package/dist/engine/ports.d.ts +32 -0
- package/dist/engine/ports.js +103 -0
- package/dist/host/admitted-place.js +6 -0
- package/dist/host/contextual-place.js +2 -2
- package/dist/host/io.js +2 -2
- package/dist/host/reference-authenticated.d.ts +12 -0
- package/dist/host/reference-authenticated.js +47 -31
- package/dist/host/reference-contracts.js +6 -0
- package/dist/host/reference-export.d.ts +33 -0
- package/dist/host/reference-export.js +81 -0
- package/dist/host/reference-native-api.d.ts +3 -0
- package/dist/host/reference-native-api.js +3 -0
- package/dist/host/reference-native.d.ts +21 -1
- package/dist/host/reference-native.js +34 -10
- package/dist/host/reference-profile.js +2 -1
- package/dist/host/reference-standing.js +18 -0
- package/dist/host/refusals.d.ts +14 -0
- package/dist/host/refusals.js +43 -0
- package/dist/host/signing.js +7 -1
- package/dist/observe/files.js +11 -1
- package/dist/wasm/object.js +2 -2
- package/docs/contracts/authenticated-reference.publication.json +2 -2
- package/docs/contracts/host-ports.md +23 -0
- package/docs/contracts/host-ports.publication.json +25 -0
- package/docs/contracts/native-publication.inventory.json +7 -1
- package/docs/contracts/optional-wasm-adapter.publication.json +1 -1
- package/docs/contracts/readme.publication.json +25 -0
- package/docs/contracts/reference-backend.md +24 -0
- package/docs/contracts/reference-backend.publication.json +25 -0
- package/docs/contracts/reference-export.md +31 -0
- package/docs/contracts/reference-export.publication.json +25 -0
- package/docs/contracts/reference-port.md +8 -1
- package/docs/contracts/reference-port.publication.json +1 -1
- package/docs/contracts/refusals.bound +94 -0
- package/docs/contracts/refusals.md +47 -0
- package/docs/contracts/refusals.publication.json +25 -0
- package/docs/contracts/standing.bound +9 -0
- package/docs/contracts/standing.md +24 -0
- package/docs/contracts/standing.publication.json +25 -0
- package/package.json +49 -4
- package/receipts.bound +9550 -7668
- package/samples/authenticated-reference/compatibility.json +306 -0
- package/samples/authenticated-reference/yes.json +2 -2
- package/samples/host-ports/no.json +16 -0
- package/samples/host-ports/yes.json +9 -0
- package/samples/readme/no.json +1 -0
- package/samples/readme/yes.json +1 -0
- package/samples/reference-backend/no.json +1 -0
- package/samples/reference-backend/world-fixture.json +8 -0
- package/samples/reference-backend/yes.json +1 -0
- package/samples/reference-export/no.json +5 -0
- package/samples/reference-export/yes.json +15 -0
- package/samples/reference-port/no/catalog/TARGET.bound +33 -0
- package/samples/reference-port/no/route-notes/TARGET.bound +33 -0
- package/samples/refusals/no.json +4 -0
- package/samples/refusals/yes.json +9 -0
- package/samples/standing/no.json +4 -0
- package/samples/standing/yes.json +21 -0
- package/vectors/native/authenticated-reference-formation.vector.json +55 -1
- package/vectors/native/authenticated-reference.vector.json +32 -396
- package/vectors/native/host-ports.vector.json +107 -0
- package/vectors/native/readme.vector.json +76 -0
- package/vectors/native/reference-backend.vector.json +84 -0
- package/vectors/native/reference-export.vector.json +78 -0
- package/vectors/native/refusals.vector.json +95 -0
- package/vectors/native/standing.vector.json +116 -0
- package/vectors/wasm-object.cli.json +16 -61
- package/dist/cli/accept.d.ts +0 -28
- package/dist/cli/act-result.d.ts +0 -12
- package/dist/cli/args.d.ts +0 -11
- package/dist/cli/custodian.d.ts +0 -1
- package/dist/cli/host.d.ts +0 -1
- package/dist/cli/names.d.ts +0 -25
- package/dist/cli/native-descendant.d.ts +0 -1
- package/dist/cli/native.d.ts +0 -1
- package/dist/cli/observe.d.ts +0 -1
- package/dist/cli/owner.d.ts +0 -37
- package/dist/cli/pass.d.ts +0 -6
- package/dist/cli/place.d.ts +0 -76
- package/dist/cli/release-result.d.ts +0 -5
- package/dist/cli/standing-result.d.ts +0 -5
- package/dist/cli/takes.d.ts +0 -30
- package/dist/fold/admission-history.d.ts +0 -6
- package/dist/fold/ceilings.d.ts +0 -24
- package/dist/fold/claims.d.ts +0 -29
- package/dist/fold/closed.d.ts +0 -15
- package/dist/fold/configures.d.ts +0 -4
- package/dist/fold/digests.d.ts +0 -29
- package/dist/fold/evidence.d.ts +0 -32
- package/dist/fold/fold-worker.d.ts +0 -1
- package/dist/fold/kept.d.ts +0 -29
- package/dist/fold/keys.d.ts +0 -17
- package/dist/fold/laid.d.ts +0 -17
- package/dist/fold/nos.d.ts +0 -8
- package/dist/fold/object.d.ts +0 -3
- package/dist/fold/observed.d.ts +0 -35
- package/dist/fold/opened.d.ts +0 -5
- package/dist/fold/own.d.ts +0 -24
- package/dist/fold/paid.d.ts +0 -11
- package/dist/fold/place-inputs.d.ts +0 -17
- package/dist/fold/places.d.ts +0 -24
- package/dist/fold/rank.d.ts +0 -3
- package/dist/fold/reach.d.ts +0 -18
- package/dist/fold/readers.d.ts +0 -47
- package/dist/fold/receipts.d.ts +0 -8
- package/dist/fold/region-declarations.d.ts +0 -2
- package/dist/fold/region.d.ts +0 -72
- package/dist/fold/release-policy.d.ts +0 -67
- package/dist/fold/resolved.d.ts +0 -18
- package/dist/fold/roles.d.ts +0 -17
- package/dist/fold/second.d.ts +0 -18
- package/dist/fold/shards.d.ts +0 -29
- package/dist/fold/signed.d.ts +0 -23
- package/dist/fold/signers.d.ts +0 -24
- package/dist/fold/stranger.d.ts +0 -3
- package/dist/fold/views.d.ts +0 -27
- package/dist/fold/wire.d.ts +0 -19
- package/dist/fold/zoom.d.ts +0 -16
- package/dist/host/act-cost.d.ts +0 -13
- package/dist/host/adapters/keys/ed25519.d.ts +0 -7
- package/dist/host/adapters/modules/javascript.d.ts +0 -3
- package/dist/host/adapters/transport/http.d.ts +0 -5
- package/dist/host/admitted-place.d.ts +0 -5
- package/dist/host/archive.d.ts +0 -11
- package/dist/host/capsule-process.d.ts +0 -21
- package/dist/host/capsule.d.ts +0 -19
- package/dist/host/cell-receipts.d.ts +0 -2
- package/dist/host/content-needed.d.ts +0 -5
- package/dist/host/content-store.d.ts +0 -8
- package/dist/host/contextual-place.d.ts +0 -59
- package/dist/host/digest.d.ts +0 -3
- package/dist/host/hash.d.ts +0 -9
- package/dist/host/io.d.ts +0 -11
- package/dist/host/lifetime.d.ts +0 -1
- package/dist/host/located.d.ts +0 -4
- package/dist/host/native/bounded-file.d.ts +0 -8
- package/dist/host/native/command.d.ts +0 -36
- package/dist/host/native/control-bridge-worker.d.ts +0 -1
- package/dist/host/native/control-bridge.d.ts +0 -30
- package/dist/host/native/control-selection.d.ts +0 -29
- package/dist/host/native/custody.d.ts +0 -5
- package/dist/host/native/deadline.d.ts +0 -12
- package/dist/host/native/descendants.d.ts +0 -1
- package/dist/host/native/generated-custodian.d.ts +0 -122
- package/dist/host/native/generated.d.ts +0 -217
- package/dist/host/native/image.d.ts +0 -36
- package/dist/host/native/jobs.d.ts +0 -75
- package/dist/host/native/loader.d.ts +0 -80
- package/dist/host/native/materialize.d.ts +0 -22
- package/dist/host/native/module-closure.d.ts +0 -27
- package/dist/host/native/module-syntax.d.ts +0 -8
- package/dist/host/native/native-binary.d.ts +0 -54
- package/dist/host/native/native-program.d.ts +0 -56
- package/dist/host/native/node-jobs.d.ts +0 -84
- package/dist/host/native/node-launch.d.ts +0 -72
- package/dist/host/native/preload.d.ts +0 -1
- package/dist/host/native/reading.d.ts +0 -91
- package/dist/host/native/receipt-environment.d.ts +0 -3
- package/dist/host/native/references.d.ts +0 -5
- package/dist/host/native/root.d.ts +0 -17
- package/dist/host/native/route.d.ts +0 -66
- package/dist/host/native/runtime.d.ts +0 -4
- package/dist/host/native-reader-context.d.ts +0 -3
- package/dist/host/objects.d.ts +0 -6
- package/dist/host/place-clock-selection.d.ts +0 -55
- package/dist/host/ports/ingress.d.ts +0 -24
- package/dist/host/ports/local-act.d.ts +0 -44
- package/dist/host/ports/place-act.d.ts +0 -46
- package/dist/host/ports/publication.d.ts +0 -10
- package/dist/host/ports/signing.d.ts +0 -31
- package/dist/host/ports/store.d.ts +0 -2
- package/dist/host/ports/transport.d.ts +0 -1
- package/dist/host/process-lifetime.d.ts +0 -11
- package/dist/host/provide.d.ts +0 -48
- package/dist/host/read-only.d.ts +0 -3
- package/dist/host/reading-closures.d.ts +0 -47
- package/dist/host/reading-context.d.ts +0 -29
- package/dist/host/reference.d.ts +0 -6
- package/dist/host/release.d.ts +0 -14
- package/dist/host/root-clock-source.d.ts +0 -85
- package/dist/host/selected-capsules.d.ts +0 -8
- package/dist/host/selected-topos.d.ts +0 -24
- package/dist/host/signing.d.ts +0 -3
- package/dist/host/source-content.d.ts +0 -12
- package/dist/host/timing.d.ts +0 -2
- package/dist/host/walk.d.ts +0 -6
- package/dist/judge/late.d.ts +0 -7
- package/dist/judge/take.d.ts +0 -59
- package/dist/judge/widening.d.ts +0 -1
- package/dist/land/act.d.ts +0 -30
- package/dist/land/alias.d.ts +0 -10
- package/dist/land/held.d.ts +0 -7
- package/dist/land/inert.d.ts +0 -26
- package/dist/land/leaving.d.ts +0 -14
- package/dist/land/ledger.d.ts +0 -33
- package/dist/land/owned.d.ts +0 -23
- package/dist/land/sign.d.ts +0 -15
- package/dist/land/standing-pin.d.ts +0 -3
- package/dist/land/vouched.d.ts +0 -21
- package/dist/land/withdraw.d.ts +0 -14
- package/dist/observe/files.d.ts +0 -14
- package/dist/observe/identity.d.ts +0 -21
- package/dist/observe/match.d.ts +0 -1
- package/dist/observe/regions.d.ts +0 -33
- package/dist/observe/run.d.ts +0 -31
- package/dist/observe/runner.d.ts +0 -20
- package/dist/render/capsule.d.ts +0 -24
- package/dist/render/field.d.ts +0 -3
- package/dist/render/names.d.ts +0 -3
- package/dist/render/open.d.ts +0 -27
- package/dist/render/page.d.ts +0 -3
- package/dist/render/receipts.d.ts +0 -3
- package/dist/render/shape.d.ts +0 -16
- package/dist/render/target.d.ts +0 -18
- package/dist/render/view.d.ts +0 -22
- package/dist/wasm/node-worker.d.ts +0 -1
- package/dist/wasm/object.d.ts +0 -8
- package/dist/wasm/worker.d.ts +0 -1
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scope": "conformance/reference-backend",
|
|
3
|
+
"measure": "count",
|
|
4
|
+
"result": "failures",
|
|
5
|
+
"execution": "independent",
|
|
6
|
+
"cases": [
|
|
7
|
+
{
|
|
8
|
+
"name": "authenticated-wasm-water-level-reference",
|
|
9
|
+
"program": "runtime",
|
|
10
|
+
"args": [
|
|
11
|
+
"--experimental-strip-types",
|
|
12
|
+
"--test",
|
|
13
|
+
"--test-name-pattern",
|
|
14
|
+
"complete authenticated WASM opening water-level-reference",
|
|
15
|
+
"test/reference-backend.test.ts"
|
|
16
|
+
],
|
|
17
|
+
"cwd": ".",
|
|
18
|
+
"inputs": [
|
|
19
|
+
"test/reference-backend.test.ts",
|
|
20
|
+
"test/support/reference-root.ts",
|
|
21
|
+
"test/support/reference-world.ts",
|
|
22
|
+
"test/support/acting-root.ts",
|
|
23
|
+
"samples/reference-export/yes.json",
|
|
24
|
+
"samples/reference-export/no.json",
|
|
25
|
+
"samples/reference-backend/world-fixture.json",
|
|
26
|
+
"samples/reference-backend/yes.json",
|
|
27
|
+
"samples/reference-backend/no.json",
|
|
28
|
+
"docs/contracts/refusals.bound",
|
|
29
|
+
"docs/contracts/standing.bound",
|
|
30
|
+
"assets/wasm/manifest.json",
|
|
31
|
+
"assets/wasm/guest.js",
|
|
32
|
+
"assets/wasm/runtime.js",
|
|
33
|
+
"assets/wasm/runtime.wasm"
|
|
34
|
+
],
|
|
35
|
+
"timeoutMs": 15000,
|
|
36
|
+
"maxBytes": 262144,
|
|
37
|
+
"exit": 0,
|
|
38
|
+
"matches": [
|
|
39
|
+
{
|
|
40
|
+
"stream": "stdout",
|
|
41
|
+
"pattern": "WASM water-level-reference · authenticated download · same standing · same records · byte-equal ESM projection · altered carrier refused · no commit"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "authenticated-wasm-editorial-reference",
|
|
47
|
+
"program": "runtime",
|
|
48
|
+
"args": [
|
|
49
|
+
"--experimental-strip-types",
|
|
50
|
+
"--test",
|
|
51
|
+
"--test-name-pattern",
|
|
52
|
+
"complete authenticated WASM opening editorial-reference",
|
|
53
|
+
"test/reference-backend.test.ts"
|
|
54
|
+
],
|
|
55
|
+
"cwd": ".",
|
|
56
|
+
"inputs": [
|
|
57
|
+
"test/reference-backend.test.ts",
|
|
58
|
+
"test/support/reference-root.ts",
|
|
59
|
+
"test/support/reference-world.ts",
|
|
60
|
+
"test/support/acting-root.ts",
|
|
61
|
+
"samples/reference-export/yes.json",
|
|
62
|
+
"samples/reference-export/no.json",
|
|
63
|
+
"samples/reference-backend/world-fixture.json",
|
|
64
|
+
"samples/reference-backend/yes.json",
|
|
65
|
+
"samples/reference-backend/no.json",
|
|
66
|
+
"docs/contracts/refusals.bound",
|
|
67
|
+
"docs/contracts/standing.bound",
|
|
68
|
+
"assets/wasm/manifest.json",
|
|
69
|
+
"assets/wasm/guest.js",
|
|
70
|
+
"assets/wasm/runtime.js",
|
|
71
|
+
"assets/wasm/runtime.wasm"
|
|
72
|
+
],
|
|
73
|
+
"timeoutMs": 15000,
|
|
74
|
+
"maxBytes": 262144,
|
|
75
|
+
"exit": 0,
|
|
76
|
+
"matches": [
|
|
77
|
+
{
|
|
78
|
+
"stream": "stdout",
|
|
79
|
+
"pattern": "WASM editorial-reference · authenticated download · same standing · same records · byte-equal ESM projection · altered carrier refused · no commit"
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scope": "conformance/reference-export-native",
|
|
3
|
+
"measure": "count",
|
|
4
|
+
"result": "failures",
|
|
5
|
+
"execution": "independent",
|
|
6
|
+
"cases": [
|
|
7
|
+
{
|
|
8
|
+
"name": "native-export-native-reference-export",
|
|
9
|
+
"program": "runtime",
|
|
10
|
+
"args": [
|
|
11
|
+
"--experimental-strip-types",
|
|
12
|
+
"--test",
|
|
13
|
+
"--test-name-pattern",
|
|
14
|
+
"native reference export from a real admitted place native-reference-export",
|
|
15
|
+
"test/reference-export.test.ts"
|
|
16
|
+
],
|
|
17
|
+
"cwd": ".",
|
|
18
|
+
"inputs": [
|
|
19
|
+
"test/reference-export.test.ts",
|
|
20
|
+
"test/support/acting-root.ts",
|
|
21
|
+
"samples/reference-export/yes.json",
|
|
22
|
+
"samples/reference-export/no.json",
|
|
23
|
+
"docs/contracts/refusals.bound",
|
|
24
|
+
"docs/contracts/standing.bound",
|
|
25
|
+
"assets/wasm/guest.js",
|
|
26
|
+
"test/support/reference-root.ts"
|
|
27
|
+
],
|
|
28
|
+
"timeoutMs": 15000,
|
|
29
|
+
"maxBytes": 262144,
|
|
30
|
+
"exit": 0,
|
|
31
|
+
"matches": [
|
|
32
|
+
{
|
|
33
|
+
"stream": "stdout",
|
|
34
|
+
"pattern": "EXPORT real-admission \u00b7 contracts-bound \u00b7 signatures-verified \u00b7 REQUIRED \u00b7 no commit"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"stream": "stdout",
|
|
38
|
+
"pattern": "REFUSE altered-carrier \u00b7 blob integrity"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "native-export-editorial-delivery",
|
|
44
|
+
"program": "runtime",
|
|
45
|
+
"args": [
|
|
46
|
+
"--experimental-strip-types",
|
|
47
|
+
"--test",
|
|
48
|
+
"--test-name-pattern",
|
|
49
|
+
"native reference export from a real admitted place editorial-delivery",
|
|
50
|
+
"test/reference-export.test.ts"
|
|
51
|
+
],
|
|
52
|
+
"cwd": ".",
|
|
53
|
+
"inputs": [
|
|
54
|
+
"test/reference-export.test.ts",
|
|
55
|
+
"test/support/acting-root.ts",
|
|
56
|
+
"samples/reference-export/yes.json",
|
|
57
|
+
"samples/reference-export/no.json",
|
|
58
|
+
"docs/contracts/refusals.bound",
|
|
59
|
+
"docs/contracts/standing.bound",
|
|
60
|
+
"assets/wasm/guest.js",
|
|
61
|
+
"test/support/reference-root.ts"
|
|
62
|
+
],
|
|
63
|
+
"timeoutMs": 15000,
|
|
64
|
+
"maxBytes": 262144,
|
|
65
|
+
"exit": 0,
|
|
66
|
+
"matches": [
|
|
67
|
+
{
|
|
68
|
+
"stream": "stdout",
|
|
69
|
+
"pattern": "EXPORT real-admission \u00b7 contracts-bound \u00b7 signatures-verified \u00b7 REQUIRED \u00b7 no commit"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"stream": "stdout",
|
|
73
|
+
"pattern": "REFUSE altered-carrier \u00b7 blob integrity"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scope": "conformance/refusals",
|
|
3
|
+
"measure": "count",
|
|
4
|
+
"result": "failures",
|
|
5
|
+
"execution": "independent",
|
|
6
|
+
"cases": [
|
|
7
|
+
{
|
|
8
|
+
"name": "refusals-native-quartet",
|
|
9
|
+
"program": "runtime",
|
|
10
|
+
"args": [
|
|
11
|
+
"--experimental-strip-types",
|
|
12
|
+
"--test",
|
|
13
|
+
"test/refusal-catalog.test.ts"
|
|
14
|
+
],
|
|
15
|
+
"cwd": ".",
|
|
16
|
+
"inputs": [
|
|
17
|
+
"samples/refusals/yes.json",
|
|
18
|
+
"samples/refusals/no.json",
|
|
19
|
+
"docs/contracts/refusals.bound",
|
|
20
|
+
"test/refusal-catalog.test.ts"
|
|
21
|
+
],
|
|
22
|
+
"timeoutMs": 15000,
|
|
23
|
+
"maxBytes": 262144,
|
|
24
|
+
"exit": 0,
|
|
25
|
+
"matches": [
|
|
26
|
+
{
|
|
27
|
+
"stream": "stdout",
|
|
28
|
+
"pattern": "REFUSALS lines \u00b7 unique codes \u00b7 exact metadata \u00b7 duplicate refused"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "refusals-native-native-reference-export",
|
|
34
|
+
"program": "runtime",
|
|
35
|
+
"args": [
|
|
36
|
+
"--experimental-strip-types",
|
|
37
|
+
"--test",
|
|
38
|
+
"--test-name-pattern",
|
|
39
|
+
"native reference export from a real admitted place native-reference-export",
|
|
40
|
+
"test/reference-export.test.ts"
|
|
41
|
+
],
|
|
42
|
+
"cwd": ".",
|
|
43
|
+
"inputs": [
|
|
44
|
+
"test/reference-export.test.ts",
|
|
45
|
+
"test/support/acting-root.ts",
|
|
46
|
+
"docs/contracts/refusals.bound",
|
|
47
|
+
"docs/contracts/standing.bound",
|
|
48
|
+
"samples/reference-export/yes.json",
|
|
49
|
+
"samples/reference-export/no.json",
|
|
50
|
+
"assets/wasm/guest.js",
|
|
51
|
+
"test/support/reference-root.ts"
|
|
52
|
+
],
|
|
53
|
+
"timeoutMs": 15000,
|
|
54
|
+
"maxBytes": 262144,
|
|
55
|
+
"exit": 0,
|
|
56
|
+
"matches": [
|
|
57
|
+
{
|
|
58
|
+
"stream": "stdout",
|
|
59
|
+
"pattern": "REFUSALS native-reference-export \u00b7 native usage budget context history query fallback \u00b7 named"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "refusals-native-editorial-delivery",
|
|
65
|
+
"program": "runtime",
|
|
66
|
+
"args": [
|
|
67
|
+
"--experimental-strip-types",
|
|
68
|
+
"--test",
|
|
69
|
+
"--test-name-pattern",
|
|
70
|
+
"native reference export from a real admitted place editorial-delivery",
|
|
71
|
+
"test/reference-export.test.ts"
|
|
72
|
+
],
|
|
73
|
+
"cwd": ".",
|
|
74
|
+
"inputs": [
|
|
75
|
+
"test/reference-export.test.ts",
|
|
76
|
+
"test/support/acting-root.ts",
|
|
77
|
+
"docs/contracts/refusals.bound",
|
|
78
|
+
"docs/contracts/standing.bound",
|
|
79
|
+
"samples/reference-export/yes.json",
|
|
80
|
+
"samples/reference-export/no.json",
|
|
81
|
+
"assets/wasm/guest.js",
|
|
82
|
+
"test/support/reference-root.ts"
|
|
83
|
+
],
|
|
84
|
+
"timeoutMs": 15000,
|
|
85
|
+
"maxBytes": 262144,
|
|
86
|
+
"exit": 0,
|
|
87
|
+
"matches": [
|
|
88
|
+
{
|
|
89
|
+
"stream": "stdout",
|
|
90
|
+
"pattern": "REFUSALS editorial-delivery \u00b7 native usage budget context history query fallback \u00b7 named"
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
]
|
|
95
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
{
|
|
2
|
+
"scope": "conformance/standing",
|
|
3
|
+
"measure": "count",
|
|
4
|
+
"result": "failures",
|
|
5
|
+
"execution": "independent",
|
|
6
|
+
"cases": [
|
|
7
|
+
{
|
|
8
|
+
"name": "standing-observations-journal",
|
|
9
|
+
"program": "runtime",
|
|
10
|
+
"args": [
|
|
11
|
+
"--experimental-strip-types",
|
|
12
|
+
"--test",
|
|
13
|
+
"--test-name-pattern",
|
|
14
|
+
"public standing includes attest evidence in observations via journal",
|
|
15
|
+
"test/standing-result-cli.test.ts"
|
|
16
|
+
],
|
|
17
|
+
"cwd": ".",
|
|
18
|
+
"inputs": [
|
|
19
|
+
"samples/standing/yes.json",
|
|
20
|
+
"samples/standing/no.json",
|
|
21
|
+
"docs/contracts/standing.bound",
|
|
22
|
+
"test/standing-result-cli.test.ts"
|
|
23
|
+
],
|
|
24
|
+
"timeoutMs": 15000,
|
|
25
|
+
"maxBytes": 262144,
|
|
26
|
+
"exit": 0,
|
|
27
|
+
"matches": [
|
|
28
|
+
{
|
|
29
|
+
"stream": "stdout",
|
|
30
|
+
"pattern": "STANDING observations journal · all classes · collisions retained · exact withdrawals · replay identical · forged excluded"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "standing-observations-act",
|
|
36
|
+
"program": "runtime",
|
|
37
|
+
"args": [
|
|
38
|
+
"--experimental-strip-types",
|
|
39
|
+
"--test",
|
|
40
|
+
"--test-name-pattern",
|
|
41
|
+
"public standing includes attest evidence in observations via act",
|
|
42
|
+
"test/standing-result-cli.test.ts"
|
|
43
|
+
],
|
|
44
|
+
"cwd": ".",
|
|
45
|
+
"inputs": [
|
|
46
|
+
"samples/standing/yes.json",
|
|
47
|
+
"samples/standing/no.json",
|
|
48
|
+
"docs/contracts/standing.bound",
|
|
49
|
+
"test/standing-result-cli.test.ts"
|
|
50
|
+
],
|
|
51
|
+
"timeoutMs": 15000,
|
|
52
|
+
"maxBytes": 262144,
|
|
53
|
+
"exit": 0,
|
|
54
|
+
"matches": [
|
|
55
|
+
{
|
|
56
|
+
"stream": "stdout",
|
|
57
|
+
"pattern": "STANDING observations act · all classes · collisions retained · exact withdrawals · replay identical · forged excluded"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "standing-inventory-journal",
|
|
63
|
+
"program": "runtime",
|
|
64
|
+
"args": [
|
|
65
|
+
"--experimental-strip-types",
|
|
66
|
+
"--test",
|
|
67
|
+
"--test-name-pattern",
|
|
68
|
+
"public standing includes attest evidence in inventory via journal",
|
|
69
|
+
"test/standing-result-cli.test.ts"
|
|
70
|
+
],
|
|
71
|
+
"cwd": ".",
|
|
72
|
+
"inputs": [
|
|
73
|
+
"samples/standing/yes.json",
|
|
74
|
+
"samples/standing/no.json",
|
|
75
|
+
"docs/contracts/standing.bound",
|
|
76
|
+
"test/standing-result-cli.test.ts"
|
|
77
|
+
],
|
|
78
|
+
"timeoutMs": 15000,
|
|
79
|
+
"maxBytes": 262144,
|
|
80
|
+
"exit": 0,
|
|
81
|
+
"matches": [
|
|
82
|
+
{
|
|
83
|
+
"stream": "stdout",
|
|
84
|
+
"pattern": "STANDING inventory journal · all classes · collisions retained · exact withdrawals · replay identical · forged excluded"
|
|
85
|
+
}
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "standing-inventory-act",
|
|
90
|
+
"program": "runtime",
|
|
91
|
+
"args": [
|
|
92
|
+
"--experimental-strip-types",
|
|
93
|
+
"--test",
|
|
94
|
+
"--test-name-pattern",
|
|
95
|
+
"public standing includes attest evidence in inventory via act",
|
|
96
|
+
"test/standing-result-cli.test.ts"
|
|
97
|
+
],
|
|
98
|
+
"cwd": ".",
|
|
99
|
+
"inputs": [
|
|
100
|
+
"samples/standing/yes.json",
|
|
101
|
+
"samples/standing/no.json",
|
|
102
|
+
"docs/contracts/standing.bound",
|
|
103
|
+
"test/standing-result-cli.test.ts"
|
|
104
|
+
],
|
|
105
|
+
"timeoutMs": 15000,
|
|
106
|
+
"maxBytes": 262144,
|
|
107
|
+
"exit": 0,
|
|
108
|
+
"matches": [
|
|
109
|
+
{
|
|
110
|
+
"stream": "stdout",
|
|
111
|
+
"pattern": "STANDING inventory act · all classes · collisions retained · exact withdrawals · replay identical · forged excluded"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
}
|
|
@@ -4,33 +4,6 @@
|
|
|
4
4
|
"result": "failures",
|
|
5
5
|
"execution": "independent",
|
|
6
6
|
"cases": [
|
|
7
|
-
{
|
|
8
|
-
"program": "runtime",
|
|
9
|
-
"args": [
|
|
10
|
-
"../../../dist/cli/verb.js",
|
|
11
|
-
"land"
|
|
12
|
-
],
|
|
13
|
-
"cwd": "samples/wasm/water-level",
|
|
14
|
-
"inputs": [
|
|
15
|
-
"dist/cli/verb.js",
|
|
16
|
-
"dist/wasm/node-worker.js",
|
|
17
|
-
"package.json",
|
|
18
|
-
"assets/wasm/manifest.json",
|
|
19
|
-
"assets/wasm/runtime.js",
|
|
20
|
-
"assets/wasm/runtime.wasm",
|
|
21
|
-
"assets/wasm/guest.js",
|
|
22
|
-
"samples/wasm/water-level/TARGET.bound"
|
|
23
|
-
],
|
|
24
|
-
"timeoutMs": 20000,
|
|
25
|
-
"maxBytes": 1048576,
|
|
26
|
-
"exit": 0,
|
|
27
|
-
"matches": [
|
|
28
|
-
{
|
|
29
|
-
"stream": "stdout",
|
|
30
|
-
"pattern": "FACT\\s+landed"
|
|
31
|
-
}
|
|
32
|
-
]
|
|
33
|
-
},
|
|
34
7
|
{
|
|
35
8
|
"program": "runtime",
|
|
36
9
|
"args": [
|
|
@@ -159,7 +132,7 @@
|
|
|
159
132
|
"matches": [
|
|
160
133
|
{
|
|
161
134
|
"stream": "stderr",
|
|
162
|
-
"pattern": "^[^\\s:]+: REFUSE
|
|
135
|
+
"pattern": "^[^\\s:]+: REFUSE\u00b7wasm object missing or ambiguous stack limit",
|
|
163
136
|
"flags": "m"
|
|
164
137
|
}
|
|
165
138
|
]
|
|
@@ -190,7 +163,7 @@
|
|
|
190
163
|
"matches": [
|
|
191
164
|
{
|
|
192
165
|
"stream": "stderr",
|
|
193
|
-
"pattern": "^[^\\s:]+: REFUSE
|
|
166
|
+
"pattern": "^[^\\s:]+: REFUSE\u00b7wasm initialized memory [0-9]+ exceeds declared memory 1",
|
|
194
167
|
"flags": "m"
|
|
195
168
|
}
|
|
196
169
|
]
|
|
@@ -221,38 +194,11 @@
|
|
|
221
194
|
"matches": [
|
|
222
195
|
{
|
|
223
196
|
"stream": "stderr",
|
|
224
|
-
"pattern": "^[^\\s:]+: REFUSE
|
|
197
|
+
"pattern": "^[^\\s:]+: REFUSE\u00b7wasm worker lifetime",
|
|
225
198
|
"flags": "m"
|
|
226
199
|
}
|
|
227
200
|
]
|
|
228
201
|
},
|
|
229
|
-
{
|
|
230
|
-
"program": "runtime",
|
|
231
|
-
"args": [
|
|
232
|
-
"../../../dist/cli/verb.js",
|
|
233
|
-
"land"
|
|
234
|
-
],
|
|
235
|
-
"cwd": "samples/wasm/editorial-notes",
|
|
236
|
-
"inputs": [
|
|
237
|
-
"dist/cli/verb.js",
|
|
238
|
-
"dist/wasm/node-worker.js",
|
|
239
|
-
"package.json",
|
|
240
|
-
"assets/wasm/manifest.json",
|
|
241
|
-
"assets/wasm/runtime.js",
|
|
242
|
-
"assets/wasm/runtime.wasm",
|
|
243
|
-
"assets/wasm/guest.js",
|
|
244
|
-
"samples/wasm/editorial-notes/TARGET.bound"
|
|
245
|
-
],
|
|
246
|
-
"timeoutMs": 20000,
|
|
247
|
-
"maxBytes": 1048576,
|
|
248
|
-
"exit": 0,
|
|
249
|
-
"matches": [
|
|
250
|
-
{
|
|
251
|
-
"stream": "stdout",
|
|
252
|
-
"pattern": "FACT\\s+landed"
|
|
253
|
-
}
|
|
254
|
-
]
|
|
255
|
-
},
|
|
256
202
|
{
|
|
257
203
|
"program": "runtime",
|
|
258
204
|
"args": [
|
|
@@ -381,7 +327,7 @@
|
|
|
381
327
|
"matches": [
|
|
382
328
|
{
|
|
383
329
|
"stream": "stderr",
|
|
384
|
-
"pattern": "^[^\\s:]+: REFUSE
|
|
330
|
+
"pattern": "^[^\\s:]+: REFUSE\u00b7wasm object missing or ambiguous stack limit",
|
|
385
331
|
"flags": "m"
|
|
386
332
|
}
|
|
387
333
|
]
|
|
@@ -412,7 +358,7 @@
|
|
|
412
358
|
"matches": [
|
|
413
359
|
{
|
|
414
360
|
"stream": "stderr",
|
|
415
|
-
"pattern": "^[^\\s:]+: REFUSE
|
|
361
|
+
"pattern": "^[^\\s:]+: REFUSE\u00b7wasm initialized memory [0-9]+ exceeds declared memory 1",
|
|
416
362
|
"flags": "m"
|
|
417
363
|
}
|
|
418
364
|
]
|
|
@@ -443,10 +389,19 @@
|
|
|
443
389
|
"matches": [
|
|
444
390
|
{
|
|
445
391
|
"stream": "stderr",
|
|
446
|
-
"pattern": "^[^\\s:]+: REFUSE
|
|
392
|
+
"pattern": "^[^\\s:]+: REFUSE\u00b7wasm worker lifetime",
|
|
447
393
|
"flags": "m"
|
|
448
394
|
}
|
|
449
395
|
]
|
|
450
396
|
}
|
|
451
|
-
]
|
|
397
|
+
],
|
|
398
|
+
"preparation": {
|
|
399
|
+
"vector": "vectors/native/authenticated-reference-formation.vector.json",
|
|
400
|
+
"phase": "before timed independent readings",
|
|
401
|
+
"places": [
|
|
402
|
+
"samples/wasm/water-level",
|
|
403
|
+
"samples/wasm/editorial-notes"
|
|
404
|
+
],
|
|
405
|
+
"operation": "keyless native land of existing signed TARGET; original two land cases retained there with unchanged budgets"
|
|
406
|
+
}
|
|
452
407
|
}
|
package/dist/cli/accept.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export type Batch = {
|
|
2
|
-
readonly kind: 'signed';
|
|
3
|
-
readonly signed: readonly string[];
|
|
4
|
-
readonly records?: readonly string[];
|
|
5
|
-
readonly epoch: number;
|
|
6
|
-
readonly base: {
|
|
7
|
-
readonly digest: string;
|
|
8
|
-
readonly places: readonly string[];
|
|
9
|
-
};
|
|
10
|
-
readonly keyId?: string;
|
|
11
|
-
} | {
|
|
12
|
-
readonly kind: 'once';
|
|
13
|
-
readonly proposed: readonly string[];
|
|
14
|
-
} | {
|
|
15
|
-
readonly kind: 'exit';
|
|
16
|
-
readonly code: number;
|
|
17
|
-
};
|
|
18
|
-
/** A batch signed as accept signs it: at the next epoch, by the key it names, each line read by the wire it would land under. */
|
|
19
|
-
export declare function signedBatch(root: string, args: readonly string[], files: readonly string[]): Promise<Batch>;
|
|
20
|
-
/**
|
|
21
|
-
* accept is one act under the descent of its lines. Every place, then the root where they join, only when those lines
|
|
22
|
-
* rest on every place; a line in one place's own lock is that place. It signs the batch at the epoch the lock
|
|
23
|
-
* stands at, folds it, judges every take of it, and lands only when all of it holds. A batch refused lands nothing.
|
|
24
|
-
* What a batch would move is read before it with `--as rank <batch>`. A cycle's lanes each sign
|
|
25
|
-
* their batch with `bound sign` at the epoch the act lands at, and one land takes them all, each line in its signer's
|
|
26
|
-
* ledger once it verifies against that signer: one signer never forks itself, and one act never forks itself.
|
|
27
|
-
*/
|
|
28
|
-
export declare function accept(root: string, args: readonly string[]): Promise<number>;
|
package/dist/cli/act-result.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type ActResult } from '@lapxo/topos/wire';
|
|
2
|
-
import { type LocalActBundle } from '../host/ports/local-act.ts';
|
|
3
|
-
/** Public query of a committed identity, using the same admission authority.
|
|
4
|
-
* Native fold evidence has store provenance; it never grants coverage. */
|
|
5
|
-
export declare function verifiedLegacyActResult(root: string, identity: string): {
|
|
6
|
-
result: ActResult;
|
|
7
|
-
bundle: LocalActBundle;
|
|
8
|
-
records: readonly string[];
|
|
9
|
-
epoch: number;
|
|
10
|
-
history: readonly string[];
|
|
11
|
-
};
|
|
12
|
-
export declare function printActResult(root: string, identity: string | undefined): void;
|
package/dist/cli/args.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VALUED } from './names.ts';
|
|
2
|
-
export { VALUED };
|
|
3
|
-
/** What the loop runs that is not source: its entry, the packages it imports and the readers it loads, read by where they lie. */
|
|
4
|
-
export declare function entryOf(root: string): string;
|
|
5
|
-
export declare function valueOf(args: readonly string[], flag: string): string | undefined;
|
|
6
|
-
export declare const valuesOf: (args: readonly string[], flag: string) => readonly string[];
|
|
7
|
-
export declare const namedPlaces: (args: readonly string[]) => readonly string[];
|
|
8
|
-
export declare function positionalIndexes(args: readonly string[]): number[];
|
|
9
|
-
export declare function positionalsOf(args: readonly string[]): string[];
|
|
10
|
-
export declare const placesOfFile: (file: string) => readonly string[];
|
|
11
|
-
export declare function claimLinesIn(file: string): string[];
|
package/dist/cli/custodian.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/cli/host.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/cli/names.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/** The verbs bound answers by name: fold reads, land writes signed lines, sign is a key's act. A directory with no verb is a fold of that place. */
|
|
2
|
-
export declare const VERB_NAMES: readonly ["fold", "land", "sign"];
|
|
3
|
-
export type VerbName = (typeof VERB_NAMES)[number];
|
|
4
|
-
/** Every flag the CLI reads, spelled once; a valued flag takes the argument after it. */
|
|
5
|
-
export declare const FLAGS: {
|
|
6
|
-
readonly as: "--as";
|
|
7
|
-
readonly check: "--check";
|
|
8
|
-
readonly key: "--key";
|
|
9
|
-
readonly keyFile: "--key-file";
|
|
10
|
-
readonly signer: "--signer";
|
|
11
|
-
readonly place: "--place";
|
|
12
|
-
};
|
|
13
|
-
export declare const VALUED: readonly string[];
|
|
14
|
-
/** Views the CLI renders from these names, never from a handwritten usage string. */
|
|
15
|
-
export declare const NAMED_VIEWS: {
|
|
16
|
-
readonly help: "help";
|
|
17
|
-
readonly lines: "lines";
|
|
18
|
-
readonly because: "because";
|
|
19
|
-
};
|
|
20
|
-
export declare const EXIT: {
|
|
21
|
-
readonly closed: 0;
|
|
22
|
-
readonly refuse: 1;
|
|
23
|
-
readonly usage: 2;
|
|
24
|
-
};
|
|
25
|
-
export declare const helpLines: () => readonly string[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/cli/native.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/cli/observe.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/cli/owner.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { renderTarget } from '../render/target.ts';
|
|
2
|
-
export declare const ownerOf: (store: string, told?: readonly string[]) => string;
|
|
3
|
-
/** The signed lines standing in the lock: the owner's, and those of every key it admits to authorize, each in its own ledger. */
|
|
4
|
-
export declare function signedOwnerLines(store: string): string[];
|
|
5
|
-
export declare function standingDemands(store: string): string[];
|
|
6
|
-
/**
|
|
7
|
-
* A demand is history when it asks about a place that is gone: one the tree once held and holds no more. It paid, or
|
|
8
|
-
* did not, in its own time; whoever wants it again signs it against the region as it is. A place never held is not
|
|
9
|
-
* gone — it is still to be made, and its demand stays live.
|
|
10
|
-
*/
|
|
11
|
-
export declare function historyOf(root: string, store: string, demands: readonly string[]): {
|
|
12
|
-
readonly live: string[];
|
|
13
|
-
readonly history: string[];
|
|
14
|
-
};
|
|
15
|
-
export declare function signedDemands(store: string, root?: string): string[];
|
|
16
|
-
export declare function forkedScopes(store: string): Set<string>;
|
|
17
|
-
/** Import receipts are local acts; foreign evidence and sender epochs never enter this input. */
|
|
18
|
-
export declare function localActLines(root: string, placed?: readonly string[]): readonly string[];
|
|
19
|
-
export declare function epochOf(lines: readonly string[]): number;
|
|
20
|
-
export declare function targetFile(root: string): string;
|
|
21
|
-
export declare function renderInto(root: string, store: string): {
|
|
22
|
-
readonly standing: number;
|
|
23
|
-
readonly superseded: readonly string[];
|
|
24
|
-
readonly forks: readonly {
|
|
25
|
-
readonly key: string;
|
|
26
|
-
}[];
|
|
27
|
-
readonly grey: readonly string[];
|
|
28
|
-
readonly refused: readonly string[];
|
|
29
|
-
readonly vacuous: readonly string[];
|
|
30
|
-
};
|
|
31
|
-
export declare function renderedLock(root: string, store: string, told?: readonly string[]): ReturnType<typeof renderTarget>;
|
|
32
|
-
export declare function forksJoinedBy(store: string, signed: readonly string[]): readonly {
|
|
33
|
-
readonly key: string;
|
|
34
|
-
readonly lines: readonly string[];
|
|
35
|
-
}[];
|
|
36
|
-
export declare function forksItself(lines: readonly string[]): boolean;
|
|
37
|
-
export declare function sideOf(line: string, landed: readonly string[]): string;
|
package/dist/cli/pass.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare function pass(root: string, entry: string, under: string | undefined, check: boolean): Promise<number>;
|
|
2
|
-
export type Journal = Map<string, {
|
|
3
|
-
readonly held: Uint8Array | undefined;
|
|
4
|
-
readonly made: string | undefined;
|
|
5
|
-
}>;
|
|
6
|
-
export declare function landSaid(store: string, folder: string | undefined, lines: readonly string[]): void;
|