@lapxo/bound 0.2.4 → 0.2.6

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.
Files changed (333) hide show
  1. package/CITATION.cff +1 -1
  2. package/README.md +20 -3
  3. package/TARGET.bound +85 -47
  4. package/dist/cli/accept.js +61 -590
  5. package/dist/cli/act-result.js +3 -103
  6. package/dist/cli/args.js +3 -44
  7. package/dist/cli/custodian.js +2 -29
  8. package/dist/cli/host.js +4 -32
  9. package/dist/cli/names.js +1 -12
  10. package/dist/cli/native-descendant.js +1 -19
  11. package/dist/cli/native.js +3 -60
  12. package/dist/cli/observe.js +1 -13
  13. package/dist/cli/owner.js +3 -139
  14. package/dist/cli/pass.js +22 -321
  15. package/dist/cli/place.js +6 -282
  16. package/dist/cli/release-result.js +3 -80
  17. package/dist/cli/retained-judgment.js +1 -25
  18. package/dist/cli/standing-result.js +4 -19
  19. package/dist/cli/takes.js +10 -112
  20. package/dist/cli/verb.d.ts +1 -2
  21. package/dist/cli/verb.js +85 -684
  22. package/dist/engine/computation.js +2 -0
  23. package/dist/engine/conformance.js +4 -0
  24. package/dist/engine/encoding.js +1 -2
  25. package/dist/engine/index.d.ts +1 -13
  26. package/dist/engine/index.js +2 -11
  27. package/dist/engine/object.js +1 -38
  28. package/dist/engine/ports.js +2 -117
  29. package/dist/fold/admission-history.js +1 -17
  30. package/dist/fold/bootstrap-anchor.js +1 -28
  31. package/dist/fold/ceilings.js +1 -142
  32. package/dist/fold/claims.js +2 -132
  33. package/dist/fold/closed.js +24 -235
  34. package/dist/fold/configures.js +1 -25
  35. package/dist/fold/digests.js +10 -226
  36. package/dist/fold/evidence.js +1 -22
  37. package/dist/fold/fold-worker.js +1 -13
  38. package/dist/fold/kept.js +12 -173
  39. package/dist/fold/keys.js +3 -91
  40. package/dist/fold/laid.js +3 -90
  41. package/dist/fold/nos.js +1 -48
  42. package/dist/fold/object.js +1 -2
  43. package/dist/fold/observed.js +28 -534
  44. package/dist/fold/opened.js +1 -33
  45. package/dist/fold/own.js +3 -217
  46. package/dist/fold/paid.js +1 -92
  47. package/dist/fold/place-inputs.js +1 -70
  48. package/dist/fold/places.js +3 -100
  49. package/dist/fold/rank.js +1 -9
  50. package/dist/fold/reach.js +1 -83
  51. package/dist/fold/readers.js +6 -142
  52. package/dist/fold/receipts.js +1 -47
  53. package/dist/fold/region-declarations.js +1 -13
  54. package/dist/fold/region.js +8 -286
  55. package/dist/fold/release-policy.js +1 -101
  56. package/dist/fold/resolved.js +6 -145
  57. package/dist/fold/roles.js +2 -59
  58. package/dist/fold/second.js +4 -71
  59. package/dist/fold/shards.js +12 -100
  60. package/dist/fold/signed.js +3 -81
  61. package/dist/fold/signers.js +1 -54
  62. package/dist/fold/stranger.js +6 -24
  63. package/dist/fold/views.js +1 -66
  64. package/dist/fold/wire.js +1 -46
  65. package/dist/fold/zoom.js +3 -81
  66. package/dist/host/act-cost.js +1 -25
  67. package/dist/host/adapters/keys/ed25519.js +1 -30
  68. package/dist/host/adapters/modules/javascript.js +1 -50
  69. package/dist/host/adapters/transport/http.js +1 -28
  70. package/dist/host/admitted-place.js +1 -35
  71. package/dist/host/archive.js +1 -152
  72. package/dist/host/call-context.js +1 -14
  73. package/dist/host/capsule-process.js +2 -62
  74. package/dist/host/capsule.js +9 -171
  75. package/dist/host/cell-receipts.js +12 -128
  76. package/dist/host/command-server.js +4 -0
  77. package/dist/host/commit-result.js +1 -5
  78. package/dist/host/content-needed.js +1 -8
  79. package/dist/host/content-store.js +1 -31
  80. package/dist/host/contextual-place.js +2 -72
  81. package/dist/host/digest.js +2 -15
  82. package/dist/host/hash.js +1 -9
  83. package/dist/host/host-controls.js +1 -19
  84. package/dist/host/in-process-act.js +3 -84
  85. package/dist/host/in-process-context.js +3 -91
  86. package/dist/host/in-process-root.js +6 -84
  87. package/dist/host/in-process.js +4 -55
  88. package/dist/host/index.d.ts +1 -15
  89. package/dist/host/index.js +1 -7
  90. package/dist/host/io.js +1 -11
  91. package/dist/host/lifetime.js +1 -79
  92. package/dist/host/located.js +6 -105
  93. package/dist/host/native/authority-card-view.js +5 -0
  94. package/dist/host/native/authority-card.js +1 -0
  95. package/dist/host/native/bounded-file.js +1 -32
  96. package/dist/host/native/command.js +1 -91
  97. package/dist/host/native/control-bridge-worker.js +2 -88
  98. package/dist/host/native/control-bridge.js +1 -110
  99. package/dist/host/native/control-selection.js +1 -32
  100. package/dist/host/native/custody.js +1 -91
  101. package/dist/host/native/deadline.js +1 -28
  102. package/dist/host/native/descendants.js +1 -528
  103. package/dist/host/native/generated-custodian.js +5 -267
  104. package/dist/host/native/generated.js +1 -379
  105. package/dist/host/native/image.js +1 -45
  106. package/dist/host/native/installed-package.d.ts +1 -0
  107. package/dist/host/native/installed-package.js +5 -0
  108. package/dist/host/native/jobs.js +2 -148
  109. package/dist/host/native/loader.js +1 -269
  110. package/dist/host/native/materialize.js +1 -175
  111. package/dist/host/native/module-closure.js +1 -130
  112. package/dist/host/native/module-delivery.d.ts +1 -62
  113. package/dist/host/native/module-delivery.js +1 -151
  114. package/dist/host/native/module-inventory.js +2 -0
  115. package/dist/host/native/module-syntax.js +1 -69
  116. package/dist/host/native/native-binary.js +1 -115
  117. package/dist/host/native/native-program.js +1 -72
  118. package/dist/host/native/node-jobs.js +3 -187
  119. package/dist/host/native/node-launch.js +1 -159
  120. package/dist/host/native/preload.js +1 -45
  121. package/dist/host/native/probes.js +1 -0
  122. package/dist/host/native/reading-witness-admission.js +5 -0
  123. package/dist/host/native/reading.js +1 -249
  124. package/dist/host/native/receipt-environment.js +1 -41
  125. package/dist/host/native/references.js +1 -30
  126. package/dist/host/native/root.js +1 -37
  127. package/dist/host/native/route.js +1 -216
  128. package/dist/host/native/runtime.js +1 -9
  129. package/dist/host/native-place-state.js +1 -0
  130. package/dist/host/native-reader-context.js +1 -8
  131. package/dist/host/native-receiver.js +1 -25
  132. package/dist/host/objects.js +1 -38
  133. package/dist/host/order.js +1 -2
  134. package/dist/host/persistent-host.js +1 -0
  135. package/dist/host/physical-lines.d.ts +1 -0
  136. package/dist/host/physical-lines.js +1 -0
  137. package/dist/host/place-act-transaction.js +4 -78
  138. package/dist/host/place-clock-selection.js +5 -124
  139. package/dist/host/ports/ingress.js +2 -57
  140. package/dist/host/ports/local-act.js +5 -183
  141. package/dist/host/ports/place-act.js +1 -134
  142. package/dist/host/ports/publication.js +1 -56
  143. package/dist/host/ports/signing.js +1 -74
  144. package/dist/host/ports/store.js +1 -18
  145. package/dist/host/ports/transport.js +1 -48
  146. package/dist/host/process-lifetime.js +1 -17
  147. package/dist/host/profile-composition.d.ts +1 -0
  148. package/dist/host/profile-composition.js +2 -0
  149. package/dist/host/provide.js +1 -183
  150. package/dist/host/read-only.js +1 -9
  151. package/dist/host/reading-closures.js +7 -227
  152. package/dist/host/reading-context.js +1 -53
  153. package/dist/host/reading-identity-types.js +0 -0
  154. package/dist/host/reading-identity.js +3 -0
  155. package/dist/host/reading-preparation.js +6 -0
  156. package/dist/host/reference-authenticated.d.ts +1 -40
  157. package/dist/host/reference-authenticated.js +3 -100
  158. package/dist/host/reference-contracts.js +1 -6
  159. package/dist/host/reference-export.js +6 -81
  160. package/dist/host/reference-native-api.d.ts +1 -3
  161. package/dist/host/reference-native-api.js +1 -3
  162. package/dist/host/reference-native.js +1 -74
  163. package/dist/host/reference-profile.js +1 -63
  164. package/dist/host/reference-standing.js +2 -18
  165. package/dist/host/reference.js +1 -24
  166. package/dist/host/refusals.js +2 -43
  167. package/dist/host/release.js +4 -256
  168. package/dist/host/root-clock-source.js +1 -307
  169. package/dist/host/selected-capsules.js +1 -50
  170. package/dist/host/selected-topos.js +1 -80
  171. package/dist/host/signature-era.js +1 -12
  172. package/dist/host/signing.js +2 -48
  173. package/dist/host/source-content.js +2 -111
  174. package/dist/host/standing-carrier.js +1 -18
  175. package/dist/host/standing-projection.js +1 -50
  176. package/dist/host/timing.js +1 -7
  177. package/dist/host/walk.js +20 -193
  178. package/dist/host/work-trace.js +1 -0
  179. package/dist/judge/late.js +1 -33
  180. package/dist/judge/take.js +2 -75
  181. package/dist/judge/widening.js +1 -25
  182. package/dist/land/act.js +8 -336
  183. package/dist/land/alias.js +1 -41
  184. package/dist/land/held.js +1 -23
  185. package/dist/land/inert.js +1 -33
  186. package/dist/land/leaving.js +1 -55
  187. package/dist/land/ledger.js +6 -188
  188. package/dist/land/owned.js +4 -66
  189. package/dist/land/sign.js +1 -53
  190. package/dist/land/standing-pin.js +1 -49
  191. package/dist/land/vouched.js +1 -112
  192. package/dist/land/withdraw.js +1 -24
  193. package/dist/observe/files.js +1 -88
  194. package/dist/observe/identity.js +1 -61
  195. package/dist/observe/match.js +1 -8
  196. package/dist/observe/regions.js +7 -306
  197. package/dist/observe/run.js +1 -41
  198. package/dist/observe/runner.js +4 -101
  199. package/dist/public-types.d.ts +2019 -0
  200. package/dist/render/capsule.js +1 -30
  201. package/dist/render/field.js +1 -40
  202. package/dist/render/names.js +1 -4
  203. package/dist/render/open.js +1 -61
  204. package/dist/render/page.js +1 -7
  205. package/dist/render/receipt-projection.js +1 -0
  206. package/dist/render/receipts.js +1 -47
  207. package/dist/render/shape.js +1 -74
  208. package/dist/render/target.js +4 -52
  209. package/dist/render/view.js +7 -197
  210. package/dist/vendor/bundle.json +1 -0
  211. package/dist/vendor/library14.js +1 -0
  212. package/dist/vendor/object-provider.js +42 -0
  213. package/dist/vendor/runtime.js +61 -0
  214. package/dist/wasm/adapter.d.ts +1 -51
  215. package/dist/wasm/adapter.js +1 -180
  216. package/dist/wasm/node-worker.js +1 -13
  217. package/dist/wasm/object.js +1 -76
  218. package/dist/wasm/worker.js +1 -7
  219. package/docs/contracts/authenticated-reference.publication.json +1 -1
  220. package/docs/contracts/authority-preflight.md +17 -0
  221. package/docs/contracts/authority-preflight.publication.json +25 -0
  222. package/docs/contracts/closure-delivery.md +1 -1
  223. package/docs/contracts/closure-delivery.publication.json +1 -1
  224. package/docs/contracts/conformance.json +142 -0
  225. package/docs/contracts/determinism.bound +9 -0
  226. package/docs/contracts/engine-object-projection.publication.json +1 -1
  227. package/docs/contracts/engine.md +21 -1
  228. package/docs/contracts/installed-package.md +21 -0
  229. package/docs/contracts/installed-package.publication.json +25 -0
  230. package/docs/contracts/materialized-leaf-sequence.md +15 -0
  231. package/docs/contracts/materialized-leaf-sequence.publication.json +25 -0
  232. package/docs/contracts/module-inventory.md +15 -0
  233. package/docs/contracts/module-inventory.publication.json +25 -0
  234. package/docs/contracts/native-host.md +29 -1
  235. package/docs/contracts/native-host.publication.json +4 -4
  236. package/docs/contracts/native-probes.md +13 -0
  237. package/docs/contracts/native-probes.publication.json +25 -0
  238. package/docs/contracts/native-publication.inventory.json +10 -1
  239. package/docs/contracts/native-view-batch.md +17 -0
  240. package/docs/contracts/native-view-batch.publication.json +25 -0
  241. package/docs/contracts/optional-wasm-adapter.publication.json +1 -1
  242. package/docs/contracts/physical-lines.md +19 -0
  243. package/docs/contracts/physical-lines.publication.json +25 -0
  244. package/docs/contracts/profile-composition.md +17 -0
  245. package/docs/contracts/profile-composition.publication.json +25 -0
  246. package/docs/contracts/profile-preparation-native-meaning.md +9 -0
  247. package/docs/contracts/publication.md +12 -0
  248. package/docs/contracts/reading-identity.md +61 -0
  249. package/docs/contracts/reading-identity.publication.json +25 -0
  250. package/docs/contracts/reading-witness-admission.md +49 -0
  251. package/docs/contracts/readme.publication.json +1 -1
  252. package/docs/contracts/reference-port.md +11 -0
  253. package/docs/contracts/reference-port.publication.json +1 -1
  254. package/docs/contracts/refusals.bound +346 -94
  255. package/docs/contracts/refusals.md +119 -39
  256. package/docs/contracts/refusals.publication.json +2 -2
  257. package/docs/contracts/views.md +8 -0
  258. package/docs/reference.md +9 -0
  259. package/licenses/wasm/{fast-text-encoding.txt → NOTICE.txt} +111 -0
  260. package/package.json +84 -34
  261. package/receipts.bound +12952 -10449
  262. package/samples/authority-preflight/no.json +6 -0
  263. package/samples/authority-preflight/yes.json +30 -0
  264. package/samples/engine-alphabet/reader.js +3 -1457
  265. package/samples/engine-alphabet/receipts.bound +7 -7
  266. package/samples/engine-interval/reader.js +3 -1457
  267. package/samples/engine-interval/receipts.bound +7 -7
  268. package/samples/installed-package/consumer.mjs +29 -0
  269. package/samples/installed-package/fixture.json +48 -0
  270. package/samples/installed-package/no.json +10 -0
  271. package/samples/installed-package/yes.json +52 -0
  272. package/samples/materialized-leaf-sequence/no.json +11 -0
  273. package/samples/materialized-leaf-sequence/yes.json +10 -0
  274. package/samples/module-inventory/yes.json +28 -0
  275. package/samples/native/physical-line-reader.mjs +1 -0
  276. package/samples/native/physical-line-reader.source.mjs +13 -0
  277. package/samples/native-host/no.json +6 -1
  278. package/samples/native-host/yes.json +18 -1
  279. package/samples/native-probes/inputs/inspection.json +28 -0
  280. package/samples/native-probes/no.json +7 -0
  281. package/samples/native-probes/yes.json +28 -0
  282. package/samples/native-view-batch/no.json +14 -0
  283. package/samples/native-view-batch/yes.json +10 -0
  284. package/samples/no/engine-order/reader.js +3 -1457
  285. package/samples/no/module-inventory/no.json +10 -0
  286. package/samples/physical-lines/no.json +5 -0
  287. package/samples/physical-lines/yes.json +9 -0
  288. package/samples/profile-composition/no.json +6 -0
  289. package/samples/profile-composition/yes.json +14 -0
  290. package/samples/reading-identity/no.json +26 -0
  291. package/samples/reading-identity/yes.json +69 -0
  292. package/vectors/native/authority-preflight.vector.json +55 -0
  293. package/vectors/native/installed-package.vector.json +31 -0
  294. package/vectors/native/materialized-leaf-sequence.vector.json +31 -0
  295. package/vectors/native/module-inventory.vector.json +56 -0
  296. package/vectors/native/native-host.vector.json +214 -0
  297. package/vectors/native/native-probes.vector.json +31 -0
  298. package/vectors/native/native-view-batch.vector.json +31 -0
  299. package/vectors/native/physical-lines.vector.json +105 -0
  300. package/vectors/native/profile-composition.vector.json +53 -0
  301. package/vectors/native/reading-identity.vector.json +139 -0
  302. package/vectors/native/refusals.vector.json +138 -0
  303. package/vendor/syntax/LICENSE.md +7 -0
  304. package/vendor/syntax/parser.js +1 -0
  305. package/.github/workflows/release.yml +0 -67
  306. package/.github/workflows/test.yml +0 -35
  307. package/dist/engine/object.d.ts +0 -17
  308. package/dist/engine/ports.d.ts +0 -37
  309. package/dist/fold/claims.d.ts +0 -29
  310. package/dist/host/call-context.d.ts +0 -20
  311. package/dist/host/commit-result.d.ts +0 -6
  312. package/dist/host/in-process-act.d.ts +0 -82
  313. package/dist/host/in-process-context.d.ts +0 -46
  314. package/dist/host/in-process-root.d.ts +0 -117
  315. package/dist/host/in-process.d.ts +0 -41
  316. package/dist/host/native/module-closure.d.ts +0 -35
  317. package/dist/host/native-receiver.d.ts +0 -19
  318. package/dist/host/place-act-transaction.d.ts +0 -24
  319. package/dist/host/place-clock-selection.d.ts +0 -55
  320. package/dist/host/ports/local-act.d.ts +0 -44
  321. package/dist/host/ports/place-act.d.ts +0 -49
  322. package/dist/host/ports/publication.d.ts +0 -10
  323. package/dist/host/reference-export.d.ts +0 -33
  324. package/dist/host/reference-native.d.ts +0 -30
  325. package/dist/host/reference-profile.d.ts +0 -23
  326. package/dist/host/refusals.d.ts +0 -14
  327. package/dist/host/root-clock-source.d.ts +0 -86
  328. package/licenses/wasm/jitl-quickjs-ffi-types.txt +0 -21
  329. package/licenses/wasm/jitl-quickjs-wasmfile-release-sync.txt +0 -47
  330. package/licenses/wasm/quickjs-emscripten-core.txt +0 -21
  331. package/licenses/wasm/topos.txt +0 -21
  332. /package/{licenses/wasm/bound.txt → dist/vendor/28cba430228db1c04f446c93f81b09a2705d6bf3e222d35adbe5a4cee4061884.LICENSE} +0 -0
  333. /package/{licenses/wasm/obligations.txt → dist/vendor/7aca161279d14bc0e054dcc281cd110aeb95be2e026b42fdf527a260e58b2aae.LICENSE} +0 -0
