spawnfile 0.1.32 → 0.1.34
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 +1 -1
- package/dist/auth/trainingAuth.d.ts +2 -5
- package/dist/cli/devCommands.d.ts +1 -1
- package/dist/cli/devCommands.js +0 -66
- package/dist/cli/runCli.d.ts +1 -4
- package/dist/cli/runCli.js +2 -2
- package/dist/cli/trainCommand.js +9 -15
- package/dist/cli/trainingBooted.d.ts +7 -0
- package/dist/cli/trainingBooted.js +41 -0
- package/dist/cli/trainingExecution.d.ts +4 -7
- package/dist/cli/trainingExecution.js +4 -32
- package/dist/compiler/containerArtifacts.js +0 -5
- package/dist/compiler/containerBackedMountRender.js +5 -1
- package/dist/compiler/containerDaimonBrokerRender.d.ts +5 -50
- package/dist/compiler/containerDaimonBrokerRender.js +7 -88
- package/dist/compiler/containerDaimonGatewayRender.d.ts +50 -0
- package/dist/compiler/containerDaimonGatewayRender.js +157 -0
- package/dist/compiler/containerDaimonGrokWorkerProvisioning.d.ts +2 -10
- package/dist/compiler/containerDaimonGrokWorkerProvisioning.js +13 -25
- package/dist/compiler/containerDaimonGrokWorkerRender.d.ts +11 -49
- package/dist/compiler/containerDaimonGrokWorkerRender.js +15 -39
- package/dist/compiler/containerDaimonStartupSupervision.d.ts +8 -0
- package/dist/compiler/containerDaimonStartupSupervision.js +39 -0
- package/dist/compiler/containerDaimonUidEntrypointRender.d.ts +1 -2
- package/dist/compiler/containerDaimonUidEntrypointRender.js +26 -46
- package/dist/compiler/containerRuntimeReadinessRender.js +1 -1
- package/dist/compiler/memoryArtifacts.js +0 -1
- package/dist/compiler/moltnetArtifacts.js +1 -17
- package/dist/compiler/moltnetClientConfig.js +1 -1
- package/dist/compiler/moltnetRuntimeConfig.js +0 -10
- package/dist/compiler/runProject.d.ts +1 -0
- package/dist/compiler/runProject.js +9 -3
- package/dist/compiler/runProjectAuth.js +2 -17
- package/dist/compiler/training/contract.d.ts +0 -2
- package/dist/compiler/training/contract.js +0 -2
- package/dist/compiler/training/execution.d.ts +1 -128
- package/dist/compiler/training/execution.js +7 -68
- package/dist/compiler/training/index.d.ts +0 -8
- package/dist/compiler/training/index.js +0 -7
- package/dist/compiler/training/output.d.ts +1 -0
- package/dist/compiler/training/output.js +1 -1
- package/dist/compiler/training/trial/boot.d.ts +53 -0
- package/dist/compiler/training/trial/boot.js +147 -0
- package/dist/compiler/training/trial/docker.d.ts +8 -0
- package/dist/compiler/training/trial/docker.js +22 -0
- package/dist/compiler/training/trial/gateway.d.ts +42 -0
- package/dist/compiler/training/trial/gateway.js +98 -0
- package/dist/compiler/training/trial/index.d.ts +4 -0
- package/dist/compiler/training/trial/index.js +4 -0
- package/dist/compiler/training/trial/launcher.d.ts +32 -0
- package/dist/compiler/training/trial/launcher.js +49 -0
- package/dist/compiler/training/trial/project.d.ts +11 -0
- package/dist/compiler/training/trial/project.js +31 -0
- package/dist/compiler/upReceipt.d.ts +2 -17
- package/dist/compiler/upReceipt.js +2 -17
- package/dist/deployment/artifactsExportPlan.js +2 -18
- package/dist/deployment/privateArtifactsExport.js +1 -1
- package/dist/dev/docker.d.ts +0 -5
- package/dist/dev/docker.js +0 -46
- package/dist/dev/index.d.ts +0 -1
- package/dist/dev/index.js +0 -1
- package/dist/dev/project.d.ts +0 -16
- package/dist/dev/project.js +1 -128
- package/dist/distribution/distributionReportSchema.js +1 -1
- package/dist/distribution/imageRuntimeAuth.js +3 -2
- package/dist/release/drainControl.d.ts +5 -19
- package/dist/release/drainControl.js +12 -67
- package/dist/report/types.d.ts +3 -6
- package/dist/runtime/common.d.ts +1 -1
- package/dist/runtime/common.js +1 -1
- package/dist/runtime/container.d.ts +2 -2
- package/dist/runtime/container.js +1 -39
- package/dist/runtime/daimon/config.js +6 -12
- package/dist/runtime/daimon/contractManifest.js +0 -1
- package/dist/runtime/daimon/contractManifestSchema.js +0 -1
- package/dist/runtime/daimon/control.d.ts +31 -0
- package/dist/runtime/daimon/control.js +83 -0
- package/dist/runtime/daimon/engineDescriptorSchema.js +0 -1
- package/dist/runtime/daimon/engineDescriptors.generated.d.ts +1 -1
- package/dist/runtime/daimon/engineDescriptors.generated.js +1 -2
- package/dist/runtime/daimon/engines.js +0 -1
- package/dist/runtime/daimon/gateway.d.ts +62 -0
- package/dist/runtime/daimon/gateway.js +77 -0
- package/dist/runtime/daimon/grokWorkerContract.d.ts +0 -5
- package/dist/runtime/daimon/grokWorkerContract.js +1 -13
- package/dist/runtime/daimon/index.d.ts +2 -0
- package/dist/runtime/daimon/index.js +2 -1
- package/dist/runtime/daimon/memory.js +1 -1
- package/dist/runtime/daimon/packageName.js +0 -1
- package/dist/runtime/daimon/runAuth.js +7 -4
- package/dist/runtime/daimon/runtimeIdentity.d.ts +2 -0
- package/dist/runtime/daimon/runtimeIdentity.js +2 -0
- package/dist/runtime/daimon/subscriptionRealms.d.ts +9 -3
- package/dist/runtime/daimon/subscriptionRealms.js +22 -13
- package/dist/runtime/daimon/testHelpers.d.ts +2 -0
- package/dist/runtime/{pi → daimon}/testHelpers.js +3 -3
- package/dist/runtime/daimon/training/booted/adapter.d.ts +46 -0
- package/dist/runtime/daimon/training/booted/adapter.js +59 -0
- package/dist/runtime/daimon/training/booted/adapter.js.map +1 -0
- package/dist/runtime/daimon/training/booted/index.d.ts +2 -0
- package/dist/runtime/daimon/training/booted/index.js +2 -0
- package/dist/runtime/daimon/training/booted/index.js.map +1 -0
- package/dist/runtime/daimon/training/index.d.ts +5 -0
- package/dist/runtime/daimon/training/index.js +8 -4
- package/dist/runtime/daimon/training/index.js.map +1 -1
- package/dist/runtime/daimon/training/providers/codex-subscription/index.js.map +1 -0
- package/dist/runtime/daimon/training/providers/codex-subscription/protocol.js.map +1 -0
- package/dist/runtime/daimon/training/providers/codex-subscription/provider.js.map +1 -0
- package/dist/runtime/daimon/training/providers/codex-subscription/strict-schema.js.map +1 -0
- package/dist/runtime/daimon/training/providers/grok-subscription/cli.d.ts +1 -3
- package/dist/runtime/daimon/training/providers/grok-subscription/cli.js +5 -5
- package/dist/runtime/daimon/training/providers/grok-subscription/cli.js.map +1 -1
- package/dist/runtime/daimon/training/providers/grok-subscription/index.d.ts +1 -2
- package/dist/runtime/daimon/training/providers/grok-subscription/index.js +0 -1
- package/dist/runtime/daimon/training/providers/grok-subscription/index.js.map +1 -1
- package/dist/runtime/daimon/training/providers/grok-subscription/protocol.d.ts +5 -17
- package/dist/runtime/daimon/training/providers/grok-subscription/protocol.js +18 -31
- package/dist/runtime/daimon/training/providers/grok-subscription/protocol.js.map +1 -1
- package/dist/runtime/daimon/training/providers/grok-subscription/provider.js +1 -2
- package/dist/runtime/daimon/training/providers/grok-subscription/provider.js.map +1 -1
- package/dist/runtime/daimon/wakeMoments.js +0 -1
- package/dist/runtime/install.js +0 -21
- package/dist/runtime/registry.js +0 -2
- package/dist/runtime/trainingGraderProviders.js +1 -1
- package/dist/runtime/trainingProviders.d.ts +1 -2
- package/dist/runtime/trainingProviders.js +9 -19
- package/dist/runtime/trainingSubjects.d.ts +0 -121
- package/dist/runtime/trainingSubjects.js +2 -13
- package/dist/runtime/types.d.ts +1 -8
- package/dist/shared/errors.js +0 -1
- package/dist/status/lifecycleProbes.js +3 -6
- package/dist/status/moltnetWiringProbes.js +1 -17
- package/dist/training/subjects/index.d.ts +0 -1
- package/dist/training/subjects/index.js +0 -1
- package/dist/training/subjects/index.js.map +1 -1
- package/examples/README.md +0 -1
- package/examples/daimon-org/agents/mapper/Spawnfile +4 -1
- package/examples/daimon-org/teams/review/agents/reviewer/Spawnfile +4 -1
- package/examples/jungian-daimon-org/teams/luna/agents/animus/Spawnfile +5 -8
- package/examples/jungian-daimon-org/teams/luna/agents/representative/Spawnfile +1 -1
- package/examples/jungian-daimon-org/teams/luna/agents/shadow/Spawnfile +5 -8
- package/examples/jungian-daimon-org/teams/selene/agents/animus/Spawnfile +5 -8
- package/examples/jungian-daimon-org/teams/selene/agents/representative/Spawnfile +5 -8
- package/examples/jungian-daimon-org/teams/selene/agents/shadow/Spawnfile +1 -1
- package/examples/mixed-runtime-org/agents/localist/Spawnfile +7 -7
- package/package.json +4 -13
- package/runtimes.yaml +5 -15
- package/dist/compiler/containerDaimonGrokTaskClock.d.ts +0 -5
- package/dist/compiler/containerDaimonGrokTaskClock.js +0 -29
- package/dist/compiler/daimonTelemetryArtifacts.d.ts +0 -22
- package/dist/compiler/daimonTelemetryArtifacts.js +0 -56
- package/dist/compiler/training/broker/clockProbe.d.ts +0 -6
- package/dist/compiler/training/broker/clockProbe.js +0 -27
- package/dist/compiler/training/broker/declaration.d.ts +0 -54
- package/dist/compiler/training/broker/declaration.js +0 -70
- package/dist/compiler/training/broker/entrypoint.d.ts +0 -39
- package/dist/compiler/training/broker/entrypoint.js +0 -124
- package/dist/compiler/training/broker/evaluatorSecrets.d.ts +0 -2
- package/dist/compiler/training/broker/evaluatorSecrets.js +0 -62
- package/dist/compiler/training/broker/index.d.ts +0 -12
- package/dist/compiler/training/broker/index.js +0 -12
- package/dist/compiler/training/broker/main.d.ts +0 -2
- package/dist/compiler/training/broker/main.js +0 -14
- package/dist/compiler/training/broker/paths.d.ts +0 -236
- package/dist/compiler/training/broker/paths.js +0 -249
- package/dist/compiler/training/broker/processes.d.ts +0 -51
- package/dist/compiler/training/broker/processes.js +0 -102
- package/dist/compiler/training/broker/projection.d.ts +0 -61
- package/dist/compiler/training/broker/projection.js +0 -109
- package/dist/compiler/training/broker/provisioning.d.ts +0 -78
- package/dist/compiler/training/broker/provisioning.js +0 -231
- package/dist/compiler/training/broker/receipt.d.ts +0 -77
- package/dist/compiler/training/broker/receipt.js +0 -110
- package/dist/compiler/training/broker/recycleClient.d.ts +0 -33
- package/dist/compiler/training/broker/recycleClient.js +0 -112
- package/dist/compiler/training/broker/registration.d.ts +0 -46
- package/dist/compiler/training/broker/registration.js +0 -113
- package/dist/compiler/training/broker/reset.d.ts +0 -9
- package/dist/compiler/training/broker/reset.js +0 -71
- package/dist/compiler/training/broker/rootScript.d.ts +0 -32
- package/dist/compiler/training/broker/rootScript.js +0 -33
- package/dist/compiler/training/broker/runtime.d.ts +0 -22
- package/dist/compiler/training/broker/runtime.js +0 -128
- package/dist/compiler/training/broker/seccompRoutes.d.ts +0 -31
- package/dist/compiler/training/broker/seccompRoutes.js +0 -36
- package/dist/compiler/training/broker/supervisor.d.ts +0 -108
- package/dist/compiler/training/broker/supervisor.js +0 -172
- package/dist/compiler/training/broker/taskClock.d.ts +0 -5
- package/dist/compiler/training/broker/taskClock.js +0 -41
- package/dist/compiler/training/container/contract.d.ts +0 -54
- package/dist/compiler/training/container/contract.js +0 -52
- package/dist/compiler/training/container/evaluators.d.ts +0 -48
- package/dist/compiler/training/container/evaluators.js +0 -50
- package/dist/compiler/training/container/grokWriteback.d.ts +0 -8
- package/dist/compiler/training/container/grokWriteback.js +0 -26
- package/dist/compiler/training/container/index.d.ts +0 -5
- package/dist/compiler/training/container/index.js +0 -3
- package/dist/compiler/training/container/launch.d.ts +0 -21
- package/dist/compiler/training/container/launch.js +0 -280
- package/dist/compiler/training/container/nativeSlots.d.ts +0 -14
- package/dist/compiler/training/container/nativeSlots.js +0 -13
- package/dist/compiler/training/container/outputCopy.d.ts +0 -2
- package/dist/compiler/training/container/outputCopy.js +0 -72
- package/dist/compiler/training/container/outputVolume.d.ts +0 -28
- package/dist/compiler/training/container/outputVolume.js +0 -185
- package/dist/compiler/training/container/prepare.d.ts +0 -10
- package/dist/compiler/training/container/prepare.js +0 -125
- package/dist/compiler/training/container/process.d.ts +0 -14
- package/dist/compiler/training/container/process.js +0 -70
- package/dist/compiler/training/container/security.d.ts +0 -38
- package/dist/compiler/training/container/security.js +0 -68
- package/dist/compiler/training/container/subjectIsolation.d.ts +0 -5
- package/dist/compiler/training/container/subjectIsolation.js +0 -16
- package/dist/compiler/training/preparation/assets/Dockerfile +0 -100
- package/dist/compiler/training/preparation/assets/package-lock.json +0 -5483
- package/dist/compiler/training/preparation/broker.d.ts +0 -30
- package/dist/compiler/training/preparation/broker.js +0 -68
- package/dist/compiler/training/preparation/contextModes.d.ts +0 -12
- package/dist/compiler/training/preparation/contextModes.js +0 -38
- package/dist/compiler/training/preparation/contract.d.ts +0 -203
- package/dist/compiler/training/preparation/contract.js +0 -114
- package/dist/compiler/training/preparation/copyAssets.d.ts +0 -1
- package/dist/compiler/training/preparation/copyAssets.js +0 -8
- package/dist/compiler/training/preparation/daimonParent.d.ts +0 -42
- package/dist/compiler/training/preparation/daimonParent.js +0 -114
- package/dist/compiler/training/preparation/files.d.ts +0 -29
- package/dist/compiler/training/preparation/files.js +0 -146
- package/dist/compiler/training/preparation/image.d.ts +0 -28
- package/dist/compiler/training/preparation/image.js +0 -105
- package/dist/compiler/training/preparation/index.d.ts +0 -3
- package/dist/compiler/training/preparation/index.js +0 -2
- package/dist/compiler/training/preparation/inputs.d.ts +0 -24
- package/dist/compiler/training/preparation/inputs.js +0 -101
- package/dist/compiler/training/preparation/prepare.d.ts +0 -38
- package/dist/compiler/training/preparation/prepare.js +0 -224
- package/dist/compiler/training/preparation/scratch.d.ts +0 -8
- package/dist/compiler/training/preparation/scratch.js +0 -114
- package/dist/compiler/training/repair/compatibility.d.ts +0 -11
- package/dist/compiler/training/repair/compatibility.js +0 -45
- package/dist/compiler/training/repair/contract.d.ts +0 -832
- package/dist/compiler/training/repair/contract.js +0 -34
- package/dist/compiler/training/repair/index.d.ts +0 -3
- package/dist/compiler/training/repair/index.js +0 -3
- package/dist/compiler/training/repair/prepare.d.ts +0 -378
- package/dist/compiler/training/repair/prepare.js +0 -84
- package/dist/compiler/training/repair/witness.d.ts +0 -348
- package/dist/compiler/training/repair/witness.js +0 -62
- package/dist/compiler/training/subjectDeclaration.d.ts +0 -26
- package/dist/compiler/training/subjectDeclaration.js +0 -54
- package/dist/compiler/training/subjectLease.d.ts +0 -115
- package/dist/compiler/training/subjectLease.js +0 -179
- package/dist/dev/activity.d.ts +0 -14
- package/dist/dev/activity.js +0 -48
- package/dist/runtime/codex-exec/training/adapter.d.ts +0 -13
- package/dist/runtime/codex-exec/training/adapter.js +0 -101
- package/dist/runtime/codex-exec/training/adapter.js.map +0 -1
- package/dist/runtime/codex-exec/training/environment.d.ts +0 -3
- package/dist/runtime/codex-exec/training/environment.js +0 -26
- package/dist/runtime/codex-exec/training/environment.js.map +0 -1
- package/dist/runtime/codex-exec/training/index.d.ts +0 -2
- package/dist/runtime/codex-exec/training/index.js +0 -3
- package/dist/runtime/codex-exec/training/index.js.map +0 -1
- package/dist/runtime/codex-exec/training/protocol.d.ts +0 -15
- package/dist/runtime/codex-exec/training/protocol.js +0 -102
- package/dist/runtime/codex-exec/training/protocol.js.map +0 -1
- package/dist/runtime/codex-exec/training/providers/codex-subscription/index.js.map +0 -1
- package/dist/runtime/codex-exec/training/providers/codex-subscription/protocol.js.map +0 -1
- package/dist/runtime/codex-exec/training/providers/codex-subscription/provider.js.map +0 -1
- package/dist/runtime/codex-exec/training/providers/codex-subscription/strict-schema.js.map +0 -1
- package/dist/runtime/daimon/contractManifest.js.map +0 -1
- package/dist/runtime/daimon/contractManifestSchema.js.map +0 -1
- package/dist/runtime/daimon/engineDescriptorSchema.js.map +0 -1
- package/dist/runtime/daimon/engineDescriptors.generated.js.map +0 -1
- package/dist/runtime/daimon/engines.js.map +0 -1
- package/dist/runtime/daimon/index.js.map +0 -1
- package/dist/runtime/daimon/packageName.js.map +0 -1
- package/dist/runtime/daimon/training/legacy/adapter.d.ts +0 -11
- package/dist/runtime/daimon/training/legacy/adapter.js +0 -175
- package/dist/runtime/daimon/training/legacy/adapter.js.map +0 -1
- package/dist/runtime/daimon/training/legacy/index.d.ts +0 -2
- package/dist/runtime/daimon/training/legacy/index.js +0 -3
- package/dist/runtime/daimon/training/legacy/index.js.map +0 -1
- package/dist/runtime/daimon/training/legacy/public.d.ts +0 -49
- package/dist/runtime/daimon/training/legacy/public.js +0 -16
- package/dist/runtime/daimon/training/legacy/public.js.map +0 -1
- package/dist/runtime/daimon/training/native/adapter.d.ts +0 -18
- package/dist/runtime/daimon/training/native/adapter.js +0 -252
- package/dist/runtime/daimon/training/native/adapter.js.map +0 -1
- package/dist/runtime/daimon/training/native/admission.d.ts +0 -7
- package/dist/runtime/daimon/training/native/admission.js +0 -52
- package/dist/runtime/daimon/training/native/admission.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/arguments.d.ts +0 -16
- package/dist/runtime/daimon/training/native/child/arguments.js +0 -70
- package/dist/runtime/daimon/training/native/child/arguments.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/deferred-trial.d.ts +0 -24
- package/dist/runtime/daimon/training/native/child/deferred-trial.js +0 -63
- package/dist/runtime/daimon/training/native/child/deferred-trial.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/diagnostics.d.ts +0 -58
- package/dist/runtime/daimon/training/native/child/diagnostics.js +0 -215
- package/dist/runtime/daimon/training/native/child/diagnostics.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/fixture.d.ts +0 -16
- package/dist/runtime/daimon/training/native/child/fixture.js +0 -159
- package/dist/runtime/daimon/training/native/child/fixture.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/grok.d.ts +0 -14
- package/dist/runtime/daimon/training/native/child/grok.js +0 -47
- package/dist/runtime/daimon/training/native/child/grok.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/index.d.ts +0 -7
- package/dist/runtime/daimon/training/native/child/index.js +0 -5
- package/dist/runtime/daimon/training/native/child/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/lifecycle.d.ts +0 -40
- package/dist/runtime/daimon/training/native/child/lifecycle.js +0 -400
- package/dist/runtime/daimon/training/native/child/lifecycle.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/probe.d.ts +0 -2
- package/dist/runtime/daimon/training/native/child/probe.js +0 -11
- package/dist/runtime/daimon/training/native/child/probe.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/sandbox.d.ts +0 -4
- package/dist/runtime/daimon/training/native/child/sandbox.js +0 -76
- package/dist/runtime/daimon/training/native/child/sandbox.js.map +0 -1
- package/dist/runtime/daimon/training/native/child/types.d.ts +0 -15
- package/dist/runtime/daimon/training/native/child/types.js +0 -2
- package/dist/runtime/daimon/training/native/child/types.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/docker.d.ts +0 -29
- package/dist/runtime/daimon/training/native/container/docker.js +0 -105
- package/dist/runtime/daimon/training/native/container/docker.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/grok-slot.d.ts +0 -22
- package/dist/runtime/daimon/training/native/container/grok-slot.js +0 -38
- package/dist/runtime/daimon/training/native/container/grok-slot.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/index.d.ts +0 -6
- package/dist/runtime/daimon/training/native/container/index.js +0 -6
- package/dist/runtime/daimon/training/native/container/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/lifecycle.d.ts +0 -8
- package/dist/runtime/daimon/training/native/container/lifecycle.js +0 -111
- package/dist/runtime/daimon/training/native/container/lifecycle.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/manifest.d.ts +0 -17
- package/dist/runtime/daimon/training/native/container/manifest.js +0 -164
- package/dist/runtime/daimon/training/native/container/manifest.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/native-preflight.d.ts +0 -8
- package/dist/runtime/daimon/training/native/container/native-preflight.js +0 -40
- package/dist/runtime/daimon/training/native/container/native-preflight.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/preflight.d.ts +0 -15
- package/dist/runtime/daimon/training/native/container/preflight.js +0 -79
- package/dist/runtime/daimon/training/native/container/preflight.js.map +0 -1
- package/dist/runtime/daimon/training/native/container/slot.d.ts +0 -4
- package/dist/runtime/daimon/training/native/container/slot.js +0 -58
- package/dist/runtime/daimon/training/native/container/slot.js.map +0 -1
- package/dist/runtime/daimon/training/native/external.d.ts +0 -37
- package/dist/runtime/daimon/training/native/external.js +0 -75
- package/dist/runtime/daimon/training/native/external.js.map +0 -1
- package/dist/runtime/daimon/training/native/grants/authority.d.ts +0 -36
- package/dist/runtime/daimon/training/native/grants/authority.js +0 -49
- package/dist/runtime/daimon/training/native/grants/authority.js.map +0 -1
- package/dist/runtime/daimon/training/native/grants/index.d.ts +0 -2
- package/dist/runtime/daimon/training/native/grants/index.js +0 -3
- package/dist/runtime/daimon/training/native/grants/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/grants/pins.d.ts +0 -30
- package/dist/runtime/daimon/training/native/grants/pins.js +0 -20
- package/dist/runtime/daimon/training/native/grants/pins.js.map +0 -1
- package/dist/runtime/daimon/training/native/grants/test-socket.d.ts +0 -6
- package/dist/runtime/daimon/training/native/grants/test-socket.js +0 -35
- package/dist/runtime/daimon/training/native/grants/test-socket.js.map +0 -1
- package/dist/runtime/daimon/training/native/grok-fixtures.d.ts +0 -34
- package/dist/runtime/daimon/training/native/grok-fixtures.js +0 -179
- package/dist/runtime/daimon/training/native/grok-fixtures.js.map +0 -1
- package/dist/runtime/daimon/training/native/index.d.ts +0 -38
- package/dist/runtime/daimon/training/native/index.js +0 -27
- package/dist/runtime/daimon/training/native/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/live-checkout.d.ts +0 -2
- package/dist/runtime/daimon/training/native/live-checkout.js +0 -15
- package/dist/runtime/daimon/training/native/live-checkout.js.map +0 -1
- package/dist/runtime/daimon/training/native/observations.d.ts +0 -51
- package/dist/runtime/daimon/training/native/observations.js +0 -217
- package/dist/runtime/daimon/training/native/observations.js.map +0 -1
- package/dist/runtime/daimon/training/native/outcome.d.ts +0 -13
- package/dist/runtime/daimon/training/native/outcome.js +0 -37
- package/dist/runtime/daimon/training/native/outcome.js.map +0 -1
- package/dist/runtime/daimon/training/native/preparation/engine-config.d.ts +0 -21
- package/dist/runtime/daimon/training/native/preparation/engine-config.js +0 -30
- package/dist/runtime/daimon/training/native/preparation/engine-config.js.map +0 -1
- package/dist/runtime/daimon/training/native/preparation/fixtures.d.ts +0 -17
- package/dist/runtime/daimon/training/native/preparation/fixtures.js +0 -52
- package/dist/runtime/daimon/training/native/preparation/fixtures.js.map +0 -1
- package/dist/runtime/daimon/training/native/preparation/index.d.ts +0 -7
- package/dist/runtime/daimon/training/native/preparation/index.js +0 -5
- package/dist/runtime/daimon/training/native/preparation/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/preparation/layout.d.ts +0 -66
- package/dist/runtime/daimon/training/native/preparation/layout.js +0 -87
- package/dist/runtime/daimon/training/native/preparation/layout.js.map +0 -1
- package/dist/runtime/daimon/training/native/preparation/subject.d.ts +0 -14
- package/dist/runtime/daimon/training/native/preparation/subject.js +0 -67
- package/dist/runtime/daimon/training/native/preparation/subject.js.map +0 -1
- package/dist/runtime/daimon/training/native/preparation/types.d.ts +0 -69
- package/dist/runtime/daimon/training/native/preparation/types.js +0 -2
- package/dist/runtime/daimon/training/native/preparation/types.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/artifacts.d.ts +0 -25
- package/dist/runtime/daimon/training/native/receipt/artifacts.js +0 -32
- package/dist/runtime/daimon/training/native/receipt/artifacts.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/grok-clocked-pins.d.ts +0 -129
- package/dist/runtime/daimon/training/native/receipt/grok-clocked-pins.js +0 -45
- package/dist/runtime/daimon/training/native/receipt/grok-clocked-pins.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/grok.d.ts +0 -246
- package/dist/runtime/daimon/training/native/receipt/grok.js +0 -195
- package/dist/runtime/daimon/training/native/receipt/grok.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/index.d.ts +0 -11
- package/dist/runtime/daimon/training/native/receipt/index.js +0 -8
- package/dist/runtime/daimon/training/native/receipt/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/paths.d.ts +0 -3
- package/dist/runtime/daimon/training/native/receipt/paths.js +0 -18
- package/dist/runtime/daimon/training/native/receipt/paths.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/sandbox.d.ts +0 -42
- package/dist/runtime/daimon/training/native/receipt/sandbox.js +0 -35
- package/dist/runtime/daimon/training/native/receipt/sandbox.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/schema.d.ts +0 -490
- package/dist/runtime/daimon/training/native/receipt/schema.js +0 -138
- package/dist/runtime/daimon/training/native/receipt/schema.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/subscription.d.ts +0 -13
- package/dist/runtime/daimon/training/native/receipt/subscription.js +0 -13
- package/dist/runtime/daimon/training/native/receipt/subscription.js.map +0 -1
- package/dist/runtime/daimon/training/native/receipt/task-clock.d.ts +0 -19
- package/dist/runtime/daimon/training/native/receipt/task-clock.js +0 -49
- package/dist/runtime/daimon/training/native/receipt/task-clock.js.map +0 -1
- package/dist/runtime/daimon/training/native/sealed-usage.d.ts +0 -218
- package/dist/runtime/daimon/training/native/sealed-usage.js +0 -261
- package/dist/runtime/daimon/training/native/sealed-usage.js.map +0 -1
- package/dist/runtime/daimon/training/native/test-fixtures.d.ts +0 -27
- package/dist/runtime/daimon/training/native/test-fixtures.js +0 -162
- package/dist/runtime/daimon/training/native/test-fixtures.js.map +0 -1
- package/dist/runtime/daimon/training/native/transcript.d.ts +0 -96
- package/dist/runtime/daimon/training/native/transcript.js +0 -239
- package/dist/runtime/daimon/training/native/transcript.js.map +0 -1
- package/dist/runtime/daimon/training/native/transport/delivery.d.ts +0 -27
- package/dist/runtime/daimon/training/native/transport/delivery.js +0 -98
- package/dist/runtime/daimon/training/native/transport/delivery.js.map +0 -1
- package/dist/runtime/daimon/training/native/transport/http.d.ts +0 -3
- package/dist/runtime/daimon/training/native/transport/http.js +0 -81
- package/dist/runtime/daimon/training/native/transport/http.js.map +0 -1
- package/dist/runtime/daimon/training/native/transport/index.d.ts +0 -4
- package/dist/runtime/daimon/training/native/transport/index.js +0 -3
- package/dist/runtime/daimon/training/native/transport/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/transport/types.d.ts +0 -15
- package/dist/runtime/daimon/training/native/transport/types.js +0 -2
- package/dist/runtime/daimon/training/native/transport/types.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/cli.d.ts +0 -1
- package/dist/runtime/daimon/training/native/worker/cli.js +0 -17
- package/dist/runtime/daimon/training/native/worker/cli.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/control.d.ts +0 -20
- package/dist/runtime/daimon/training/native/worker/control.js +0 -266
- package/dist/runtime/daimon/training/native/worker/control.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/deliveries.d.ts +0 -38
- package/dist/runtime/daimon/training/native/worker/deliveries.js +0 -91
- package/dist/runtime/daimon/training/native/worker/deliveries.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/evidence/collect.d.ts +0 -54
- package/dist/runtime/daimon/training/native/worker/evidence/collect.js +0 -278
- package/dist/runtime/daimon/training/native/worker/evidence/collect.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/evidence/execution.d.ts +0 -102
- package/dist/runtime/daimon/training/native/worker/evidence/execution.js +0 -191
- package/dist/runtime/daimon/training/native/worker/evidence/execution.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/evidence/index.d.ts +0 -3
- package/dist/runtime/daimon/training/native/worker/evidence/index.js +0 -4
- package/dist/runtime/daimon/training/native/worker/evidence/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/evidence/io.d.ts +0 -20
- package/dist/runtime/daimon/training/native/worker/evidence/io.js +0 -130
- package/dist/runtime/daimon/training/native/worker/evidence/io.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/evidence/seal.d.ts +0 -3
- package/dist/runtime/daimon/training/native/worker/evidence/seal.js +0 -67
- package/dist/runtime/daimon/training/native/worker/evidence/seal.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/index.d.ts +0 -11
- package/dist/runtime/daimon/training/native/worker/index.js +0 -8
- package/dist/runtime/daimon/training/native/worker/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/profile.d.ts +0 -23
- package/dist/runtime/daimon/training/native/worker/profile.js +0 -149
- package/dist/runtime/daimon/training/native/worker/profile.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/public.d.ts +0 -53
- package/dist/runtime/daimon/training/native/worker/public.js +0 -22
- package/dist/runtime/daimon/training/native/worker/public.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/sandbox.d.ts +0 -4
- package/dist/runtime/daimon/training/native/worker/sandbox.js +0 -54
- package/dist/runtime/daimon/training/native/worker/sandbox.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/server.d.ts +0 -4
- package/dist/runtime/daimon/training/native/worker/server.js +0 -102
- package/dist/runtime/daimon/training/native/worker/server.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/types.d.ts +0 -318
- package/dist/runtime/daimon/training/native/worker/types.js +0 -2
- package/dist/runtime/daimon/training/native/worker/types.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/wake-delivery/index.d.ts +0 -4
- package/dist/runtime/daimon/training/native/worker/wake-delivery/index.js +0 -4
- package/dist/runtime/daimon/training/native/worker/wake-delivery/index.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/wake-delivery/source.d.ts +0 -3
- package/dist/runtime/daimon/training/native/worker/wake-delivery/source.js +0 -16
- package/dist/runtime/daimon/training/native/worker/wake-delivery/source.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/wake-delivery/terminal.d.ts +0 -4
- package/dist/runtime/daimon/training/native/worker/wake-delivery/terminal.js +0 -52
- package/dist/runtime/daimon/training/native/worker/wake-delivery/terminal.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/wake-delivery/transport.d.ts +0 -21
- package/dist/runtime/daimon/training/native/worker/wake-delivery/transport.js +0 -198
- package/dist/runtime/daimon/training/native/worker/wake-delivery/transport.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/wake-delivery/types.d.ts +0 -91
- package/dist/runtime/daimon/training/native/worker/wake-delivery/types.js +0 -2
- package/dist/runtime/daimon/training/native/worker/wake-delivery/types.js.map +0 -1
- package/dist/runtime/daimon/training/native/worker/worker.d.ts +0 -1
- package/dist/runtime/daimon/training/native/worker/worker.js +0 -105
- package/dist/runtime/daimon/training/native/worker/worker.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-broker/broker.d.ts +0 -20
- package/dist/runtime/daimon/training/providers/grok-broker/broker.js +0 -55
- package/dist/runtime/daimon/training/providers/grok-broker/broker.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-broker/grant-fixtures.d.ts +0 -15
- package/dist/runtime/daimon/training/providers/grok-broker/grant-fixtures.js +0 -29
- package/dist/runtime/daimon/training/providers/grok-broker/grant-fixtures.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-broker/grant-home.d.ts +0 -16
- package/dist/runtime/daimon/training/providers/grok-broker/grant-home.js +0 -60
- package/dist/runtime/daimon/training/providers/grok-broker/grant-home.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-broker/grant-pool.d.ts +0 -81
- package/dist/runtime/daimon/training/providers/grok-broker/grant-pool.js +0 -221
- package/dist/runtime/daimon/training/providers/grok-broker/grant-pool.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-broker/grant-releases.d.ts +0 -31
- package/dist/runtime/daimon/training/providers/grok-broker/grant-releases.js +0 -78
- package/dist/runtime/daimon/training/providers/grok-broker/grant-releases.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-broker/grants.d.ts +0 -63
- package/dist/runtime/daimon/training/providers/grok-broker/grants.js +0 -20
- package/dist/runtime/daimon/training/providers/grok-broker/grants.js.map +0 -1
- package/dist/runtime/daimon/training/providers/grok-broker/index.d.ts +0 -3
- package/dist/runtime/daimon/training/providers/grok-broker/index.js +0 -4
- package/dist/runtime/daimon/training/providers/grok-broker/index.js.map +0 -1
- package/dist/runtime/daimon/training/public.d.ts +0 -6
- package/dist/runtime/daimon/training/public.js +0 -5
- package/dist/runtime/daimon/training/public.js.map +0 -1
- package/dist/runtime/daimon/training/services/account-lease.d.ts +0 -7
- package/dist/runtime/daimon/training/services/account-lease.js +0 -76
- package/dist/runtime/daimon/training/services/account-lease.js.map +0 -1
- package/dist/runtime/daimon/training/services/freshness.d.ts +0 -15
- package/dist/runtime/daimon/training/services/freshness.js +0 -19
- package/dist/runtime/daimon/training/services/freshness.js.map +0 -1
- package/dist/runtime/daimon/training/services/index.d.ts +0 -4
- package/dist/runtime/daimon/training/services/index.js +0 -4
- package/dist/runtime/daimon/training/services/index.js.map +0 -1
- package/dist/runtime/daimon/training/services/slot-freshness.d.ts +0 -34
- package/dist/runtime/daimon/training/services/slot-freshness.js +0 -178
- package/dist/runtime/daimon/training/services/slot-freshness.js.map +0 -1
- package/dist/runtime/daimon/wakeMoments.js.map +0 -1
- package/dist/runtime/pi/adapter.d.ts +0 -3
- package/dist/runtime/pi/adapter.js +0 -230
- package/dist/runtime/pi/appActivitySource.d.ts +0 -1
- package/dist/runtime/pi/appActivitySource.js +0 -199
- package/dist/runtime/pi/appAgentConfig.d.ts +0 -11
- package/dist/runtime/pi/appAgentConfig.js +0 -264
- package/dist/runtime/pi/appCliEnginesSource.d.ts +0 -1
- package/dist/runtime/pi/appCliEnginesSource.js +0 -183
- package/dist/runtime/pi/appCliSource.d.ts +0 -1
- package/dist/runtime/pi/appCliSource.js +0 -353
- package/dist/runtime/pi/appControlSource.d.ts +0 -1
- package/dist/runtime/pi/appControlSource.js +0 -390
- package/dist/runtime/pi/appControlWakeIdentitySource.d.ts +0 -1
- package/dist/runtime/pi/appControlWakeIdentitySource.js +0 -19
- package/dist/runtime/pi/appCoreSource.d.ts +0 -4
- package/dist/runtime/pi/appCoreSource.js +0 -244
- package/dist/runtime/pi/appPreludeSource.d.ts +0 -1
- package/dist/runtime/pi/appPreludeSource.js +0 -192
- package/dist/runtime/pi/appScheduleSource.d.ts +0 -1
- package/dist/runtime/pi/appScheduleSource.js +0 -84
- package/dist/runtime/pi/appScriptedEngine.d.ts +0 -31
- package/dist/runtime/pi/appScriptedEngine.js +0 -42
- package/dist/runtime/pi/appSource.d.ts +0 -4
- package/dist/runtime/pi/appSource.js +0 -12
- package/dist/runtime/pi/appTemplate.d.ts +0 -14
- package/dist/runtime/pi/appTemplate.js +0 -28
- package/dist/runtime/pi/appTemplateTypes.d.ts +0 -64
- package/dist/runtime/pi/appTemplateTypes.js +0 -18
- package/dist/runtime/pi/appWakeContextSource.d.ts +0 -1
- package/dist/runtime/pi/appWakeContextSource.js +0 -398
- package/dist/runtime/pi/containerTargets.d.ts +0 -4
- package/dist/runtime/pi/containerTargets.js +0 -63
- package/dist/runtime/pi/runAuth.d.ts +0 -2
- package/dist/runtime/pi/runAuth.js +0 -185
- package/dist/runtime/pi/testHelpers.d.ts +0 -2
- package/dist/shared/errors.js.map +0 -1
- package/dist/training/subjects/environment.d.ts +0 -2
- package/dist/training/subjects/environment.js +0 -14
- package/dist/training/subjects/environment.js.map +0 -1
- /package/dist/runtime/{codex-exec → daimon}/training/providers/codex-subscription/index.d.ts +0 -0
- /package/dist/runtime/{codex-exec → daimon}/training/providers/codex-subscription/index.js +0 -0
- /package/dist/runtime/{codex-exec → daimon}/training/providers/codex-subscription/protocol.d.ts +0 -0
- /package/dist/runtime/{codex-exec → daimon}/training/providers/codex-subscription/protocol.js +0 -0
- /package/dist/runtime/{codex-exec → daimon}/training/providers/codex-subscription/provider.d.ts +0 -0
- /package/dist/runtime/{codex-exec → daimon}/training/providers/codex-subscription/provider.js +0 -0
- /package/dist/runtime/{codex-exec → daimon}/training/providers/codex-subscription/strict-schema.d.ts +0 -0
- /package/dist/runtime/{codex-exec → daimon}/training/providers/codex-subscription/strict-schema.js +0 -0
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
export declare const grokClockedWorkerConfigPins: readonly [{
|
|
2
|
-
readonly "grok-4.6": {
|
|
3
|
-
readonly low: "751f1dcd04983e5e5883df5a8fefa04f201e187e5ef1f344d3bf83f950830432";
|
|
4
|
-
readonly medium: "f1406f93a8091eb0c09e07321254a9c783a89b0bbf5548d9613d53a8d087a517";
|
|
5
|
-
readonly high: "203744f6f0dfc0bc80cfb896880497edfd9b3de4dcf33060e8ef4d2ef5f220a7";
|
|
6
|
-
};
|
|
7
|
-
readonly "grok-4.5": {
|
|
8
|
-
readonly low: "3c4f3515b21c1bffb3fb770e2ecb4b918b6c43d5e77c1fd47e1e6698d1fedee7";
|
|
9
|
-
readonly medium: "9117e12b2f3f6fa045799592969cbaae1c2f3b1ea79330badac8655b9b41dd7a";
|
|
10
|
-
readonly high: "907d8967960c342b442d6d256b2585f3c85bd846a78578f596f0b605403d6d34";
|
|
11
|
-
};
|
|
12
|
-
readonly "grok-build": {
|
|
13
|
-
readonly low: "a8c63ba910623a0686930c27db0733f4a2588c7fca9dd7da25c3f18027720ab5";
|
|
14
|
-
readonly medium: "6afcd2b90c0d19794f8c0d22147a0f011946a92e613f89dae98b0ca729313101";
|
|
15
|
-
readonly high: "6efddadc82c38020d3351829e54bb09fa456cd6d76ea1247902794d82a4a3ffa";
|
|
16
|
-
};
|
|
17
|
-
}, {
|
|
18
|
-
readonly "grok-4.6": {
|
|
19
|
-
readonly low: "9a648763631d96a4cfac1c6e927b6670dd7674eb5a550a15bc1125713d58c5ce";
|
|
20
|
-
readonly medium: "d7b8cd3b9cd9d02610d7b5b0fd262b285307d688e0c4f01a8634ffde292a64a9";
|
|
21
|
-
readonly high: "da6c6cd82c8bcb650746abf895578bbdc76ced9a9a0ffef83c6b0e1112444f28";
|
|
22
|
-
};
|
|
23
|
-
readonly "grok-4.5": {
|
|
24
|
-
readonly low: "4cc2774a6f48abc9bcf386330427c77626b5f55f1a845aaa5f8658aa29ead6eb";
|
|
25
|
-
readonly medium: "0b90f5401f9dd788a4f18e6a0e96c15002fbd85ae95f42893cc54dd6eda2b3da";
|
|
26
|
-
readonly high: "29eee59f4df4dea611d62145e59e775b44950dbc68ff9548e119ac81d150b238";
|
|
27
|
-
};
|
|
28
|
-
readonly "grok-build": {
|
|
29
|
-
readonly low: "bceb42600257876eca5c9f902057d2b76249c824b05c8e282a421dabbbfd534b";
|
|
30
|
-
readonly medium: "3eb1f3b996cc452944839c5db295da476677f6b50fa6631388d3ade2706fb79b";
|
|
31
|
-
readonly high: "a0f5a7bcdf87e2a25b7cddde7e2e22ab077819eb037fd6079e5a4a2ed28a4a56";
|
|
32
|
-
};
|
|
33
|
-
}, {
|
|
34
|
-
readonly "grok-4.6": {
|
|
35
|
-
readonly low: "3abba33c7664b3c4e4ca5582a2a7155fa5c995f452baf84eb111bbe1119f48bc";
|
|
36
|
-
readonly medium: "5bf0f18b2746ab4241216b2bc80ada3ef1010110710b3392dab885b82b0688f9";
|
|
37
|
-
readonly high: "a64c3fb448bf5307a72adf675396c87bca796a3d7ea75aed050202ebcb173367";
|
|
38
|
-
};
|
|
39
|
-
readonly "grok-4.5": {
|
|
40
|
-
readonly low: "06f052192b4c7c1d8ae204153c6be42704a15e2fe1bf60c08b5039ac23b3fafe";
|
|
41
|
-
readonly medium: "b808308d66faf34d278c44c5c4412b2f494424e76bef1d9b8dd5d0143fe276fb";
|
|
42
|
-
readonly high: "f9cdfa297ac4c909c1f556d6c67c815dc225ff4f67e4a7f0788236cac1f701b8";
|
|
43
|
-
};
|
|
44
|
-
readonly "grok-build": {
|
|
45
|
-
readonly low: "0e1eda926d41bec517f30abe1bf019e233b6ea967f4bc1177f6ce3a67ab6f325";
|
|
46
|
-
readonly medium: "edf9f7afd4404d9b7db84ed7f890ec39a5c23982adec904e7b48e5a20dd1f273";
|
|
47
|
-
readonly high: "2276e14a3152d5453f48491f17591f7eb7bd03d220adf81fa6715ca121c91cd9";
|
|
48
|
-
};
|
|
49
|
-
}, {
|
|
50
|
-
readonly "grok-4.6": {
|
|
51
|
-
readonly low: "005fa436585cc34843104bacbc9ed9ad1056e24d22616b07da5e48a13a5aab36";
|
|
52
|
-
readonly medium: "e0cb186b021c630b12957f40657b069d7d8bb6e8f1aa275760c84205decd041c";
|
|
53
|
-
readonly high: "9897c21ec861376530b3fc53e44701f5ad40023a74c4916bed043959a5abb4ff";
|
|
54
|
-
};
|
|
55
|
-
readonly "grok-4.5": {
|
|
56
|
-
readonly low: "fc45a3c03055cd2e613c50d5cc4f083a01dbaaf5d78794f71fe8d309585d6c23";
|
|
57
|
-
readonly medium: "380d3c71f71eba63c26f2bcfb41ce8811472d2efd7dc227e43bd8cbf70796ce1";
|
|
58
|
-
readonly high: "b12b0df7eac944c6ca5a7669582c26625559f9b7b54820d13b50000110291076";
|
|
59
|
-
};
|
|
60
|
-
readonly "grok-build": {
|
|
61
|
-
readonly low: "6443fde406463506b271a3b067964579a605a411d40118bae26e45f5fb9f5f44";
|
|
62
|
-
readonly medium: "8ab7301f14ddd8a26e53702101efe87b67f1a118fdcd735132ba5a8c16740d62";
|
|
63
|
-
readonly high: "9a4321ebf77973e45014e0ba6691ae4731780abc3ad7d41ae3c41e339095b6b5";
|
|
64
|
-
};
|
|
65
|
-
}, {
|
|
66
|
-
readonly "grok-4.6": {
|
|
67
|
-
readonly low: "8aaa269214b8714f14b518fdd6318c4a9aa122e9834efda62118c5c280b90608";
|
|
68
|
-
readonly medium: "bfbbbb7dcc4570f19c801c46b7385488adde980e35220a7ec9f513fe248aacbb";
|
|
69
|
-
readonly high: "28eff95dc906938dd7b1dbfa591dd11f06b1e811c34ecf92e6b2312668e2b826";
|
|
70
|
-
};
|
|
71
|
-
readonly "grok-4.5": {
|
|
72
|
-
readonly low: "38a5c281e60a284494c07962da791c5ffaa4a2c866755aafcab9486a2c520f9d";
|
|
73
|
-
readonly medium: "8505a5aba87dbecd9e94316228a86847b40b9b99ebd4ecd8b7348579fb094064";
|
|
74
|
-
readonly high: "7a3f253587c3d3d6e8ef897907083b3485a64e9c49d20acec4d5b2ea9174b5db";
|
|
75
|
-
};
|
|
76
|
-
readonly "grok-build": {
|
|
77
|
-
readonly low: "f2cefbd48f7709841387ca83ee0dff06726ecb353ca158d5ee0ac9ae4807bb5e";
|
|
78
|
-
readonly medium: "11e25910196d697202279c2c523c43f7390274f2b20130f33924359fccacd0cc";
|
|
79
|
-
readonly high: "b00faee7b2b282157ec9a6efa61fe44bd01b59964d045fae6da3553e5bb905b0";
|
|
80
|
-
};
|
|
81
|
-
}, {
|
|
82
|
-
readonly "grok-4.6": {
|
|
83
|
-
readonly low: "4003dd53f883eda76d2b2cef3a13cdb090232458ceb6feac8fca4df69e7b1436";
|
|
84
|
-
readonly medium: "6af81480a2407389c8a67f51c8e8eef75db7dd3ed253dee5bec3adedbf578d09";
|
|
85
|
-
readonly high: "8bae24c4deab8bcd0bdfd66eb942dc7712ad18b5e2878660571503ac83367f32";
|
|
86
|
-
};
|
|
87
|
-
readonly "grok-4.5": {
|
|
88
|
-
readonly low: "2cc31957ff602e0798eb4b9a28327a1786a9c37c12ef630705b2aa98add802da";
|
|
89
|
-
readonly medium: "79c1291ae0d2e92bf1322be62e8ec7ddd1f5d18cf754a4d5542188ba06b0b964";
|
|
90
|
-
readonly high: "d444ff62ec0385db25d53855f73f8b8835a7ece8cedd9e84fff4c6722c327164";
|
|
91
|
-
};
|
|
92
|
-
readonly "grok-build": {
|
|
93
|
-
readonly low: "7fd9df94045c8b06cfe445f525da81c12335d9a1975ee1669b96e37d1a177d47";
|
|
94
|
-
readonly medium: "9eb1da8e00ace0ec0d8013c757cebdf1839f5658f25fcabf4f13e69e70469f9c";
|
|
95
|
-
readonly high: "ff0410b3dba932c044e0a93886907809039b7954fa101c840032d5e10dd05200";
|
|
96
|
-
};
|
|
97
|
-
}, {
|
|
98
|
-
readonly "grok-4.6": {
|
|
99
|
-
readonly low: "8d11c3ea89e617e3180709da71452e3893ab45bafe3964129e71958d8736751a";
|
|
100
|
-
readonly medium: "e811109be2c9248bf72ae89917eded4cff5c5e90ec42b1f4a1435ead547605a8";
|
|
101
|
-
readonly high: "576d75b8d1a72e954c8baa7313c21530fc236a1fe4c38f0ad989f977b87e2b4a";
|
|
102
|
-
};
|
|
103
|
-
readonly "grok-4.5": {
|
|
104
|
-
readonly low: "92046efbcf71a04019b8b50e74008dfa511272dede81dee85d71f3dd41724e52";
|
|
105
|
-
readonly medium: "71ed171e8d39749d2d374375e5a65b9e5e4f7685cd1f04f58e07b14dcc00a539";
|
|
106
|
-
readonly high: "8ec8b6d69defb418fa004c0b38096c987ebed94486aab145ea038fa0f3d5006d";
|
|
107
|
-
};
|
|
108
|
-
readonly "grok-build": {
|
|
109
|
-
readonly low: "a2f296b80252fefa5eda6d5232dca5b9aa1dbb5a59da781116df469ee66e7804";
|
|
110
|
-
readonly medium: "7223f7d43439f79ece6203d79c9bcebd2273de639192e531383dc87e01f54a63";
|
|
111
|
-
readonly high: "58c48d844e3c4456f332fbc0a383040e6842adbc94ddf29163dba1463c0276cc";
|
|
112
|
-
};
|
|
113
|
-
}, {
|
|
114
|
-
readonly "grok-4.6": {
|
|
115
|
-
readonly low: "cb8baf51c1fe1dd833ffc7be66155dd1409f8d33a6919b9e38cac81f23b1709a";
|
|
116
|
-
readonly medium: "c832ca846869ad49f48dd83aea8215d921ba1eb2ecdc5a11f46817c25b4684e5";
|
|
117
|
-
readonly high: "85b55d35daffc43401d2b4434856ec6848e71120356cd296450c2bd3d65f4043";
|
|
118
|
-
};
|
|
119
|
-
readonly "grok-4.5": {
|
|
120
|
-
readonly low: "177c2957c3dfad8e6ff038c3cf1ea314eabe1e8c66586a171c2b45107ffe4b1b";
|
|
121
|
-
readonly medium: "04d7098cfcc5870ec753d952f91dfcf86e1dbaee7a582f5ff35447dfe643aeab";
|
|
122
|
-
readonly high: "45964c587f5fde70188943576723d01e89fdc6a735782cf67a04067b3b5eac6c";
|
|
123
|
-
};
|
|
124
|
-
readonly "grok-build": {
|
|
125
|
-
readonly low: "8a424a524737a194558c7abf62eebe1d75d734a33db525385f157ae6140b2cae";
|
|
126
|
-
readonly medium: "d5c3103b98c78b434561709a0abcf02cf9748a32119781fbbb4e90dd8b58d521";
|
|
127
|
-
readonly high: "074e9c5d797631f10630a1c44d7f02b8558c78b33bf8a6ade47165eab9ce73f7";
|
|
128
|
-
};
|
|
129
|
-
}];
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
// Manifest v5 clocked worker config digests from Daimon public grokBrokerWorkerConfigSha256.
|
|
2
|
-
// Slot index, then declared model and effort; parity is checked against the optional peer.
|
|
3
|
-
export const grokClockedWorkerConfigPins = [
|
|
4
|
-
{
|
|
5
|
-
"grok-4.6": { "low": "751f1dcd04983e5e5883df5a8fefa04f201e187e5ef1f344d3bf83f950830432", "medium": "f1406f93a8091eb0c09e07321254a9c783a89b0bbf5548d9613d53a8d087a517", "high": "203744f6f0dfc0bc80cfb896880497edfd9b3de4dcf33060e8ef4d2ef5f220a7" },
|
|
6
|
-
"grok-4.5": { "low": "3c4f3515b21c1bffb3fb770e2ecb4b918b6c43d5e77c1fd47e1e6698d1fedee7", "medium": "9117e12b2f3f6fa045799592969cbaae1c2f3b1ea79330badac8655b9b41dd7a", "high": "907d8967960c342b442d6d256b2585f3c85bd846a78578f596f0b605403d6d34" },
|
|
7
|
-
"grok-build": { "low": "a8c63ba910623a0686930c27db0733f4a2588c7fca9dd7da25c3f18027720ab5", "medium": "6afcd2b90c0d19794f8c0d22147a0f011946a92e613f89dae98b0ca729313101", "high": "6efddadc82c38020d3351829e54bb09fa456cd6d76ea1247902794d82a4a3ffa" },
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"grok-4.6": { "low": "9a648763631d96a4cfac1c6e927b6670dd7674eb5a550a15bc1125713d58c5ce", "medium": "d7b8cd3b9cd9d02610d7b5b0fd262b285307d688e0c4f01a8634ffde292a64a9", "high": "da6c6cd82c8bcb650746abf895578bbdc76ced9a9a0ffef83c6b0e1112444f28" },
|
|
11
|
-
"grok-4.5": { "low": "4cc2774a6f48abc9bcf386330427c77626b5f55f1a845aaa5f8658aa29ead6eb", "medium": "0b90f5401f9dd788a4f18e6a0e96c15002fbd85ae95f42893cc54dd6eda2b3da", "high": "29eee59f4df4dea611d62145e59e775b44950dbc68ff9548e119ac81d150b238" },
|
|
12
|
-
"grok-build": { "low": "bceb42600257876eca5c9f902057d2b76249c824b05c8e282a421dabbbfd534b", "medium": "3eb1f3b996cc452944839c5db295da476677f6b50fa6631388d3ade2706fb79b", "high": "a0f5a7bcdf87e2a25b7cddde7e2e22ab077819eb037fd6079e5a4a2ed28a4a56" },
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"grok-4.6": { "low": "3abba33c7664b3c4e4ca5582a2a7155fa5c995f452baf84eb111bbe1119f48bc", "medium": "5bf0f18b2746ab4241216b2bc80ada3ef1010110710b3392dab885b82b0688f9", "high": "a64c3fb448bf5307a72adf675396c87bca796a3d7ea75aed050202ebcb173367" },
|
|
16
|
-
"grok-4.5": { "low": "06f052192b4c7c1d8ae204153c6be42704a15e2fe1bf60c08b5039ac23b3fafe", "medium": "b808308d66faf34d278c44c5c4412b2f494424e76bef1d9b8dd5d0143fe276fb", "high": "f9cdfa297ac4c909c1f556d6c67c815dc225ff4f67e4a7f0788236cac1f701b8" },
|
|
17
|
-
"grok-build": { "low": "0e1eda926d41bec517f30abe1bf019e233b6ea967f4bc1177f6ce3a67ab6f325", "medium": "edf9f7afd4404d9b7db84ed7f890ec39a5c23982adec904e7b48e5a20dd1f273", "high": "2276e14a3152d5453f48491f17591f7eb7bd03d220adf81fa6715ca121c91cd9" },
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"grok-4.6": { "low": "005fa436585cc34843104bacbc9ed9ad1056e24d22616b07da5e48a13a5aab36", "medium": "e0cb186b021c630b12957f40657b069d7d8bb6e8f1aa275760c84205decd041c", "high": "9897c21ec861376530b3fc53e44701f5ad40023a74c4916bed043959a5abb4ff" },
|
|
21
|
-
"grok-4.5": { "low": "fc45a3c03055cd2e613c50d5cc4f083a01dbaaf5d78794f71fe8d309585d6c23", "medium": "380d3c71f71eba63c26f2bcfb41ce8811472d2efd7dc227e43bd8cbf70796ce1", "high": "b12b0df7eac944c6ca5a7669582c26625559f9b7b54820d13b50000110291076" },
|
|
22
|
-
"grok-build": { "low": "6443fde406463506b271a3b067964579a605a411d40118bae26e45f5fb9f5f44", "medium": "8ab7301f14ddd8a26e53702101efe87b67f1a118fdcd735132ba5a8c16740d62", "high": "9a4321ebf77973e45014e0ba6691ae4731780abc3ad7d41ae3c41e339095b6b5" },
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"grok-4.6": { "low": "8aaa269214b8714f14b518fdd6318c4a9aa122e9834efda62118c5c280b90608", "medium": "bfbbbb7dcc4570f19c801c46b7385488adde980e35220a7ec9f513fe248aacbb", "high": "28eff95dc906938dd7b1dbfa591dd11f06b1e811c34ecf92e6b2312668e2b826" },
|
|
26
|
-
"grok-4.5": { "low": "38a5c281e60a284494c07962da791c5ffaa4a2c866755aafcab9486a2c520f9d", "medium": "8505a5aba87dbecd9e94316228a86847b40b9b99ebd4ecd8b7348579fb094064", "high": "7a3f253587c3d3d6e8ef897907083b3485a64e9c49d20acec4d5b2ea9174b5db" },
|
|
27
|
-
"grok-build": { "low": "f2cefbd48f7709841387ca83ee0dff06726ecb353ca158d5ee0ac9ae4807bb5e", "medium": "11e25910196d697202279c2c523c43f7390274f2b20130f33924359fccacd0cc", "high": "b00faee7b2b282157ec9a6efa61fe44bd01b59964d045fae6da3553e5bb905b0" },
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"grok-4.6": { "low": "4003dd53f883eda76d2b2cef3a13cdb090232458ceb6feac8fca4df69e7b1436", "medium": "6af81480a2407389c8a67f51c8e8eef75db7dd3ed253dee5bec3adedbf578d09", "high": "8bae24c4deab8bcd0bdfd66eb942dc7712ad18b5e2878660571503ac83367f32" },
|
|
31
|
-
"grok-4.5": { "low": "2cc31957ff602e0798eb4b9a28327a1786a9c37c12ef630705b2aa98add802da", "medium": "79c1291ae0d2e92bf1322be62e8ec7ddd1f5d18cf754a4d5542188ba06b0b964", "high": "d444ff62ec0385db25d53855f73f8b8835a7ece8cedd9e84fff4c6722c327164" },
|
|
32
|
-
"grok-build": { "low": "7fd9df94045c8b06cfe445f525da81c12335d9a1975ee1669b96e37d1a177d47", "medium": "9eb1da8e00ace0ec0d8013c757cebdf1839f5658f25fcabf4f13e69e70469f9c", "high": "ff0410b3dba932c044e0a93886907809039b7954fa101c840032d5e10dd05200" },
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"grok-4.6": { "low": "8d11c3ea89e617e3180709da71452e3893ab45bafe3964129e71958d8736751a", "medium": "e811109be2c9248bf72ae89917eded4cff5c5e90ec42b1f4a1435ead547605a8", "high": "576d75b8d1a72e954c8baa7313c21530fc236a1fe4c38f0ad989f977b87e2b4a" },
|
|
36
|
-
"grok-4.5": { "low": "92046efbcf71a04019b8b50e74008dfa511272dede81dee85d71f3dd41724e52", "medium": "71ed171e8d39749d2d374375e5a65b9e5e4f7685cd1f04f58e07b14dcc00a539", "high": "8ec8b6d69defb418fa004c0b38096c987ebed94486aab145ea038fa0f3d5006d" },
|
|
37
|
-
"grok-build": { "low": "a2f296b80252fefa5eda6d5232dca5b9aa1dbb5a59da781116df469ee66e7804", "medium": "7223f7d43439f79ece6203d79c9bcebd2273de639192e531383dc87e01f54a63", "high": "58c48d844e3c4456f332fbc0a383040e6842adbc94ddf29163dba1463c0276cc" },
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"grok-4.6": { "low": "cb8baf51c1fe1dd833ffc7be66155dd1409f8d33a6919b9e38cac81f23b1709a", "medium": "c832ca846869ad49f48dd83aea8215d921ba1eb2ecdc5a11f46817c25b4684e5", "high": "85b55d35daffc43401d2b4434856ec6848e71120356cd296450c2bd3d65f4043" },
|
|
41
|
-
"grok-4.5": { "low": "177c2957c3dfad8e6ff038c3cf1ea314eabe1e8c66586a171c2b45107ffe4b1b", "medium": "04d7098cfcc5870ec753d952f91dfcf86e1dbaee7a582f5ff35447dfe643aeab", "high": "45964c587f5fde70188943576723d01e89fdc6a735782cf67a04067b3b5eac6c" },
|
|
42
|
-
"grok-build": { "low": "8a424a524737a194558c7abf62eebe1d75d734a33db525385f157ae6140b2cae", "medium": "d5c3103b98c78b434561709a0abcf02cf9748a32119781fbbb4e90dd8b58d521", "high": "074e9c5d797631f10630a1c44d7f02b8558c78b33bf8a6ade47165eab9ce73f7" },
|
|
43
|
-
},
|
|
44
|
-
];
|
|
45
|
-
//# sourceMappingURL=grok-clocked-pins.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grok-clocked-pins.js","sourceRoot":"","sources":["../../../../../../src/runtime/daimon/training/native/receipt/grok-clocked-pins.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,2FAA2F;AAC3F,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC;QACE,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,YAAY,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;KACpP;IACD;QACE,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,YAAY,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;KACpP;IACD;QACE,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,YAAY,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;KACpP;IACD;QACE,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,YAAY,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;KACpP;IACD;QACE,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,YAAY,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;KACpP;IACD;QACE,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,YAAY,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;KACpP;IACD;QACE,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,YAAY,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;KACpP;IACD;QACE,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,UAAU,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;QACjP,YAAY,EAAE,EAAC,KAAK,EAAE,kEAAkE,EAAE,QAAQ,EAAE,kEAAkE,EAAE,MAAM,EAAE,kEAAkE,EAAC;KACpP;CACO,CAAC"}
|
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { type GrokNativeLaunch } from './schema.js';
|
|
3
|
-
/** Independent manifest v5 worker pins; inference client configs have their own grant pins. */
|
|
4
|
-
export declare const grokWorkerConfigPins: {
|
|
5
|
-
readonly unclocked: {
|
|
6
|
-
readonly 'grok-4.6': {
|
|
7
|
-
readonly low: "ab58499ac32678097c146479896f2b8a8e2b0e39aea22dc0a60b6227e370538e";
|
|
8
|
-
readonly medium: "df1a5cc84346e7f6bf6090492fbd19faaefb42953e3bb2e8c6cbc0572242403f";
|
|
9
|
-
readonly high: "65b0212564fb74042b1503d293fb8d3620276033264c0efade2a539ca09218e3";
|
|
10
|
-
};
|
|
11
|
-
readonly 'grok-4.5': {
|
|
12
|
-
readonly low: "8247127c3625ff7c5d8d527a53596b89ec6557a821ac46cfd00bd122b90daff6";
|
|
13
|
-
readonly medium: "59288cee61297bb8c002097061a48f77b09d310754187a253ee089f7172a9155";
|
|
14
|
-
readonly high: "c63c3387ce92d94ec3f690abfe98942afcd7c9e17ff84816bbe751f340ab251f";
|
|
15
|
-
};
|
|
16
|
-
readonly 'grok-build': {
|
|
17
|
-
readonly low: "fb343f2809903f26d21681470943235031f946e99085542fd89555eb7782cbb5";
|
|
18
|
-
readonly medium: "8a587ef75c90eab70d19b24583e60051d6fba9d90c558839fdbb15588b4cc656";
|
|
19
|
-
readonly high: "a23724e00d670caee185ba7690d2daa868173e53905cf446f5329666f01ab4e3";
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
readonly clocked: {
|
|
23
|
-
readonly "grok-4.6": {
|
|
24
|
-
readonly low: "751f1dcd04983e5e5883df5a8fefa04f201e187e5ef1f344d3bf83f950830432";
|
|
25
|
-
readonly medium: "f1406f93a8091eb0c09e07321254a9c783a89b0bbf5548d9613d53a8d087a517";
|
|
26
|
-
readonly high: "203744f6f0dfc0bc80cfb896880497edfd9b3de4dcf33060e8ef4d2ef5f220a7";
|
|
27
|
-
};
|
|
28
|
-
readonly "grok-4.5": {
|
|
29
|
-
readonly low: "3c4f3515b21c1bffb3fb770e2ecb4b918b6c43d5e77c1fd47e1e6698d1fedee7";
|
|
30
|
-
readonly medium: "9117e12b2f3f6fa045799592969cbaae1c2f3b1ea79330badac8655b9b41dd7a";
|
|
31
|
-
readonly high: "907d8967960c342b442d6d256b2585f3c85bd846a78578f596f0b605403d6d34";
|
|
32
|
-
};
|
|
33
|
-
readonly "grok-build": {
|
|
34
|
-
readonly low: "a8c63ba910623a0686930c27db0733f4a2588c7fca9dd7da25c3f18027720ab5";
|
|
35
|
-
readonly medium: "6afcd2b90c0d19794f8c0d22147a0f011946a92e613f89dae98b0ca729313101";
|
|
36
|
-
readonly high: "6efddadc82c38020d3351829e54bb09fa456cd6d76ea1247902794d82a4a3ffa";
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export declare const grokTaskClockPin: {
|
|
41
|
-
readonly preloadPath: "/usr/local/lib/daimon/libfaketime.so.1";
|
|
42
|
-
readonly timestampFilePath: "/run/daimon-engine-broker/task-clock/slot-0/faketime";
|
|
43
|
-
readonly directoryPath: "/run/daimon-engine-broker/task-clock/slot-0";
|
|
44
|
-
readonly rootDirectoryPath: "/run/daimon-engine-broker/task-clock";
|
|
45
|
-
readonly directoryMode: 493;
|
|
46
|
-
readonly fileMode: 420;
|
|
47
|
-
readonly ownerUid: 2100;
|
|
48
|
-
readonly version: "noopolis.daimon.grok-broker-task-clock.v2";
|
|
49
|
-
readonly slotDirectoryPattern: "/run/daimon-engine-broker/task-clock/slot-{slot}";
|
|
50
|
-
readonly slotFilePattern: "/run/daimon-engine-broker/task-clock/slot-{slot}/faketime";
|
|
51
|
-
readonly workerView: "own-directory-visible-sibling-directories-denied";
|
|
52
|
-
};
|
|
53
|
-
/** Structural mirror of Daimon's public `noopolis.daimon.grok-broker-projection.v3`; Daimon stays the resolver. */
|
|
54
|
-
export declare const grokBrokerProjectionSchema: z.ZodObject<{
|
|
55
|
-
version: z.ZodLiteral<"noopolis.daimon.grok-broker-projection.v3">;
|
|
56
|
-
agentId: z.ZodString;
|
|
57
|
-
workspacePath: z.ZodString;
|
|
58
|
-
runtimeHomePath: z.ZodString;
|
|
59
|
-
workerUid: z.ZodNumber;
|
|
60
|
-
slot: z.ZodNumber;
|
|
61
|
-
profilePath: z.ZodString;
|
|
62
|
-
profileSha256: z.ZodString;
|
|
63
|
-
denyPaths: z.ZodArray<z.ZodString>;
|
|
64
|
-
workerConfigSha256: z.ZodString;
|
|
65
|
-
systemPromptSha256: z.ZodString;
|
|
66
|
-
grokCliVersion: z.ZodString;
|
|
67
|
-
workerConfigVariant: z.ZodEnum<{
|
|
68
|
-
unclocked: "unclocked";
|
|
69
|
-
clocked: "clocked";
|
|
70
|
-
}>;
|
|
71
|
-
taskClock: z.ZodOptional<z.ZodObject<{
|
|
72
|
-
preloadPath: z.ZodLiteral<"/usr/local/lib/daimon/libfaketime.so.1">;
|
|
73
|
-
timestampFilePath: z.ZodString;
|
|
74
|
-
directoryPath: z.ZodString;
|
|
75
|
-
directoryMode: z.ZodLiteral<493>;
|
|
76
|
-
fileMode: z.ZodLiteral<420>;
|
|
77
|
-
ownerUid: z.ZodLiteral<2100>;
|
|
78
|
-
version: z.ZodLiteral<"noopolis.daimon.grok-broker-task-clock.v2">;
|
|
79
|
-
rootDirectoryPath: z.ZodLiteral<"/run/daimon-engine-broker/task-clock">;
|
|
80
|
-
slotDirectoryPattern: z.ZodLiteral<"/run/daimon-engine-broker/task-clock/slot-{slot}">;
|
|
81
|
-
slotFilePattern: z.ZodLiteral<"/run/daimon-engine-broker/task-clock/slot-{slot}/faketime">;
|
|
82
|
-
workerView: z.ZodLiteral<"own-directory-visible-sibling-directories-denied">;
|
|
83
|
-
}, z.core.$strict>>;
|
|
84
|
-
grokExecutableSha256: z.ZodString;
|
|
85
|
-
nativeAbiVersion: z.ZodNumber;
|
|
86
|
-
model: z.ZodEnum<{
|
|
87
|
-
"grok-4.6": "grok-4.6";
|
|
88
|
-
"grok-4.5": "grok-4.5";
|
|
89
|
-
"grok-build": "grok-build";
|
|
90
|
-
}>;
|
|
91
|
-
reasoningEffort: z.ZodEnum<{
|
|
92
|
-
low: "low";
|
|
93
|
-
medium: "medium";
|
|
94
|
-
high: "high";
|
|
95
|
-
}>;
|
|
96
|
-
limits: z.ZodObject<{
|
|
97
|
-
maxRequests: z.ZodNumber;
|
|
98
|
-
maxTokens: z.ZodNumber;
|
|
99
|
-
timeoutMs: z.ZodNumber;
|
|
100
|
-
}, z.core.$strict>;
|
|
101
|
-
usageLedgerPath: z.ZodString;
|
|
102
|
-
seccompProfileSha256: z.ZodString;
|
|
103
|
-
attestation: z.ZodObject<{
|
|
104
|
-
platform: z.ZodLiteral<"linux/landlock">;
|
|
105
|
-
enforced: z.ZodLiteral<true>;
|
|
106
|
-
restrictNetwork: z.ZodLiteral<true>;
|
|
107
|
-
profileName: z.ZodString;
|
|
108
|
-
sandboxRuntime: z.ZodLiteral<"bubblewrap">;
|
|
109
|
-
eventsPath: z.ZodString;
|
|
110
|
-
}, z.core.$strict>;
|
|
111
|
-
}, z.core.$strict>;
|
|
112
|
-
export type GrokBrokerProjection = z.infer<typeof grokBrokerProjectionSchema>;
|
|
113
|
-
/**
|
|
114
|
-
* Mirror of `noopolis.daimon.grok-slot-preflight.v2` at Daimon's strictness (first worker uid,
|
|
115
|
-
* exact RFC3339 instant, unique canaries). The worker still verifies with Daimon's own verifier first.
|
|
116
|
-
*/
|
|
117
|
-
export declare const grokSlotPreflightSchema: z.ZodObject<{
|
|
118
|
-
version: z.ZodLiteral<"noopolis.daimon.grok-slot-preflight.v2">;
|
|
119
|
-
slot: z.ZodNumber;
|
|
120
|
-
worker_uid: z.ZodNumber;
|
|
121
|
-
generation: z.ZodNumber;
|
|
122
|
-
nonce: z.ZodString;
|
|
123
|
-
projection_sha256: z.ZodString;
|
|
124
|
-
sandbox_profile_sha256: z.ZodString;
|
|
125
|
-
seccomp_profile_sha256: z.ZodString;
|
|
126
|
-
sandbox_runtime: z.ZodLiteral<"bubblewrap">;
|
|
127
|
-
grok_executable_sha256: z.ZodString;
|
|
128
|
-
canaries: z.ZodArray<z.ZodObject<{
|
|
129
|
-
path: z.ZodString;
|
|
130
|
-
method: z.ZodLiteral<"sandboxed-read">;
|
|
131
|
-
result: z.ZodLiteral<"denied">;
|
|
132
|
-
}, z.core.$strict>>;
|
|
133
|
-
created_at: z.ZodString;
|
|
134
|
-
}, z.core.$strict>;
|
|
135
|
-
export type GrokSlotPreflight = z.infer<typeof grokSlotPreflightSchema>;
|
|
136
|
-
export declare const grokBrokerReceiptSchema = "spawnfile.training.daimon-native.grok-broker-projection.v1";
|
|
137
|
-
declare const receiptSchema: z.ZodObject<{
|
|
138
|
-
schema: z.ZodPreprocess<z.ZodLiteral<"spawnfile.training.daimon-native.grok-broker-projection.v1">, unknown>;
|
|
139
|
-
trialId: z.ZodString;
|
|
140
|
-
configSha256: z.ZodString;
|
|
141
|
-
projectionSha256: z.ZodString;
|
|
142
|
-
projection: z.ZodObject<{
|
|
143
|
-
version: z.ZodLiteral<"noopolis.daimon.grok-broker-projection.v3">;
|
|
144
|
-
agentId: z.ZodString;
|
|
145
|
-
workspacePath: z.ZodString;
|
|
146
|
-
runtimeHomePath: z.ZodString;
|
|
147
|
-
workerUid: z.ZodNumber;
|
|
148
|
-
slot: z.ZodNumber;
|
|
149
|
-
profilePath: z.ZodString;
|
|
150
|
-
profileSha256: z.ZodString;
|
|
151
|
-
denyPaths: z.ZodArray<z.ZodString>;
|
|
152
|
-
workerConfigSha256: z.ZodString;
|
|
153
|
-
systemPromptSha256: z.ZodString;
|
|
154
|
-
grokCliVersion: z.ZodString;
|
|
155
|
-
workerConfigVariant: z.ZodEnum<{
|
|
156
|
-
unclocked: "unclocked";
|
|
157
|
-
clocked: "clocked";
|
|
158
|
-
}>;
|
|
159
|
-
taskClock: z.ZodOptional<z.ZodObject<{
|
|
160
|
-
preloadPath: z.ZodLiteral<"/usr/local/lib/daimon/libfaketime.so.1">;
|
|
161
|
-
timestampFilePath: z.ZodString;
|
|
162
|
-
directoryPath: z.ZodString;
|
|
163
|
-
directoryMode: z.ZodLiteral<493>;
|
|
164
|
-
fileMode: z.ZodLiteral<420>;
|
|
165
|
-
ownerUid: z.ZodLiteral<2100>;
|
|
166
|
-
version: z.ZodLiteral<"noopolis.daimon.grok-broker-task-clock.v2">;
|
|
167
|
-
rootDirectoryPath: z.ZodLiteral<"/run/daimon-engine-broker/task-clock">;
|
|
168
|
-
slotDirectoryPattern: z.ZodLiteral<"/run/daimon-engine-broker/task-clock/slot-{slot}">;
|
|
169
|
-
slotFilePattern: z.ZodLiteral<"/run/daimon-engine-broker/task-clock/slot-{slot}/faketime">;
|
|
170
|
-
workerView: z.ZodLiteral<"own-directory-visible-sibling-directories-denied">;
|
|
171
|
-
}, z.core.$strict>>;
|
|
172
|
-
grokExecutableSha256: z.ZodString;
|
|
173
|
-
nativeAbiVersion: z.ZodNumber;
|
|
174
|
-
model: z.ZodEnum<{
|
|
175
|
-
"grok-4.6": "grok-4.6";
|
|
176
|
-
"grok-4.5": "grok-4.5";
|
|
177
|
-
"grok-build": "grok-build";
|
|
178
|
-
}>;
|
|
179
|
-
reasoningEffort: z.ZodEnum<{
|
|
180
|
-
low: "low";
|
|
181
|
-
medium: "medium";
|
|
182
|
-
high: "high";
|
|
183
|
-
}>;
|
|
184
|
-
limits: z.ZodObject<{
|
|
185
|
-
maxRequests: z.ZodNumber;
|
|
186
|
-
maxTokens: z.ZodNumber;
|
|
187
|
-
timeoutMs: z.ZodNumber;
|
|
188
|
-
}, z.core.$strict>;
|
|
189
|
-
usageLedgerPath: z.ZodString;
|
|
190
|
-
seccompProfileSha256: z.ZodString;
|
|
191
|
-
attestation: z.ZodObject<{
|
|
192
|
-
platform: z.ZodLiteral<"linux/landlock">;
|
|
193
|
-
enforced: z.ZodLiteral<true>;
|
|
194
|
-
restrictNetwork: z.ZodLiteral<true>;
|
|
195
|
-
profileName: z.ZodString;
|
|
196
|
-
sandboxRuntime: z.ZodLiteral<"bubblewrap">;
|
|
197
|
-
eventsPath: z.ZodString;
|
|
198
|
-
}, z.core.$strict>;
|
|
199
|
-
}, z.core.$strict>;
|
|
200
|
-
slotPreflight: z.ZodObject<{
|
|
201
|
-
version: z.ZodLiteral<"noopolis.daimon.grok-slot-preflight.v2">;
|
|
202
|
-
slot: z.ZodNumber;
|
|
203
|
-
worker_uid: z.ZodNumber;
|
|
204
|
-
generation: z.ZodNumber;
|
|
205
|
-
nonce: z.ZodString;
|
|
206
|
-
projection_sha256: z.ZodString;
|
|
207
|
-
sandbox_profile_sha256: z.ZodString;
|
|
208
|
-
seccomp_profile_sha256: z.ZodString;
|
|
209
|
-
sandbox_runtime: z.ZodLiteral<"bubblewrap">;
|
|
210
|
-
grok_executable_sha256: z.ZodString;
|
|
211
|
-
canaries: z.ZodArray<z.ZodObject<{
|
|
212
|
-
path: z.ZodString;
|
|
213
|
-
method: z.ZodLiteral<"sandboxed-read">;
|
|
214
|
-
result: z.ZodLiteral<"denied">;
|
|
215
|
-
}, z.core.$strict>>;
|
|
216
|
-
created_at: z.ZodString;
|
|
217
|
-
}, z.core.$strict>;
|
|
218
|
-
}, z.core.$strict>;
|
|
219
|
-
export type GrokBrokerReceipt = z.infer<typeof receiptSchema>;
|
|
220
|
-
/** Daimon's canonical JSON (UTF-16 key sort, plain JSON data only); its digest is what a slot receipt binds. */
|
|
221
|
-
export declare function canonicalJson(value: unknown): string;
|
|
222
|
-
export declare const grokProjectionSha256: (projection: GrokBrokerProjection) => string;
|
|
223
|
-
/**
|
|
224
|
-
* The two digest-bound writable roots a Grok launch runs the subject in.
|
|
225
|
-
*
|
|
226
|
-
* The trial runner protects its own layout without knowing the engine, so it
|
|
227
|
-
* also names the runtime home — which for a Grok slot is the subject's own home
|
|
228
|
-
* and one of the roots the projection binds as `workspacePath`/`runtimeHomePath`.
|
|
229
|
-
* A caller cannot both hand the subject a root and demand the subject be denied
|
|
230
|
-
* it, so these exact roots are exempt from the caller's protected set. Nothing
|
|
231
|
-
* else is: a protected path *inside* one of them is still refused, because the
|
|
232
|
-
* exemption matches the root itself, never a descendant.
|
|
233
|
-
*/
|
|
234
|
-
export declare function grokSubjectRoots(launch: GrokNativeLaunch): string[];
|
|
235
|
-
/** Every evaluator root a Grok launch declares, plus its control root (Daimon's acceptance store). */
|
|
236
|
-
export declare function requiredGrokEvaluatorPaths(launch: GrokNativeLaunch): string[];
|
|
237
|
-
export declare function bindGrokBrokerProjection(projection: unknown, slotPreflight: unknown, trialId: string, configSha256: string): GrokBrokerReceipt;
|
|
238
|
-
/**
|
|
239
|
-
* Re-binds a persisted Grok projection receipt without loading Daimon: the
|
|
240
|
-
* projection must be this launch's slot, its canonical digest must equal the
|
|
241
|
-
* launch and the slot receipt, the receipt must deny exactly the projected
|
|
242
|
-
* paths, and every evaluator path (plus `extraRequired`) must be one of those
|
|
243
|
-
* denied canaries. Launch control files must sit inside a denied root.
|
|
244
|
-
*/
|
|
245
|
-
export declare function parseGrokBrokerReceipt(value: unknown, launch: GrokNativeLaunch, trialId: string, extraRequired?: readonly string[]): GrokBrokerReceipt;
|
|
246
|
-
export {};
|
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
import { compatibleWireLiteral } from '../../../../../training/index.js';
|
|
2
|
-
import { grokClockedWorkerConfigPins } from './grok-clocked-pins.js';
|
|
3
|
-
import { createHash } from 'node:crypto';
|
|
4
|
-
import { posix } from 'node:path';
|
|
5
|
-
import { z } from 'zod';
|
|
6
|
-
import { grokModels, grokReasoningEfforts } from './schema.js';
|
|
7
|
-
const sha = z.string().regex(/^[a-f0-9]{64}$/u);
|
|
8
|
-
const canonical = z.string().max(4096).refine(value => posix.isAbsolute(value) && posix.normalize(value) === value &&
|
|
9
|
-
value !== '/' && !value.endsWith('/') && !value.includes('\0'), 'canonical absolute path');
|
|
10
|
-
const count = z.number().int().min(0).max(Number.MAX_SAFE_INTEGER);
|
|
11
|
-
/** Independent manifest v5 worker pins; inference client configs have their own grant pins. */
|
|
12
|
-
export const grokWorkerConfigPins = {
|
|
13
|
-
unclocked: {
|
|
14
|
-
'grok-4.6': { low: 'ab58499ac32678097c146479896f2b8a8e2b0e39aea22dc0a60b6227e370538e', medium: 'df1a5cc84346e7f6bf6090492fbd19faaefb42953e3bb2e8c6cbc0572242403f', high: '65b0212564fb74042b1503d293fb8d3620276033264c0efade2a539ca09218e3' },
|
|
15
|
-
'grok-4.5': { low: '8247127c3625ff7c5d8d527a53596b89ec6557a821ac46cfd00bd122b90daff6', medium: '59288cee61297bb8c002097061a48f77b09d310754187a253ee089f7172a9155', high: 'c63c3387ce92d94ec3f690abfe98942afcd7c9e17ff84816bbe751f340ab251f' },
|
|
16
|
-
'grok-build': { low: 'fb343f2809903f26d21681470943235031f946e99085542fd89555eb7782cbb5', medium: '8a587ef75c90eab70d19b24583e60051d6fba9d90c558839fdbb15588b4cc656', high: 'a23724e00d670caee185ba7690d2daa868173e53905cf446f5329666f01ab4e3' },
|
|
17
|
-
},
|
|
18
|
-
clocked: grokClockedWorkerConfigPins[0],
|
|
19
|
-
};
|
|
20
|
-
export const grokTaskClockPin = {
|
|
21
|
-
"preloadPath": "/usr/local/lib/daimon/libfaketime.so.1",
|
|
22
|
-
"timestampFilePath": "/run/daimon-engine-broker/task-clock/slot-0/faketime",
|
|
23
|
-
"directoryPath": "/run/daimon-engine-broker/task-clock/slot-0",
|
|
24
|
-
"rootDirectoryPath": "/run/daimon-engine-broker/task-clock",
|
|
25
|
-
"directoryMode": 493,
|
|
26
|
-
"fileMode": 420,
|
|
27
|
-
"ownerUid": 2100,
|
|
28
|
-
"version": "noopolis.daimon.grok-broker-task-clock.v2",
|
|
29
|
-
"slotDirectoryPattern": "/run/daimon-engine-broker/task-clock/slot-{slot}",
|
|
30
|
-
"slotFilePattern": "/run/daimon-engine-broker/task-clock/slot-{slot}/faketime",
|
|
31
|
-
"workerView": "own-directory-visible-sibling-directories-denied"
|
|
32
|
-
};
|
|
33
|
-
/** Structural mirror of Daimon's public `noopolis.daimon.grok-broker-projection.v3`; Daimon stays the resolver. */
|
|
34
|
-
export const grokBrokerProjectionSchema = z.strictObject({
|
|
35
|
-
version: z.literal('noopolis.daimon.grok-broker-projection.v3'), agentId: z.string().min(1).max(128),
|
|
36
|
-
workspacePath: canonical, runtimeHomePath: canonical, workerUid: count, slot: count, profilePath: canonical, profileSha256: sha,
|
|
37
|
-
denyPaths: z.array(canonical).min(1).max(256), workerConfigSha256: sha, systemPromptSha256: sha, grokCliVersion: z.string().min(1).max(64),
|
|
38
|
-
workerConfigVariant: z.enum(['unclocked', 'clocked']),
|
|
39
|
-
taskClock: z.strictObject({ preloadPath: z.literal(grokTaskClockPin.preloadPath), timestampFilePath: canonical,
|
|
40
|
-
directoryPath: canonical, directoryMode: z.literal(grokTaskClockPin.directoryMode),
|
|
41
|
-
fileMode: z.literal(grokTaskClockPin.fileMode), ownerUid: z.literal(grokTaskClockPin.ownerUid), version: z.literal(grokTaskClockPin.version), rootDirectoryPath: z.literal(grokTaskClockPin.rootDirectoryPath),
|
|
42
|
-
slotDirectoryPattern: z.literal(grokTaskClockPin.slotDirectoryPattern), slotFilePattern: z.literal(grokTaskClockPin.slotFilePattern),
|
|
43
|
-
workerView: z.literal(grokTaskClockPin.workerView) }).optional(),
|
|
44
|
-
grokExecutableSha256: sha, nativeAbiVersion: count, model: z.enum(grokModels), reasoningEffort: z.enum(grokReasoningEfforts),
|
|
45
|
-
limits: z.strictObject({ maxRequests: count, maxTokens: count, timeoutMs: count }), usageLedgerPath: canonical, seccompProfileSha256: sha,
|
|
46
|
-
attestation: z.strictObject({ platform: z.literal('linux/landlock'), enforced: z.literal(true), restrictNetwork: z.literal(true),
|
|
47
|
-
profileName: z.string().min(1).max(128), sandboxRuntime: z.literal('bubblewrap'), eventsPath: canonical }),
|
|
48
|
-
}).refine(projection => (projection.workerConfigVariant === 'clocked') === (projection.taskClock !== undefined), { message: 'Grok taskClock must match workerConfigVariant', path: ['taskClock'] })
|
|
49
|
-
.refine(projection => !projection.taskClock || (projection.taskClock.directoryPath === grokTaskClockPin.slotDirectoryPattern.replace('{slot}', String(projection.slot))
|
|
50
|
-
&& projection.taskClock.timestampFilePath === grokTaskClockPin.slotFilePattern.replace('{slot}', String(projection.slot))), { message: 'Grok taskClock must belong to its slot', path: ['taskClock'] })
|
|
51
|
-
.refine(projection => projection.workerConfigSha256 === (projection.workerConfigVariant === 'clocked'
|
|
52
|
-
? grokClockedWorkerConfigPins[projection.slot]?.[projection.model][projection.reasoningEffort]
|
|
53
|
-
: grokWorkerConfigPins.unclocked[projection.model][projection.reasoningEffort]), { message: 'Grok worker config digest differs from the pinned variant/model/effort', path: ['workerConfigSha256'] });
|
|
54
|
-
const nonce = z.string().regex(/^[a-f0-9]{64}$/u);
|
|
55
|
-
/**
|
|
56
|
-
* Mirror of `noopolis.daimon.grok-slot-preflight.v2` at Daimon's strictness (first worker uid,
|
|
57
|
-
* exact RFC3339 instant, unique canaries). The worker still verifies with Daimon's own verifier first.
|
|
58
|
-
*/
|
|
59
|
-
export const grokSlotPreflightSchema = z.strictObject({
|
|
60
|
-
version: z.literal('noopolis.daimon.grok-slot-preflight.v2'), slot: count, worker_uid: z.number().int().min(2200).max(4_294_967_294),
|
|
61
|
-
generation: z.number().int().min(1).max(Number.MAX_SAFE_INTEGER), nonce,
|
|
62
|
-
projection_sha256: sha, sandbox_profile_sha256: sha, seccomp_profile_sha256: sha, sandbox_runtime: z.literal('bubblewrap'), grok_executable_sha256: sha,
|
|
63
|
-
canaries: z.array(z.strictObject({ path: canonical, method: z.literal('sandboxed-read'), result: z.literal('denied') })).min(1).max(256),
|
|
64
|
-
created_at: z.string().regex(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/u)
|
|
65
|
-
.refine(value => !Number.isNaN(Date.parse(value)) && new Date(value).toISOString() === value, 'exact RFC3339 timestamp'),
|
|
66
|
-
}).superRefine((receipt, context) => {
|
|
67
|
-
const paths = receipt.canaries.map(canary => canary.path);
|
|
68
|
-
if (new Set(paths).size !== paths.length)
|
|
69
|
-
context.addIssue({ code: 'custom', path: ['canaries'], message: 'duplicate canary path' });
|
|
70
|
-
});
|
|
71
|
-
export const grokBrokerReceiptSchema = 'spawnfile.training.daimon-native.grok-broker-projection.v1';
|
|
72
|
-
const receiptSchema = z.strictObject({ schema: compatibleWireLiteral(grokBrokerReceiptSchema), trialId: z.string().min(1), configSha256: sha,
|
|
73
|
-
projectionSha256: sha, projection: grokBrokerProjectionSchema, slotPreflight: grokSlotPreflightSchema });
|
|
74
|
-
const scalars = (value) => {
|
|
75
|
-
for (let index = 0; index < value.length; index++) {
|
|
76
|
-
const code = value.charCodeAt(index);
|
|
77
|
-
if (code >= 0xd800 && code <= 0xdbff) {
|
|
78
|
-
const next = value.charCodeAt(index + 1);
|
|
79
|
-
if (!(next >= 0xdc00 && next <= 0xdfff))
|
|
80
|
-
throw new Error('Canonical JSON rejects unpaired surrogates');
|
|
81
|
-
index++;
|
|
82
|
-
}
|
|
83
|
-
else if (code >= 0xdc00 && code <= 0xdfff)
|
|
84
|
-
throw new Error('Canonical JSON rejects unpaired surrogates');
|
|
85
|
-
}
|
|
86
|
-
return JSON.stringify(value);
|
|
87
|
-
};
|
|
88
|
-
/** Daimon's canonical JSON (UTF-16 key sort, plain JSON data only); its digest is what a slot receipt binds. */
|
|
89
|
-
export function canonicalJson(value) {
|
|
90
|
-
if (value === null || typeof value === 'boolean')
|
|
91
|
-
return JSON.stringify(value);
|
|
92
|
-
if (typeof value === 'string')
|
|
93
|
-
return scalars(value);
|
|
94
|
-
if (typeof value === 'number') {
|
|
95
|
-
if (!Number.isFinite(value) || Object.is(value, -0))
|
|
96
|
-
throw new Error('Canonical JSON rejects non-finite numbers');
|
|
97
|
-
return JSON.stringify(value);
|
|
98
|
-
}
|
|
99
|
-
if (Array.isArray(value)) {
|
|
100
|
-
for (let index = 0; index < value.length; index++)
|
|
101
|
-
if (!Object.hasOwn(value, index))
|
|
102
|
-
throw new Error('Canonical JSON rejects sparse arrays');
|
|
103
|
-
return `[${value.map(canonicalJson).join(',')}]`;
|
|
104
|
-
}
|
|
105
|
-
if (typeof value !== 'object' || ![Object.prototype, null].includes(Object.getPrototypeOf(value)))
|
|
106
|
-
throw new Error('Canonical JSON requires plain data');
|
|
107
|
-
const keys = Reflect.ownKeys(value);
|
|
108
|
-
if (keys.some(key => typeof key !== 'string'))
|
|
109
|
-
throw new Error('Canonical JSON rejects symbol keys');
|
|
110
|
-
return `{${keys.sort().map(key => {
|
|
111
|
-
const descriptor = Object.getOwnPropertyDescriptor(value, key);
|
|
112
|
-
if (!descriptor.enumerable || !('value' in descriptor))
|
|
113
|
-
throw new Error('Canonical JSON requires data properties');
|
|
114
|
-
return `${scalars(key)}:${canonicalJson(descriptor.value)}`;
|
|
115
|
-
}).join(',')}}`;
|
|
116
|
-
}
|
|
117
|
-
export const grokProjectionSha256 = (projection) => createHash('sha256').update(canonicalJson(projection)).digest('hex');
|
|
118
|
-
const within = (root, path) => path === root || path.startsWith(`${root}/`);
|
|
119
|
-
/**
|
|
120
|
-
* The two digest-bound writable roots a Grok launch runs the subject in.
|
|
121
|
-
*
|
|
122
|
-
* The trial runner protects its own layout without knowing the engine, so it
|
|
123
|
-
* also names the runtime home — which for a Grok slot is the subject's own home
|
|
124
|
-
* and one of the roots the projection binds as `workspacePath`/`runtimeHomePath`.
|
|
125
|
-
* A caller cannot both hand the subject a root and demand the subject be denied
|
|
126
|
-
* it, so these exact roots are exempt from the caller's protected set. Nothing
|
|
127
|
-
* else is: a protected path *inside* one of them is still refused, because the
|
|
128
|
-
* exemption matches the root itself, never a descendant.
|
|
129
|
-
*/
|
|
130
|
-
export function grokSubjectRoots(launch) {
|
|
131
|
-
const home = launch.projections.find(row => row.role === 'home');
|
|
132
|
-
return [...new Set([launch.workspace.source, launch.workspace.target, home.source, home.target])];
|
|
133
|
-
}
|
|
134
|
-
/** Every evaluator root a Grok launch declares, plus its control root (Daimon's acceptance store). */
|
|
135
|
-
export function requiredGrokEvaluatorPaths(launch) {
|
|
136
|
-
return [...new Set([...launch.broker.evaluatorPaths.map(row => row.path), launch.controlRoot])].sort();
|
|
137
|
-
}
|
|
138
|
-
export function bindGrokBrokerProjection(projection, slotPreflight, trialId, configSha256) {
|
|
139
|
-
const parsed = grokBrokerProjectionSchema.parse(projection);
|
|
140
|
-
return receiptSchema.parse({ schema: grokBrokerReceiptSchema, trialId, configSha256, projectionSha256: grokProjectionSha256(parsed), projection: parsed, slotPreflight });
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Re-binds a persisted Grok projection receipt without loading Daimon: the
|
|
144
|
-
* projection must be this launch's slot, its canonical digest must equal the
|
|
145
|
-
* launch and the slot receipt, the receipt must deny exactly the projected
|
|
146
|
-
* paths, and every evaluator path (plus `extraRequired`) must be one of those
|
|
147
|
-
* denied canaries. Launch control files must sit inside a denied root.
|
|
148
|
-
*/
|
|
149
|
-
export function parseGrokBrokerReceipt(value, launch, trialId, extraRequired = []) {
|
|
150
|
-
const receipt = receiptSchema.parse(value);
|
|
151
|
-
const { projection, slotPreflight: slot } = receipt;
|
|
152
|
-
const { broker } = launch;
|
|
153
|
-
const home = launch.projections.find(row => row.role === 'home').target;
|
|
154
|
-
const digest = grokProjectionSha256(projection);
|
|
155
|
-
const mismatch = (member) => { throw new Error(`Grok broker projection is not bound to this trial and launch: ${member}`); };
|
|
156
|
-
if (receipt.trialId !== trialId || receipt.configSha256 !== launch.configSha256)
|
|
157
|
-
mismatch('trial');
|
|
158
|
-
if (projection.agentId !== launch.agent.id || projection.workspacePath !== launch.workspace.target || projection.runtimeHomePath !== home)
|
|
159
|
-
mismatch('agent');
|
|
160
|
-
if (projection.model !== launch.agent.model || projection.reasoningEffort !== launch.agent.reasoningEffort)
|
|
161
|
-
mismatch('model');
|
|
162
|
-
if (projection.version !== broker.projectionVersion || projection.workerConfigVariant !== broker.workerConfigVariant)
|
|
163
|
-
mismatch('workerConfigVariant');
|
|
164
|
-
if (launch.taskClock && projection.workerConfigVariant !== 'clocked')
|
|
165
|
-
throw new Error('Grok taskClock requires workerConfigVariant: clocked');
|
|
166
|
-
if (projection.slot !== broker.slot || projection.workerUid !== broker.workerUid || projection.usageLedgerPath !== broker.usageLedgerPath ||
|
|
167
|
-
projection.seccompProfileSha256 !== broker.seccompProfileSha256 || canonicalJson(projection.limits) !== canonicalJson(broker.limits))
|
|
168
|
-
mismatch('slot');
|
|
169
|
-
if (receipt.projectionSha256 !== digest || digest !== broker.projectionSha256 || slot.projection_sha256 !== digest)
|
|
170
|
-
mismatch('projection_sha256');
|
|
171
|
-
// Freshness: this recycle's nonce, never a generation below the evaluator's persisted floor.
|
|
172
|
-
if (slot.nonce !== broker.expectedNonce)
|
|
173
|
-
throw new Error('Grok slot preflight receipt is stale: nonce');
|
|
174
|
-
if (slot.generation < broker.minGeneration)
|
|
175
|
-
throw new Error('Grok slot preflight receipt is stale: generation');
|
|
176
|
-
if (slot.slot !== projection.slot || slot.worker_uid !== projection.workerUid || slot.sandbox_profile_sha256 !== projection.profileSha256 ||
|
|
177
|
-
slot.grok_executable_sha256 !== projection.grokExecutableSha256 || slot.seccomp_profile_sha256 !== projection.seccompProfileSha256)
|
|
178
|
-
mismatch('slot_preflight');
|
|
179
|
-
const denied = slot.canaries.map(canary => canary.path).sort();
|
|
180
|
-
if (canonicalJson(denied) !== canonicalJson([...projection.denyPaths].sort()))
|
|
181
|
-
mismatch('canaries');
|
|
182
|
-
for (const path of [...requiredGrokEvaluatorPaths(launch), ...extraRequired]) {
|
|
183
|
-
// A mask on an ancestor denies everything beneath it (the lifted-mask policy the supervisor
|
|
184
|
-
// applies), so an exact canary or any denied ancestor satisfies the requirement.
|
|
185
|
-
const covered = denied.some(root => path === root || path.startsWith(root === '/' ? '/' : `${root}/`));
|
|
186
|
-
if (!covered)
|
|
187
|
-
throw new Error(`Grok slot preflight omits a denied canary for evaluator path ${path}`);
|
|
188
|
-
}
|
|
189
|
-
for (const file of [launch.config, launch.tokenFile, launch.envFile]) {
|
|
190
|
-
if (!denied.some(root => within(root, file)))
|
|
191
|
-
throw new Error(`Grok slot preflight does not deny launch control file ${file}`);
|
|
192
|
-
}
|
|
193
|
-
return receipt;
|
|
194
|
-
}
|
|
195
|
-
//# sourceMappingURL=grok.js.map
|