@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,10 @@
1
+ [
2
+ {
3
+ "name": "field-notes",
4
+ "carrier": "{\"manifest\":{\"format\":\"esm-file-closure/1\",\"needs\":[{\"name\":\"field-notes\",\"snapshot\":\"sha256:73d7146ce6e337d89811c94fd4848e24d3a9431b01eaf56e422833e31e0a78ae\",\"entry\":\"entry.js\"}],\"modules\":[{\"snapshot\":\"sha256:73d7146ce6e337d89811c94fd4848e24d3a9431b01eaf56e422833e31e0a78ae\",\"coordinate\":\"entry.js\",\"path\":\"modules/73d7146ce6e337d89811c94fd4848e24d3a9431b01eaf56e422833e31e0a78ae/entry.js\"},{\"snapshot\":\"sha256:73d7146ce6e337d89811c94fd4848e24d3a9431b01eaf56e422833e31e0a78ae\",\"coordinate\":\"value.js\",\"digest\":\"sha256:f1670f52eabccbb1f1c1c047ccee88965a894854b9717d470835475b7f7920b1\",\"path\":\"modules/73d7146ce6e337d89811c94fd4848e24d3a9431b01eaf56e422833e31e0a78ae/value.js\"}],\"libraries\":[],\"notices\":[]},\"files\":[{\"path\":\"modules/73d7146ce6e337d89811c94fd4848e24d3a9431b01eaf56e422833e31e0a78ae/entry.js\",\"source\":\"import './value.js'; export const result=7;\"},{\"path\":\"modules/73d7146ce6e337d89811c94fd4848e24d3a9431b01eaf56e422833e31e0a78ae/value.js\",\"source\":\"export const value=7;\"}]}"
5
+ },
6
+ {
7
+ "name": "water-level",
8
+ "carrier": "{\"manifest\":{\"format\":\"esm-file-closure/1\",\"needs\":[{\"name\":\"water-level\",\"snapshot\":\"sha256:d99ba0cf723d36c49ca5da30d9e1d1fb1afb52159372dd14ea6c1bb3c8dfd60b\",\"entry\":\"entry.js\"}],\"modules\":[{\"snapshot\":\"sha256:d99ba0cf723d36c49ca5da30d9e1d1fb1afb52159372dd14ea6c1bb3c8dfd60b\",\"coordinate\":\"entry.js\",\"path\":\"modules/d99ba0cf723d36c49ca5da30d9e1d1fb1afb52159372dd14ea6c1bb3c8dfd60b/entry.js\"},{\"snapshot\":\"sha256:d99ba0cf723d36c49ca5da30d9e1d1fb1afb52159372dd14ea6c1bb3c8dfd60b\",\"coordinate\":\"value.js\",\"digest\":\"sha256:ca83bd49a1d3b94db4076def1fdd98150b73b240ed6293a68ffaa2b4ff306825\",\"path\":\"modules/d99ba0cf723d36c49ca5da30d9e1d1fb1afb52159372dd14ea6c1bb3c8dfd60b/value.js\"}],\"libraries\":[],\"notices\":[]},\"files\":[{\"path\":\"modules/d99ba0cf723d36c49ca5da30d9e1d1fb1afb52159372dd14ea6c1bb3c8dfd60b/entry.js\",\"source\":\"import './value.js'; export const result=13;\"},{\"path\":\"modules/d99ba0cf723d36c49ca5da30d9e1d1fb1afb52159372dd14ea6c1bb3c8dfd60b/value.js\",\"source\":\"export const value=13;\"}]}"
9
+ }
10
+ ]
@@ -0,0 +1,5 @@
1
+ {
2
+ "over": "0..2",
3
+ "changedWitnessResult": "other result",
4
+ "invalidText": "invalid\rline"
5
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "places": [
3
+ "native-lines-one-",
4
+ "native-lines-other-"
5
+ ],
6
+ "coreSource": "// comment\n\nexport const n=1;\n",
7
+ "portsSource": "// comment\r\n\r\nexport const n=2;",
8
+ "within": "0..3"
9
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "intervalWidening": "0..9",
3
+ "alphabetWidening": "a|b|c",
4
+ "changedParent": "changed",
5
+ "disjointInterval": "10..20"
6
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "places": [
3
+ "orchard",
4
+ "harbor"
5
+ ],
6
+ "interval": {
7
+ "parent": "0..5",
8
+ "narrow": "0..3"
9
+ },
10
+ "alphabet": {
11
+ "parent": "a|b",
12
+ "narrow": "a"
13
+ }
14
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "cases": [
3
+ "selected archive bytes altered",
4
+ "current native grant withdrawn",
5
+ "handed input differs",
6
+ "physical input missing",
7
+ "transitive reference changed",
8
+ "cancelled before projection",
9
+ "handed byte budget exhausted",
10
+ "a query stub persists bytes despite returning an unchanged identity",
11
+ "receipt-only projection over an obsolete rendered leaf",
12
+ "byte-only sealing attempts to close an obsolete rendered leaf",
13
+ "selected delivery leaf is missing",
14
+ "selected delivery leaf differs from its native rendering",
15
+ "missing outputs implicitly select a delivery subset"
16
+ ],
17
+ "missing": "needs",
18
+ "integrity": "refuse",
19
+ "authority": "refuse",
20
+ "ownerSigning": false,
21
+ "nativeViews": {
22
+ "unsupported": "reading-identity/selection",
23
+ "changedSnapshot": "reading-identity/context",
24
+ "staleResultBytes": 0
25
+ }
26
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "places": [
3
+ {
4
+ "name": "counts",
5
+ "inputs": [
6
+ "input.txt"
7
+ ],
8
+ "readings": [
9
+ "extent"
10
+ ]
11
+ },
12
+ {
13
+ "name": "catalogue",
14
+ "inputs": [
15
+ "input.txt"
16
+ ],
17
+ "readings": [
18
+ "extent",
19
+ "extent/total"
20
+ ],
21
+ "unpaidDependency": "extent"
22
+ }
23
+ ],
24
+ "surface": "@lapxo/bound/host",
25
+ "operation": "prepareNativeReadingIdentity",
26
+ "cli": [
27
+ "fold",
28
+ "--as",
29
+ "reading-identity"
30
+ ],
31
+ "finalReadingDuringPreparation": false,
32
+ "existingReceipts": "verified and retained",
33
+ "nativeViews": {
34
+ "places": [
35
+ "editorial-notes",
36
+ "water-level"
37
+ ],
38
+ "views": [
39
+ "lines",
40
+ "evidence"
41
+ ],
42
+ "operation": "prepareNativeViewIdentity",
43
+ "noRootExclusion": true,
44
+ "resultBoundToConsumedIdentity": true,
45
+ "unchangedQueryProtocol": {
46
+ "places": [
47
+ "coastal-readings",
48
+ "archive-register"
49
+ ],
50
+ "repetitionsPerView": 8,
51
+ "persistentFileDelta": 0,
52
+ "persistentByteDelta": 0,
53
+ "treeExclusions": []
54
+ }
55
+ },
56
+ "renderedLeaves": {
57
+ "places": [
58
+ "calibration",
59
+ "inventory"
60
+ ],
61
+ "admittedChange": "sample/edition",
62
+ "nextOrdinaryFold": "renders current bytes and closes",
63
+ "delivery": {
64
+ "selection": "captured from the manifest before copying a closed source",
65
+ "sourceOnlyOutput": "view capability retained, not materialized or certified present",
66
+ "selectedOutput": "same native rendering, public check passes"
67
+ }
68
+ }
69
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "scope": "conformance/authority-preflight",
3
+ "measure": "count",
4
+ "result": "failures",
5
+ "execution": "independent",
6
+ "cases": [
7
+ {
8
+ "name": "authority-preflight/coverage-and-retirement",
9
+ "program": "runtime",
10
+ "args": [
11
+ "--experimental-strip-types",
12
+ "--import",
13
+ "./test/setup.ts",
14
+ "--test",
15
+ "test/native-authority-card.test.ts",
16
+ "test/authority-dependency-withdrawal.test.ts",
17
+ "test/native-authority-card-view.test.ts"
18
+ ],
19
+ "cwd": ".",
20
+ "inputs": [
21
+ "src/host/native/authority-card.ts",
22
+ "src/cli/accept.ts",
23
+ "src/cli/takes.ts",
24
+ "src/fold/signed.ts",
25
+ "test/native-authority-card.test.ts",
26
+ "test/authority-dependency-withdrawal.test.ts",
27
+ "docs/contracts/authority-preflight.md",
28
+ "samples/authority-preflight/yes.json",
29
+ "samples/authority-preflight/no.json",
30
+ "test/setup.ts",
31
+ "test/support/acting-root.ts",
32
+ "src/host/reference-contracts.ts",
33
+ "docs/contracts/refusals.bound",
34
+ "docs/contracts/standing.bound",
35
+ "src/host/native/reading-witness-admission.ts",
36
+ "src/host/physical-lines.ts",
37
+ "test/native-authority-card-view.test.ts",
38
+ "src/host/native/authority-card-view.ts"
39
+ ],
40
+ "timeoutMs": 30000,
41
+ "maxBytes": 16777216,
42
+ "exit": 0,
43
+ "matches": [
44
+ {
45
+ "stream": "stdout",
46
+ "pattern": "native authority card checks admission and rechecks current grants"
47
+ },
48
+ {
49
+ "stream": "stdout",
50
+ "pattern": "native dependency reading refuses withdrawal through the authority port"
51
+ }
52
+ ]
53
+ }
54
+ ]
55
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "scope": "conformance/installed-package",
3
+ "measure": "count",
4
+ "result": "failures",
5
+ "execution": "independent",
6
+ "cases": [
7
+ {
8
+ "name": "installed-package/native-parameter-cases",
9
+ "program": "runtime",
10
+ "args": [
11
+ "--import",
12
+ "./test/setup.ts",
13
+ "--test",
14
+ "--test-concurrency=1",
15
+ "test/installed-package.test.ts"
16
+ ],
17
+ "cwd": ".",
18
+ "inputs": [
19
+ "test/installed-package.test.ts",
20
+ "test/setup.ts",
21
+ "samples/installed-package/yes.json",
22
+ "samples/installed-package/no.json",
23
+ "docs/contracts/installed-package.md"
24
+ ],
25
+ "timeoutMs": 180000,
26
+ "maxBytes": 16777216,
27
+ "exit": 0,
28
+ "matches": []
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "scope": "conformance/materialized-leaf-sequence",
3
+ "measure": "count",
4
+ "result": "failures",
5
+ "execution": "independent",
6
+ "cases": [
7
+ {
8
+ "name": "materialized-leaf-sequence/native-parameter-cases",
9
+ "program": "runtime",
10
+ "args": [
11
+ "--import",
12
+ "./test/setup.ts",
13
+ "--test",
14
+ "--test-concurrency=1",
15
+ "test/materialized-leaf-sequence.test.ts"
16
+ ],
17
+ "cwd": ".",
18
+ "inputs": [
19
+ "test/materialized-leaf-sequence.test.ts",
20
+ "test/setup.ts",
21
+ "samples/materialized-leaf-sequence/yes.json",
22
+ "samples/materialized-leaf-sequence/no.json",
23
+ "docs/contracts/materialized-leaf-sequence.md"
24
+ ],
25
+ "timeoutMs": 180000,
26
+ "maxBytes": 16777216,
27
+ "exit": 0,
28
+ "matches": []
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "scope": "conformance/module-inventory",
3
+ "measure": "count",
4
+ "result": "failures",
5
+ "execution": "independent",
6
+ "cases": [
7
+ {
8
+ "name": "module-inventory/field-notes",
9
+ "program": "runtime",
10
+ "args": [
11
+ "--input-type=module",
12
+ "-e",
13
+ "import assert from 'node:assert/strict';import{readFileSync}from'node:fs';import{createHash}from'node:crypto';import{moduleInventory}from'@lapxo/bound/closure/native';const digest=b=>'sha256:'+createHash('sha256').update(b).digest('hex'),limits={members:20,bytes:100000,responseBytes:200000},context={scope:'consumer/modules',by:'consumer',at:'policy:module-inventory'},fixture=JSON.parse(readFileSync('samples/module-inventory/yes.json','utf8')).find(one=>one.name==='field-notes'),negative=JSON.parse(readFileSync('samples/no/module-inventory/no.json','utf8')).find(one=>one.name==='field-notes'),yes=new TextEncoder().encode(fixture.carrier),inventory=moduleInventory(yes,fixture.pin,limits,fixture.sources,context);assert.equal(inventory.lines,fixture.expected);assert.equal(inventory.modules.length,2);assert.ok(!inventory.modules.some(one=>one.module==='unreached.js'));assert.equal(moduleInventory(yes,fixture.pin,limits,fixture.sources,context).lines,fixture.expected);const bad=new TextEncoder().encode(negative.carrier);assert.throws(()=>moduleInventory(bad,digest(bad),limits,fixture.sources,context),/REFUSE·closure delivery/);assert.throws(()=>moduleInventory(bad,fixture.pin,limits,fixture.sources,context),/bundle bytes differ/);assert.throws(()=>moduleInventory(yes,fixture.pin,limits,[],context),/source coverage/);console.log('INVENTORY field-notes · 2 modules · exact canonical lines · integrity and coverage refused');"
14
+ ],
15
+ "cwd": ".",
16
+ "inputs": [
17
+ "package.json",
18
+ "samples/module-inventory/yes.json",
19
+ "samples/no/module-inventory/no.json"
20
+ ],
21
+ "timeoutMs": 15000,
22
+ "maxBytes": 262144,
23
+ "exit": 0,
24
+ "matches": [
25
+ {
26
+ "stream": "stdout",
27
+ "pattern": "INVENTORY field-notes · 2 modules · exact canonical lines · integrity and coverage refused"
28
+ }
29
+ ]
30
+ },
31
+ {
32
+ "name": "module-inventory/water-level",
33
+ "program": "runtime",
34
+ "args": [
35
+ "--input-type=module",
36
+ "-e",
37
+ "import assert from 'node:assert/strict';import{readFileSync}from'node:fs';import{createHash}from'node:crypto';import{moduleInventory}from'@lapxo/bound/closure/native';const digest=b=>'sha256:'+createHash('sha256').update(b).digest('hex'),limits={members:20,bytes:100000,responseBytes:200000},context={scope:'consumer/modules',by:'consumer',at:'policy:module-inventory'},fixture=JSON.parse(readFileSync('samples/module-inventory/yes.json','utf8')).find(one=>one.name==='water-level'),negative=JSON.parse(readFileSync('samples/no/module-inventory/no.json','utf8')).find(one=>one.name==='water-level'),yes=new TextEncoder().encode(fixture.carrier),inventory=moduleInventory(yes,fixture.pin,limits,fixture.sources,context);assert.equal(inventory.lines,fixture.expected);assert.equal(inventory.modules.length,2);assert.ok(!inventory.modules.some(one=>one.module==='unreached.js'));assert.equal(moduleInventory(yes,fixture.pin,limits,fixture.sources,context).lines,fixture.expected);const bad=new TextEncoder().encode(negative.carrier);assert.throws(()=>moduleInventory(bad,digest(bad),limits,fixture.sources,context),/REFUSE·closure delivery/);assert.throws(()=>moduleInventory(bad,fixture.pin,limits,fixture.sources,context),/bundle bytes differ/);assert.throws(()=>moduleInventory(yes,fixture.pin,limits,[],context),/source coverage/);console.log('INVENTORY water-level · 2 modules · exact canonical lines · integrity and coverage refused');"
38
+ ],
39
+ "cwd": ".",
40
+ "inputs": [
41
+ "package.json",
42
+ "samples/module-inventory/yes.json",
43
+ "samples/no/module-inventory/no.json"
44
+ ],
45
+ "timeoutMs": 15000,
46
+ "maxBytes": 262144,
47
+ "exit": 0,
48
+ "matches": [
49
+ {
50
+ "stream": "stdout",
51
+ "pattern": "INVENTORY water-level · 2 modules · exact canonical lines · integrity and coverage refused"
52
+ }
53
+ ]
54
+ }
55
+ ]
56
+ }
@@ -57,6 +57,220 @@
57
57
  "pattern": "HOST coastal-survey \u00b7 admitted \u00b7 recovered \u00b7 held without signing \u00b7 altered coverage cancellation format refused"
58
58
  }
59
59
  ]
60
+ },
61
+ {
62
+ "name": "native-host/persistent-catalog",
63
+ "program": "runtime",
64
+ "args": [
65
+ "--experimental-strip-types",
66
+ "--test",
67
+ "--test-name-pattern",
68
+ "persistent native host shares CLI bytes and authority: catalog",
69
+ "test/persistent-host.test.ts"
70
+ ],
71
+ "cwd": ".",
72
+ "inputs": [
73
+ "test/persistent-host.test.ts",
74
+ "test/support/acting-root.ts",
75
+ "samples/native-host/yes.json",
76
+ "samples/native-host/no.json",
77
+ "test/support/pinned-host-instrument.ts"
78
+ ],
79
+ "timeoutMs": 15000,
80
+ "maxBytes": 262144,
81
+ "exit": 0,
82
+ "matches": [
83
+ {
84
+ "stream": "stdout",
85
+ "pattern": "PERSISTENT-HOST catalog \u00b7 CLI identity text sign refusal act matched \u00b7 no retained request files \u00b7 closed"
86
+ }
87
+ ]
88
+ },
89
+ {
90
+ "name": "native-host/persistent-weather",
91
+ "program": "runtime",
92
+ "args": [
93
+ "--experimental-strip-types",
94
+ "--test",
95
+ "--test-name-pattern",
96
+ "persistent native host shares CLI bytes and authority: weather",
97
+ "test/persistent-host.test.ts"
98
+ ],
99
+ "cwd": ".",
100
+ "inputs": [
101
+ "test/persistent-host.test.ts",
102
+ "test/support/acting-root.ts",
103
+ "samples/native-host/yes.json",
104
+ "samples/native-host/no.json",
105
+ "test/support/pinned-host-instrument.ts"
106
+ ],
107
+ "timeoutMs": 15000,
108
+ "maxBytes": 262144,
109
+ "exit": 0,
110
+ "matches": [
111
+ {
112
+ "stream": "stdout",
113
+ "pattern": "PERSISTENT-HOST weather \u00b7 CLI identity text sign refusal act matched \u00b7 no retained request files \u00b7 closed"
114
+ }
115
+ ]
116
+ },
117
+ {
118
+ "name": "native-host/persistent-lifecycle",
119
+ "program": "runtime",
120
+ "args": [
121
+ "--experimental-strip-types",
122
+ "--test",
123
+ "--test-name-pattern",
124
+ "environment sanitation|cancelling an active|consumer dies|startup deadline|bounded queue",
125
+ "test/persistent-host.test.ts"
126
+ ],
127
+ "cwd": ".",
128
+ "inputs": [
129
+ "test/persistent-host.test.ts",
130
+ "test/support/acting-root.ts",
131
+ "samples/native-host/yes.json",
132
+ "samples/native-host/no.json",
133
+ "test/support/pinned-host-instrument.ts"
134
+ ],
135
+ "timeoutMs": 15000,
136
+ "maxBytes": 262144,
137
+ "exit": 0,
138
+ "matches": [
139
+ {
140
+ "stream": "stdout",
141
+ "pattern": "a native host exits and removes its scratch when its consumer dies"
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "name": "native-host/persistent-current-bytes",
147
+ "program": "runtime",
148
+ "args": [
149
+ "--experimental-strip-types",
150
+ "--test",
151
+ "--test-name-pattern",
152
+ "persistent non-view|externally edited public lock|receiver-selected instrument",
153
+ "test/persistent-host.test.ts",
154
+ "test/persistent-current-bytes.test.ts"
155
+ ],
156
+ "cwd": ".",
157
+ "inputs": [
158
+ "test/persistent-host.test.ts",
159
+ "test/persistent-current-bytes.test.ts",
160
+ "test/support/acting-root.ts",
161
+ "samples/native-host/yes.json",
162
+ "samples/native-host/no.json",
163
+ "test/support/pinned-host-instrument.ts"
164
+ ],
165
+ "timeoutMs": 15000,
166
+ "maxBytes": 262144,
167
+ "exit": 0,
168
+ "matches": [
169
+ {
170
+ "stream": "stdout",
171
+ "pattern": "receiver-selected instrument bytes are checked again before sign and land"
172
+ }
173
+ ]
174
+ },
175
+ {
176
+ "name": "native-host/signers-and-foundation",
177
+ "program": "runtime",
178
+ "args": [
179
+ "--experimental-strip-types",
180
+ "--test",
181
+ "--test-name-pattern",
182
+ "host signer selection and birth state",
183
+ "test/persistent-host-gaps.test.ts"
184
+ ],
185
+ "cwd": ".",
186
+ "inputs": [
187
+ "test/persistent-host-gaps.test.ts",
188
+ "test/support/acting-root.ts",
189
+ "test/support/pinned-host-instrument.ts"
190
+ ],
191
+ "timeoutMs": 15000,
192
+ "maxBytes": 262144,
193
+ "exit": 0,
194
+ "matches": [
195
+ {
196
+ "stream": "stdout",
197
+ "pattern": "host signer selection and birth state"
198
+ }
199
+ ]
200
+ },
201
+ {
202
+ "name": "native-host/installed-pin",
203
+ "program": "runtime",
204
+ "args": [
205
+ "--experimental-strip-types",
206
+ "--test",
207
+ "--test-name-pattern",
208
+ "installed instrument pins",
209
+ "test/persistent-host-gaps.test.ts"
210
+ ],
211
+ "cwd": ".",
212
+ "inputs": [
213
+ "test/persistent-host-gaps.test.ts",
214
+ "test/support/acting-root.ts",
215
+ "test/support/pinned-host-instrument.ts"
216
+ ],
217
+ "timeoutMs": 15000,
218
+ "maxBytes": 262144,
219
+ "exit": 0,
220
+ "matches": [
221
+ {
222
+ "stream": "stdout",
223
+ "pattern": "installed instrument pins"
224
+ }
225
+ ]
226
+ },
227
+ {
228
+ "name": "native-host/cross-process-serialization",
229
+ "program": "runtime",
230
+ "args": [
231
+ "--experimental-strip-types",
232
+ "--test",
233
+ "--test-name-pattern",
234
+ "two independent host processes",
235
+ "test/persistent-host-gaps.test.ts"
236
+ ],
237
+ "cwd": ".",
238
+ "inputs": [
239
+ "test/persistent-host-gaps.test.ts",
240
+ "test/support/acting-root.ts",
241
+ "test/support/pinned-host-instrument.ts"
242
+ ],
243
+ "timeoutMs": 15000,
244
+ "maxBytes": 262144,
245
+ "exit": 0,
246
+ "matches": [
247
+ {
248
+ "stream": "stdout",
249
+ "pattern": "two independent host processes"
250
+ }
251
+ ]
252
+ },
253
+ {
254
+ "name": "native-host/request-act-cost",
255
+ "program": "runtime",
256
+ "args": [
257
+ "--experimental-strip-types",
258
+ "--test",
259
+ "test/persistent-act-cost.test.ts"
260
+ ],
261
+ "cwd": ".",
262
+ "inputs": [
263
+ "test/persistent-act-cost.test.ts"
264
+ ],
265
+ "timeoutMs": 15000,
266
+ "maxBytes": 262144,
267
+ "exit": 0,
268
+ "matches": [
269
+ {
270
+ "stream": "stdout",
271
+ "pattern": "request accounting preserves a red"
272
+ }
273
+ ]
60
274
  }
61
275
  ]
62
276
  }
@@ -0,0 +1,31 @@
1
+ {
2
+ "scope": "conformance/native-probes",
3
+ "measure": "count",
4
+ "result": "failures",
5
+ "execution": "independent",
6
+ "cases": [
7
+ {
8
+ "name": "native-probes/native-parameter-cases",
9
+ "program": "runtime",
10
+ "args": [
11
+ "--import",
12
+ "./test/setup.ts",
13
+ "--test",
14
+ "--test-concurrency=1",
15
+ "test/native-probes.test.ts"
16
+ ],
17
+ "cwd": ".",
18
+ "inputs": [
19
+ "test/native-probes.test.ts",
20
+ "test/setup.ts",
21
+ "samples/native-probes/yes.json",
22
+ "samples/native-probes/no.json",
23
+ "docs/contracts/native-probes.md"
24
+ ],
25
+ "timeoutMs": 180000,
26
+ "maxBytes": 16777216,
27
+ "exit": 0,
28
+ "matches": []
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "scope": "conformance/native-view-batch",
3
+ "measure": "count",
4
+ "result": "failures",
5
+ "execution": "independent",
6
+ "cases": [
7
+ {
8
+ "name": "native-view-batch/native-parameter-cases",
9
+ "program": "runtime",
10
+ "args": [
11
+ "--import",
12
+ "./test/setup.ts",
13
+ "--test",
14
+ "--test-concurrency=1",
15
+ "test/native-view-batch.test.ts"
16
+ ],
17
+ "cwd": ".",
18
+ "inputs": [
19
+ "test/native-view-batch.test.ts",
20
+ "test/setup.ts",
21
+ "samples/native-view-batch/yes.json",
22
+ "samples/native-view-batch/no.json",
23
+ "docs/contracts/native-view-batch.md"
24
+ ],
25
+ "timeoutMs": 180000,
26
+ "maxBytes": 16777216,
27
+ "exit": 0,
28
+ "matches": []
29
+ }
30
+ ]
31
+ }