@@ -0,0 +1,105 @@
1
+ {
2
+ "scope": "conformance/physical-lines",
3
+ "measure": "count",
4
+ "result": "failures",
5
+ "execution": "independent",
6
+ "cases": [
7
+ {
8
+ "name": "physical-lines/native-parameter-cases",
9
+ "program": "runtime",
10
+ "args": [
11
+ "--import",
12
+ "./test/setup.ts",
13
+ "--test",
14
+ "--test-concurrency=1",
15
+ "test/physical-lines-place.test.ts"
16
+ ],
17
+ "cwd": ".",
18
+ "inputs": [
19
+ "test/physical-lines-place.test.ts",
20
+ "test/setup.ts",
21
+ "samples/physical-lines/yes.json",
22
+ "samples/physical-lines/no.json",
23
+ "docs/contracts/physical-lines.md"
24
+ ],
25
+ "timeoutMs": 180000,
26
+ "maxBytes": 16777216,
27
+ "exit": 0,
28
+ "matches": []
29
+ },
30
+ {
31
+ "name": "physical-lines/actual-native-witness-admission",
32
+ "program": "runtime",
33
+ "args": [
34
+ "--experimental-strip-types",
35
+ "--test",
36
+ "--test-concurrency=1",
37
+ "test/physical-lines-policy-land.test.ts"
38
+ ],
39
+ "cwd": ".",
40
+ "inputs": [
41
+ "test/physical-lines-policy-land.test.ts",
42
+ "test/support/installed-consumer.mjs",
43
+ "test/support/native-physical-place.mjs",
44
+ "test/support/physical-witness-proof.mjs",
45
+ "samples/native/physical-line-reader.source.mjs",
46
+ "samples/native/physical-line-reader.mjs",
47
+ "samples/physical-lines/yes.json",
48
+ "samples/physical-lines/no.json",
49
+ "docs/contracts/reading-witness-admission.md",
50
+ "src/host/native/reading-witness-admission.ts"
51
+ ],
52
+ "timeoutMs": 180000,
53
+ "maxBytes": 1048576,
54
+ "exit": 0,
55
+ "matches": []
56
+ },
57
+ {
58
+ "name": "physical-lines/public-refusals-and-compiled-resolution",
59
+ "program": "runtime",
60
+ "args": [
61
+ "--experimental-strip-types",
62
+ "--test",
63
+ "--test-concurrency=1",
64
+ "test/physical-lines-public-refusals.test.ts"
65
+ ],
66
+ "cwd": ".",
67
+ "inputs": [
68
+ "test/physical-lines-public-refusals.test.ts",
69
+ "test/support/installed-consumer.mjs",
70
+ "docs/contracts/physical-lines.md"
71
+ ],
72
+ "timeoutMs": 30000,
73
+ "maxBytes": 1048576,
74
+ "exit": 0,
75
+ "matches": []
76
+ },
77
+ {
78
+ "name": "physical-lines/source-hook-native-evidence-regression",
79
+ "program": "runtime",
80
+ "args": [
81
+ "--experimental-strip-types",
82
+ "--test",
83
+ "--test-concurrency=1",
84
+ "test/reading-witness-hook.test.ts"
85
+ ],
86
+ "cwd": ".",
87
+ "inputs": [
88
+ "test/reading-witness-hook.test.ts",
89
+ "test/support/installed-consumer.mjs",
90
+ "test/support/native-physical-place.mjs",
91
+ "test/support/physical-witness-proof.mjs",
92
+ "samples/native/physical-line-reader.source.mjs",
93
+ "samples/native/physical-line-reader.mjs",
94
+ "src/host/native/reading-witness-admission.ts",
95
+ "src/host/physical-lines.ts",
96
+ "src/host/call-context.ts",
97
+ "docs/contracts/reading-witness-admission.md"
98
+ ],
99
+ "timeoutMs": 60000,
100
+ "maxBytes": 1048576,
101
+ "exit": 0,
102
+ "matches": []
103
+ }
104
+ ]
105
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "scope": "conformance/profile-composition",
3
+ "measure": "count",
4
+ "result": "failures",
5
+ "execution": "independent",
6
+ "cases": [
7
+ {
8
+ "name": "profile-composition/native-parameter-cases",
9
+ "program": "runtime",
10
+ "args": [
11
+ "--import",
12
+ "./test/setup.ts",
13
+ "--test",
14
+ "--test-concurrency=1",
15
+ "test/profile-composition.test.ts"
16
+ ],
17
+ "cwd": ".",
18
+ "inputs": [
19
+ "test/profile-composition.test.ts",
20
+ "test/setup.ts",
21
+ "samples/profile-composition/yes.json",
22
+ "samples/profile-composition/no.json",
23
+ "docs/contracts/profile-composition.md"
24
+ ],
25
+ "timeoutMs": 180000,
26
+ "maxBytes": 16777216,
27
+ "exit": 0,
28
+ "matches": []
29
+ },
30
+ {
31
+ "name": "profile-composition/actual-native-land-and-effective-meet",
32
+ "program": "runtime",
33
+ "args": [
34
+ "--experimental-strip-types",
35
+ "--test",
36
+ "--test-concurrency=1",
37
+ "test/profile-composition-meaning.test.ts"
38
+ ],
39
+ "cwd": ".",
40
+ "inputs": [
41
+ "test/profile-composition-meaning.test.ts",
42
+ "test/support/installed-consumer.mjs",
43
+ "samples/profile-composition/yes.json",
44
+ "samples/profile-composition/no.json",
45
+ "docs/contracts/profile-preparation-native-meaning.md"
46
+ ],
47
+ "timeoutMs": 60000,
48
+ "maxBytes": 1048576,
49
+ "exit": 0,
50
+ "matches": []
51
+ }
52
+ ]
53
+ }
@@ -0,0 +1,139 @@
1
+ {
2
+ "scope": "conformance/reading-identity",
3
+ "measure": "count",
4
+ "result": "failures",
5
+ "execution": "independent",
6
+ "cases": [
7
+ {
8
+ "name": "reading-identity/counts",
9
+ "program": "runtime",
10
+ "args": [
11
+ "--import",
12
+ "./test/setup.ts",
13
+ "--test",
14
+ "--test-concurrency=1",
15
+ "--test-name-pattern",
16
+ "native public identity and quiet reuse preserve current authority: counts",
17
+ "test/native-quiet-grant.test.ts"
18
+ ],
19
+ "cwd": ".",
20
+ "inputs": [
21
+ "test/native-quiet-grant.test.ts",
22
+ "test/setup.ts",
23
+ "docs/contracts/reading-identity.md",
24
+ "samples/reading-identity/yes.json",
25
+ "samples/reading-identity/no.json"
26
+ ],
27
+ "timeoutMs": 90000,
28
+ "maxBytes": 67108864,
29
+ "exit": 0,
30
+ "matches": [
31
+ {
32
+ "stream": "stdout",
33
+ "pattern": "native public identity and quiet reuse preserve current authority: counts"
34
+ }
35
+ ]
36
+ },
37
+ {
38
+ "name": "reading-identity/catalogue",
39
+ "program": "runtime",
40
+ "args": [
41
+ "--import",
42
+ "./test/setup.ts",
43
+ "--test",
44
+ "--test-concurrency=1",
45
+ "--test-name-pattern",
46
+ "native public identity and quiet reuse preserve current authority: catalogue",
47
+ "test/native-quiet-grant.test.ts"
48
+ ],
49
+ "cwd": ".",
50
+ "inputs": [
51
+ "test/native-quiet-grant.test.ts",
52
+ "test/setup.ts",
53
+ "docs/contracts/reading-identity.md",
54
+ "samples/reading-identity/yes.json",
55
+ "samples/reading-identity/no.json"
56
+ ],
57
+ "timeoutMs": 90000,
58
+ "maxBytes": 67108864,
59
+ "exit": 0,
60
+ "matches": [
61
+ {
62
+ "stream": "stdout",
63
+ "pattern": "native public identity and quiet reuse preserve current authority: catalogue"
64
+ }
65
+ ]
66
+ },
67
+ {
68
+ "name": "reading-identity/native-views",
69
+ "program": "runtime",
70
+ "args": [
71
+ "--import",
72
+ "./test/setup.ts",
73
+ "--test",
74
+ "--test-concurrency=1",
75
+ "test/native-view-identity.test.ts"
76
+ ],
77
+ "cwd": ".",
78
+ "inputs": [
79
+ "test/native-view-identity.test.ts",
80
+ "test/support/acting-root.ts",
81
+ "test/setup.ts",
82
+ "docs/contracts/reading-identity.md",
83
+ "samples/reading-identity/yes.json",
84
+ "samples/reading-identity/no.json"
85
+ ],
86
+ "timeoutMs": 90000,
87
+ "maxBytes": 67108864,
88
+ "exit": 0,
89
+ "matches": [
90
+ {
91
+ "stream": "stdout",
92
+ "pattern": "7. result names consumed identity"
93
+ },
94
+ {
95
+ "stream": "stdout",
96
+ "pattern": "no Root lock or writes"
97
+ },
98
+ {
99
+ "stream": "stdout",
100
+ "pattern": "unchanged native view queries preserve every persisted byte"
101
+ }
102
+ ]
103
+ },
104
+ {
105
+ "name": "reading-identity/rendered-leaves",
106
+ "program": "runtime",
107
+ "args": [
108
+ "--import",
109
+ "./test/setup.ts",
110
+ "--test",
111
+ "--test-concurrency=1",
112
+ "test/pass-receipt-order.test.ts"
113
+ ],
114
+ "cwd": ".",
115
+ "inputs": [
116
+ "test/pass-receipt-order.test.ts",
117
+ "test/setup.ts",
118
+ "docs/contracts/reading-identity.md"
119
+ ],
120
+ "timeoutMs": 20000,
121
+ "maxBytes": 1048576,
122
+ "exit": 0,
123
+ "matches": [
124
+ {
125
+ "stream": "stdout",
126
+ "pattern": "completed calibration renders seal native file receipts"
127
+ },
128
+ {
129
+ "stream": "stdout",
130
+ "pattern": "completed inventory renders seal native file receipts"
131
+ },
132
+ {
133
+ "stream": "stdout",
134
+ "pattern": "materialized delivery preserves required-output refusals"
135
+ }
136
+ ]
137
+ }
138
+ ]
139
+ }
@@ -90,6 +90,144 @@
90
90
  "pattern": "REFUSALS editorial-delivery \u00b7 native usage budget context history query fallback \u00b7 named"
