@e4779/pi-fabric 0.117.2-fork.31 → 0.131.0-fork.32
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 +12 -5
- package/THIRD_PARTY_NOTICES.md +6 -14
- package/dist/activity/store.d.ts +2 -1
- package/dist/activity/store.d.ts.map +1 -1
- package/dist/actors/binding-store.d.ts +13 -0
- package/dist/actors/binding-store.d.ts.map +1 -1
- package/dist/actors/directory.d.ts.map +1 -1
- package/dist/actors/global-registry.d.ts +8 -0
- package/dist/actors/global-registry.d.ts.map +1 -1
- package/dist/actors/host-event-payload.d.ts +14 -0
- package/dist/actors/host-event-payload.d.ts.map +1 -1
- package/dist/actors/manager.d.ts +4 -3
- package/dist/actors/manager.d.ts.map +1 -1
- package/dist/actors/mesh-monitor.d.ts +2 -0
- package/dist/actors/mesh-monitor.d.ts.map +1 -1
- package/dist/actors/name-policy.d.ts +3 -0
- package/dist/actors/name-policy.d.ts.map +1 -0
- package/dist/actors/registry-store.d.ts +14 -5
- package/dist/actors/registry-store.d.ts.map +1 -1
- package/dist/actors/store-read.d.ts +16 -0
- package/dist/actors/store-read.d.ts.map +1 -0
- package/dist/agents/agent-files.d.ts +80 -0
- package/dist/agents/agent-files.d.ts.map +1 -0
- package/dist/agents/agent-files.js +327 -0
- package/dist/agents/agent-files.js.map +7 -0
- package/dist/agents/child-skills.d.ts +60 -0
- package/dist/agents/child-skills.d.ts.map +1 -0
- package/dist/agents/child-skills.js +94 -0
- package/dist/agents/child-skills.js.map +7 -0
- package/dist/agents/clone-first-worktree.d.ts +6 -0
- package/dist/agents/clone-first-worktree.d.ts.map +1 -1
- package/dist/agents/cow-clone.d.ts.map +1 -1
- package/dist/agents/handoff.d.ts +12 -2
- package/dist/agents/handoff.d.ts.map +1 -1
- package/dist/agents/herdr-status.d.ts +26 -0
- package/dist/agents/herdr-status.d.ts.map +1 -0
- package/dist/agents/herdr-status.js +161 -0
- package/dist/agents/herdr-status.js.map +7 -0
- package/dist/agents/hosted-run.d.ts +20 -4
- package/dist/agents/hosted-run.d.ts.map +1 -1
- package/dist/agents/manager.d.ts +18 -2
- package/dist/agents/manager.d.ts.map +1 -1
- package/dist/agents/model-pin-guard.d.ts +27 -0
- package/dist/agents/model-pin-guard.d.ts.map +1 -0
- package/dist/agents/model-pin-guard.js +86 -0
- package/dist/agents/model-pin-guard.js.map +7 -0
- package/dist/agents/model-pin.d.ts +25 -0
- package/dist/agents/model-pin.d.ts.map +1 -0
- package/dist/agents/provider-bridge.d.ts +7 -6
- package/dist/agents/provider-bridge.d.ts.map +1 -1
- package/dist/agents/provider-bridge.js +33 -5
- package/dist/agents/provider-bridge.js.map +3 -3
- package/dist/agents/request.d.ts.map +1 -1
- package/dist/agents/result.d.ts.map +1 -1
- package/dist/agents/result.js +1 -1
- package/dist/agents/runner-notice.d.ts.map +1 -1
- package/dist/agents/runner-protocol.d.ts +8 -0
- package/dist/agents/runner-protocol.d.ts.map +1 -1
- package/dist/agents/service-schema.d.ts.map +1 -1
- package/dist/agents/transports/herdr-socket.d.ts +12 -0
- package/dist/agents/transports/herdr-socket.d.ts.map +1 -0
- package/dist/agents/transports/herdr-transport.d.ts.map +1 -1
- package/dist/agents/types.d.ts +51 -0
- package/dist/agents/types.d.ts.map +1 -1
- package/dist/agents/worker-recovery.d.ts +75 -0
- package/dist/agents/worker-recovery.d.ts.map +1 -0
- package/dist/agents/worktree-manager.d.ts.map +1 -1
- package/dist/agents.js +12 -11
- package/dist/agents.js.map +2 -2
- package/dist/audit/details.d.ts +36 -1
- package/dist/audit/details.d.ts.map +1 -1
- package/dist/audit/projection.d.ts.map +1 -1
- package/dist/audit/trace-schema.d.ts +50 -0
- package/dist/audit/trace-schema.d.ts.map +1 -0
- package/dist/audit/trace.d.ts +2 -48
- package/dist/audit/trace.d.ts.map +1 -1
- package/dist/chunks/chunk-2RWNVCFD.js +483 -0
- package/dist/chunks/chunk-2RWNVCFD.js.map +7 -0
- package/dist/chunks/chunk-2SCMGO2Z.js +16 -0
- package/dist/chunks/chunk-2SCMGO2Z.js.map +7 -0
- package/dist/chunks/chunk-35EEGOH3.js +324 -0
- package/dist/chunks/chunk-35EEGOH3.js.map +7 -0
- package/dist/chunks/{chunk-3FJUP3GV.js → chunk-36XQFTEN.js} +2 -2
- package/dist/chunks/{chunk-UTOBAZ5T.js → chunk-37NIOSVU.js} +1 -1
- package/dist/chunks/chunk-37NIOSVU.js.map +7 -0
- package/dist/chunks/chunk-3IJEQBFS.js +25 -0
- package/dist/chunks/chunk-3IJEQBFS.js.map +7 -0
- package/dist/chunks/{chunk-EHQQ4KCX.js → chunk-3MOY6WIB.js} +84 -19
- package/dist/chunks/chunk-3MOY6WIB.js.map +7 -0
- package/dist/chunks/chunk-3PKZSIRA.js +1312 -0
- package/dist/chunks/chunk-3PKZSIRA.js.map +7 -0
- package/dist/chunks/chunk-3VK6UGAN.js +64 -0
- package/dist/chunks/chunk-3VK6UGAN.js.map +7 -0
- package/dist/chunks/{chunk-ROTCDDOV.js → chunk-3XT5WHSG.js} +59 -119
- package/dist/chunks/chunk-3XT5WHSG.js.map +7 -0
- package/dist/chunks/{chunk-FIDUHKMM.js → chunk-4BYS4ZLY.js} +16 -16
- package/dist/chunks/chunk-4BYS4ZLY.js.map +7 -0
- package/dist/chunks/{chunk-K7J2ABAZ.js → chunk-4KX6BIPL.js} +91 -31
- package/dist/chunks/chunk-4KX6BIPL.js.map +7 -0
- package/dist/chunks/{chunk-UOM37PE4.js → chunk-4PBW54I2.js} +162 -92
- package/dist/chunks/chunk-4PBW54I2.js.map +7 -0
- package/dist/chunks/{chunk-ZEXCKK4K.js → chunk-4WKD3YM3.js} +3 -3
- package/dist/chunks/{chunk-PK4NIJEV.js → chunk-4XMXFHAR.js} +62 -3
- package/dist/chunks/chunk-4XMXFHAR.js.map +7 -0
- package/dist/chunks/{chunk-4EW7GVUR.js → chunk-56NMRVTV.js} +589 -377
- package/dist/chunks/chunk-56NMRVTV.js.map +7 -0
- package/dist/chunks/{chunk-GIK2WNAK.js → chunk-5BOTHX47.js} +109 -20
- package/dist/chunks/chunk-5BOTHX47.js.map +7 -0
- package/dist/chunks/chunk-5QJFDKPN.js +179 -0
- package/dist/chunks/chunk-5QJFDKPN.js.map +7 -0
- package/dist/chunks/{chunk-P7CBPPHY.js → chunk-6GWDGTHC.js} +5 -5
- package/dist/chunks/{chunk-P7CBPPHY.js.map → chunk-6GWDGTHC.js.map} +1 -1
- package/dist/chunks/chunk-6HO2IUQ5.js +104 -0
- package/dist/chunks/chunk-6HO2IUQ5.js.map +7 -0
- package/dist/chunks/chunk-6OGYPHNQ.js +62 -0
- package/dist/chunks/chunk-6OGYPHNQ.js.map +7 -0
- package/dist/chunks/{chunk-GO32KSEZ.js → chunk-7CIES6X2.js} +84 -9
- package/dist/chunks/chunk-7CIES6X2.js.map +7 -0
- package/dist/chunks/{chunk-G4TLWHRS.js → chunk-7N7IC3Z2.js} +4 -3
- package/dist/chunks/{chunk-G4TLWHRS.js.map → chunk-7N7IC3Z2.js.map} +2 -2
- package/dist/chunks/{chunk-5XBYFSI5.js → chunk-7YNE4NB2.js} +2 -2
- package/dist/chunks/{chunk-NTC2MCB6.js → chunk-B5L3X3ID.js} +1 -1
- package/dist/chunks/{chunk-NTC2MCB6.js.map → chunk-B5L3X3ID.js.map} +1 -1
- package/dist/chunks/chunk-BIBRWZWQ.js +325 -0
- package/dist/chunks/chunk-BIBRWZWQ.js.map +7 -0
- package/dist/chunks/{chunk-K6QXUGS5.js → chunk-BMAEZNZ5.js} +2 -1
- package/dist/chunks/{chunk-FSB2VIRZ.js → chunk-CBIV747V.js} +14 -3
- package/dist/chunks/chunk-CBIV747V.js.map +7 -0
- package/dist/chunks/{chunk-CCHZXF6K.js → chunk-CXYJJ3HZ.js} +3 -3
- package/dist/chunks/{chunk-R2XQ6AHT.js → chunk-DGERP4VL.js} +22 -10
- package/dist/chunks/chunk-DGERP4VL.js.map +7 -0
- package/dist/chunks/chunk-F2LGSRIN.js +38 -0
- package/dist/chunks/chunk-F2LGSRIN.js.map +7 -0
- package/dist/chunks/chunk-F6A6MQ6G.js +609 -0
- package/dist/chunks/chunk-F6A6MQ6G.js.map +7 -0
- package/dist/chunks/{chunk-IR3PIHJM.js → chunk-FK73YJKV.js} +67 -2
- package/dist/chunks/chunk-FK73YJKV.js.map +7 -0
- package/dist/chunks/{chunk-VYQV5JRT.js → chunk-GJVKEHDL.js} +2 -2
- package/dist/chunks/chunk-GJVKEHDL.js.map +7 -0
- package/dist/chunks/{chunk-TIIIHPHF.js → chunk-GS67KDMV.js} +2 -2
- package/dist/chunks/{chunk-D5NYNIST.js → chunk-H57KPL3V.js} +5 -5
- package/dist/chunks/{chunk-KVYNGDGC.js → chunk-HFDJWLMS.js} +6 -6
- package/dist/chunks/{chunk-KVYNGDGC.js.map → chunk-HFDJWLMS.js.map} +1 -1
- package/dist/chunks/{chunk-INRXG4J5.js → chunk-HGD75NZY.js} +2 -2
- package/dist/chunks/{chunk-CRRUW26I.js → chunk-HRDMBGMY.js} +12 -12
- package/dist/chunks/{chunk-CRRUW26I.js.map → chunk-HRDMBGMY.js.map} +2 -2
- package/dist/chunks/{chunk-MLLYR3Y6.js → chunk-HSEZPCL5.js} +19 -78
- package/dist/chunks/chunk-HSEZPCL5.js.map +7 -0
- package/dist/chunks/{chunk-LNASO4VT.js → chunk-IOGDTIGN.js} +44 -19
- package/dist/chunks/chunk-IOGDTIGN.js.map +7 -0
- package/dist/chunks/chunk-JMUUNW2H.js +65 -0
- package/dist/chunks/chunk-JMUUNW2H.js.map +7 -0
- package/dist/chunks/{chunk-UXIBKMUM.js → chunk-KIFOEBYJ.js} +4 -4
- package/dist/chunks/{chunk-SPCJXN4K.js → chunk-LKYLD5SN.js} +298 -65
- package/dist/chunks/chunk-LKYLD5SN.js.map +7 -0
- package/dist/chunks/{chunk-FUY6XVRX.js → chunk-MPMEK3IQ.js} +2 -2
- package/dist/chunks/{chunk-HP5P7NBO.js → chunk-MSDL7U6Q.js} +4 -4
- package/dist/chunks/chunk-N7ZAK2PB.js +132 -0
- package/dist/chunks/chunk-N7ZAK2PB.js.map +7 -0
- package/dist/chunks/{chunk-VSDUSNIA.js → chunk-NBIYYMKS.js} +8 -2
- package/dist/chunks/chunk-NBIYYMKS.js.map +7 -0
- package/dist/chunks/chunk-NENQZCGW.js +45 -0
- package/dist/chunks/chunk-NENQZCGW.js.map +7 -0
- package/dist/chunks/chunk-NJHJKINP.js +47 -0
- package/dist/chunks/chunk-NJHJKINP.js.map +7 -0
- package/dist/chunks/{chunk-U366I5K2.js → chunk-NQ7IWEIF.js} +18 -6
- package/dist/chunks/chunk-NQ7IWEIF.js.map +7 -0
- package/dist/chunks/{chunk-ZQMBS5SH.js → chunk-OJ4HAALD.js} +15 -12
- package/dist/chunks/chunk-OJ4HAALD.js.map +7 -0
- package/dist/chunks/chunk-OZCJU3PZ.js +33 -0
- package/dist/chunks/chunk-OZCJU3PZ.js.map +7 -0
- package/dist/chunks/chunk-P3DCXKL3.js +40 -0
- package/dist/chunks/chunk-P3DCXKL3.js.map +7 -0
- package/dist/chunks/chunk-P7YSPKTM.js +294 -0
- package/dist/chunks/chunk-P7YSPKTM.js.map +7 -0
- package/dist/chunks/chunk-PQVUMJ5J.js +223 -0
- package/dist/chunks/chunk-PQVUMJ5J.js.map +7 -0
- package/dist/chunks/chunk-PUBHBEYO.js +84 -0
- package/dist/chunks/chunk-PUBHBEYO.js.map +7 -0
- package/dist/chunks/{chunk-P4KH4S4S.js → chunk-QGTD3LAZ.js} +5 -20
- package/dist/chunks/chunk-QGTD3LAZ.js.map +7 -0
- package/dist/chunks/{chunk-TIJ3YQXX.js → chunk-QOEOKW2X.js} +2 -2
- package/dist/chunks/{chunk-TIJ3YQXX.js.map → chunk-QOEOKW2X.js.map} +1 -1
- package/dist/chunks/{chunk-QT4W5YVB.js → chunk-RAA3FAYZ.js} +2 -2
- package/dist/chunks/{chunk-WJJXODAB.js → chunk-RLKRZXSX.js} +8 -1
- package/dist/chunks/{chunk-WJJXODAB.js.map → chunk-RLKRZXSX.js.map} +2 -2
- package/dist/chunks/chunk-RWKQ5SRW.js +129 -0
- package/dist/chunks/chunk-RWKQ5SRW.js.map +7 -0
- package/dist/chunks/chunk-SW25R47N.js +71 -0
- package/dist/chunks/chunk-SW25R47N.js.map +7 -0
- package/dist/chunks/{chunk-EFETPXU2.js → chunk-TJZYM2SP.js} +118 -237
- package/dist/chunks/chunk-TJZYM2SP.js.map +7 -0
- package/dist/chunks/{chunk-53N2I4QA.js → chunk-TXCNZCZP.js} +2 -2
- package/dist/chunks/chunk-UD7LFV43.js +28 -0
- package/dist/chunks/chunk-UD7LFV43.js.map +7 -0
- package/dist/chunks/{chunk-ASSLHWZS.js → chunk-UFMYN5TA.js} +2 -2
- package/dist/chunks/{chunk-7QKKLBHJ.js → chunk-UPMWLOKL.js} +10 -1
- package/dist/chunks/{chunk-7QKKLBHJ.js.map → chunk-UPMWLOKL.js.map} +2 -2
- package/dist/chunks/chunk-V4OW2ULC.js +422 -0
- package/dist/chunks/chunk-V4OW2ULC.js.map +7 -0
- package/dist/chunks/{chunk-FE6NOAO7.js → chunk-VNWQIGQL.js} +1820 -649
- package/dist/chunks/chunk-VNWQIGQL.js.map +7 -0
- package/dist/chunks/{chunk-PYFJW3HC.js → chunk-W5FEHVZA.js} +2 -16
- package/dist/chunks/{chunk-PYFJW3HC.js.map → chunk-W5FEHVZA.js.map} +3 -3
- package/dist/chunks/{chunk-XCEEQ5AB.js → chunk-WGMCNCP6.js} +1567 -1564
- package/dist/chunks/chunk-WGMCNCP6.js.map +7 -0
- package/dist/chunks/chunk-WKFRGICG.js +101 -0
- package/dist/chunks/chunk-WKFRGICG.js.map +7 -0
- package/dist/chunks/{chunk-3UGN25XS.js → chunk-WWTGWGH7.js} +80 -1662
- package/dist/chunks/chunk-WWTGWGH7.js.map +7 -0
- package/dist/chunks/{chunk-5UBRGTVN.js → chunk-X7QETPBC.js} +31 -15
- package/dist/chunks/chunk-X7QETPBC.js.map +7 -0
- package/dist/chunks/{chunk-LEU5CDSL.js → chunk-XFOSUGLU.js} +5 -5
- package/dist/chunks/{chunk-MZUC6LLH.js → chunk-XMYG2TKR.js} +4 -4
- package/dist/chunks/{chunk-MZUC6LLH.js.map → chunk-XMYG2TKR.js.map} +1 -1
- package/dist/chunks/chunk-YC65P7ZO.js +57 -0
- package/dist/chunks/chunk-YC65P7ZO.js.map +7 -0
- package/dist/chunks/{chunk-EKODKR6Y.js → chunk-YHFWMAQ5.js} +1 -24
- package/dist/chunks/chunk-YHFWMAQ5.js.map +7 -0
- package/dist/chunks/{chunk-C7Z6F3SO.js → chunk-ZFWICFNJ.js} +27 -20
- package/dist/chunks/{chunk-C7Z6F3SO.js.map → chunk-ZFWICFNJ.js.map} +2 -2
- package/dist/cli/decisions.d.ts.map +1 -1
- package/dist/cli/decisions.js +15 -3
- package/dist/cli/decisions.js.map +2 -2
- package/dist/cli/mesh.js +4 -3
- package/dist/cli/mesh.js.map +1 -1
- package/dist/commands/fabric-handler.d.ts +7 -0
- package/dist/commands/fabric-handler.d.ts.map +1 -0
- package/dist/commands/fabric-handler.js +916 -0
- package/dist/commands/fabric-handler.js.map +7 -0
- package/dist/commands/fabric.d.ts +11 -1
- package/dist/commands/fabric.d.ts.map +1 -1
- package/dist/compaction/claim-events.d.ts +61 -0
- package/dist/compaction/claim-events.d.ts.map +1 -0
- package/dist/compaction/claim-events.js +210 -0
- package/dist/compaction/claim-events.js.map +7 -0
- package/dist/compaction/claim.d.ts +51 -0
- package/dist/compaction/claim.d.ts.map +1 -0
- package/dist/compaction/hook.d.ts +28 -2
- package/dist/compaction/hook.d.ts.map +1 -1
- package/dist/compaction/hook.js +12 -7
- package/dist/compaction/owner.js +9 -8
- package/dist/compaction/trace-events.d.ts +1 -1
- package/dist/compaction/trace-events.d.ts.map +1 -1
- package/dist/components/configuration.js +6 -6
- package/dist/components/effect-scope.d.ts.map +1 -1
- package/dist/config.d.ts +39 -2
- package/dist/config.d.ts.map +1 -1
- package/dist/core/action-arguments.d.ts.map +1 -1
- package/dist/core/action-policy-hooks.d.ts +69 -0
- package/dist/core/action-policy-hooks.d.ts.map +1 -0
- package/dist/core/action-registry.d.ts +31 -10
- package/dist/core/action-registry.d.ts.map +1 -1
- package/dist/core/action-registry.js +12 -9
- package/dist/core/approval-controller.d.ts +23 -3
- package/dist/core/approval-controller.d.ts.map +1 -1
- package/dist/core/atomic-write.d.ts +164 -0
- package/dist/core/atomic-write.d.ts.map +1 -1
- package/dist/core/child-tool-allowlist.d.ts +17 -1
- package/dist/core/child-tool-allowlist.d.ts.map +1 -1
- package/dist/core/compact-controller.d.ts +34 -0
- package/dist/core/compact-controller.d.ts.map +1 -1
- package/dist/core/core-override-guidance.d.ts +3 -1
- package/dist/core/core-override-guidance.d.ts.map +1 -1
- package/dist/core/file-lock.d.ts.map +1 -1
- package/dist/core/foreground-tools.d.ts +4 -1
- package/dist/core/foreground-tools.d.ts.map +1 -1
- package/dist/core/host-policy.d.ts +43 -0
- package/dist/core/host-policy.d.ts.map +1 -0
- package/dist/core/host-sdk-runtime.d.ts.map +1 -1
- package/dist/core/host-sdk.d.ts.map +1 -1
- package/dist/core/host-sdk.js +1 -1
- package/dist/core/managed-host-guidance.d.ts +5 -0
- package/dist/core/managed-host-guidance.d.ts.map +1 -0
- package/dist/core/model-aliases.d.ts +22 -0
- package/dist/core/model-aliases.d.ts.map +1 -0
- package/dist/core/model-resolution.d.ts +41 -20
- package/dist/core/model-resolution.d.ts.map +1 -1
- package/dist/core/native-tool-result.d.ts +1 -0
- package/dist/core/native-tool-result.d.ts.map +1 -1
- package/dist/core/program-tasks.d.ts +52 -0
- package/dist/core/program-tasks.d.ts.map +1 -0
- package/dist/core/prompt-guidance.d.ts +5 -0
- package/dist/core/prompt-guidance.d.ts.map +1 -0
- package/dist/core/prompt-guidance.js +159 -0
- package/dist/core/prompt-guidance.js.map +7 -0
- package/dist/core/provider-operations.d.ts.map +1 -1
- package/dist/core/provider-operations.js +60 -108
- package/dist/core/provider-operations.js.map +3 -3
- package/dist/core/shell-inbox.d.ts.map +1 -1
- package/dist/core/shell-jobs.d.ts +7 -5
- package/dist/core/shell-jobs.d.ts.map +1 -1
- package/dist/core/shell-timing.d.ts.map +1 -1
- package/dist/core/skill-prompt.d.ts +1 -1
- package/dist/core/skill-prompt.d.ts.map +1 -1
- package/dist/core/skill-references.d.ts +1 -1
- package/dist/core/skill-references.d.ts.map +1 -1
- package/dist/core/system-guidance.d.ts.map +1 -1
- package/dist/core/tool-result-proxy.d.ts.map +1 -1
- package/dist/decisions/command.d.ts +2 -1
- package/dist/decisions/command.d.ts.map +1 -1
- package/dist/decisions/command.js +40 -12
- package/dist/decisions/command.js.map +2 -2
- package/dist/decisions/events.d.ts +12 -0
- package/dist/decisions/events.d.ts.map +1 -0
- package/dist/decisions/events.js +130 -0
- package/dist/decisions/events.js.map +7 -0
- package/dist/decisions/host.d.ts +31 -3
- package/dist/decisions/host.d.ts.map +1 -1
- package/dist/decisions/render.d.ts +44 -0
- package/dist/decisions/render.d.ts.map +1 -0
- package/dist/decisions/store.d.ts +8 -0
- package/dist/decisions/store.d.ts.map +1 -1
- package/dist/durable/agent.d.ts +8 -0
- package/dist/durable/agent.d.ts.map +1 -1
- package/dist/durable/extension-load-error.d.ts +8 -0
- package/dist/durable/extension-load-error.d.ts.map +1 -0
- package/dist/durable/session.d.ts +1 -0
- package/dist/durable/session.d.ts.map +1 -1
- package/dist/durable/worker-host.d.ts +10 -1
- package/dist/durable/worker-host.d.ts.map +1 -1
- package/dist/durable/worker-host.js +10 -1181
- package/dist/durable/worker-host.js.map +4 -4
- package/dist/durable/worker-options.d.ts +3 -0
- package/dist/durable/worker-options.d.ts.map +1 -1
- package/dist/durable/worker-role-seed.d.ts +82 -0
- package/dist/durable/worker-role-seed.d.ts.map +1 -0
- package/dist/durable/worker.js +43 -4
- package/dist/durable/worker.js.map +2 -2
- package/dist/durable-controls.d.ts.map +1 -1
- package/dist/durable-extension-wasm.d.ts +8 -0
- package/dist/durable-extension-wasm.d.ts.map +1 -0
- package/dist/durable-extension-wasm.js +32 -0
- package/dist/durable-extension-wasm.js.map +7 -0
- package/dist/durable-extension.d.ts +94 -0
- package/dist/durable-extension.d.ts.map +1 -0
- package/dist/durable-extension.js +649 -0
- package/dist/durable-extension.js.map +7 -0
- package/dist/durable-host.d.ts +8 -0
- package/dist/durable-host.d.ts.map +1 -0
- package/dist/durable-host.js +20 -0
- package/dist/durable-host.js.map +7 -0
- package/dist/durable-journal.d.ts +94 -0
- package/dist/durable-journal.d.ts.map +1 -0
- package/dist/durable.d.ts.map +1 -1
- package/dist/durable.js +10 -8
- package/dist/durable.js.map +2 -2
- package/dist/entropy/index.js +12 -10
- package/dist/entropy/pool-store.d.ts.map +1 -1
- package/dist/execution-service.d.ts +14 -0
- package/dist/execution-service.d.ts.map +1 -1
- package/dist/extension-bootstrap.d.ts.map +1 -1
- package/dist/extension-bootstrap.js +28 -27
- package/dist/extension-bootstrap.js.map +2 -2
- package/dist/extension-copy.d.ts +21 -0
- package/dist/extension-copy.d.ts.map +1 -0
- package/dist/extension-copy.js +90 -0
- package/dist/extension-copy.js.map +7 -0
- package/dist/extension.d.ts +1 -1
- package/dist/extension.d.ts.map +1 -1
- package/dist/fabric-exec-arguments.d.ts.map +1 -1
- package/dist/fabric-exec-tool.d.ts +2 -1
- package/dist/fabric-exec-tool.d.ts.map +1 -1
- package/dist/fabric-runtime-state.d.ts +19 -0
- package/dist/fabric-runtime-state.d.ts.map +1 -1
- package/dist/fabric-runtime-state.js +2125 -786
- package/dist/fabric-runtime-state.js.map +4 -4
- package/dist/fabric-state.d.ts +44 -1
- package/dist/fabric-state.d.ts.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +88 -53
- package/dist/index.js.map +2 -2
- package/dist/jev/client.js +2 -2
- package/dist/jev/manager.d.ts +3 -0
- package/dist/jev/manager.d.ts.map +1 -1
- package/dist/jev/observation.d.ts +1 -1
- package/dist/jev/observation.js +6 -6
- package/dist/jev-fabric/bridge.d.ts.map +1 -1
- package/dist/jev.js +11 -12
- package/dist/managed-host.d.ts +13 -0
- package/dist/managed-host.d.ts.map +1 -1
- package/dist/memory/digest.js +2 -2
- package/dist/memory/discovery.js +6 -7
- package/dist/memory/file-worker.js +10 -11
- package/dist/memory/file-worker.js.map +1 -1
- package/dist/memory/normalize.js +5 -6
- package/dist/memory/search.js +7 -8
- package/dist/memory/worker-provider.js +11 -12
- package/dist/memory.js +11 -12
- package/dist/memory.js.map +1 -1
- package/dist/mesh/grants.d.ts +3 -3
- package/dist/mesh/grants.d.ts.map +1 -1
- package/dist/mesh/store.d.ts +8 -0
- package/dist/mesh/store.d.ts.map +1 -1
- package/dist/native-codemode.d.ts.map +1 -1
- package/dist/native-tool-catalog.d.ts.map +1 -1
- package/dist/native-tool-catalog.js +12 -3
- package/dist/native-tool-catalog.js.map +2 -2
- package/dist/programs/host.d.ts +18 -6
- package/dist/programs/host.d.ts.map +1 -1
- package/dist/programs/host.js +71 -47
- package/dist/programs/host.js.map +2 -2
- package/dist/programs/source.d.ts +11 -0
- package/dist/programs/source.d.ts.map +1 -1
- package/dist/programs/store.d.ts.map +1 -1
- package/dist/protocol.d.ts +504 -8
- package/dist/protocol.d.ts.map +1 -1
- package/dist/protocol.js +41 -11
- package/dist/provider-globals.d.ts +13 -0
- package/dist/provider-globals.d.ts.map +1 -0
- package/dist/providers/agents-actions.d.ts.map +1 -1
- package/dist/providers/agents-provider.d.ts +3 -0
- package/dist/providers/agents-provider.d.ts.map +1 -1
- package/dist/providers/captured-tools-provider.d.ts +5 -0
- package/dist/providers/captured-tools-provider.d.ts.map +1 -1
- package/dist/providers/compact-provider.d.ts +4 -1
- package/dist/providers/compact-provider.d.ts.map +1 -1
- package/dist/providers/components-provider.d.ts.map +1 -1
- package/dist/providers/decisions-provider.d.ts +9 -1
- package/dist/providers/decisions-provider.d.ts.map +1 -1
- package/dist/providers/jev-provider.d.ts +1 -1
- package/dist/providers/jev-provider.js +11 -12
- package/dist/providers/memory-provider.js +10 -11
- package/dist/providers/pi-tools-provider.d.ts +14 -0
- package/dist/providers/pi-tools-provider.d.ts.map +1 -1
- package/dist/providers/programs-provider.d.ts.map +1 -1
- package/dist/providers/sessions-provider.d.ts +7 -0
- package/dist/providers/sessions-provider.d.ts.map +1 -1
- package/dist/repeat-guard.d.ts +7 -6
- package/dist/repeat-guard.d.ts.map +1 -1
- package/dist/residency/actor-client.js +3 -3
- package/dist/residency/client.d.ts +15 -0
- package/dist/residency/client.d.ts.map +1 -1
- package/dist/residency/host.d.ts.map +1 -1
- package/dist/residency/host.js +34 -23
- package/dist/residency/launcher.js +1 -1
- package/dist/residency/pi-entry.js +34 -23
- package/dist/residency/pi-entry.js.map +1 -1
- package/dist/residency/protocol.d.ts +2 -0
- package/dist/residency/protocol.d.ts.map +1 -1
- package/dist/runners.js +11 -1
- package/dist/runners.js.map +2 -2
- package/dist/runtime/core-override-guest-types.js +2 -2
- package/dist/runtime/cpython-child-source.d.ts.map +1 -1
- package/dist/runtime/cpython-runtime.d.ts.map +1 -1
- package/dist/runtime/cpython-runtime.js +51 -21
- package/dist/runtime/cpython-runtime.js.map +2 -2
- package/dist/runtime/deadline-pause.d.ts +2 -0
- package/dist/runtime/deadline-pause.d.ts.map +1 -1
- package/dist/runtime/dynamic-guest-types.d.ts.map +1 -1
- package/dist/runtime/dynamic-guest-types.js +2 -1
- package/dist/runtime/exec-journal.d.ts +73 -0
- package/dist/runtime/exec-journal.d.ts.map +1 -0
- package/dist/runtime/exec-journal.js +335 -0
- package/dist/runtime/exec-journal.js.map +7 -0
- package/dist/runtime/guest-types.d.ts +3 -2
- package/dist/runtime/guest-types.d.ts.map +1 -1
- package/dist/runtime/guest-types.js +1 -1
- package/dist/runtime/journal-shim.d.ts +3 -0
- package/dist/runtime/journal-shim.d.ts.map +1 -0
- package/dist/runtime/kernel.d.ts +95 -1
- package/dist/runtime/kernel.d.ts.map +1 -1
- package/dist/runtime/monty-bridge.d.ts +6 -2
- package/dist/runtime/monty-bridge.d.ts.map +1 -1
- package/dist/runtime/monty-runtime.d.ts.map +1 -1
- package/dist/runtime/monty-runtime.js +27 -15
- package/dist/runtime/monty-runtime.js.map +2 -2
- package/dist/runtime/native-codemode-guest.d.ts.map +1 -1
- package/dist/runtime/node-process-runtime.d.ts.map +1 -1
- package/dist/runtime/node-process-runtime.js +7 -5
- package/dist/runtime/quickjs-runtime.d.ts +7 -1
- package/dist/runtime/quickjs-runtime.d.ts.map +1 -1
- package/dist/runtime/quickjs-runtime.js +5 -4
- package/dist/runtime/sha256.d.ts +4 -0
- package/dist/runtime/sha256.d.ts.map +1 -0
- package/dist/runtime/transpile.d.ts +8 -0
- package/dist/runtime/transpile.d.ts.map +1 -0
- package/dist/runtime/type-checker.d.ts +1 -7
- package/dist/runtime/type-checker.d.ts.map +1 -1
- package/dist/runtime/type-checker.js +4 -2
- package/dist/runtime/typescript-kernel.js +13 -10
- package/dist/runtime/typescript-kernel.js.map +1 -1
- package/dist/runtime-state-builtins.d.ts.map +1 -1
- package/dist/speculation/scanner.js +1 -1
- package/dist/speculation/store.d.ts +7 -16
- package/dist/speculation/store.d.ts.map +1 -1
- package/dist/speculation/types.d.ts +1 -0
- package/dist/speculation/types.d.ts.map +1 -1
- package/dist/storage/retention.d.ts.map +1 -1
- package/dist/topology/participant-directory.d.ts +26 -1
- package/dist/topology/participant-directory.d.ts.map +1 -1
- package/dist/topology/peer-presence.d.ts.map +1 -1
- package/dist/topology/peer-settle.js +11 -0
- package/dist/topology/peer-settle.js.map +7 -0
- package/dist/topology/session-label-settings.d.ts +13 -0
- package/dist/topology/session-label-settings.d.ts.map +1 -0
- package/dist/topology/session-label.d.ts +60 -0
- package/dist/topology/session-label.d.ts.map +1 -0
- package/dist/topology/types.d.ts +27 -0
- package/dist/topology/types.d.ts.map +1 -1
- package/dist/type-error-guidance.js +1 -1
- package/dist/ui/controller.d.ts +1 -0
- package/dist/ui/controller.d.ts.map +1 -1
- package/dist/ui/conversation-chrome.d.ts.map +1 -1
- package/dist/ui/conversation-chrome.js +3 -2
- package/dist/ui/conversation-commands.d.ts +1 -1
- package/dist/ui/conversation-commands.d.ts.map +1 -1
- package/dist/ui/conversation-native-reader.js +2 -2
- package/dist/ui/conversation-selection.d.ts +4 -1
- package/dist/ui/conversation-selection.d.ts.map +1 -1
- package/dist/ui/conversation-targets.d.ts.map +1 -1
- package/dist/ui/conversation-targets.js +2 -2
- package/dist/ui/conversation.d.ts +25 -24
- package/dist/ui/conversation.d.ts.map +1 -1
- package/dist/ui/conversation.js +170 -339
- package/dist/ui/conversation.js.map +2 -2
- package/dist/ui/core-tool-render.d.ts +1 -0
- package/dist/ui/core-tool-render.d.ts.map +1 -1
- package/dist/ui/dashboard.d.ts.map +1 -1
- package/dist/ui/dashboard.js +17 -13
- package/dist/ui/dashboard.js.map +2 -2
- package/dist/ui/fabric-render.d.ts +6 -0
- package/dist/ui/fabric-render.d.ts.map +1 -1
- package/dist/ui/footer-dock.d.ts +48 -0
- package/dist/ui/footer-dock.d.ts.map +1 -0
- package/dist/ui/format.d.ts +7 -0
- package/dist/ui/format.d.ts.map +1 -1
- package/dist/ui/settings-sections-lifecycle.d.ts.map +1 -1
- package/dist/ui/settings-sections-presentation.d.ts.map +1 -1
- package/dist/ui/settings-values.d.ts +1 -0
- package/dist/ui/settings-values.d.ts.map +1 -1
- package/dist/ui/settings.js +59 -18
- package/dist/ui/settings.js.map +2 -2
- package/dist/ui/shell-hang-keys.d.ts +8 -1
- package/dist/ui/shell-hang-keys.d.ts.map +1 -1
- package/dist/ui/shell-tasks.d.ts +2 -2
- package/dist/ui/shell-tasks.d.ts.map +1 -1
- package/dist/ui/shell-tasks.js +27 -94
- package/dist/ui/shell-tasks.js.map +2 -2
- package/dist/ui/snapshot.d.ts.map +1 -1
- package/dist/ui/terminal-title.d.ts +41 -0
- package/dist/ui/terminal-title.d.ts.map +1 -0
- package/dist/ui/types.d.ts +4 -0
- package/dist/ui/types.d.ts.map +1 -1
- package/dist/ui/widget-keys.d.ts +5 -0
- package/dist/ui/widget-keys.d.ts.map +1 -0
- package/dist/ui/widget.d.ts +34 -16
- package/dist/ui/widget.d.ts.map +1 -1
- package/dist/ui/word-diff/line-emphasis.js +1603 -0
- package/dist/ui/word-diff/line-emphasis.js.map +7 -0
- package/dist/util.d.ts +2 -0
- package/dist/util.d.ts.map +1 -1
- package/dist/verified/authority.d.ts +2 -2
- package/dist/verified/authority.d.ts.map +1 -1
- package/dist/verified/budget.d.ts +4 -0
- package/dist/verified/budget.d.ts.map +1 -0
- package/dist/verified/generated/actor-name.d.ts +4 -0
- package/dist/verified/generated/actor-name.js +17 -0
- package/dist/verified/generated/authority.d.ts +4 -0
- package/dist/verified/generated/authority.js +28 -0
- package/dist/verified/generated/budget.d.ts +4 -0
- package/dist/verified/generated/budget.js +17 -0
- package/dist/verified/generated/compaction.d.ts +4 -0
- package/dist/verified/generated/compaction.js +19 -0
- package/dist/verified/generated/grants.d.ts +4 -0
- package/dist/verified/generated/grants.js +17 -0
- package/dist/verified/generated/lifecycle.d.ts +4 -0
- package/dist/verified/generated/lifecycle.js +50 -0
- package/dist/verified/generated/manifest.json +137 -48
- package/dist/verified/generated/policy.d.ts +17 -0
- package/dist/verified/generated/policy.js +211 -0
- package/dist/verified/generated/provider.d.ts +4 -0
- package/dist/verified/generated/provider.js +18 -0
- package/dist/verified/generated/resources.d.ts +6 -0
- package/dist/verified/generated/resources.js +73 -0
- package/dist/verified/generated/speculation.d.ts +6 -0
- package/dist/verified/generated/speculation.js +48 -0
- package/dist/verified/generated/storage.d.ts +4 -0
- package/dist/verified/generated/storage.js +18 -0
- package/dist/verified/grants.d.ts +22 -0
- package/dist/verified/grants.d.ts.map +1 -0
- package/dist/verified/lifecycle.d.ts +31 -0
- package/dist/verified/lifecycle.d.ts.map +1 -0
- package/dist/verified/machine.d.ts +18 -0
- package/dist/verified/machine.d.ts.map +1 -0
- package/dist/verified/memory.d.ts +1 -1
- package/dist/verified/memory.d.ts.map +1 -1
- package/dist/verified/nat.d.ts +1 -1
- package/dist/verified/nat.d.ts.map +1 -1
- package/dist/verified/policy.d.ts +17 -5
- package/dist/verified/policy.d.ts.map +1 -1
- package/dist/verified/provider.d.ts +22 -0
- package/dist/verified/provider.d.ts.map +1 -0
- package/dist/verified/resources.d.ts +21 -7
- package/dist/verified/resources.d.ts.map +1 -1
- package/dist/verified/speculation.d.ts +36 -0
- package/dist/verified/speculation.d.ts.map +1 -0
- package/dist/verified/storage.d.ts.map +1 -1
- package/dist/worker/missing-install.d.ts +8 -0
- package/dist/worker/missing-install.d.ts.map +1 -0
- package/dist/worker/options.d.ts.map +1 -1
- package/dist/worker/options.js +25 -0
- package/dist/worker/options.js.map +2 -2
- package/dist/worker/prompt-lifecycle.d.ts +16 -0
- package/dist/worker/prompt-lifecycle.d.ts.map +1 -0
- package/dist/worker/prompt-lifecycle.js +90 -0
- package/dist/worker/prompt-lifecycle.js.map +7 -0
- package/dist/worker/questions.d.ts +15 -3
- package/dist/worker/questions.d.ts.map +1 -1
- package/dist/worker/questions.js +53 -8
- package/dist/worker/questions.js.map +2 -2
- package/dist/worker/recovery-watchdog.d.ts +22 -0
- package/dist/worker/recovery-watchdog.d.ts.map +1 -1
- package/dist/worker/recovery-watchdog.js +116 -1
- package/dist/worker/recovery-watchdog.js.map +2 -2
- package/dist/worker/result.js +1 -1
- package/dist/worker/result.js.map +2 -2
- package/dist/worker.js +131 -21
- package/dist/worker.js.map +2 -2
- package/docs/actor-name-policy-handoff.md +5 -0
- package/docs/agents.md +164 -17
- package/docs/architecture.md +5 -1
- package/docs/audit-trace.md +2 -1
- package/docs/background-tasks.md +102 -16
- package/docs/codemode-parity.md +2 -2
- package/docs/compaction.md +21 -5
- package/docs/components.md +1 -1
- package/docs/configuration.md +111 -66
- package/docs/decisions.md +92 -10
- package/docs/durable-extension.md +121 -0
- package/docs/durable-pi.md +306 -6
- package/docs/extractive-history.md +3 -1
- package/docs/interface.md +20 -17
- package/docs/jev.md +1 -1
- package/docs/kernels.md +1 -1
- package/{node_modules/pi-coralbricks-provider/LICENSE → docs/licenses/gdp-wired-mit.txt} +1 -1
- package/docs/managed-host-migration.md +50 -0
- package/docs/programmatic-compaction.md +216 -6
- package/docs/programs.md +23 -1
- package/docs/prompt-cache.md +4 -2
- package/docs/provider-capabilities.md +15 -14
- package/docs/providers.md +99 -3
- package/docs/shell-composition.md +15 -0
- package/docs/short-lock-protocol.md +90 -0
- package/docs/skills.md +5 -1
- package/docs/speculation.md +6 -0
- package/docs/verified-kernels.md +309 -220
- package/package.json +45 -24
- package/proofs/actor-name.ts +27 -0
- package/proofs/authority.ts +62 -0
- package/proofs/budget.ts +24 -0
- package/proofs/compaction.ts +51 -0
- package/proofs/grants.ts +39 -0
- package/proofs/index.ts +40 -0
- package/proofs/kernel.ts +44 -0
- package/proofs/lifecycle.ts +128 -0
- package/proofs/policy.ts +195 -0
- package/proofs/provider.ts +52 -0
- package/proofs/resources.ts +160 -0
- package/proofs/speculation.ts +69 -0
- package/proofs/storage.ts +66 -0
- package/scripts/verified-kernels.ts +141 -0
- package/skillsets/python/fabric-council/SKILL.md +92 -20
- package/skillsets/python/fabric-exec/SKILL.md +2 -2
- package/skillsets/python/fabric-exec/references/agents.md +10 -4
- package/skillsets/python/fabric-fusion/SKILL.md +1 -1
- package/skillsets/python/fabric-guide/SKILL.md +1 -1
- package/skillsets/typescript/fabric-council/SKILL.md +109 -22
- package/skillsets/typescript/fabric-exec/SKILL.md +7 -7
- package/skillsets/typescript/fabric-exec/references/agents.md +12 -3
- package/skillsets/typescript/fabric-fusion/SKILL.md +1 -1
- package/skillsets/typescript/fabric-guide/SKILL.md +1 -1
- package/LAWS.bend +0 -502
- package/PROOF.bend +0 -452
- package/dist/chunks/chunk-3UGN25XS.js.map +0 -7
- package/dist/chunks/chunk-4EW7GVUR.js.map +0 -7
- package/dist/chunks/chunk-5UBRGTVN.js.map +0 -7
- package/dist/chunks/chunk-BN7F52EG.js +0 -525
- package/dist/chunks/chunk-BN7F52EG.js.map +0 -7
- package/dist/chunks/chunk-DK35W6U7.js +0 -259
- package/dist/chunks/chunk-DK35W6U7.js.map +0 -7
- package/dist/chunks/chunk-EFETPXU2.js.map +0 -7
- package/dist/chunks/chunk-EHQQ4KCX.js.map +0 -7
- package/dist/chunks/chunk-EKODKR6Y.js.map +0 -7
- package/dist/chunks/chunk-FE6NOAO7.js.map +0 -7
- package/dist/chunks/chunk-FIDUHKMM.js.map +0 -7
- package/dist/chunks/chunk-FSB2VIRZ.js.map +0 -7
- package/dist/chunks/chunk-GIK2WNAK.js.map +0 -7
- package/dist/chunks/chunk-GO32KSEZ.js.map +0 -7
- package/dist/chunks/chunk-IR3PIHJM.js.map +0 -7
- package/dist/chunks/chunk-ITVLKXCI.js +0 -266
- package/dist/chunks/chunk-ITVLKXCI.js.map +0 -7
- package/dist/chunks/chunk-K7J2ABAZ.js.map +0 -7
- package/dist/chunks/chunk-KJZAOENY.js +0 -212
- package/dist/chunks/chunk-KJZAOENY.js.map +0 -7
- package/dist/chunks/chunk-LNASO4VT.js.map +0 -7
- package/dist/chunks/chunk-MLLYR3Y6.js.map +0 -7
- package/dist/chunks/chunk-P4KH4S4S.js.map +0 -7
- package/dist/chunks/chunk-PK4NIJEV.js.map +0 -7
- package/dist/chunks/chunk-Q2JQ3RYZ.js +0 -99
- package/dist/chunks/chunk-Q2JQ3RYZ.js.map +0 -7
- package/dist/chunks/chunk-R2XQ6AHT.js.map +0 -7
- package/dist/chunks/chunk-ROTCDDOV.js.map +0 -7
- package/dist/chunks/chunk-SPCJXN4K.js.map +0 -7
- package/dist/chunks/chunk-U366I5K2.js.map +0 -7
- package/dist/chunks/chunk-UKMQK5VP.js +0 -231
- package/dist/chunks/chunk-UKMQK5VP.js.map +0 -7
- package/dist/chunks/chunk-UOM37PE4.js.map +0 -7
- package/dist/chunks/chunk-UTOBAZ5T.js.map +0 -7
- package/dist/chunks/chunk-VSDUSNIA.js.map +0 -7
- package/dist/chunks/chunk-VTK2FEH7.js +0 -229
- package/dist/chunks/chunk-VTK2FEH7.js.map +0 -7
- package/dist/chunks/chunk-VYQV5JRT.js.map +0 -7
- package/dist/chunks/chunk-XCEEQ5AB.js.map +0 -7
- package/dist/chunks/chunk-ZLNJDTCN.js +0 -226
- package/dist/chunks/chunk-ZLNJDTCN.js.map +0 -7
- package/dist/chunks/chunk-ZQMBS5SH.js.map +0 -7
- package/dist/ui/conversation-shortcut.d.ts +0 -3
- package/dist/ui/conversation-shortcut.d.ts.map +0 -1
- package/dist/ui/widget-activity.d.ts +0 -21
- package/dist/ui/widget-activity.d.ts.map +0 -1
- package/dist/verified/generated/authority-kernel.d.ts +0 -10
- package/dist/verified/generated/authority-kernel.js +0 -127
- package/dist/verified/generated/kernel.d.ts +0 -31
- package/dist/verified/generated/kernel.js +0 -389
- package/dist/verified/generated/lifecycle-kernel.d.ts +0 -7
- package/dist/verified/generated/lifecycle-kernel.js +0 -164
- package/dist/verified/generated/provider-kernel.d.ts +0 -9
- package/dist/verified/generated/provider-kernel.js +0 -87
- package/dist/verified/generated/storage-kernel.d.ts +0 -11
- package/dist/verified/generated/storage-kernel.js +0 -107
- package/docs/licenses/bend-apache-2.0.txt +0 -202
- package/node_modules/pi-coralbricks-provider/README.md +0 -306
- package/node_modules/pi-coralbricks-provider/auth.ts +0 -30
- package/node_modules/pi-coralbricks-provider/custom-models.json +0 -1
- package/node_modules/pi-coralbricks-provider/deprecated-models.json +0 -1
- package/node_modules/pi-coralbricks-provider/guard.ts +0 -155
- package/node_modules/pi-coralbricks-provider/index.ts +0 -662
- package/node_modules/pi-coralbricks-provider/models.json +0 -88
- package/node_modules/pi-coralbricks-provider/package.json +0 -74
- package/node_modules/pi-coralbricks-provider/park.ts +0 -122
- package/node_modules/pi-coralbricks-provider/patch.json +0 -34
- package/node_modules/pi-coralbricks-provider/scripts/update-models.js +0 -658
- package/node_modules/pi-coralbricks-provider/settings.ts +0 -143
- package/node_modules/pi-coralbricks-provider/sync-policy.ts +0 -309
- package/proofs/abi.json +0 -308
- package/proofs/authority-abi.json +0 -7
- package/proofs/authority-kernel.bend +0 -23
- package/proofs/authority-proof.bend +0 -74
- package/proofs/authority-spec.bend +0 -30
- package/proofs/authority-state.bend +0 -43
- package/proofs/authority-types.d.ts +0 -3
- package/proofs/kernel.bend +0 -139
- package/proofs/lifecycle-abi.json +0 -3
- package/proofs/lifecycle-kernel.bend +0 -11
- package/proofs/lifecycle-proof.bend +0 -249
- package/proofs/lifecycle-spec.bend +0 -261
- package/proofs/lifecycle-types.d.ts +0 -4
- package/proofs/lifecycle.bend +0 -119
- package/proofs/provider-abi.json +0 -4
- package/proofs/provider-kernel.bend +0 -14
- package/proofs/provider-plans.bend +0 -28
- package/proofs/provider-spec.bend +0 -14
- package/proofs/provider-types.d.ts +0 -5
- package/proofs/resource-proof.bend +0 -633
- package/proofs/resource-spec.bend +0 -133
- package/proofs/resources.bend +0 -160
- package/proofs/state-kernel.bend +0 -17
- package/proofs/state-plans.bend +0 -40
- package/proofs/state-proof.bend +0 -42
- package/proofs/state-spec.bend +0 -26
- package/proofs/storage-abi.json +0 -3
- package/proofs/storage-kernel.bend +0 -11
- package/proofs/storage-plans.bend +0 -100
- package/proofs/storage-proof.bend +0 -176
- package/proofs/storage-spec.bend +0 -70
- package/proofs/storage-types.d.ts +0 -8
- package/proofs/types.d.ts +0 -7
- package/scripts/test-verified-kernels.mjs +0 -107
- package/scripts/verified-kernels.mjs +0 -176
- /package/dist/chunks/{chunk-3FJUP3GV.js.map → chunk-36XQFTEN.js.map} +0 -0
- /package/dist/chunks/{chunk-ZEXCKK4K.js.map → chunk-4WKD3YM3.js.map} +0 -0
- /package/dist/chunks/{chunk-5XBYFSI5.js.map → chunk-7YNE4NB2.js.map} +0 -0
- /package/dist/chunks/{chunk-K6QXUGS5.js.map → chunk-BMAEZNZ5.js.map} +0 -0
- /package/dist/chunks/{chunk-CCHZXF6K.js.map → chunk-CXYJJ3HZ.js.map} +0 -0
- /package/dist/chunks/{chunk-TIIIHPHF.js.map → chunk-GS67KDMV.js.map} +0 -0
- /package/dist/chunks/{chunk-D5NYNIST.js.map → chunk-H57KPL3V.js.map} +0 -0
- /package/dist/chunks/{chunk-INRXG4J5.js.map → chunk-HGD75NZY.js.map} +0 -0
- /package/dist/chunks/{chunk-UXIBKMUM.js.map → chunk-KIFOEBYJ.js.map} +0 -0
- /package/dist/chunks/{chunk-FUY6XVRX.js.map → chunk-MPMEK3IQ.js.map} +0 -0
- /package/dist/chunks/{chunk-HP5P7NBO.js.map → chunk-MSDL7U6Q.js.map} +0 -0
- /package/dist/chunks/{chunk-QT4W5YVB.js.map → chunk-RAA3FAYZ.js.map} +0 -0
- /package/dist/chunks/{chunk-53N2I4QA.js.map → chunk-TXCNZCZP.js.map} +0 -0
- /package/dist/chunks/{chunk-ASSLHWZS.js.map → chunk-UFMYN5TA.js.map} +0 -0
- /package/dist/chunks/{chunk-LEU5CDSL.js.map → chunk-XFOSUGLU.js.map} +0 -0
|
@@ -1,54 +1,143 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version":
|
|
3
|
-
"
|
|
2
|
+
"version": 3,
|
|
3
|
+
"prover": "gdp-wired@0.31.1",
|
|
4
4
|
"inputs": {
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"proofs/
|
|
8
|
-
"proofs/
|
|
9
|
-
"proofs/
|
|
10
|
-
"proofs/
|
|
11
|
-
"proofs/
|
|
12
|
-
"proofs/
|
|
13
|
-
"
|
|
14
|
-
"proofs/
|
|
15
|
-
"proofs/
|
|
16
|
-
"proofs/
|
|
17
|
-
"proofs/
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"proofs/provider-abi.json": "785ce1648363dba0fccd81d350596c13cd3c5f332c23b1a1c7a365b5912f3e19",
|
|
22
|
-
"proofs/provider-types.d.ts": "67413b61b338bb14ebf078acf2bf795209159c9aabe7737c7c1ffeda659c68a1",
|
|
23
|
-
"proofs/lifecycle.bend": "cc21726730fcfe3dad298330e98444fe70a559532b87960020d8bd3e27005c85",
|
|
24
|
-
"proofs/lifecycle-kernel.bend": "7448c066bdd87c8678757c42a5118d3682b68245d6d84c708961f50550c4bc98",
|
|
25
|
-
"proofs/lifecycle-spec.bend": "feb2fb1c1eb6803946b07cf83420627be638ad94bf493aa693d7943603c2f4a7",
|
|
26
|
-
"proofs/lifecycle-proof.bend": "29f5469e47a7c9e6dab967f3f944aeb60176e26d72cffb0aca24635050c13160",
|
|
27
|
-
"proofs/lifecycle-abi.json": "fbfba49b8126099e103d198ce4d5721cdcb7a95882526a9d22293a58efd50ad8",
|
|
28
|
-
"proofs/lifecycle-types.d.ts": "59ce5bdcac29d3ee0e44aada4ea15e7232b40bab26ec0a000aade4d9fd8f9c82",
|
|
29
|
-
"proofs/authority-state.bend": "bea4873607480462ad1fa1920577e506a12d7a8114a9ce36b6ca9e489512d349",
|
|
30
|
-
"proofs/authority-spec.bend": "ac68a6f523e5da67a031b79a2127c6cc408d1b654a8fc9ccdab79aba1752ba23",
|
|
31
|
-
"proofs/authority-proof.bend": "454251e86f03a78d16e767f596130d1ca6c770b864b7739b7f3d3942b06599e1",
|
|
32
|
-
"proofs/authority-kernel.bend": "b4940f3ba3989162fd028517225bf7d128f286539982c23bc9841d68c6383f2a",
|
|
33
|
-
"proofs/authority-abi.json": "000d2b23f0609062ae3db4fc41272c8d9bc1d1a639fa057a53b55365cadcd391",
|
|
34
|
-
"proofs/authority-types.d.ts": "986ed529f881dec2f976187de6b878c68477e29550f9eb228f7973a8ac6ac2da",
|
|
35
|
-
"proofs/storage-plans.bend": "c2e208ff907548630dd8a702e007c67cdc2d17dc572da6aa079d24d34ac57c28",
|
|
36
|
-
"proofs/storage-spec.bend": "6b388fc80d01fd04febc89098a781a532f6620cebeac8570044567aaa6121f77",
|
|
37
|
-
"proofs/storage-proof.bend": "6c6c95073c4612bd95f26f841afa1f7cddc19cf956d7fc001f5d5832c03ce397",
|
|
38
|
-
"proofs/storage-kernel.bend": "e0abe2922bd02ff247f3cebd1351b852e9100ada10f28c378ed080149942ef95",
|
|
39
|
-
"proofs/storage-abi.json": "72014f2cde8f4808f4b6de90eb320392ccc8c0d998e784e440e9d60307e7d566",
|
|
40
|
-
"proofs/storage-types.d.ts": "9fc87aac6191118ef543717e98e18d641d8867298d65cd08118970ca8e7a6277"
|
|
5
|
+
"proofs/index.ts": "5645d0d6e4a62c362106b294357fc9bbbc9f6ce28216419ed7025c91298fa649",
|
|
6
|
+
"proofs/kernel.ts": "0edaa003d2ca5f33c4e30e65a427efb6d0b2135e097875f62732907f5a4b411b",
|
|
7
|
+
"proofs/policy.ts": "525f2306ee56395ce5424495ea0cd7031c6b64238b1673c05be09d4292ede621",
|
|
8
|
+
"proofs/compaction.ts": "b559117f9f2224ba7bace8a94fc06af0ff60dd7cd997af5d177990202b4ca9b2",
|
|
9
|
+
"proofs/resources.ts": "2253513bbe9cef4a166feb2ff83020d0e36388e2f9ce15911a9ff1e8aabab697",
|
|
10
|
+
"proofs/lifecycle.ts": "e2a41e2a3f0701ccce977d0a0414ca6d1ded43d4365315e799a4a3abd1645320",
|
|
11
|
+
"proofs/storage.ts": "5428833c8d71be81947159c8d09fcf31989809da4f09156c7f10cc0291a7df84",
|
|
12
|
+
"proofs/provider.ts": "f067052d8571c79ac9880692aa33a4a794744d3c586db53afd89d466db5659cc",
|
|
13
|
+
"proofs/authority.ts": "3e4d111396e7b4a5f0798832972a75b945270bb481b77810e253a212684e96fe",
|
|
14
|
+
"proofs/grants.ts": "c71c1e8b327034dbf710d1f8839f0bd036783dedd22470a9c069029f3ea0ba38",
|
|
15
|
+
"proofs/speculation.ts": "dc1f1b59f2e5414a439e7e62c897bd238b3470c7e608a9228fcf9e3b18dc9477",
|
|
16
|
+
"proofs/budget.ts": "a6aa3ce2aaffe80d411f8addb6953cbee82c522743a7934dca12e823cf8e3f13",
|
|
17
|
+
"proofs/actor-name.ts": "777738fad15d31e9367d4290f6f4f8f3178a41adbedc4c889222ba317552d358",
|
|
18
|
+
"scripts/verified-kernels.ts": "e6a6718990d1ab7c75020f0d6b62040df265610f20e0a1b6e61f6a8b3e71360d",
|
|
19
|
+
"scripts/verified-kernel-pool.ts": "7869f607e4ff87ac219fe2b14df06887fbc56a43c783118e64387f477e5ead42",
|
|
20
|
+
"scripts/verified-kernel-worker.ts": "d9a9a4a6e80d92f515ee4f8018193418d6937255688cf2f7e52953813bc65a4f"
|
|
41
21
|
},
|
|
42
22
|
"outputs": {
|
|
43
|
-
"src/verified/generated/
|
|
44
|
-
"src/verified/generated/
|
|
45
|
-
"src/verified/generated/
|
|
46
|
-
"src/verified/generated/
|
|
47
|
-
"src/verified/generated/
|
|
48
|
-
"src/verified/generated/
|
|
49
|
-
"src/verified/generated/
|
|
50
|
-
"src/verified/generated/
|
|
51
|
-
"src/verified/generated/
|
|
52
|
-
"src/verified/generated/
|
|
23
|
+
"src/verified/generated/policy.js": "581586b16aed260af78dde71babd07569dd219957d72bb6375d10c8f2ecd2aa8",
|
|
24
|
+
"src/verified/generated/policy.d.ts": "62f9069bb9f387afd3c62adabf2abea159c0d020e091524b797bc904f0e4f96a",
|
|
25
|
+
"src/verified/generated/compaction.js": "477c85c10d9c8fd80dae3ab3c5129a8a876f4c9af8926424642c286c36554577",
|
|
26
|
+
"src/verified/generated/compaction.d.ts": "ae3c0749bc93ba4fdacb4d904c7e39841577d5682843af32a41675222db73a90",
|
|
27
|
+
"src/verified/generated/resources.js": "1e240f0ea7b6ab8f77175c6c33b1ab34850df56f17c6982ea2c5a4356e63eb37",
|
|
28
|
+
"src/verified/generated/resources.d.ts": "998a0351ef1fe986ee31f48fb2926e5a45c89f5a75ee05770ae114c26ab8b0b9",
|
|
29
|
+
"src/verified/generated/lifecycle.js": "e100204c796a1b30a58b8537ca6d8f9e9f113c1fa5c8b3ae4668b3b4a1977a5d",
|
|
30
|
+
"src/verified/generated/lifecycle.d.ts": "9a90cfd9bb5977004caf21ffe726707ad6fdc6cdd532cfcc17a5f42928bc92d3",
|
|
31
|
+
"src/verified/generated/storage.js": "e846ebceaf8003682ea13a8088f99a3ecfc3236c726dc7ed4fcbe2da5a8c9905",
|
|
32
|
+
"src/verified/generated/storage.d.ts": "b2d0e81e3f98c954f61109556dd39d84386d50788ff26a22d3828311a2b84331",
|
|
33
|
+
"src/verified/generated/provider.js": "5e306ffe971bc8dca39a795e362e6637e965caee59243561b5ed574828c32397",
|
|
34
|
+
"src/verified/generated/provider.d.ts": "c2f3a3c099cd5d1f5b097295ab355338180232d85948b95d71f6ec4ffddde223",
|
|
35
|
+
"src/verified/generated/authority.js": "ff46b0b4c5ef3276cd558df97d437cea3e2fbc96f2017f03c38e0b28fb2dd641",
|
|
36
|
+
"src/verified/generated/authority.d.ts": "00aabf17dc4e40be0fc05e575f0fd193f95b6b429c057efee400f4522956e88b",
|
|
37
|
+
"src/verified/generated/grants.js": "a1dc9f66dfbf75c58db86a9094834f42caad38dea7445d2856aa464f8e6f70e4",
|
|
38
|
+
"src/verified/generated/grants.d.ts": "4d81e5c44190941782b3ae8dcba85d72cea0c9d7446ae28b92e0be0adaa5b9aa",
|
|
39
|
+
"src/verified/generated/speculation.js": "e8e21c97830ca121cb1f5e9f950c7c670296769dfa50ee4c8ab7207fba3fef6f",
|
|
40
|
+
"src/verified/generated/speculation.d.ts": "2c9242c09d72fb3ae86054047ffdbfb8d4f8a5c637d52a2232884d6c830c1b70",
|
|
41
|
+
"src/verified/generated/budget.js": "d9361fc2ad9be99aa67004540ed1506742afb5220528c0f8d43ff19c845e06e1",
|
|
42
|
+
"src/verified/generated/budget.d.ts": "9e5156ed081c60fb9af6a015e51356b8a473e6c3d60276817792d0eabb8116b4",
|
|
43
|
+
"src/verified/generated/actor-name.js": "8eee0026642a99f7130f9ba28a7882911e2e6957cae0de4248c4176fde9065e7",
|
|
44
|
+
"src/verified/generated/actor-name.d.ts": "7b694c53e405e0b283ebec2c38d4d1bcd93693add9e0078fb57472098582f7f0"
|
|
45
|
+
},
|
|
46
|
+
"claims": {
|
|
47
|
+
"policy": [
|
|
48
|
+
"transitionCurrent: transition_sound: a current transition is unretired, same-epoch, same-owner and open",
|
|
49
|
+
"transitionCurrent: transition_complete: every unretired, same-epoch, same-owner, open transition is current",
|
|
50
|
+
"cleanupState: cleanup_failure_quarantines: a cleanup failure always quarantines",
|
|
51
|
+
"cleanupState: cleanup_diverted: an unfailed diverted cleanup is diverted",
|
|
52
|
+
"cleanupState: cleanup_disposed: an unfailed undiverted cleanup is disposed",
|
|
53
|
+
"unknownConflict: unknown_conflict_exact: an unknown scope conflicts exactly when it or its peer is noncommutative",
|
|
54
|
+
"unknownConflict: unknown_conflict_symmetric: swapping the sides never changes the decision",
|
|
55
|
+
"knownConflict: known_conflict_exact: a shared resource conflicts exactly when one side is ordered",
|
|
56
|
+
"lineageSelected: active_lineage_only: without all-branch selection only members are selected",
|
|
57
|
+
"lineageSelected: explicit_all_lineages: explicit all-branch selection selects every entry",
|
|
58
|
+
"pointerCurrent: pointer_sound: a current pointer matches its source and its lineage",
|
|
59
|
+
"pointerCurrent: pointer_complete: a pointer matching its source and lineage is current",
|
|
60
|
+
"coverageComplete: coverage_sound: complete coverage needs a complete source and no truncation",
|
|
61
|
+
"coverageComplete: coverage_complete: an untruncated complete source is complete coverage",
|
|
62
|
+
"useNormalized: normalization_sound: a normal form is used only for non-canonical, planned, changed, accepted arguments",
|
|
63
|
+
"useNormalized: normalization_complete: every non-canonical, planned, changed, accepted normal form is used",
|
|
64
|
+
"useNormalized: canonical_identity: canonical arguments stay original",
|
|
65
|
+
"headReadable: head_sound: a readable head has its sequence, its version, and a commit or a marked pending write",
|
|
66
|
+
"headReadable: pending_without_marker_hidden: a pending uncommitted head without its marker is hidden",
|
|
67
|
+
"headReadable: committed_head_visible: a committed head with its sequence and version is visible",
|
|
68
|
+
"headReadable: pending_head_visible: a pending head with its sequence, version and commit marker is visible",
|
|
69
|
+
"certificateAccepted: certificate_sound: an accepted certificate has every fact",
|
|
70
|
+
"certificateAccepted: certificate_complete: a certificate with every fact is accepted",
|
|
71
|
+
"consume: consume_once: an inactive token releases nothing",
|
|
72
|
+
"consume: consume_retires: consumption releases an active token and leaves it inactive",
|
|
73
|
+
"summaryWithin: summary_bounds: an accepted summary is within its byte limit and token target",
|
|
74
|
+
"summaryWithin: summary_complete: a summary within both bounds is accepted",
|
|
75
|
+
"sampleWithin: sample_accounting: retained plus omitted is the total, and the retained fit the limit",
|
|
76
|
+
"sampleWithin: sample_complete: exact accounting within the limit is accepted",
|
|
77
|
+
"chunkAccepted: chunk_sound: an accepted chunk starts where expected, has the expected total, an exact length, truthful completion and progress",
|
|
78
|
+
"chunkAccepted: chunk_complete: every chunk meeting those requirements is accepted"
|
|
79
|
+
],
|
|
80
|
+
"compaction": [
|
|
81
|
+
"compactionCut: cut_sound: an open cut is eligible, after the previous marker, and within its tail budget; span_sound: a span keeps the cut open only if it was open and the span does not straddle the boundary; refusal_final: a refused cut stays refused; header_once: a header opens only an unstarted cut; cut_complete: a valid header opens a fresh cut, and an allowed span keeps it open"
|
|
82
|
+
],
|
|
83
|
+
"resources": [
|
|
84
|
+
"resourceScope: scope names are a set; resource_source_refinement: an exact source keeps every declared name, and only those; resource_source_valid: an exact source is nonempty, with no empty or wildcard identity; resource_source_complete: every nonempty source of valid identities is exact; resource_refinement: normalization keeps a scope's names in both directions or widens it to unknown; resource_output_valid: an exact normal form is nonempty, at most 64 valid names of at most 256 code units; resource_unknown: a refused scope is unknown and names nothing; resource_precision: a valid bounded set-equivalent proposal is accepted as given (so the identity proposal is unchanged); resource_recheck_idempotent: rechecking a normal form against itself keeps it",
|
|
85
|
+
"resourceConflict: resource_pair_sound: quiet effects never conflict, nor do two commutative ones; resource_conflict_exact: exact disjoint scopes never conflict; resource_conflict_complete: an ordered pair of effects with an unknown scope conflicts; resource_pair_complete: an ordered pair of effects sharing a named resource conflicts",
|
|
86
|
+
"resourceGroups: resource_groups_known: independent groups have no ordered pair of effects with an unknown scope; resource_groups_unshared: independent groups have no ordered pair of effects naming one resource; resource_groups_unknown_complete: an ordered pair of effects with an unknown scope makes the groups conflict; resource_groups_shared_complete: an ordered pair of effects naming one resource makes the groups conflict"
|
|
87
|
+
],
|
|
88
|
+
"lifecycle": [
|
|
89
|
+
"bindingStep: inspect_safe: a granted inspection is open to ordinary work and changes nothing; every inspection changes nothing; inspect_open_complete: an inspection open to ordinary work is granted; begin_safe: a granted begin was open and adds exactly one call; a denied one changes nothing; begin_open_complete: every open begin is granted with one more call; retain_safe: a granted retain was open and adds exactly one hold; a denied one changes nothing; retain_open_complete: every open retain is granted with one more hold; close_safe: close starts only from a retiring, ownerless, idle binding, into Closing; otherwise nothing changes; close_complete: a retiring, ownerless, idle binding starts closing; release_exact: a release with holds removes exactly one; with none it is refused and changes nothing; end_exact: an end with calls removes exactly one; with none it is refused and changes nothing; revoke_preserves_work: revocation retires, drops the owner and keeps every hold and call; drop_owner_preserves_work: dropping the owner keeps everything else; retire_preserves_work: retirement changes only the phase; activation_exact: Staged and Active activate; every other phase is refused unchanged; completion_exact: Closing completes into Closed; every other phase is refused unchanged; failure_exact: abort quarantines every unclosed binding, keeping its work; Closed is refused unchanged; closing_refuses_work: a closing binding refuses every begin; revoked_refuses_work: a revoked binding refuses ordinary work; cleanup_after_revocation: a revoked retiring binding still admits cleanup"
|
|
90
|
+
],
|
|
91
|
+
"storage": [
|
|
92
|
+
"storageTransition: storage_safe: an unchanged plan is an admitted delete of an absent key",
|
|
93
|
+
"storageTransition: storage_safe: a put forwards its key, value and identity exactly, at the successors of its base and of the clock",
|
|
94
|
+
"storageTransition: storage_safe: a delete forwards its key from a present slot, at the successors of its version and of the clock",
|
|
95
|
+
"storageTransition: storage_put_complete: an admitted put with room is written",
|
|
96
|
+
"storageTransition: storage_delete_complete: an admitted delete of a present key with room is applied",
|
|
97
|
+
"storageTransition: storage_absent_delete_complete: an admitted delete of an absent key changes nothing",
|
|
98
|
+
"storageTransition: storage_stale_refused: an expected revision other than the actual one is a conflict",
|
|
99
|
+
"storageTransition: storage_put_overflow: an admitted put without room is exhausted",
|
|
100
|
+
"storageTransition: storage_delete_overflow: an admitted delete of a present key without room is exhausted"
|
|
101
|
+
],
|
|
102
|
+
"provider": [
|
|
103
|
+
"providerTicket: provider_plan_safe: a planned write had a live grant for this key, no cancellation and the expected revision, and forwards them exactly; provider_ticket_consumed: taking consumes the ticket and keeps its contents; provider_revocation_consumes: revoking consumes the ticket and plans nothing; provider_revoked_refused: a consumed ticket plans nothing; provider_canceled_refused: a canceled take plans nothing; state_stale_refused: a revision other than the expected one plans nothing; provider_admission_complete: a live ticket taken for its key at its revision plans exactly its write; provider_replay_refused: a second take of the same ticket plans nothing"
|
|
104
|
+
],
|
|
105
|
+
"authority": [
|
|
106
|
+
"capabilityAuthority: grants are a set; authority_issue_exact: issuance is live and holds exactly its grants; authority_use_safe: a granted use was live and named a held grant; authority_use_complete: a live use of a held grant is granted; authority_use_preserves: a use changes no authority; authority_derive_safe: a live child had a live parent and holds exactly its candidate, all within the parent; authority_derive_complete: a candidate within a live parent is derived exactly; authority_released_cannot_derive: a released parent derives only a released child; authority_released_not_live: release leaves no live authority and no grants; authority_child_use_safe: a derived child's granted use names a grant of its parent; authority_released_refused: a released authority grants nothing"
|
|
107
|
+
],
|
|
108
|
+
"grants": [
|
|
109
|
+
"meshGrantTake: grant_safe: consumption requires authentication, an unexpired use, and matching requested scopes",
|
|
110
|
+
"meshGrantTake: grant_complete: every authenticated unexpired in-scope use is consumed",
|
|
111
|
+
"meshGrantTake: grant_decrement: consumption removes exactly one remaining use",
|
|
112
|
+
"meshGrantTake: grant_refusal_preserves: refusal changes no remaining use",
|
|
113
|
+
"meshGrantTake: grant_forwarding: the topic and selected kind are forwarded exactly",
|
|
114
|
+
"meshGrantTake: grant_invalid: failed authentication is the first refusal",
|
|
115
|
+
"meshGrantTake: grant_expired: an authenticated grant expires at its deadline, before other refusals",
|
|
116
|
+
"meshGrantTake: grant_exhausted: an authenticated unexpired grant without uses is refused",
|
|
117
|
+
"meshGrantTake: grant_topic: a live use cannot name another topic",
|
|
118
|
+
"meshGrantTake: grant_kind: a live topic-matching use cannot widen a fixed kind"
|
|
119
|
+
],
|
|
120
|
+
"speculation": [
|
|
121
|
+
"speculationAdmission: speculation_admission_exact: only a new live entry below both caps is admitted",
|
|
122
|
+
"speculationAdmission: speculation_ended: ended invocations are refused without counting a skip",
|
|
123
|
+
"speculationAdmission: speculation_skipped: a live duplicate or full store counts a skip",
|
|
124
|
+
"speculationCheck: speculation_ready_exact: readiness requires a fresh, unexpired current entry and, after settlement, no abort or failure",
|
|
125
|
+
"speculationCheck: speculation_expiry_exact: expiry precedes other pre-settlement failures, but not a post-settlement abort or epoch change",
|
|
126
|
+
"speculationCheck: speculation_epoch_exact: an epoch change or settled abort wins unless a pre-settlement entry has expired",
|
|
127
|
+
"speculationCheck: speculation_freshness_exact: a current unexpired entry with failed freshness is refused",
|
|
128
|
+
"speculationCheck: speculation_failure_exact: provider failure is checked only after settlement, following epoch, expiry and freshness",
|
|
129
|
+
"speculationAccounting: speculation_launch_count: launch adds exactly one, other events preserve launches; speculation_serve_count: service adds exactly one, other events preserve services; speculation_epoch_count: epoch invalidation adds exactly one only for its event; speculation_freshness_count: freshness invalidation adds exactly one only for its event; speculation_failure_count: failure adds exactly one only for its event; speculation_waste_count: discarded work adds exactly one only for its event; speculation_skip_count: skipped admission adds exactly one only for its event; speculation_epoch_successor: a bump advances the epoch exactly once and preserves it on every other event"
|
|
130
|
+
],
|
|
131
|
+
"actor-name": [
|
|
132
|
+
"actorName: active dominates even when stopped exists",
|
|
133
|
+
"actorName: stopped is refused when no active exists",
|
|
134
|
+
"actorName: neither exists means available"
|
|
135
|
+
],
|
|
136
|
+
"budget": [
|
|
137
|
+
"budgetAdmission: budget_safe: admission has valid observations strictly below the ordered threshold",
|
|
138
|
+
"budgetAdmission: budget_complete: valid observations below the threshold are admitted",
|
|
139
|
+
"budgetAdmission: budget_exhausted: equality and larger observations are refused",
|
|
140
|
+
"budgetAdmission: budget_invalid: invalid observations are never admitted"
|
|
141
|
+
]
|
|
53
142
|
}
|
|
54
143
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// Generated by scripts/verified-kernels.ts from proofs/policy.ts with gdp-wired@0.31.1. Do not edit.
|
|
2
|
+
export interface MachineState { scalars: Record<string, number>; maps: Record<string, Map<number, number>>; defaults?: Record<string, number> }
|
|
3
|
+
export interface Machine { init(params: object): MachineState; step(params: object, state: MachineState, input: object): MachineState }
|
|
4
|
+
export declare const transitionCurrent: Machine;
|
|
5
|
+
export declare const cleanupState: Machine;
|
|
6
|
+
export declare const unknownConflict: Machine;
|
|
7
|
+
export declare const knownConflict: Machine;
|
|
8
|
+
export declare const lineageSelected: Machine;
|
|
9
|
+
export declare const pointerCurrent: Machine;
|
|
10
|
+
export declare const coverageComplete: Machine;
|
|
11
|
+
export declare const useNormalized: Machine;
|
|
12
|
+
export declare const headReadable: Machine;
|
|
13
|
+
export declare const certificateAccepted: Machine;
|
|
14
|
+
export declare const consume: Machine;
|
|
15
|
+
export declare const summaryWithin: Machine;
|
|
16
|
+
export declare const sampleWithin: Machine;
|
|
17
|
+
export declare const chunkAccepted: Machine;
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
// Generated by scripts/verified-kernels.ts from proofs/policy.ts with gdp-wired@0.31.1. Do not edit.
|
|
2
|
+
function $n(v, what) { if (typeof v !== 'number' || !Number.isSafeInteger(v) || v < 0) throw new RangeError(what + ' must be a natural below 2^53, not ' + v); return v; }
|
|
3
|
+
function $x(v) { if (v > 9007199254740991) throw new RangeError('a value passed 2^53 - 1, past which the proofs over the naturals no longer describe the run'); return v; }
|
|
4
|
+
|
|
5
|
+
export const transitionCurrent = /* @__PURE__ */ (() => {
|
|
6
|
+
// Generated from the machine transition current. step consumes its state: keep the one it returns (fork to branch).
|
|
7
|
+
function init(params) {
|
|
8
|
+
const env = {}, s = {};
|
|
9
|
+
return {scalars: {"out.ok": 0}, maps: {}};
|
|
10
|
+
}
|
|
11
|
+
function step(params, state, input) {
|
|
12
|
+
const env = {"retired": $n(input["retired"], "input retired"), "sameEpoch": $n(input["sameEpoch"], "input sameEpoch"), "sameOwner": $n(input["sameOwner"], "input sameOwner"), "closed": $n(input["closed"], "input closed")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
13
|
+
if (!((env["retired"] <= 1) && (env["sameEpoch"] <= 1) && (env["sameOwner"] <= 1) && (env["closed"] <= 1))) throw new RangeError("transition current: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
14
|
+
const scalars = {...s, "out.ok": (((!(env["retired"] === 1)) && (env["sameEpoch"] === 1) && (env["sameOwner"] === 1) && (!(env["closed"] === 1))) ? 1 : 0)};
|
|
15
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
16
|
+
}
|
|
17
|
+
return { init, step };
|
|
18
|
+
})();
|
|
19
|
+
|
|
20
|
+
export const cleanupState = /* @__PURE__ */ (() => {
|
|
21
|
+
// Generated from the machine cleanup state. step consumes its state: keep the one it returns (fork to branch).
|
|
22
|
+
function init(params) {
|
|
23
|
+
const env = {}, s = {};
|
|
24
|
+
return {scalars: {"out.state": 0}, maps: {}};
|
|
25
|
+
}
|
|
26
|
+
function step(params, state, input) {
|
|
27
|
+
const env = {"failed": $n(input["failed"], "input failed"), "diverted": $n(input["diverted"], "input diverted")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
28
|
+
if (!((env["failed"] <= 1) && (env["diverted"] <= 1))) throw new RangeError("cleanup state: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
29
|
+
const scalars = {...s, "out.state": ((env["failed"] === 1) ? 2 : ((env["diverted"] === 1) ? 1 : 0))};
|
|
30
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
31
|
+
}
|
|
32
|
+
return { init, step };
|
|
33
|
+
})();
|
|
34
|
+
|
|
35
|
+
export const unknownConflict = /* @__PURE__ */ (() => {
|
|
36
|
+
// Generated from the machine unknown conflict. step consumes its state: keep the one it returns (fork to branch).
|
|
37
|
+
function init(params) {
|
|
38
|
+
const env = {}, s = {};
|
|
39
|
+
return {scalars: {"out.conflict": 0}, maps: {}};
|
|
40
|
+
}
|
|
41
|
+
function step(params, state, input) {
|
|
42
|
+
const env = {"lu": $n(input["lu"], "input lu"), "luo": $n(input["luo"], "input luo"), "lo": $n(input["lo"], "input lo"), "ru": $n(input["ru"], "input ru"), "ruo": $n(input["ruo"], "input ruo"), "ro": $n(input["ro"], "input ro")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
43
|
+
if (!((env["lu"] <= 1) && (env["luo"] <= 1) && (env["lo"] <= 1) && (env["ru"] <= 1) && (env["ruo"] <= 1) && (env["ro"] <= 1))) throw new RangeError("unknown conflict: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
44
|
+
const scalars = {...s, "out.conflict": ((((env["lu"] === 1) && ((env["luo"] === 1) || (env["ro"] === 1))) || ((env["ru"] === 1) && ((env["ruo"] === 1) || (env["lo"] === 1)))) ? 1 : 0)};
|
|
45
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
46
|
+
}
|
|
47
|
+
return { init, step };
|
|
48
|
+
})();
|
|
49
|
+
|
|
50
|
+
export const knownConflict = /* @__PURE__ */ (() => {
|
|
51
|
+
// Generated from the machine known conflict. step consumes its state: keep the one it returns (fork to branch).
|
|
52
|
+
function init(params) {
|
|
53
|
+
const env = {}, s = {};
|
|
54
|
+
return {scalars: {"out.conflict": 0}, maps: {}};
|
|
55
|
+
}
|
|
56
|
+
function step(params, state, input) {
|
|
57
|
+
const env = {"shared": $n(input["shared"], "input shared"), "leftOrdered": $n(input["leftOrdered"], "input leftOrdered"), "rightOrdered": $n(input["rightOrdered"], "input rightOrdered")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
58
|
+
if (!((env["shared"] <= 1) && (env["leftOrdered"] <= 1) && (env["rightOrdered"] <= 1))) throw new RangeError("known conflict: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
59
|
+
const scalars = {...s, "out.conflict": (((env["shared"] === 1) && ((env["leftOrdered"] === 1) || (env["rightOrdered"] === 1))) ? 1 : 0)};
|
|
60
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
61
|
+
}
|
|
62
|
+
return { init, step };
|
|
63
|
+
})();
|
|
64
|
+
|
|
65
|
+
export const lineageSelected = /* @__PURE__ */ (() => {
|
|
66
|
+
// Generated from the machine lineage selected. step consumes its state: keep the one it returns (fork to branch).
|
|
67
|
+
function init(params) {
|
|
68
|
+
const env = {}, s = {};
|
|
69
|
+
return {scalars: {"out.selected": 0}, maps: {}};
|
|
70
|
+
}
|
|
71
|
+
function step(params, state, input) {
|
|
72
|
+
const env = {"allBranches": $n(input["allBranches"], "input allBranches"), "member": $n(input["member"], "input member")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
73
|
+
if (!((env["allBranches"] <= 1) && (env["member"] <= 1))) throw new RangeError("lineage selected: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
74
|
+
const scalars = {...s, "out.selected": (((env["allBranches"] === 1) || (env["member"] === 1)) ? 1 : 0)};
|
|
75
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
76
|
+
}
|
|
77
|
+
return { init, step };
|
|
78
|
+
})();
|
|
79
|
+
|
|
80
|
+
export const pointerCurrent = /* @__PURE__ */ (() => {
|
|
81
|
+
// Generated from the machine pointer current. step consumes its state: keep the one it returns (fork to branch).
|
|
82
|
+
function init(params) {
|
|
83
|
+
const env = {}, s = {};
|
|
84
|
+
return {scalars: {"out.current": 0}, maps: {}};
|
|
85
|
+
}
|
|
86
|
+
function step(params, state, input) {
|
|
87
|
+
const env = {"source": $n(input["source"], "input source"), "lineage": $n(input["lineage"], "input lineage")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
88
|
+
if (!((env["source"] <= 1) && (env["lineage"] <= 1))) throw new RangeError("pointer current: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
89
|
+
const scalars = {...s, "out.current": (((env["source"] === 1) && (env["lineage"] === 1)) ? 1 : 0)};
|
|
90
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
91
|
+
}
|
|
92
|
+
return { init, step };
|
|
93
|
+
})();
|
|
94
|
+
|
|
95
|
+
export const coverageComplete = /* @__PURE__ */ (() => {
|
|
96
|
+
// Generated from the machine coverage complete. step consumes its state: keep the one it returns (fork to branch).
|
|
97
|
+
function init(params) {
|
|
98
|
+
const env = {}, s = {};
|
|
99
|
+
return {scalars: {"out.complete": 0}, maps: {}};
|
|
100
|
+
}
|
|
101
|
+
function step(params, state, input) {
|
|
102
|
+
const env = {"sourceComplete": $n(input["sourceComplete"], "input sourceComplete"), "truncated": $n(input["truncated"], "input truncated")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
103
|
+
if (!((env["sourceComplete"] <= 1) && (env["truncated"] <= 1))) throw new RangeError("coverage complete: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
104
|
+
const scalars = {...s, "out.complete": (((env["sourceComplete"] === 1) && (!(env["truncated"] === 1))) ? 1 : 0)};
|
|
105
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
106
|
+
}
|
|
107
|
+
return { init, step };
|
|
108
|
+
})();
|
|
109
|
+
|
|
110
|
+
export const useNormalized = /* @__PURE__ */ (() => {
|
|
111
|
+
// Generated from the machine use normalized. step consumes its state: keep the one it returns (fork to branch).
|
|
112
|
+
function init(params) {
|
|
113
|
+
const env = {}, s = {};
|
|
114
|
+
return {scalars: {"out.use": 0}, maps: {}};
|
|
115
|
+
}
|
|
116
|
+
function step(params, state, input) {
|
|
117
|
+
const env = {"canonical": $n(input["canonical"], "input canonical"), "plan": $n(input["plan"], "input plan"), "changed": $n(input["changed"], "input changed"), "accepted": $n(input["accepted"], "input accepted")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
118
|
+
if (!((env["canonical"] <= 1) && (env["plan"] <= 1) && (env["changed"] <= 1) && (env["accepted"] <= 1))) throw new RangeError("use normalized: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
119
|
+
const scalars = {...s, "out.use": (((!(env["canonical"] === 1)) && (env["plan"] === 1) && (env["changed"] === 1) && (env["accepted"] === 1)) ? 1 : 0)};
|
|
120
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
121
|
+
}
|
|
122
|
+
return { init, step };
|
|
123
|
+
})();
|
|
124
|
+
|
|
125
|
+
export const headReadable = /* @__PURE__ */ (() => {
|
|
126
|
+
// Generated from the machine head readable. step consumes its state: keep the one it returns (fork to branch).
|
|
127
|
+
function init(params) {
|
|
128
|
+
const env = {}, s = {};
|
|
129
|
+
return {scalars: {"out.readable": 0}, maps: {}};
|
|
130
|
+
}
|
|
131
|
+
function step(params, state, input) {
|
|
132
|
+
const env = {"sequence": $n(input["sequence"], "input sequence"), "version": $n(input["version"], "input version"), "committed": $n(input["committed"], "input committed"), "pending": $n(input["pending"], "input pending"), "marker": $n(input["marker"], "input marker")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
133
|
+
if (!((env["sequence"] <= 1) && (env["version"] <= 1) && (env["committed"] <= 1) && (env["pending"] <= 1) && (env["marker"] <= 1))) throw new RangeError("head readable: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
134
|
+
const scalars = {...s, "out.readable": (((env["sequence"] === 1) && (env["version"] === 1) && ((env["committed"] === 1) || ((env["pending"] === 1) && (env["marker"] === 1)))) ? 1 : 0)};
|
|
135
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
136
|
+
}
|
|
137
|
+
return { init, step };
|
|
138
|
+
})();
|
|
139
|
+
|
|
140
|
+
export const certificateAccepted = /* @__PURE__ */ (() => {
|
|
141
|
+
// Generated from the machine certificate accepted. step consumes its state: keep the one it returns (fork to branch).
|
|
142
|
+
function init(params) {
|
|
143
|
+
const env = {}, s = {};
|
|
144
|
+
return {scalars: {"out.accepted": 0}, maps: {}};
|
|
145
|
+
}
|
|
146
|
+
function step(params, state, input) {
|
|
147
|
+
const env = {"f0": $n(input["f0"], "input f0"), "f1": $n(input["f1"], "input f1"), "f2": $n(input["f2"], "input f2"), "f3": $n(input["f3"], "input f3"), "f4": $n(input["f4"], "input f4"), "f5": $n(input["f5"], "input f5"), "f6": $n(input["f6"], "input f6"), "f7": $n(input["f7"], "input f7")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
148
|
+
if (!((env["f0"] <= 1) && (env["f1"] <= 1) && (env["f2"] <= 1) && (env["f3"] <= 1) && (env["f4"] <= 1) && (env["f5"] <= 1) && (env["f6"] <= 1) && (env["f7"] <= 1))) throw new RangeError("certificate accepted: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
149
|
+
const scalars = {...s, "out.accepted": (((env["f0"] === 1) && (env["f1"] === 1) && (env["f2"] === 1) && (env["f3"] === 1) && (env["f4"] === 1) && (env["f5"] === 1) && (env["f6"] === 1) && (env["f7"] === 1)) ? 1 : 0)};
|
|
150
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
151
|
+
}
|
|
152
|
+
return { init, step };
|
|
153
|
+
})();
|
|
154
|
+
|
|
155
|
+
export const consume = /* @__PURE__ */ (() => {
|
|
156
|
+
// Generated from the machine consume. step consumes its state: keep the one it returns (fork to branch).
|
|
157
|
+
function init(params) {
|
|
158
|
+
const env = {}, s = {};
|
|
159
|
+
return {scalars: {"out.released": 0, "out.active": 0}, maps: {}};
|
|
160
|
+
}
|
|
161
|
+
function step(params, state, input) {
|
|
162
|
+
const env = {"active": $n(input["active"], "input active")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
163
|
+
if (!(env["active"] <= 1)) throw new RangeError("consume: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
164
|
+
const scalars = {...s, "out.released": ((env["active"] === 1) ? 1 : 0), "out.active": (((env["active"] === 1) && (!(env["active"] === 1))) ? 1 : 0)};
|
|
165
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
166
|
+
}
|
|
167
|
+
return { init, step };
|
|
168
|
+
})();
|
|
169
|
+
|
|
170
|
+
export const summaryWithin = /* @__PURE__ */ (() => {
|
|
171
|
+
// Generated from the machine summary within. step consumes its state: keep the one it returns (fork to branch).
|
|
172
|
+
function init(params) {
|
|
173
|
+
const env = {}, s = {};
|
|
174
|
+
return {scalars: {"out.within": 0}, maps: {}};
|
|
175
|
+
}
|
|
176
|
+
function step(params, state, input) {
|
|
177
|
+
const env = {"bytes": $n(input["bytes"], "input bytes"), "byteLimit": $n(input["byteLimit"], "input byteLimit"), "projected": $n(input["projected"], "input projected"), "target": $n(input["target"], "input target")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
178
|
+
const scalars = {...s, "out.within": (((env["bytes"] <= env["byteLimit"]) && (env["projected"] <= env["target"])) ? 1 : 0)};
|
|
179
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
180
|
+
}
|
|
181
|
+
return { init, step };
|
|
182
|
+
})();
|
|
183
|
+
|
|
184
|
+
export const sampleWithin = /* @__PURE__ */ (() => {
|
|
185
|
+
// Generated from the machine sample within. step consumes its state: keep the one it returns (fork to branch).
|
|
186
|
+
function init(params) {
|
|
187
|
+
const env = {}, s = {};
|
|
188
|
+
return {scalars: {"out.within": 0}, maps: {}};
|
|
189
|
+
}
|
|
190
|
+
function step(params, state, input) {
|
|
191
|
+
const env = {"total": $n(input["total"], "input total"), "retained": $n(input["retained"], "input retained"), "omitted": $n(input["omitted"], "input omitted"), "limit": $n(input["limit"], "input limit")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
192
|
+
const scalars = {...s, "out.within": (((env["total"] === $x(env["retained"] + env["omitted"])) && (env["retained"] <= env["limit"])) ? 1 : 0)};
|
|
193
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
194
|
+
}
|
|
195
|
+
return { init, step };
|
|
196
|
+
})();
|
|
197
|
+
|
|
198
|
+
export const chunkAccepted = /* @__PURE__ */ (() => {
|
|
199
|
+
// Generated from the machine chunk accepted. step consumes its state: keep the one it returns (fork to branch).
|
|
200
|
+
function init(params) {
|
|
201
|
+
const env = {}, s = {};
|
|
202
|
+
return {scalars: {"out.accepted": 0}, maps: {}};
|
|
203
|
+
}
|
|
204
|
+
function step(params, state, input) {
|
|
205
|
+
const env = {"start": $n(input["start"], "input start"), "end": $n(input["end"], "input end"), "total": $n(input["total"], "input total"), "expectedStart": $n(input["expectedStart"], "input expectedStart"), "expectedTotal": $n(input["expectedTotal"], "input expectedTotal"), "length": $n(input["length"], "input length"), "complete": $n(input["complete"], "input complete")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
206
|
+
if (!(env["complete"] <= 1)) throw new RangeError("chunk accepted: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
207
|
+
const scalars = {...s, "out.accepted": (((env["start"] === env["expectedStart"]) && (env["total"] === env["expectedTotal"]) && (env["start"] <= env["end"]) && (env["end"] <= env["total"]) && ($x(env["length"] + env["start"]) === env["end"]) && (((!(env["complete"] === 1)) || (env["end"] === env["total"])) && ((!(env["end"] === env["total"])) || (env["complete"] === 1))) && ((env["complete"] === 1) || (env["start"] < env["end"]))) ? 1 : 0)};
|
|
208
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
209
|
+
}
|
|
210
|
+
return { init, step };
|
|
211
|
+
})();
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
// Generated by scripts/verified-kernels.ts from proofs/provider.ts with gdp-wired@0.31.1. Do not edit.
|
|
2
|
+
export interface MachineState { scalars: Record<string, number>; maps: Record<string, Map<number, number>>; defaults?: Record<string, number> }
|
|
3
|
+
export interface Machine { init(params: object): MachineState; step(params: object, state: MachineState, input: object): MachineState }
|
|
4
|
+
export declare const providerTicket: Machine;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Generated by scripts/verified-kernels.ts from proofs/provider.ts with gdp-wired@0.31.1. Do not edit.
|
|
2
|
+
function $n(v, what) { if (typeof v !== 'number' || !Number.isSafeInteger(v) || v < 0) throw new RangeError(what + ' must be a natural below 2^53, not ' + v); return v; }
|
|
3
|
+
|
|
4
|
+
export const providerTicket = /* @__PURE__ */ (() => {
|
|
5
|
+
// Generated from the machine provider ticket. step consumes its state: keep the one it returns (fork to branch).
|
|
6
|
+
function init(params) {
|
|
7
|
+
const env = {}, s = {};
|
|
8
|
+
return {scalars: {"active": 1, "grantKey": 0, "expected": 0, "payload": 0, "plan": 0, "planKey": 0, "planExpected": 0, "planValue": 0}, maps: {}};
|
|
9
|
+
}
|
|
10
|
+
function step(params, state, input) {
|
|
11
|
+
const env = {"op": $n(input["op"], "input op"), "key": $n(input["key"], "input key"), "observed": $n(input["observed"], "input observed"), "stopped": $n(input["stopped"], "input stopped")}, s = state.scalars, dft = {...state.defaults}, maps = state.maps;
|
|
12
|
+
const flag0 = ((env["op"] === 0) && (s["active"] === 1) && (!(env["stopped"] === 1)) && (s["grantKey"] === env["key"]) && (s["expected"] === env["observed"]));
|
|
13
|
+
if (!((env["op"] < 2) && (env["stopped"] <= 1))) throw new RangeError("provider ticket: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
14
|
+
const scalars = {...s, "active": 0, "plan": (flag0 ? 1 : 0), "planKey": (flag0 ? env["key"] : 0), "planExpected": (flag0 ? s["expected"] : 0), "planValue": (flag0 ? s["payload"] : 0)};
|
|
15
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
16
|
+
}
|
|
17
|
+
return { init, step };
|
|
18
|
+
})();
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Generated by scripts/verified-kernels.ts from proofs/resources.ts with gdp-wired@0.31.1. Do not edit.
|
|
2
|
+
export interface MachineState { scalars: Record<string, number>; maps: Record<string, Map<number, number>>; defaults?: Record<string, number> }
|
|
3
|
+
export interface Machine { init(params: object): MachineState; step(params: object, state: MachineState, input: object): MachineState }
|
|
4
|
+
export declare const resourceScope: Machine;
|
|
5
|
+
export declare const resourceConflict: Machine;
|
|
6
|
+
export declare const resourceGroups: Machine;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// Generated by scripts/verified-kernels.ts from proofs/resources.ts with gdp-wired@0.31.1. Do not edit.
|
|
2
|
+
function $n(v, what) { if (typeof v !== 'number' || !Number.isSafeInteger(v) || v < 0) throw new RangeError(what + ' must be a natural below 2^53, not ' + v); return v; }
|
|
3
|
+
function $m(v, what) { if (!(v instanceof Map)) throw new RangeError(what + ' must be a Map of naturals'); for (const [key, x] of v) { $n(key, 'a key of ' + what); $n(x, 'a cell of ' + what); } return v; }
|
|
4
|
+
function $keys(maps, names) { const keys = new Set(); let past = 0; for (const c of Object.values(maps)) for (const key of c.keys()) past = Math.max(past, key + 1); for (const n of names) for (const key of maps[n].keys()) keys.add(key); return [...keys, past]; }
|
|
5
|
+
function $breaks(maps, reads, cmps) { const p = new Set([0]); for (const [n, d, minus] of reads) { for (const s of maps[n].keys()) { if (minus) p.add(s + d); else if (s >= d) p.add(s - d); } if (minus) p.add(d); } for (const [v, d, minus] of cmps) { if (minus) { p.add(v + d); p.add(d); } else if (v >= d) p.add(v - d); } const keys = new Set(); for (const q of p) for (let i = -1; i <= 2; i++) if (q + i >= 0) keys.add(q + i); const sorted = [...keys].sort((a, b) => a - b); sorted.push(sorted[sorted.length - 1] + 1); return sorted; }
|
|
6
|
+
function $every(keys, f) { const past = keys[keys.length - 1], d = f(past), cells = new Map(); for (let i = 0; i < keys.length - 1; i++) { const v = f(keys[i]); if (v !== d) cells.set(keys[i], v); } return {cells, d}; }
|
|
7
|
+
function $x(v) { if (v > 9007199254740991) throw new RangeError('a value passed 2^53 - 1, past which the proofs over the naturals no longer describe the run'); return v; }
|
|
8
|
+
function $join(ks, x, y, f) { const by = new Map(); for (const k1 of ks) { const v = y(k1), l = by.get(v); if (l) l.push(k1); else by.set(v, [k1]); } return ks.every(k => { const l = by.get(x(k)); return l === undefined || l.every(k1 => f(k, k1)); }); }
|
|
9
|
+
function $spread(keys, n) { const out = new Set(); for (const k of keys) for (let i = 0; i < n; i++) out.add(k + i); return [...out].sort((a, b) => a - b); }
|
|
10
|
+
|
|
11
|
+
export const resourceScope = /* @__PURE__ */ (() => {
|
|
12
|
+
// Generated from the machine resource scope. step consumes its state: keep the one it returns (fork to branch).
|
|
13
|
+
function init(params) {
|
|
14
|
+
const env = {}, s = {};
|
|
15
|
+
return {scalars: {"exact": 0}, maps: {"Names": new Map()}};
|
|
16
|
+
}
|
|
17
|
+
function step(params, state, input) {
|
|
18
|
+
const env = {"op": $n(input["op"], "input op"), "first": $n(input["first"], "input first")}, s = state.scalars, dft = {...state.defaults}, maps = {...state.maps, "Given": $m(input["Given"], "input Given"), "Len": $m(input["Len"], "input Len")};
|
|
19
|
+
const flag0 = $keys(maps, ["Given"]).every(k => ((maps["Given"].get(k) ?? 0) <= 1));
|
|
20
|
+
const flag1 = $breaks(maps, [["Given", 0, false]], [[0, 0, false], [1, 0, false]]).every(k => ((!(1 <= (maps["Given"].get(k) ?? 0))) || ((!(k === 0)) && (!(k === 1)))));
|
|
21
|
+
const flag2 = $breaks(maps, [["Given", 0, false], ["Names", 0, false], ["Names", 0, false], ["Given", 0, false], ["Given", 0, false], ["Len", 0, false]], [[0, 0, false], [1, 0, false], [66, 0, false]]).every(k => ((((!(1 <= (maps["Given"].get(k) ?? 0))) || (1 <= (maps["Names"].get(k) ?? dft["Names"] ?? 0))) && ((!(1 <= (maps["Names"].get(k) ?? dft["Names"] ?? 0))) || (1 <= (maps["Given"].get(k) ?? 0)))) && ((!(1 <= (maps["Given"].get(k) ?? 0))) || ((!(k === 0)) && (!(k === 1)) && (k < 66) && ((maps["Len"].get(k) ?? 0) <= 256)))));
|
|
22
|
+
const flag3 = $keys(maps, ["Given","Names"]).every(k => ((maps["Given"].get(k) ?? 0) === (maps["Names"].get(k) ?? dft["Names"] ?? 0)));
|
|
23
|
+
const flag4 = $keys(maps, ["Given","Len"]).every(k => ((!(1 <= (maps["Given"].get(k) ?? 0))) || ((maps["Len"].get(k) ?? 0) <= 256)));
|
|
24
|
+
const flag5 = ((1 <= (maps["Given"].get(env["first"]) ?? 0)) && (((env["op"] === 0) && flag1) || ((env["op"] === 1) && ((s["exact"] === 1) && flag2))));
|
|
25
|
+
if (!((env["op"] < 2) && flag0)) throw new RangeError("resource scope: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
26
|
+
const scalars = {...s, "exact": (flag5 ? 1 : 0)};
|
|
27
|
+
const write0 = $every($keys(maps, ["Given"]), k => (flag5 ? (maps["Given"].get(k) ?? 0) : 0));
|
|
28
|
+
state.maps["Names"] = write0.cells; dft["Names"] = write0.d;
|
|
29
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
30
|
+
}
|
|
31
|
+
return { init, step };
|
|
32
|
+
})();
|
|
33
|
+
|
|
34
|
+
export const resourceConflict = /* @__PURE__ */ (() => {
|
|
35
|
+
// Generated from the machine resource conflict. step consumes its state: keep the one it returns (fork to branch).
|
|
36
|
+
function init(params) {
|
|
37
|
+
const env = {}, s = {};
|
|
38
|
+
return {scalars: {"conflict": 0}, maps: {}};
|
|
39
|
+
}
|
|
40
|
+
function step(params, state, input) {
|
|
41
|
+
const env = {"leftEffect": $n(input["leftEffect"], "input leftEffect"), "rightEffect": $n(input["rightEffect"], "input rightEffect"), "leftExact": $n(input["leftExact"], "input leftExact"), "rightExact": $n(input["rightExact"], "input rightExact"), "leftOrdered": $n(input["leftOrdered"], "input leftOrdered"), "rightOrdered": $n(input["rightOrdered"], "input rightOrdered"), "witness": $n(input["witness"], "input witness")}, s = state.scalars, dft = {...state.defaults}, maps = {...state.maps, "Left": $m(input["Left"], "input Left"), "Right": $m(input["Right"], "input Right")};
|
|
42
|
+
const flag0 = $keys(maps, ["Left","Right"]).every(k => (((maps["Left"].get(k) ?? 0) <= 1) && ((maps["Right"].get(k) ?? 0) <= 1)));
|
|
43
|
+
const flag1 = $keys(maps, ["Left","Right"]).every(k => ($x((maps["Left"].get(k) ?? 0) + (maps["Right"].get(k) ?? 0)) <= 1));
|
|
44
|
+
const flag2 = (!flag1);
|
|
45
|
+
const flag3 = $keys(maps, ["Left","Right"]).every(k => ((!(1 <= (maps["Left"].get(k) ?? 0))) || (!(1 <= (maps["Right"].get(k) ?? 0)))));
|
|
46
|
+
if (!((env["leftEffect"] <= 1) && (env["rightEffect"] <= 1) && (env["leftExact"] <= 1) && (env["rightExact"] <= 1) && (env["leftOrdered"] <= 1) && (env["rightOrdered"] <= 1) && flag0)) throw new RangeError("resource conflict: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
47
|
+
const scalars = {...s, "conflict": (((env["leftEffect"] === 1) && (env["rightEffect"] === 1) && ((env["leftOrdered"] === 1) || (env["rightOrdered"] === 1)) && ((!((env["leftExact"] === 1) && (env["rightExact"] === 1))) || flag2)) ? 1 : 0)};
|
|
48
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
49
|
+
}
|
|
50
|
+
return { init, step };
|
|
51
|
+
})();
|
|
52
|
+
|
|
53
|
+
export const resourceGroups = /* @__PURE__ */ (() => {
|
|
54
|
+
// Generated from the machine resource groups. step consumes its state: keep the one it returns (fork to branch).
|
|
55
|
+
function init(params) {
|
|
56
|
+
const env = {}, s = {};
|
|
57
|
+
return {scalars: {"conflict": 0}, maps: {}};
|
|
58
|
+
}
|
|
59
|
+
function step(params, state, input) {
|
|
60
|
+
const env = {"L_len": $n(input["L_len"], "input L_len"), "R_len": $n(input["R_len"], "input R_len"), "LN_len": $n(input["LN_len"], "input LN_len"), "RN_len": $n(input["RN_len"], "input RN_len")}, s = state.scalars, dft = {...state.defaults}, maps = {...state.maps, "L.effect": $m(input["L.effect"], "input L.effect"), "L.ordered": $m(input["L.ordered"], "input L.ordered"), "L.exact": $m(input["L.exact"], "input L.exact"), "R.effect": $m(input["R.effect"], "input R.effect"), "R.ordered": $m(input["R.ordered"], "input R.ordered"), "R.exact": $m(input["R.exact"], "input R.exact"), "LN.item": $m(input["LN.item"], "input LN.item"), "LN.name": $m(input["LN.name"], "input LN.name"), "RN.item": $m(input["RN.item"], "input RN.item"), "RN.name": $m(input["RN.name"], "input RN.name")};
|
|
61
|
+
const flag0 = $breaks(maps, [["LN.item", 0, false]], [[env["LN_len"], 0, false]]).every(k => ((!(k < env["LN_len"])) || ((maps["LN.item"].get(k) ?? 0) < env["L_len"])));
|
|
62
|
+
const flag1 = $breaks(maps, [["RN.item", 0, false]], [[env["RN_len"], 0, false]]).every(k => ((!(k < env["RN_len"])) || ((maps["RN.item"].get(k) ?? 0) < env["R_len"])));
|
|
63
|
+
const flag2 = (flag0 && flag1);
|
|
64
|
+
const flag3 = (ks => ks.every(k => ks.every(k1 => ((!((k < env["L_len"]) && (k1 < env["R_len"]) && (0 <= 0))) || (!((((maps["L.effect"].get(k) ?? 0) === 1) && ((maps["R.effect"].get(k1) ?? 0) === 1) && (((maps["L.ordered"].get(k) ?? 0) === 1) || ((maps["R.ordered"].get(k1) ?? 0) === 1))) && (!(((maps["L.exact"].get(k) ?? 0) === 1) && ((maps["R.exact"].get(k1) ?? 0) === 1)))))))))($spread($breaks(maps, [["L.effect", 0, false], ["L.ordered", 0, false], ["L.exact", 0, false], ["R.effect", 0, false], ["R.ordered", 0, false], ["R.exact", 0, false]], [[env["L_len"], 0, false], [env["R_len"], 0, false]]), 2));
|
|
65
|
+
const flag4 = $join($spread($breaks(maps, [["LN.name", 0, false], ["LN.item", 0, false], ["LN.item", 0, false], ["RN.name", 0, false], ["RN.item", 0, false], ["RN.item", 0, false]], [[env["LN_len"], 0, false], [env["RN_len"], 0, false]]), 2), k => (maps["LN.name"].get(k) ?? 0), k1 => (maps["RN.name"].get(k1) ?? 0), (k, k1) => ((!((k < env["LN_len"]) && (k1 < env["RN_len"]) && ((maps["LN.name"].get(k) ?? 0) === (maps["RN.name"].get(k1) ?? 0)) && (0 <= 0))) || (!(((maps["L.effect"].get((maps["LN.item"].get(k) ?? 0)) ?? 0) === 1) && ((maps["R.effect"].get((maps["RN.item"].get(k1) ?? 0)) ?? 0) === 1) && (((maps["L.ordered"].get((maps["LN.item"].get(k) ?? 0)) ?? 0) === 1) || ((maps["R.ordered"].get((maps["RN.item"].get(k1) ?? 0)) ?? 0) === 1))))));
|
|
66
|
+
const flag5 = $breaks(maps, [["L.effect", 0, false], ["L.ordered", 0, false], ["L.exact", 0, false]], [[env["L_len"], 0, false]]).every(k => ((!(k < env["L_len"])) || (((maps["L.effect"].get(k) ?? 0) <= 1) && ((maps["L.ordered"].get(k) ?? 0) <= 1) && ((maps["L.exact"].get(k) ?? 0) <= 1))));
|
|
67
|
+
const flag6 = $breaks(maps, [["R.effect", 0, false], ["R.ordered", 0, false], ["R.exact", 0, false]], [[env["R_len"], 0, false]]).every(k => ((!(k < env["R_len"])) || (((maps["R.effect"].get(k) ?? 0) <= 1) && ((maps["R.ordered"].get(k) ?? 0) <= 1) && ((maps["R.exact"].get(k) ?? 0) <= 1))));
|
|
68
|
+
if (!(flag5 && flag6 && flag2)) throw new RangeError("resource groups: the request fails the rule's assumption, so no proof covers the step it would take");
|
|
69
|
+
const scalars = {...s, "conflict": ((flag3 && flag4) ? 0 : 1)};
|
|
70
|
+
return Object.keys(dft).length ? {scalars, maps: state.maps, defaults: dft} : {scalars, maps: state.maps};
|
|
71
|
+
}
|
|
72
|
+
return { init, step };
|
|
73
|
+
})();
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// Generated by scripts/verified-kernels.ts from proofs/speculation.ts with gdp-wired@0.31.1. Do not edit.
|
|
2
|
+
export interface MachineState { scalars: Record<string, number>; maps: Record<string, Map<number, number>>; defaults?: Record<string, number> }
|
|
3
|
+
export interface Machine { init(params: object): MachineState; step(params: object, state: MachineState, input: object): MachineState }
|
|
4
|
+
export declare const speculationAdmission: Machine;
|
|
5
|
+
export declare const speculationCheck: Machine;
|
|
6
|
+
export declare const speculationAccounting: Machine;
|