91
91
  }
92
92
  ]
93
+ },
94
+ {
95
+ "name": "refusals/complete-producers/catalog-register",
96
+ "program": "runtime",
97
+ "args": [
98
+ "--experimental-strip-types",
99
+ "--test",
100
+ "--test-concurrency=1",
101
+ "--test-name-pattern",
102
+ "public producers: catalog-register$",
103
+ "test/conformance-catalog-complete.test.ts"
104
+ ],
105
+ "cwd": ".",
106
+ "inputs": [
107
+ "test/conformance-catalog-complete.test.ts",
108
+ "docs/contracts/refusals.bound",
109
+ "docs/contracts/conformance.json",
110
+ "docs/contracts/determinism.bound",
111
+ "test/support/conformance-catalog-current.ts",
112
+ "test/support/pinned-host-instrument.ts"
113
+ ],
114
+ "timeoutMs": 15000,
115
+ "maxBytes": 262144,
116
+ "exit": 0,
117
+ "matches": [
118
+ {
119
+ "stream": "stdout",
120
+ "pattern": "fail 0"
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "name": "refusals/complete-producers/tidal-ledger",
126
+ "program": "runtime",
127
+ "args": [
128
+ "--experimental-strip-types",
129
+ "--test",
130
+ "--test-concurrency=1",
131
+ "--test-name-pattern",
132
+ "public producers: tidal-ledger$",
133
+ "test/conformance-catalog-complete.test.ts"
134
+ ],
135
+ "cwd": ".",
136
+ "inputs": [
137
+ "test/conformance-catalog-complete.test.ts",
138
+ "docs/contracts/refusals.bound",
139
+ "docs/contracts/conformance.json",
140
+ "docs/contracts/determinism.bound",
141
+ "test/support/conformance-catalog-current.ts",
142
+ "test/support/pinned-host-instrument.ts"
143
+ ],
144
+ "timeoutMs": 15000,
145
+ "maxBytes": 262144,
146
+ "exit": 0,
147
+ "matches": [
148
+ {
149
+ "stream": "stdout",
150
+ "pattern": "fail 0"
151
+ }
152
+ ]
153
+ },
154
+ {
155
+ "name": "reference-conformance",
156
+ "program": "runtime",
157
+ "args": [
158
+ "--experimental-strip-types",
159
+ "--test",
160
+ "--test-concurrency=1",
161
+ "test/conformance-reference.test.ts"
162
+ ],
163
+ "cwd": ".",
164
+ "inputs": [
165
+ "test/conformance-reference.test.ts",
166
+ "docs/contracts/refusals.bound",
167
+ "docs/contracts/conformance.json",
168
+ "docs/contracts/determinism.bound"
169
+ ],
170
+ "timeoutMs": 15000,
171
+ "maxBytes": 262144,
172
+ "exit": 0,
173
+ "matches": [
174
+ {
175
+ "stream": "stdout",
176
+ "pattern": "fail 0"
177
+ }
178
+ ]
179
+ },
180
+ {
181
+ "name": "computation-ports",
182
+ "program": "runtime",
183
+ "args": [
184
+ "--experimental-strip-types",
185
+ "--test",
186
+ "--test-concurrency=1",
187
+ "test/computation.test.ts"
188
+ ],
189
+ "cwd": ".",
190
+ "inputs": [
191
+ "test/computation.test.ts",
192
+ "docs/contracts/refusals.bound",
193
+ "docs/contracts/conformance.json",
194
+ "docs/contracts/determinism.bound"
195
+ ],
196
+ "timeoutMs": 15000,
197
+ "maxBytes": 262144,
198
+ "exit": 0,
199
+ "matches": [
200
+ {
201
+ "stream": "stdout",
202
+ "pattern": "fail 0"
203
+ }
204
+ ]
205
+ },
206
+ {
207
+ "name": "computation-native",
208
+ "program": "runtime",
209
+ "args": [
210
+ "--experimental-strip-types",
211
+ "--test",
212
+ "--test-concurrency=1",
213
+ "test/computation-cli.test.ts"
214
+ ],
215
+ "cwd": ".",
216
+ "inputs": [
217
+ "test/computation-cli.test.ts",
218
+ "docs/contracts/refusals.bound",
219
+ "docs/contracts/conformance.json",
220
+ "docs/contracts/determinism.bound"
221
+ ],
222
+ "timeoutMs": 15000,
223
+ "maxBytes": 262144,
224
+ "exit": 0,
225
+ "matches": [
226
+ {
227
+ "stream": "stdout",
228
+ "pattern": "fail 0"
229
+ }
230
+ ]
93
231
  }
94
232
  ]
95
233
  }
@@ -0,0 +1,7 @@
1
+ ISC License
2
+
3
+ Copyright (c) 2019 and later, KFlash and others.
4
+
5
+ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
6
+
7
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.