@petepetrash/circuit 0.1.0
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/LICENSE +21 -0
- package/README.md +246 -0
- package/bin/circuit +44 -0
- package/bin/node-version-guard.d.ts +12 -0
- package/bin/node-version-guard.js +65 -0
- package/dist/app/checkpoints/discover.d.ts +63 -0
- package/dist/app/checkpoints/discover.d.ts.map +1 -0
- package/dist/app/checkpoints/discover.js +121 -0
- package/dist/app/checkpoints/discover.js.map +1 -0
- package/dist/app/checkpoints/render.d.ts +4 -0
- package/dist/app/checkpoints/render.d.ts.map +1 -0
- package/dist/app/checkpoints/render.js +68 -0
- package/dist/app/checkpoints/render.js.map +1 -0
- package/dist/app/continuity/brief.d.ts +140 -0
- package/dist/app/continuity/brief.d.ts.map +1 -0
- package/dist/app/continuity/brief.js +557 -0
- package/dist/app/continuity/brief.js.map +1 -0
- package/dist/app/continuity/harvest.d.ts +65 -0
- package/dist/app/continuity/harvest.d.ts.map +1 -0
- package/dist/app/continuity/harvest.js +658 -0
- package/dist/app/continuity/harvest.js.map +1 -0
- package/dist/app/continuity/records.d.ts +39 -0
- package/dist/app/continuity/records.d.ts.map +1 -0
- package/dist/app/continuity/records.js +210 -0
- package/dist/app/continuity/records.js.map +1 -0
- package/dist/app/history/extract.d.ts +8 -0
- package/dist/app/history/extract.d.ts.map +1 -0
- package/dist/app/history/extract.js +716 -0
- package/dist/app/history/extract.js.map +1 -0
- package/dist/app/history/indexer.d.ts +107 -0
- package/dist/app/history/indexer.d.ts.map +1 -0
- package/dist/app/history/indexer.js +234 -0
- package/dist/app/history/indexer.js.map +1 -0
- package/dist/app/history/memory-effect-read.d.ts +8 -0
- package/dist/app/history/memory-effect-read.d.ts.map +1 -0
- package/dist/app/history/memory-effect-read.js +40 -0
- package/dist/app/history/memory-effect-read.js.map +1 -0
- package/dist/app/history/memory-effect.d.ts +34 -0
- package/dist/app/history/memory-effect.d.ts.map +1 -0
- package/dist/app/history/memory-effect.js +234 -0
- package/dist/app/history/memory-effect.js.map +1 -0
- package/dist/app/history/memory-identity.d.ts +7 -0
- package/dist/app/history/memory-identity.d.ts.map +1 -0
- package/dist/app/history/memory-identity.js +39 -0
- package/dist/app/history/memory-identity.js.map +1 -0
- package/dist/app/history/memory-merge.d.ts +16 -0
- package/dist/app/history/memory-merge.d.ts.map +1 -0
- package/dist/app/history/memory-merge.js +224 -0
- package/dist/app/history/memory-merge.js.map +1 -0
- package/dist/app/history/memory-preview.d.ts +10 -0
- package/dist/app/history/memory-preview.d.ts.map +1 -0
- package/dist/app/history/memory-preview.js +103 -0
- package/dist/app/history/memory-preview.js.map +1 -0
- package/dist/app/history/pull-log.d.ts +13 -0
- package/dist/app/history/pull-log.d.ts.map +1 -0
- package/dist/app/history/pull-log.js +91 -0
- package/dist/app/history/pull-log.js.map +1 -0
- package/dist/app/history/pull-suppression.d.ts +12 -0
- package/dist/app/history/pull-suppression.d.ts.map +1 -0
- package/dist/app/history/pull-suppression.js +40 -0
- package/dist/app/history/pull-suppression.js.map +1 -0
- package/dist/app/history/query.d.ts +19 -0
- package/dist/app/history/query.d.ts.map +1 -0
- package/dist/app/history/query.js +342 -0
- package/dist/app/history/query.js.map +1 -0
- package/dist/app/history/recall-precision.d.ts +15 -0
- package/dist/app/history/recall-precision.d.ts.map +1 -0
- package/dist/app/history/recall-precision.js +116 -0
- package/dist/app/history/recall-precision.js.map +1 -0
- package/dist/app/history/run-source-files.d.ts +23 -0
- package/dist/app/history/run-source-files.d.ts.map +1 -0
- package/dist/app/history/run-source-files.js +82 -0
- package/dist/app/history/run-source-files.js.map +1 -0
- package/dist/app/history/run-start-recall.d.ts +18 -0
- package/dist/app/history/run-start-recall.d.ts.map +1 -0
- package/dist/app/history/run-start-recall.js +156 -0
- package/dist/app/history/run-start-recall.js.map +1 -0
- package/dist/app/inbox/discover.d.ts +63 -0
- package/dist/app/inbox/discover.d.ts.map +1 -0
- package/dist/app/inbox/discover.js +120 -0
- package/dist/app/inbox/discover.js.map +1 -0
- package/dist/app/inbox/render.d.ts +4 -0
- package/dist/app/inbox/render.d.ts.map +1 -0
- package/dist/app/inbox/render.js +66 -0
- package/dist/app/inbox/render.js.map +1 -0
- package/dist/app/operator-summary/writer.d.ts +41 -0
- package/dist/app/operator-summary/writer.d.ts.map +1 -0
- package/dist/app/operator-summary/writer.js +1667 -0
- package/dist/app/operator-summary/writer.js.map +1 -0
- package/dist/app/process-evidence/projection.d.ts +36 -0
- package/dist/app/process-evidence/projection.d.ts.map +1 -0
- package/dist/app/process-evidence/projection.js +137 -0
- package/dist/app/process-evidence/projection.js.map +1 -0
- package/dist/app/run-envelope/autonomous-run.d.ts +17 -0
- package/dist/app/run-envelope/autonomous-run.d.ts.map +1 -0
- package/dist/app/run-envelope/autonomous-run.js +59 -0
- package/dist/app/run-envelope/autonomous-run.js.map +1 -0
- package/dist/app/run-envelope/continuation-loop.d.ts +24 -0
- package/dist/app/run-envelope/continuation-loop.d.ts.map +1 -0
- package/dist/app/run-envelope/continuation-loop.js +72 -0
- package/dist/app/run-envelope/continuation-loop.js.map +1 -0
- package/dist/app/run-envelope/contract-lock.d.ts +15 -0
- package/dist/app/run-envelope/contract-lock.d.ts.map +1 -0
- package/dist/app/run-envelope/contract-lock.js +44 -0
- package/dist/app/run-envelope/contract-lock.js.map +1 -0
- package/dist/app/run-envelope/contract-quality.d.ts +15 -0
- package/dist/app/run-envelope/contract-quality.d.ts.map +1 -0
- package/dist/app/run-envelope/contract-quality.js +48 -0
- package/dist/app/run-envelope/contract-quality.js.map +1 -0
- package/dist/app/run-envelope/no-progress.d.ts +11 -0
- package/dist/app/run-envelope/no-progress.d.ts.map +1 -0
- package/dist/app/run-envelope/no-progress.js +40 -0
- package/dist/app/run-envelope/no-progress.js.map +1 -0
- package/dist/app/run-envelope/shadow-record.d.ts +40 -0
- package/dist/app/run-envelope/shadow-record.d.ts.map +1 -0
- package/dist/app/run-envelope/shadow-record.js +108 -0
- package/dist/app/run-envelope/shadow-record.js.map +1 -0
- package/dist/app/run-envelope/source-record.d.ts +62 -0
- package/dist/app/run-envelope/source-record.d.ts.map +1 -0
- package/dist/app/run-envelope/source-record.js +648 -0
- package/dist/app/run-envelope/source-record.js.map +1 -0
- package/dist/app/run-status/projection-common.d.ts +57 -0
- package/dist/app/run-status/projection-common.d.ts.map +1 -0
- package/dist/app/run-status/projection-common.js +90 -0
- package/dist/app/run-status/projection-common.js.map +1 -0
- package/dist/app/run-status/run-folder-projector.d.ts +9 -0
- package/dist/app/run-status/run-folder-projector.d.ts.map +1 -0
- package/dist/app/run-status/run-folder-projector.js +68 -0
- package/dist/app/run-status/run-folder-projector.js.map +1 -0
- package/dist/app/run-status/runtime-run-folder.d.ts +4 -0
- package/dist/app/run-status/runtime-run-folder.d.ts.map +1 -0
- package/dist/app/run-status/runtime-run-folder.js +461 -0
- package/dist/app/run-status/runtime-run-folder.js.map +1 -0
- package/dist/cli/checkpoints.d.ts +7 -0
- package/dist/cli/checkpoints.d.ts.map +1 -0
- package/dist/cli/checkpoints.js +60 -0
- package/dist/cli/checkpoints.js.map +1 -0
- package/dist/cli/chosen-connectors.d.ts +14 -0
- package/dist/cli/chosen-connectors.d.ts.map +1 -0
- package/dist/cli/chosen-connectors.js +85 -0
- package/dist/cli/chosen-connectors.js.map +1 -0
- package/dist/cli/circuit.d.ts +9 -0
- package/dist/cli/circuit.d.ts.map +1 -0
- package/dist/cli/circuit.js +218 -0
- package/dist/cli/circuit.js.map +1 -0
- package/dist/cli/command-vocabulary.d.ts +3 -0
- package/dist/cli/command-vocabulary.d.ts.map +1 -0
- package/dist/cli/command-vocabulary.js +26 -0
- package/dist/cli/command-vocabulary.js.map +1 -0
- package/dist/cli/commander-support.d.ts +6 -0
- package/dist/cli/commander-support.d.ts.map +1 -0
- package/dist/cli/commander-support.js +61 -0
- package/dist/cli/commander-support.js.map +1 -0
- package/dist/cli/compiled-flow-loading.d.ts +21 -0
- package/dist/cli/compiled-flow-loading.d.ts.map +1 -0
- package/dist/cli/compiled-flow-loading.js +84 -0
- package/dist/cli/compiled-flow-loading.js.map +1 -0
- package/dist/cli/config-command.d.ts +33 -0
- package/dist/cli/config-command.d.ts.map +1 -0
- package/dist/cli/config-command.js +367 -0
- package/dist/cli/config-command.js.map +1 -0
- package/dist/cli/create.d.ts +12 -0
- package/dist/cli/create.d.ts.map +1 -0
- package/dist/cli/create.js +229 -0
- package/dist/cli/create.js.map +1 -0
- package/dist/cli/custom-flow-package.d.ts +62 -0
- package/dist/cli/custom-flow-package.d.ts.map +1 -0
- package/dist/cli/custom-flow-package.js +294 -0
- package/dist/cli/custom-flow-package.js.map +1 -0
- package/dist/cli/doctor.d.ts +9 -0
- package/dist/cli/doctor.d.ts.map +1 -0
- package/dist/cli/doctor.js +147 -0
- package/dist/cli/doctor.js.map +1 -0
- package/dist/cli/flow-selection-preview.d.ts +784 -0
- package/dist/cli/flow-selection-preview.d.ts.map +1 -0
- package/dist/cli/flow-selection-preview.js +248 -0
- package/dist/cli/flow-selection-preview.js.map +1 -0
- package/dist/cli/front-door.d.ts +3 -0
- package/dist/cli/front-door.d.ts.map +1 -0
- package/dist/cli/front-door.js +41 -0
- package/dist/cli/front-door.js.map +1 -0
- package/dist/cli/generate.d.ts +8 -0
- package/dist/cli/generate.d.ts.map +1 -0
- package/dist/cli/generate.js +346 -0
- package/dist/cli/generate.js.map +1 -0
- package/dist/cli/handoff-codex-hooks.d.ts +25 -0
- package/dist/cli/handoff-codex-hooks.d.ts.map +1 -0
- package/dist/cli/handoff-codex-hooks.js +555 -0
- package/dist/cli/handoff-codex-hooks.js.map +1 -0
- package/dist/cli/handoff.d.ts +8 -0
- package/dist/cli/handoff.d.ts.map +1 -0
- package/dist/cli/handoff.js +634 -0
- package/dist/cli/handoff.js.map +1 -0
- package/dist/cli/help.d.ts +15 -0
- package/dist/cli/help.d.ts.map +1 -0
- package/dist/cli/help.js +312 -0
- package/dist/cli/help.js.map +1 -0
- package/dist/cli/history.d.ts +2 -0
- package/dist/cli/history.d.ts.map +1 -0
- package/dist/cli/history.js +384 -0
- package/dist/cli/history.js.map +1 -0
- package/dist/cli/inbox.d.ts +7 -0
- package/dist/cli/inbox.d.ts.map +1 -0
- package/dist/cli/inbox.js +58 -0
- package/dist/cli/inbox.js.map +1 -0
- package/dist/cli/interactive/app.d.ts +11 -0
- package/dist/cli/interactive/app.d.ts.map +1 -0
- package/dist/cli/interactive/app.js +220 -0
- package/dist/cli/interactive/app.js.map +1 -0
- package/dist/cli/interactive/index.d.ts +2 -0
- package/dist/cli/interactive/index.d.ts.map +1 -0
- package/dist/cli/interactive/index.js +51 -0
- package/dist/cli/interactive/index.js.map +1 -0
- package/dist/cli/interactive/state.d.ts +122 -0
- package/dist/cli/interactive/state.d.ts.map +1 -0
- package/dist/cli/interactive/state.js +413 -0
- package/dist/cli/interactive/state.js.map +1 -0
- package/dist/cli/memory.d.ts +5 -0
- package/dist/cli/memory.d.ts.map +1 -0
- package/dist/cli/memory.js +327 -0
- package/dist/cli/memory.js.map +1 -0
- package/dist/cli/post-run-artifacts.d.ts +45 -0
- package/dist/cli/post-run-artifacts.d.ts.map +1 -0
- package/dist/cli/post-run-artifacts.js +100 -0
- package/dist/cli/post-run-artifacts.js.map +1 -0
- package/dist/cli/preview.d.ts +9 -0
- package/dist/cli/preview.d.ts.map +1 -0
- package/dist/cli/preview.js +326 -0
- package/dist/cli/preview.js.map +1 -0
- package/dist/cli/reclaim.d.ts +2 -0
- package/dist/cli/reclaim.d.ts.map +1 -0
- package/dist/cli/reclaim.js +67 -0
- package/dist/cli/reclaim.js.map +1 -0
- package/dist/cli/recovery-attempt-runner.d.ts +25 -0
- package/dist/cli/recovery-attempt-runner.d.ts.map +1 -0
- package/dist/cli/recovery-attempt-runner.js +98 -0
- package/dist/cli/recovery-attempt-runner.js.map +1 -0
- package/dist/cli/resume-input.d.ts +27 -0
- package/dist/cli/resume-input.d.ts.map +1 -0
- package/dist/cli/resume-input.js +58 -0
- package/dist/cli/resume-input.js.map +1 -0
- package/dist/cli/routed-connectors.d.ts +14 -0
- package/dist/cli/routed-connectors.d.ts.map +1 -0
- package/dist/cli/routed-connectors.js +85 -0
- package/dist/cli/routed-connectors.js.map +1 -0
- package/dist/cli/run-flag-vocabulary.d.ts +14 -0
- package/dist/cli/run-flag-vocabulary.d.ts.map +1 -0
- package/dist/cli/run-flag-vocabulary.js +38 -0
- package/dist/cli/run-flag-vocabulary.js.map +1 -0
- package/dist/cli/run-output.d.ts +32 -0
- package/dist/cli/run-output.d.ts.map +1 -0
- package/dist/cli/run-output.js +47 -0
- package/dist/cli/run-output.js.map +1 -0
- package/dist/cli/run-stdout-envelope.d.ts +47 -0
- package/dist/cli/run-stdout-envelope.d.ts.map +1 -0
- package/dist/cli/run-stdout-envelope.js +98 -0
- package/dist/cli/run-stdout-envelope.js.map +1 -0
- package/dist/cli/run.d.ts +59 -0
- package/dist/cli/run.d.ts.map +1 -0
- package/dist/cli/run.js +1182 -0
- package/dist/cli/run.js.map +1 -0
- package/dist/cli/runs.d.ts +2 -0
- package/dist/cli/runs.d.ts.map +1 -0
- package/dist/cli/runs.js +88 -0
- package/dist/cli/runs.js.map +1 -0
- package/dist/cli/runtime-routing-policy.d.ts +51 -0
- package/dist/cli/runtime-routing-policy.d.ts.map +1 -0
- package/dist/cli/runtime-routing-policy.js +143 -0
- package/dist/cli/runtime-routing-policy.js.map +1 -0
- package/dist/cli/styled-table.d.ts +11 -0
- package/dist/cli/styled-table.d.ts.map +1 -0
- package/dist/cli/styled-table.js +40 -0
- package/dist/cli/styled-table.js.map +1 -0
- package/dist/cli/terminal-style.d.ts +26 -0
- package/dist/cli/terminal-style.d.ts.map +1 -0
- package/dist/cli/terminal-style.js +75 -0
- package/dist/cli/terminal-style.js.map +1 -0
- package/dist/cli/tty-notice.d.ts +21 -0
- package/dist/cli/tty-notice.d.ts.map +1 -0
- package/dist/cli/tty-notice.js +35 -0
- package/dist/cli/tty-notice.js.map +1 -0
- package/dist/cli/uninstall.d.ts +22 -0
- package/dist/cli/uninstall.d.ts.map +1 -0
- package/dist/cli/uninstall.js +277 -0
- package/dist/cli/uninstall.js.map +1 -0
- package/dist/cli/utility-progress.d.ts +14 -0
- package/dist/cli/utility-progress.d.ts.map +1 -0
- package/dist/cli/utility-progress.js +23 -0
- package/dist/cli/utility-progress.js.map +1 -0
- package/dist/cli/version-info.d.ts +2 -0
- package/dist/cli/version-info.d.ts.map +1 -0
- package/dist/cli/version-info.js +32 -0
- package/dist/cli/version-info.js.map +1 -0
- package/dist/connectors/claude-code.d.ts +16 -0
- package/dist/connectors/claude-code.d.ts.map +1 -0
- package/dist/connectors/claude-code.js +492 -0
- package/dist/connectors/claude-code.js.map +1 -0
- package/dist/connectors/codex-default-model.d.ts +10 -0
- package/dist/connectors/codex-default-model.d.ts.map +1 -0
- package/dist/connectors/codex-default-model.js +142 -0
- package/dist/connectors/codex-default-model.js.map +1 -0
- package/dist/connectors/codex.d.ts +21 -0
- package/dist/connectors/codex.d.ts.map +1 -0
- package/dist/connectors/codex.js +709 -0
- package/dist/connectors/codex.js.map +1 -0
- package/dist/connectors/connector.d.ts +7 -0
- package/dist/connectors/connector.d.ts.map +1 -0
- package/dist/connectors/connector.js +2 -0
- package/dist/connectors/connector.js.map +1 -0
- package/dist/connectors/cursor-agent.d.ts +10 -0
- package/dist/connectors/cursor-agent.d.ts.map +1 -0
- package/dist/connectors/cursor-agent.js +156 -0
- package/dist/connectors/cursor-agent.js.map +1 -0
- package/dist/connectors/custom.d.ts +7 -0
- package/dist/connectors/custom.d.ts.map +1 -0
- package/dist/connectors/custom.js +135 -0
- package/dist/connectors/custom.js.map +1 -0
- package/dist/connectors/health.d.ts +35 -0
- package/dist/connectors/health.d.ts.map +1 -0
- package/dist/connectors/health.js +169 -0
- package/dist/connectors/health.js.map +1 -0
- package/dist/connectors/remediation.d.ts +3 -0
- package/dist/connectors/remediation.d.ts.map +1 -0
- package/dist/connectors/remediation.js +16 -0
- package/dist/connectors/remediation.js.map +1 -0
- package/dist/connectors/resolver.d.ts +44 -0
- package/dist/connectors/resolver.d.ts.map +1 -0
- package/dist/connectors/resolver.js +204 -0
- package/dist/connectors/resolver.js.map +1 -0
- package/dist/connectors/subprocess.d.ts +59 -0
- package/dist/connectors/subprocess.d.ts.map +1 -0
- package/dist/connectors/subprocess.js +375 -0
- package/dist/connectors/subprocess.js.map +1 -0
- package/dist/flows/accommodation-ledger.d.ts +49 -0
- package/dist/flows/accommodation-ledger.d.ts.map +1 -0
- package/dist/flows/accommodation-ledger.js +277 -0
- package/dist/flows/accommodation-ledger.js.map +1 -0
- package/dist/flows/assemble-flow-schematic.d.ts +30 -0
- package/dist/flows/assemble-flow-schematic.d.ts.map +1 -0
- package/dist/flows/assemble-flow-schematic.js +58 -0
- package/dist/flows/assemble-flow-schematic.js.map +1 -0
- package/dist/flows/axis-selections.d.ts +4 -0
- package/dist/flows/axis-selections.d.ts.map +1 -0
- package/dist/flows/axis-selections.js +34 -0
- package/dist/flows/axis-selections.js.map +1 -0
- package/dist/flows/block-step-expansion.d.ts +69 -0
- package/dist/flows/block-step-expansion.d.ts.map +1 -0
- package/dist/flows/block-step-expansion.js +219 -0
- package/dist/flows/block-step-expansion.js.map +1 -0
- package/dist/flows/build/assembly-spec.d.ts +5 -0
- package/dist/flows/build/assembly-spec.d.ts.map +1 -0
- package/dist/flows/build/assembly-spec.js +287 -0
- package/dist/flows/build/assembly-spec.js.map +1 -0
- package/dist/flows/build/data.d.ts +848 -0
- package/dist/flows/build/data.d.ts.map +1 -0
- package/dist/flows/build/data.js +163 -0
- package/dist/flows/build/data.js.map +1 -0
- package/dist/flows/build/flow.d.ts +2 -0
- package/dist/flows/build/flow.d.ts.map +1 -0
- package/dist/flows/build/flow.js +4 -0
- package/dist/flows/build/flow.js.map +1 -0
- package/dist/flows/build/index.d.ts +4 -0
- package/dist/flows/build/index.d.ts.map +1 -0
- package/dist/flows/build/index.js +8 -0
- package/dist/flows/build/index.js.map +1 -0
- package/dist/flows/build/relay-hints.d.ts +5 -0
- package/dist/flows/build/relay-hints.d.ts.map +1 -0
- package/dist/flows/build/relay-hints.js +51 -0
- package/dist/flows/build/relay-hints.js.map +1 -0
- package/dist/flows/build/reports.d.ts +577 -0
- package/dist/flows/build/reports.d.ts.map +1 -0
- package/dist/flows/build/reports.js +698 -0
- package/dist/flows/build/reports.js.map +1 -0
- package/dist/flows/build/writers/baseline-snapshot.d.ts +4 -0
- package/dist/flows/build/writers/baseline-snapshot.d.ts.map +1 -0
- package/dist/flows/build/writers/baseline-snapshot.js +76 -0
- package/dist/flows/build/writers/baseline-snapshot.js.map +1 -0
- package/dist/flows/build/writers/checkpoint-brief-projection.d.ts +29 -0
- package/dist/flows/build/writers/checkpoint-brief-projection.d.ts.map +1 -0
- package/dist/flows/build/writers/checkpoint-brief-projection.js +145 -0
- package/dist/flows/build/writers/checkpoint-brief-projection.js.map +1 -0
- package/dist/flows/build/writers/checkpoint-brief.d.ts +3 -0
- package/dist/flows/build/writers/checkpoint-brief.d.ts.map +1 -0
- package/dist/flows/build/writers/checkpoint-brief.js +55 -0
- package/dist/flows/build/writers/checkpoint-brief.js.map +1 -0
- package/dist/flows/build/writers/checkpoint-html.d.ts +3 -0
- package/dist/flows/build/writers/checkpoint-html.d.ts.map +1 -0
- package/dist/flows/build/writers/checkpoint-html.js +106 -0
- package/dist/flows/build/writers/checkpoint-html.js.map +1 -0
- package/dist/flows/build/writers/close.d.ts +3 -0
- package/dist/flows/build/writers/close.d.ts.map +1 -0
- package/dist/flows/build/writers/close.js +72 -0
- package/dist/flows/build/writers/close.js.map +1 -0
- package/dist/flows/build/writers/plan.d.ts +3 -0
- package/dist/flows/build/writers/plan.d.ts.map +1 -0
- package/dist/flows/build/writers/plan.js +74 -0
- package/dist/flows/build/writers/plan.js.map +1 -0
- package/dist/flows/build/writers/result-projection.d.ts +13 -0
- package/dist/flows/build/writers/result-projection.d.ts.map +1 -0
- package/dist/flows/build/writers/result-projection.js +105 -0
- package/dist/flows/build/writers/result-projection.js.map +1 -0
- package/dist/flows/build/writers/touch-area-projection.d.ts +9 -0
- package/dist/flows/build/writers/touch-area-projection.d.ts.map +1 -0
- package/dist/flows/build/writers/touch-area-projection.js +120 -0
- package/dist/flows/build/writers/touch-area-projection.js.map +1 -0
- package/dist/flows/build/writers/touch-area.d.ts +3 -0
- package/dist/flows/build/writers/touch-area.d.ts.map +1 -0
- package/dist/flows/build/writers/touch-area.js +130 -0
- package/dist/flows/build/writers/touch-area.js.map +1 -0
- package/dist/flows/build/writers/verification-projection.d.ts +4 -0
- package/dist/flows/build/writers/verification-projection.d.ts.map +1 -0
- package/dist/flows/build/writers/verification-projection.js +21 -0
- package/dist/flows/build/writers/verification-projection.js.map +1 -0
- package/dist/flows/build/writers/verification.d.ts +3 -0
- package/dist/flows/build/writers/verification.d.ts.map +1 -0
- package/dist/flows/build/writers/verification.js +31 -0
- package/dist/flows/build/writers/verification.js.map +1 -0
- package/dist/flows/canonical-stage-policy.d.ts +14 -0
- package/dist/flows/canonical-stage-policy.d.ts.map +1 -0
- package/dist/flows/canonical-stage-policy.js +31 -0
- package/dist/flows/canonical-stage-policy.js.map +1 -0
- package/dist/flows/catalog-derivations.d.ts +34 -0
- package/dist/flows/catalog-derivations.d.ts.map +1 -0
- package/dist/flows/catalog-derivations.js +144 -0
- package/dist/flows/catalog-derivations.js.map +1 -0
- package/dist/flows/catalog.d.ts +16 -0
- package/dist/flows/catalog.d.ts.map +1 -0
- package/dist/flows/catalog.js +87 -0
- package/dist/flows/catalog.js.map +1 -0
- package/dist/flows/compile-schematic-to-flow.d.ts +16 -0
- package/dist/flows/compile-schematic-to-flow.d.ts.map +1 -0
- package/dist/flows/compile-schematic-to-flow.js +651 -0
- package/dist/flows/compile-schematic-to-flow.js.map +1 -0
- package/dist/flows/compiled-flow-file-plan.d.ts +8 -0
- package/dist/flows/compiled-flow-file-plan.d.ts.map +1 -0
- package/dist/flows/compiled-flow-file-plan.js +50 -0
- package/dist/flows/compiled-flow-file-plan.js.map +1 -0
- package/dist/flows/composition/actual-menu.d.ts +30 -0
- package/dist/flows/composition/actual-menu.d.ts.map +1 -0
- package/dist/flows/composition/actual-menu.js +131 -0
- package/dist/flows/composition/actual-menu.js.map +1 -0
- package/dist/flows/composition/composer.d.ts +73 -0
- package/dist/flows/composition/composer.d.ts.map +1 -0
- package/dist/flows/composition/composer.js +1339 -0
- package/dist/flows/composition/composer.js.map +1 -0
- package/dist/flows/composition/equipment-profiles.d.ts +21 -0
- package/dist/flows/composition/equipment-profiles.d.ts.map +1 -0
- package/dist/flows/composition/equipment-profiles.js +82 -0
- package/dist/flows/composition/equipment-profiles.js.map +1 -0
- package/dist/flows/composition/evaluate.d.ts +76 -0
- package/dist/flows/composition/evaluate.d.ts.map +1 -0
- package/dist/flows/composition/evaluate.js +373 -0
- package/dist/flows/composition/evaluate.js.map +1 -0
- package/dist/flows/composition/index.d.ts +8 -0
- package/dist/flows/composition/index.d.ts.map +1 -0
- package/dist/flows/composition/index.js +16 -0
- package/dist/flows/composition/index.js.map +1 -0
- package/dist/flows/composition/intent.d.ts +10 -0
- package/dist/flows/composition/intent.d.ts.map +1 -0
- package/dist/flows/composition/intent.js +125 -0
- package/dist/flows/composition/intent.js.map +1 -0
- package/dist/flows/composition/propose-prompts.d.ts +3 -0
- package/dist/flows/composition/propose-prompts.d.ts.map +1 -0
- package/dist/flows/composition/propose-prompts.js +196 -0
- package/dist/flows/composition/propose-prompts.js.map +1 -0
- package/dist/flows/composition/propose.d.ts +36 -0
- package/dist/flows/composition/propose.d.ts.map +1 -0
- package/dist/flows/composition/propose.js +275 -0
- package/dist/flows/composition/propose.js.map +1 -0
- package/dist/flows/contract-body-signature.d.ts +4 -0
- package/dist/flows/contract-body-signature.d.ts.map +1 -0
- package/dist/flows/contract-body-signature.js +166 -0
- package/dist/flows/contract-body-signature.js.map +1 -0
- package/dist/flows/converge-proof/assembly-spec.d.ts +5 -0
- package/dist/flows/converge-proof/assembly-spec.d.ts.map +1 -0
- package/dist/flows/converge-proof/assembly-spec.js +115 -0
- package/dist/flows/converge-proof/assembly-spec.js.map +1 -0
- package/dist/flows/converge-proof/data.d.ts +412 -0
- package/dist/flows/converge-proof/data.d.ts.map +1 -0
- package/dist/flows/converge-proof/data.js +23 -0
- package/dist/flows/converge-proof/data.js.map +1 -0
- package/dist/flows/converge-proof/flow.d.ts +2 -0
- package/dist/flows/converge-proof/flow.d.ts.map +1 -0
- package/dist/flows/converge-proof/flow.js +4 -0
- package/dist/flows/converge-proof/flow.js.map +1 -0
- package/dist/flows/cross-tool-build/assembly-spec.d.ts +5 -0
- package/dist/flows/cross-tool-build/assembly-spec.d.ts.map +1 -0
- package/dist/flows/cross-tool-build/assembly-spec.js +183 -0
- package/dist/flows/cross-tool-build/assembly-spec.js.map +1 -0
- package/dist/flows/cross-tool-build/data.d.ts +570 -0
- package/dist/flows/cross-tool-build/data.d.ts.map +1 -0
- package/dist/flows/cross-tool-build/data.js +94 -0
- package/dist/flows/cross-tool-build/data.js.map +1 -0
- package/dist/flows/cross-tool-build/flow.d.ts +2 -0
- package/dist/flows/cross-tool-build/flow.d.ts.map +1 -0
- package/dist/flows/cross-tool-build/flow.js +4 -0
- package/dist/flows/cross-tool-build/flow.js.map +1 -0
- package/dist/flows/cross-tool-build/relay-hints.d.ts +7 -0
- package/dist/flows/cross-tool-build/relay-hints.d.ts.map +1 -0
- package/dist/flows/cross-tool-build/relay-hints.js +76 -0
- package/dist/flows/cross-tool-build/relay-hints.js.map +1 -0
- package/dist/flows/cross-tool-build/reports.d.ts +161 -0
- package/dist/flows/cross-tool-build/reports.d.ts.map +1 -0
- package/dist/flows/cross-tool-build/reports.js +196 -0
- package/dist/flows/cross-tool-build/reports.js.map +1 -0
- package/dist/flows/cross-tool-build/writers/close.d.ts +3 -0
- package/dist/flows/cross-tool-build/writers/close.d.ts.map +1 -0
- package/dist/flows/cross-tool-build/writers/close.js +49 -0
- package/dist/flows/cross-tool-build/writers/close.js.map +1 -0
- package/dist/flows/cross-tool-build/writers/plan.d.ts +3 -0
- package/dist/flows/cross-tool-build/writers/plan.d.ts.map +1 -0
- package/dist/flows/cross-tool-build/writers/plan.js +27 -0
- package/dist/flows/cross-tool-build/writers/plan.js.map +1 -0
- package/dist/flows/cross-tool-build/writers/verification.d.ts +3 -0
- package/dist/flows/cross-tool-build/writers/verification.d.ts.map +1 -0
- package/dist/flows/cross-tool-build/writers/verification.js +46 -0
- package/dist/flows/cross-tool-build/writers/verification.js.map +1 -0
- package/dist/flows/equipment-reshape.d.ts +18 -0
- package/dist/flows/equipment-reshape.d.ts.map +1 -0
- package/dist/flows/equipment-reshape.js +119 -0
- package/dist/flows/equipment-reshape.js.map +1 -0
- package/dist/flows/explainer/data.d.ts +1032 -0
- package/dist/flows/explainer/data.d.ts.map +1 -0
- package/dist/flows/explainer/data.js +712 -0
- package/dist/flows/explainer/data.js.map +1 -0
- package/dist/flows/explainer/flow.d.ts +2 -0
- package/dist/flows/explainer/flow.d.ts.map +1 -0
- package/dist/flows/explainer/flow.js +4 -0
- package/dist/flows/explainer/flow.js.map +1 -0
- package/dist/flows/explainer/relay-hints.d.ts +4 -0
- package/dist/flows/explainer/relay-hints.d.ts.map +1 -0
- package/dist/flows/explainer/relay-hints.js +28 -0
- package/dist/flows/explainer/relay-hints.js.map +1 -0
- package/dist/flows/explainer/reports.d.ts +394 -0
- package/dist/flows/explainer/reports.d.ts.map +1 -0
- package/dist/flows/explainer/reports.js +296 -0
- package/dist/flows/explainer/reports.js.map +1 -0
- package/dist/flows/explainer/writers/close.d.ts +3 -0
- package/dist/flows/explainer/writers/close.d.ts.map +1 -0
- package/dist/flows/explainer/writers/close.js +67 -0
- package/dist/flows/explainer/writers/close.js.map +1 -0
- package/dist/flows/explainer/writers/digest.d.ts +3 -0
- package/dist/flows/explainer/writers/digest.d.ts.map +1 -0
- package/dist/flows/explainer/writers/digest.js +47 -0
- package/dist/flows/explainer/writers/digest.js.map +1 -0
- package/dist/flows/explainer/writers/ideas.d.ts +3 -0
- package/dist/flows/explainer/writers/ideas.d.ts.map +1 -0
- package/dist/flows/explainer/writers/ideas.js +65 -0
- package/dist/flows/explainer/writers/ideas.js.map +1 -0
- package/dist/flows/explainer/writers/intake.d.ts +3 -0
- package/dist/flows/explainer/writers/intake.d.ts.map +1 -0
- package/dist/flows/explainer/writers/intake.js +33 -0
- package/dist/flows/explainer/writers/intake.js.map +1 -0
- package/dist/flows/explainer/writers/spec.d.ts +3 -0
- package/dist/flows/explainer/writers/spec.d.ts.map +1 -0
- package/dist/flows/explainer/writers/spec.js +77 -0
- package/dist/flows/explainer/writers/spec.js.map +1 -0
- package/dist/flows/explainer/writers/verification.d.ts +3 -0
- package/dist/flows/explainer/writers/verification.d.ts.map +1 -0
- package/dist/flows/explainer/writers/verification.js +43 -0
- package/dist/flows/explainer/writers/verification.js.map +1 -0
- package/dist/flows/explore/assembly-spec.d.ts +5 -0
- package/dist/flows/explore/assembly-spec.d.ts.map +1 -0
- package/dist/flows/explore/assembly-spec.js +344 -0
- package/dist/flows/explore/assembly-spec.js.map +1 -0
- package/dist/flows/explore/data.d.ts +734 -0
- package/dist/flows/explore/data.d.ts.map +1 -0
- package/dist/flows/explore/data.js +174 -0
- package/dist/flows/explore/data.js.map +1 -0
- package/dist/flows/explore/flow.d.ts +2 -0
- package/dist/flows/explore/flow.d.ts.map +1 -0
- package/dist/flows/explore/flow.js +4 -0
- package/dist/flows/explore/flow.js.map +1 -0
- package/dist/flows/explore/index.d.ts +4 -0
- package/dist/flows/explore/index.d.ts.map +1 -0
- package/dist/flows/explore/index.js +8 -0
- package/dist/flows/explore/index.js.map +1 -0
- package/dist/flows/explore/relay-hints.d.ts +6 -0
- package/dist/flows/explore/relay-hints.d.ts.map +1 -0
- package/dist/flows/explore/relay-hints.js +53 -0
- package/dist/flows/explore/relay-hints.js.map +1 -0
- package/dist/flows/explore/reports.d.ts +483 -0
- package/dist/flows/explore/reports.d.ts.map +1 -0
- package/dist/flows/explore/reports.js +359 -0
- package/dist/flows/explore/reports.js.map +1 -0
- package/dist/flows/explore/writers/analysis.d.ts +3 -0
- package/dist/flows/explore/writers/analysis.d.ts.map +1 -0
- package/dist/flows/explore/writers/analysis.js +55 -0
- package/dist/flows/explore/writers/analysis.js.map +1 -0
- package/dist/flows/explore/writers/brief.d.ts +3 -0
- package/dist/flows/explore/writers/brief.d.ts.map +1 -0
- package/dist/flows/explore/writers/brief.js +24 -0
- package/dist/flows/explore/writers/brief.js.map +1 -0
- package/dist/flows/explore/writers/close.d.ts +3 -0
- package/dist/flows/explore/writers/close.d.ts.map +1 -0
- package/dist/flows/explore/writers/close.js +86 -0
- package/dist/flows/explore/writers/close.js.map +1 -0
- package/dist/flows/explore/writers/decision-options-projection.d.ts +10 -0
- package/dist/flows/explore/writers/decision-options-projection.d.ts.map +1 -0
- package/dist/flows/explore/writers/decision-options-projection.js +108 -0
- package/dist/flows/explore/writers/decision-options-projection.js.map +1 -0
- package/dist/flows/explore/writers/decision-options.d.ts +3 -0
- package/dist/flows/explore/writers/decision-options.d.ts.map +1 -0
- package/dist/flows/explore/writers/decision-options.js +25 -0
- package/dist/flows/explore/writers/decision-options.js.map +1 -0
- package/dist/flows/explore/writers/decision.d.ts +3 -0
- package/dist/flows/explore/writers/decision.d.ts.map +1 -0
- package/dist/flows/explore/writers/decision.js +80 -0
- package/dist/flows/explore/writers/decision.js.map +1 -0
- package/dist/flows/explore/writers/result-projection.d.ts +17 -0
- package/dist/flows/explore/writers/result-projection.d.ts.map +1 -0
- package/dist/flows/explore/writers/result-projection.js +41 -0
- package/dist/flows/explore/writers/result-projection.js.map +1 -0
- package/dist/flows/explore/writers/tournament-html.d.ts +3 -0
- package/dist/flows/explore/writers/tournament-html.d.ts.map +1 -0
- package/dist/flows/explore/writers/tournament-html.js +119 -0
- package/dist/flows/explore/writers/tournament-html.js.map +1 -0
- package/dist/flows/fix/assembly-spec.d.ts +5 -0
- package/dist/flows/fix/assembly-spec.d.ts.map +1 -0
- package/dist/flows/fix/assembly-spec.js +405 -0
- package/dist/flows/fix/assembly-spec.js.map +1 -0
- package/dist/flows/fix/data.d.ts +921 -0
- package/dist/flows/fix/data.d.ts.map +1 -0
- package/dist/flows/fix/data.js +207 -0
- package/dist/flows/fix/data.js.map +1 -0
- package/dist/flows/fix/flow.d.ts +2 -0
- package/dist/flows/fix/flow.d.ts.map +1 -0
- package/dist/flows/fix/flow.js +4 -0
- package/dist/flows/fix/flow.js.map +1 -0
- package/dist/flows/fix/index.d.ts +3 -0
- package/dist/flows/fix/index.d.ts.map +1 -0
- package/dist/flows/fix/index.js +5 -0
- package/dist/flows/fix/index.js.map +1 -0
- package/dist/flows/fix/relay-hints.d.ts +6 -0
- package/dist/flows/fix/relay-hints.d.ts.map +1 -0
- package/dist/flows/fix/relay-hints.js +52 -0
- package/dist/flows/fix/relay-hints.js.map +1 -0
- package/dist/flows/fix/reports.d.ts +562 -0
- package/dist/flows/fix/reports.d.ts.map +1 -0
- package/dist/flows/fix/reports.js +822 -0
- package/dist/flows/fix/reports.js.map +1 -0
- package/dist/flows/fix/writers/baseline-snapshot.d.ts +3 -0
- package/dist/flows/fix/writers/baseline-snapshot.d.ts.map +1 -0
- package/dist/flows/fix/writers/baseline-snapshot.js +45 -0
- package/dist/flows/fix/writers/baseline-snapshot.js.map +1 -0
- package/dist/flows/fix/writers/brief-projection.d.ts +8 -0
- package/dist/flows/fix/writers/brief-projection.d.ts.map +1 -0
- package/dist/flows/fix/writers/brief-projection.js +149 -0
- package/dist/flows/fix/writers/brief-projection.js.map +1 -0
- package/dist/flows/fix/writers/brief.d.ts +3 -0
- package/dist/flows/fix/writers/brief.d.ts.map +1 -0
- package/dist/flows/fix/writers/brief.js +29 -0
- package/dist/flows/fix/writers/brief.js.map +1 -0
- package/dist/flows/fix/writers/change-set-projection.d.ts +10 -0
- package/dist/flows/fix/writers/change-set-projection.d.ts.map +1 -0
- package/dist/flows/fix/writers/change-set-projection.js +62 -0
- package/dist/flows/fix/writers/change-set-projection.js.map +1 -0
- package/dist/flows/fix/writers/change-set.d.ts +3 -0
- package/dist/flows/fix/writers/change-set.d.ts.map +1 -0
- package/dist/flows/fix/writers/change-set.js +93 -0
- package/dist/flows/fix/writers/change-set.js.map +1 -0
- package/dist/flows/fix/writers/close.d.ts +3 -0
- package/dist/flows/fix/writers/close.d.ts.map +1 -0
- package/dist/flows/fix/writers/close.js +86 -0
- package/dist/flows/fix/writers/close.js.map +1 -0
- package/dist/flows/fix/writers/regression-baseline.d.ts +3 -0
- package/dist/flows/fix/writers/regression-baseline.d.ts.map +1 -0
- package/dist/flows/fix/writers/regression-baseline.js +39 -0
- package/dist/flows/fix/writers/regression-baseline.js.map +1 -0
- package/dist/flows/fix/writers/regression-projection.d.ts +5 -0
- package/dist/flows/fix/writers/regression-projection.d.ts.map +1 -0
- package/dist/flows/fix/writers/regression-projection.js +71 -0
- package/dist/flows/fix/writers/regression-projection.js.map +1 -0
- package/dist/flows/fix/writers/regression-rerun.d.ts +3 -0
- package/dist/flows/fix/writers/regression-rerun.d.ts.map +1 -0
- package/dist/flows/fix/writers/regression-rerun.js +51 -0
- package/dist/flows/fix/writers/regression-rerun.js.map +1 -0
- package/dist/flows/fix/writers/result-projection.d.ts +15 -0
- package/dist/flows/fix/writers/result-projection.d.ts.map +1 -0
- package/dist/flows/fix/writers/result-projection.js +58 -0
- package/dist/flows/fix/writers/result-projection.js.map +1 -0
- package/dist/flows/fix/writers/verification-projection.d.ts +4 -0
- package/dist/flows/fix/writers/verification-projection.d.ts.map +1 -0
- package/dist/flows/fix/writers/verification-projection.js +24 -0
- package/dist/flows/fix/writers/verification-projection.js.map +1 -0
- package/dist/flows/fix/writers/verification.d.ts +3 -0
- package/dist/flows/fix/writers/verification.d.ts.map +1 -0
- package/dist/flows/fix/writers/verification.js +32 -0
- package/dist/flows/fix/writers/verification.js.map +1 -0
- package/dist/flows/fix-until-green/assembly-spec.d.ts +5 -0
- package/dist/flows/fix-until-green/assembly-spec.d.ts.map +1 -0
- package/dist/flows/fix-until-green/assembly-spec.js +141 -0
- package/dist/flows/fix-until-green/assembly-spec.js.map +1 -0
- package/dist/flows/fix-until-green/data.d.ts +462 -0
- package/dist/flows/fix-until-green/data.d.ts.map +1 -0
- package/dist/flows/fix-until-green/data.js +49 -0
- package/dist/flows/fix-until-green/data.js.map +1 -0
- package/dist/flows/fix-until-green/flow.d.ts +2 -0
- package/dist/flows/fix-until-green/flow.d.ts.map +1 -0
- package/dist/flows/fix-until-green/flow.js +4 -0
- package/dist/flows/fix-until-green/flow.js.map +1 -0
- package/dist/flows/fix-until-green/relay-hints.d.ts +3 -0
- package/dist/flows/fix-until-green/relay-hints.d.ts.map +1 -0
- package/dist/flows/fix-until-green/relay-hints.js +37 -0
- package/dist/flows/fix-until-green/relay-hints.js.map +1 -0
- package/dist/flows/fix-until-green/reports.d.ts +38 -0
- package/dist/flows/fix-until-green/reports.d.ts.map +1 -0
- package/dist/flows/fix-until-green/reports.js +28 -0
- package/dist/flows/fix-until-green/reports.js.map +1 -0
- package/dist/flows/fix-until-green/writers/plan.d.ts +3 -0
- package/dist/flows/fix-until-green/writers/plan.d.ts.map +1 -0
- package/dist/flows/fix-until-green/writers/plan.js +27 -0
- package/dist/flows/fix-until-green/writers/plan.js.map +1 -0
- package/dist/flows/fix-until-green/writers/verification.d.ts +3 -0
- package/dist/flows/fix-until-green/writers/verification.d.ts.map +1 -0
- package/dist/flows/fix-until-green/writers/verification.js +46 -0
- package/dist/flows/fix-until-green/writers/verification.js.map +1 -0
- package/dist/flows/flow-definition.d.ts +81 -0
- package/dist/flows/flow-definition.d.ts.map +1 -0
- package/dist/flows/flow-definition.js +258 -0
- package/dist/flows/flow-definition.js.map +1 -0
- package/dist/flows/goal/assembly-spec.d.ts +5 -0
- package/dist/flows/goal/assembly-spec.d.ts.map +1 -0
- package/dist/flows/goal/assembly-spec.js +352 -0
- package/dist/flows/goal/assembly-spec.js.map +1 -0
- package/dist/flows/goal/data.d.ts +795 -0
- package/dist/flows/goal/data.d.ts.map +1 -0
- package/dist/flows/goal/data.js +181 -0
- package/dist/flows/goal/data.js.map +1 -0
- package/dist/flows/goal/flow.d.ts +2 -0
- package/dist/flows/goal/flow.d.ts.map +1 -0
- package/dist/flows/goal/flow.js +4 -0
- package/dist/flows/goal/flow.js.map +1 -0
- package/dist/flows/goal/relay-hints.d.ts +5 -0
- package/dist/flows/goal/relay-hints.d.ts.map +1 -0
- package/dist/flows/goal/relay-hints.js +48 -0
- package/dist/flows/goal/relay-hints.js.map +1 -0
- package/dist/flows/goal/reports.d.ts +442 -0
- package/dist/flows/goal/reports.d.ts.map +1 -0
- package/dist/flows/goal/reports.js +510 -0
- package/dist/flows/goal/reports.js.map +1 -0
- package/dist/flows/goal/writers/attempt.d.ts +3 -0
- package/dist/flows/goal/writers/attempt.d.ts.map +1 -0
- package/dist/flows/goal/writers/attempt.js +52 -0
- package/dist/flows/goal/writers/attempt.js.map +1 -0
- package/dist/flows/goal/writers/close.d.ts +3 -0
- package/dist/flows/goal/writers/close.d.ts.map +1 -0
- package/dist/flows/goal/writers/close.js +80 -0
- package/dist/flows/goal/writers/close.js.map +1 -0
- package/dist/flows/goal/writers/contract.d.ts +3 -0
- package/dist/flows/goal/writers/contract.d.ts.map +1 -0
- package/dist/flows/goal/writers/contract.js +137 -0
- package/dist/flows/goal/writers/contract.js.map +1 -0
- package/dist/flows/goal/writers/evidence-evaluation.d.ts +3 -0
- package/dist/flows/goal/writers/evidence-evaluation.d.ts.map +1 -0
- package/dist/flows/goal/writers/evidence-evaluation.js +91 -0
- package/dist/flows/goal/writers/evidence-evaluation.js.map +1 -0
- package/dist/flows/goal/writers/recovery.d.ts +3 -0
- package/dist/flows/goal/writers/recovery.d.ts.map +1 -0
- package/dist/flows/goal/writers/recovery.js +67 -0
- package/dist/flows/goal/writers/recovery.js.map +1 -0
- package/dist/flows/prototype/assembly-spec.d.ts +5 -0
- package/dist/flows/prototype/assembly-spec.d.ts.map +1 -0
- package/dist/flows/prototype/assembly-spec.js +408 -0
- package/dist/flows/prototype/assembly-spec.js.map +1 -0
- package/dist/flows/prototype/data.d.ts +947 -0
- package/dist/flows/prototype/data.d.ts.map +1 -0
- package/dist/flows/prototype/data.js +212 -0
- package/dist/flows/prototype/data.js.map +1 -0
- package/dist/flows/prototype/flow.d.ts +2 -0
- package/dist/flows/prototype/flow.d.ts.map +1 -0
- package/dist/flows/prototype/flow.js +4 -0
- package/dist/flows/prototype/flow.js.map +1 -0
- package/dist/flows/prototype/index.d.ts +4 -0
- package/dist/flows/prototype/index.d.ts.map +1 -0
- package/dist/flows/prototype/index.js +8 -0
- package/dist/flows/prototype/index.js.map +1 -0
- package/dist/flows/prototype/relay-hints.d.ts +5 -0
- package/dist/flows/prototype/relay-hints.d.ts.map +1 -0
- package/dist/flows/prototype/relay-hints.js +46 -0
- package/dist/flows/prototype/relay-hints.js.map +1 -0
- package/dist/flows/prototype/reports.d.ts +909 -0
- package/dist/flows/prototype/reports.d.ts.map +1 -0
- package/dist/flows/prototype/reports.js +721 -0
- package/dist/flows/prototype/reports.js.map +1 -0
- package/dist/flows/prototype/writers/brief.d.ts +3 -0
- package/dist/flows/prototype/writers/brief.d.ts.map +1 -0
- package/dist/flows/prototype/writers/brief.js +51 -0
- package/dist/flows/prototype/writers/brief.js.map +1 -0
- package/dist/flows/prototype/writers/checkpoint-html.d.ts +3 -0
- package/dist/flows/prototype/writers/checkpoint-html.d.ts.map +1 -0
- package/dist/flows/prototype/writers/checkpoint-html.js +247 -0
- package/dist/flows/prototype/writers/checkpoint-html.js.map +1 -0
- package/dist/flows/prototype/writers/close.d.ts +3 -0
- package/dist/flows/prototype/writers/close.d.ts.map +1 -0
- package/dist/flows/prototype/writers/close.js +358 -0
- package/dist/flows/prototype/writers/close.js.map +1 -0
- package/dist/flows/prototype/writers/plan.d.ts +3 -0
- package/dist/flows/prototype/writers/plan.d.ts.map +1 -0
- package/dist/flows/prototype/writers/plan.js +31 -0
- package/dist/flows/prototype/writers/plan.js.map +1 -0
- package/dist/flows/prototype/writers/variant-choice-options.d.ts +3 -0
- package/dist/flows/prototype/writers/variant-choice-options.d.ts.map +1 -0
- package/dist/flows/prototype/writers/variant-choice-options.js +58 -0
- package/dist/flows/prototype/writers/variant-choice-options.js.map +1 -0
- package/dist/flows/prototype/writers/variant-options.d.ts +3 -0
- package/dist/flows/prototype/writers/variant-options.d.ts.map +1 -0
- package/dist/flows/prototype/writers/variant-options.js +74 -0
- package/dist/flows/prototype/writers/variant-options.js.map +1 -0
- package/dist/flows/prototype/writers/variant-provider-evidence.d.ts +3 -0
- package/dist/flows/prototype/writers/variant-provider-evidence.d.ts.map +1 -0
- package/dist/flows/prototype/writers/variant-provider-evidence.js +79 -0
- package/dist/flows/prototype/writers/variant-provider-evidence.js.map +1 -0
- package/dist/flows/prototype/writers/variant-verification.d.ts +3 -0
- package/dist/flows/prototype/writers/variant-verification.d.ts.map +1 -0
- package/dist/flows/prototype/writers/variant-verification.js +149 -0
- package/dist/flows/prototype/writers/variant-verification.js.map +1 -0
- package/dist/flows/prototype/writers/verification.d.ts +3 -0
- package/dist/flows/prototype/writers/verification.d.ts.map +1 -0
- package/dist/flows/prototype/writers/verification.js +105 -0
- package/dist/flows/prototype/writers/verification.js.map +1 -0
- package/dist/flows/pursue/assembly-spec.d.ts +6 -0
- package/dist/flows/pursue/assembly-spec.d.ts.map +1 -0
- package/dist/flows/pursue/assembly-spec.js +181 -0
- package/dist/flows/pursue/assembly-spec.js.map +1 -0
- package/dist/flows/pursue/data.d.ts +740 -0
- package/dist/flows/pursue/data.d.ts.map +1 -0
- package/dist/flows/pursue/data.js +125 -0
- package/dist/flows/pursue/data.js.map +1 -0
- package/dist/flows/pursue/flow.d.ts +2 -0
- package/dist/flows/pursue/flow.d.ts.map +1 -0
- package/dist/flows/pursue/flow.js +4 -0
- package/dist/flows/pursue/flow.js.map +1 -0
- package/dist/flows/pursue/relay-hints.d.ts +4 -0
- package/dist/flows/pursue/relay-hints.d.ts.map +1 -0
- package/dist/flows/pursue/relay-hints.js +34 -0
- package/dist/flows/pursue/relay-hints.js.map +1 -0
- package/dist/flows/pursue/reports.d.ts +383 -0
- package/dist/flows/pursue/reports.d.ts.map +1 -0
- package/dist/flows/pursue/reports.js +404 -0
- package/dist/flows/pursue/reports.js.map +1 -0
- package/dist/flows/pursue/writers/close.d.ts +3 -0
- package/dist/flows/pursue/writers/close.d.ts.map +1 -0
- package/dist/flows/pursue/writers/close.js +41 -0
- package/dist/flows/pursue/writers/close.js.map +1 -0
- package/dist/flows/pursue/writers/contract-projection.d.ts +7 -0
- package/dist/flows/pursue/writers/contract-projection.d.ts.map +1 -0
- package/dist/flows/pursue/writers/contract-projection.js +125 -0
- package/dist/flows/pursue/writers/contract-projection.js.map +1 -0
- package/dist/flows/pursue/writers/contract.d.ts +3 -0
- package/dist/flows/pursue/writers/contract.d.ts.map +1 -0
- package/dist/flows/pursue/writers/contract.js +17 -0
- package/dist/flows/pursue/writers/contract.js.map +1 -0
- package/dist/flows/pursue/writers/graph.d.ts +3 -0
- package/dist/flows/pursue/writers/graph.d.ts.map +1 -0
- package/dist/flows/pursue/writers/graph.js +76 -0
- package/dist/flows/pursue/writers/graph.js.map +1 -0
- package/dist/flows/pursue/writers/result-projection.d.ts +11 -0
- package/dist/flows/pursue/writers/result-projection.d.ts.map +1 -0
- package/dist/flows/pursue/writers/result-projection.js +85 -0
- package/dist/flows/pursue/writers/result-projection.js.map +1 -0
- package/dist/flows/pursue/writers/verification-projection.d.ts +4 -0
- package/dist/flows/pursue/writers/verification-projection.d.ts.map +1 -0
- package/dist/flows/pursue/writers/verification-projection.js +20 -0
- package/dist/flows/pursue/writers/verification-projection.js.map +1 -0
- package/dist/flows/pursue/writers/verification.d.ts +3 -0
- package/dist/flows/pursue/writers/verification.d.ts.map +1 -0
- package/dist/flows/pursue/writers/verification.js +24 -0
- package/dist/flows/pursue/writers/verification.js.map +1 -0
- package/dist/flows/pursue/writers/wave-plan.d.ts +3 -0
- package/dist/flows/pursue/writers/wave-plan.d.ts.map +1 -0
- package/dist/flows/pursue/writers/wave-plan.js +36 -0
- package/dist/flows/pursue/writers/wave-plan.js.map +1 -0
- package/dist/flows/registries/checkpoint-writers/registry.d.ts +3 -0
- package/dist/flows/registries/checkpoint-writers/registry.d.ts.map +1 -0
- package/dist/flows/registries/checkpoint-writers/registry.js +12 -0
- package/dist/flows/registries/checkpoint-writers/registry.js.map +1 -0
- package/dist/flows/registries/checkpoint-writers/types.d.ts +22 -0
- package/dist/flows/registries/checkpoint-writers/types.d.ts.map +1 -0
- package/dist/flows/registries/checkpoint-writers/types.js +24 -0
- package/dist/flows/registries/checkpoint-writers/types.js.map +1 -0
- package/dist/flows/registries/close-writers/generic-close-builder.d.ts +3 -0
- package/dist/flows/registries/close-writers/generic-close-builder.d.ts.map +1 -0
- package/dist/flows/registries/close-writers/generic-close-builder.js +45 -0
- package/dist/flows/registries/close-writers/generic-close-builder.js.map +1 -0
- package/dist/flows/registries/close-writers/registry.d.ts +5 -0
- package/dist/flows/registries/close-writers/registry.d.ts.map +1 -0
- package/dist/flows/registries/close-writers/registry.js +48 -0
- package/dist/flows/registries/close-writers/registry.js.map +1 -0
- package/dist/flows/registries/close-writers/types.d.ts +19 -0
- package/dist/flows/registries/close-writers/types.d.ts.map +1 -0
- package/dist/flows/registries/close-writers/types.js +19 -0
- package/dist/flows/registries/close-writers/types.js.map +1 -0
- package/dist/flows/registries/compose-writers/registry.d.ts +6 -0
- package/dist/flows/registries/compose-writers/registry.d.ts.map +1 -0
- package/dist/flows/registries/compose-writers/registry.js +46 -0
- package/dist/flows/registries/compose-writers/registry.js.map +1 -0
- package/dist/flows/registries/compose-writers/types.d.ts +30 -0
- package/dist/flows/registries/compose-writers/types.d.ts.map +1 -0
- package/dist/flows/registries/compose-writers/types.js +22 -0
- package/dist/flows/registries/compose-writers/types.js.map +1 -0
- package/dist/flows/registries/cross-report-validators.d.ts +10 -0
- package/dist/flows/registries/cross-report-validators.d.ts.map +1 -0
- package/dist/flows/registries/cross-report-validators.js +31 -0
- package/dist/flows/registries/cross-report-validators.js.map +1 -0
- package/dist/flows/registries/report-schemas.d.ts +10 -0
- package/dist/flows/registries/report-schemas.d.ts.map +1 -0
- package/dist/flows/registries/report-schemas.js +77 -0
- package/dist/flows/registries/report-schemas.js.map +1 -0
- package/dist/flows/registries/runtime-index.d.ts +100 -0
- package/dist/flows/registries/runtime-index.d.ts.map +1 -0
- package/dist/flows/registries/runtime-index.js +27 -0
- package/dist/flows/registries/runtime-index.js.map +1 -0
- package/dist/flows/registries/shape-hints/from-zod.d.ts +6 -0
- package/dist/flows/registries/shape-hints/from-zod.d.ts.map +1 -0
- package/dist/flows/registries/shape-hints/from-zod.js +354 -0
- package/dist/flows/registries/shape-hints/from-zod.js.map +1 -0
- package/dist/flows/registries/shape-hints/instruction-helpers.d.ts +3 -0
- package/dist/flows/registries/shape-hints/instruction-helpers.d.ts.map +1 -0
- package/dist/flows/registries/shape-hints/instruction-helpers.js +28 -0
- package/dist/flows/registries/shape-hints/instruction-helpers.js.map +1 -0
- package/dist/flows/registries/shape-hints/registry.d.ts +5 -0
- package/dist/flows/registries/shape-hints/registry.d.ts.map +1 -0
- package/dist/flows/registries/shape-hints/registry.js +33 -0
- package/dist/flows/registries/shape-hints/registry.js.map +1 -0
- package/dist/flows/registries/shape-hints/types.d.ts +14 -0
- package/dist/flows/registries/shape-hints/types.d.ts.map +1 -0
- package/dist/flows/registries/shape-hints/types.js +25 -0
- package/dist/flows/registries/shape-hints/types.js.map +1 -0
- package/dist/flows/registries/verification-writers/registry.d.ts +6 -0
- package/dist/flows/registries/verification-writers/registry.d.ts.map +1 -0
- package/dist/flows/registries/verification-writers/registry.js +37 -0
- package/dist/flows/registries/verification-writers/registry.js.map +1 -0
- package/dist/flows/registries/verification-writers/types.d.ts +37 -0
- package/dist/flows/registries/verification-writers/types.d.ts.map +1 -0
- package/dist/flows/registries/verification-writers/types.js +22 -0
- package/dist/flows/registries/verification-writers/types.js.map +1 -0
- package/dist/flows/report-declarations.d.ts +23 -0
- package/dist/flows/report-declarations.d.ts.map +1 -0
- package/dist/flows/report-declarations.js +46 -0
- package/dist/flows/report-declarations.js.map +1 -0
- package/dist/flows/report-schema-kit.d.ts +22 -0
- package/dist/flows/report-schema-kit.d.ts.map +1 -0
- package/dist/flows/report-schema-kit.js +59 -0
- package/dist/flows/report-schema-kit.js.map +1 -0
- package/dist/flows/resolvers/archetype.d.ts +14 -0
- package/dist/flows/resolvers/archetype.d.ts.map +1 -0
- package/dist/flows/resolvers/archetype.js +125 -0
- package/dist/flows/resolvers/archetype.js.map +1 -0
- package/dist/flows/resolvers/equipment.d.ts +32 -0
- package/dist/flows/resolvers/equipment.d.ts.map +1 -0
- package/dist/flows/resolvers/equipment.js +101 -0
- package/dist/flows/resolvers/equipment.js.map +1 -0
- package/dist/flows/resolvers/signals.d.ts +27 -0
- package/dist/flows/resolvers/signals.d.ts.map +1 -0
- package/dist/flows/resolvers/signals.js +273 -0
- package/dist/flows/resolvers/signals.js.map +1 -0
- package/dist/flows/resolvers/structure.d.ts +23 -0
- package/dist/flows/resolvers/structure.d.ts.map +1 -0
- package/dist/flows/resolvers/structure.js +112 -0
- package/dist/flows/resolvers/structure.js.map +1 -0
- package/dist/flows/review/assembly-spec.d.ts +5 -0
- package/dist/flows/review/assembly-spec.d.ts.map +1 -0
- package/dist/flows/review/assembly-spec.js +90 -0
- package/dist/flows/review/assembly-spec.js.map +1 -0
- package/dist/flows/review/data.d.ts +555 -0
- package/dist/flows/review/data.d.ts.map +1 -0
- package/dist/flows/review/data.js +75 -0
- package/dist/flows/review/data.js.map +1 -0
- package/dist/flows/review/flow.d.ts +2 -0
- package/dist/flows/review/flow.d.ts.map +1 -0
- package/dist/flows/review/flow.js +4 -0
- package/dist/flows/review/flow.js.map +1 -0
- package/dist/flows/review/index.d.ts +4 -0
- package/dist/flows/review/index.d.ts.map +1 -0
- package/dist/flows/review/index.js +8 -0
- package/dist/flows/review/index.js.map +1 -0
- package/dist/flows/review/relay-hints.d.ts +3 -0
- package/dist/flows/review/relay-hints.d.ts.map +1 -0
- package/dist/flows/review/relay-hints.js +31 -0
- package/dist/flows/review/relay-hints.js.map +1 -0
- package/dist/flows/review/reports.d.ts +247 -0
- package/dist/flows/review/reports.d.ts.map +1 -0
- package/dist/flows/review/reports.js +176 -0
- package/dist/flows/review/reports.js.map +1 -0
- package/dist/flows/review/writers/intake-projection.d.ts +13 -0
- package/dist/flows/review/writers/intake-projection.d.ts.map +1 -0
- package/dist/flows/review/writers/intake-projection.js +90 -0
- package/dist/flows/review/writers/intake-projection.js.map +1 -0
- package/dist/flows/review/writers/intake.d.ts +3 -0
- package/dist/flows/review/writers/intake.d.ts.map +1 -0
- package/dist/flows/review/writers/intake.js +186 -0
- package/dist/flows/review/writers/intake.js.map +1 -0
- package/dist/flows/review/writers/result-html.d.ts +3 -0
- package/dist/flows/review/writers/result-html.d.ts.map +1 -0
- package/dist/flows/review/writers/result-html.js +78 -0
- package/dist/flows/review/writers/result-html.js.map +1 -0
- package/dist/flows/review/writers/result-projection.d.ts +6 -0
- package/dist/flows/review/writers/result-projection.d.ts.map +1 -0
- package/dist/flows/review/writers/result-projection.js +29 -0
- package/dist/flows/review/writers/result-projection.js.map +1 -0
- package/dist/flows/review/writers/result.d.ts +3 -0
- package/dist/flows/review/writers/result.d.ts.map +1 -0
- package/dist/flows/review/writers/result.js +50 -0
- package/dist/flows/review/writers/result.js.map +1 -0
- package/dist/flows/runtime-proof/assembly-spec.d.ts +5 -0
- package/dist/flows/runtime-proof/assembly-spec.d.ts.map +1 -0
- package/dist/flows/runtime-proof/assembly-spec.js +54 -0
- package/dist/flows/runtime-proof/assembly-spec.js.map +1 -0
- package/dist/flows/runtime-proof/data.d.ts +423 -0
- package/dist/flows/runtime-proof/data.d.ts.map +1 -0
- package/dist/flows/runtime-proof/data.js +36 -0
- package/dist/flows/runtime-proof/data.js.map +1 -0
- package/dist/flows/runtime-proof/flow.d.ts +2 -0
- package/dist/flows/runtime-proof/flow.d.ts.map +1 -0
- package/dist/flows/runtime-proof/flow.js +4 -0
- package/dist/flows/runtime-proof/flow.js.map +1 -0
- package/dist/flows/runtime-proof/reports.d.ts +6 -0
- package/dist/flows/runtime-proof/reports.d.ts.map +1 -0
- package/dist/flows/runtime-proof/reports.js +7 -0
- package/dist/flows/runtime-proof/reports.js.map +1 -0
- package/dist/flows/runtime-proof/writers/compose.d.ts +3 -0
- package/dist/flows/runtime-proof/writers/compose.d.ts.map +1 -0
- package/dist/flows/runtime-proof/writers/compose.js +10 -0
- package/dist/flows/runtime-proof/writers/compose.js.map +1 -0
- package/dist/flows/schematic-catalog-check.d.ts +3 -0
- package/dist/flows/schematic-catalog-check.d.ts.map +1 -0
- package/dist/flows/schematic-catalog-check.js +73 -0
- package/dist/flows/schematic-catalog-check.js.map +1 -0
- package/dist/flows/stage-policy.d.ts +22 -0
- package/dist/flows/stage-policy.d.ts.map +1 -0
- package/dist/flows/stage-policy.js +27 -0
- package/dist/flows/stage-policy.js.map +1 -0
- package/dist/flows/sweep/assembly-spec.d.ts +5 -0
- package/dist/flows/sweep/assembly-spec.d.ts.map +1 -0
- package/dist/flows/sweep/assembly-spec.js +170 -0
- package/dist/flows/sweep/assembly-spec.js.map +1 -0
- package/dist/flows/sweep/data.d.ts +552 -0
- package/dist/flows/sweep/data.d.ts.map +1 -0
- package/dist/flows/sweep/data.js +70 -0
- package/dist/flows/sweep/data.js.map +1 -0
- package/dist/flows/sweep/flow.d.ts +2 -0
- package/dist/flows/sweep/flow.d.ts.map +1 -0
- package/dist/flows/sweep/flow.js +4 -0
- package/dist/flows/sweep/flow.js.map +1 -0
- package/dist/flows/sweep/paths.d.ts +11 -0
- package/dist/flows/sweep/paths.d.ts.map +1 -0
- package/dist/flows/sweep/paths.js +18 -0
- package/dist/flows/sweep/paths.js.map +1 -0
- package/dist/flows/sweep/relay-hints.d.ts +3 -0
- package/dist/flows/sweep/relay-hints.d.ts.map +1 -0
- package/dist/flows/sweep/relay-hints.js +27 -0
- package/dist/flows/sweep/relay-hints.js.map +1 -0
- package/dist/flows/sweep/reports.d.ts +172 -0
- package/dist/flows/sweep/reports.d.ts.map +1 -0
- package/dist/flows/sweep/reports.js +179 -0
- package/dist/flows/sweep/reports.js.map +1 -0
- package/dist/flows/sweep/writers/census.d.ts +3 -0
- package/dist/flows/sweep/writers/census.d.ts.map +1 -0
- package/dist/flows/sweep/writers/census.js +67 -0
- package/dist/flows/sweep/writers/census.js.map +1 -0
- package/dist/flows/sweep/writers/partition.d.ts +3 -0
- package/dist/flows/sweep/writers/partition.d.ts.map +1 -0
- package/dist/flows/sweep/writers/partition.js +130 -0
- package/dist/flows/sweep/writers/partition.js.map +1 -0
- package/dist/flows/sweep/writers/scan.d.ts +5 -0
- package/dist/flows/sweep/writers/scan.d.ts.map +1 -0
- package/dist/flows/sweep/writers/scan.js +89 -0
- package/dist/flows/sweep/writers/scan.js.map +1 -0
- package/dist/flows/sweep/writers/verification.d.ts +3 -0
- package/dist/flows/sweep/writers/verification.d.ts.map +1 -0
- package/dist/flows/sweep/writers/verification.js +55 -0
- package/dist/flows/sweep/writers/verification.js.map +1 -0
- package/dist/flows/types.d.ts +111 -0
- package/dist/flows/types.d.ts.map +1 -0
- package/dist/flows/types.js +14 -0
- package/dist/flows/types.js.map +1 -0
- package/dist/history/run-corpus.d.ts +16 -0
- package/dist/history/run-corpus.d.ts.map +1 -0
- package/dist/history/run-corpus.js +55 -0
- package/dist/history/run-corpus.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/memory/project-distill.d.ts +18 -0
- package/dist/memory/project-distill.d.ts.map +1 -0
- package/dist/memory/project-distill.js +244 -0
- package/dist/memory/project-distill.js.map +1 -0
- package/dist/memory/project-identity.d.ts +25 -0
- package/dist/memory/project-identity.d.ts.map +1 -0
- package/dist/memory/project-identity.js +125 -0
- package/dist/memory/project-identity.js.map +1 -0
- package/dist/memory/project-injection.d.ts +12 -0
- package/dist/memory/project-injection.d.ts.map +1 -0
- package/dist/memory/project-injection.js +56 -0
- package/dist/memory/project-injection.js.map +1 -0
- package/dist/memory/project-store.d.ts +35 -0
- package/dist/memory/project-store.d.ts.map +1 -0
- package/dist/memory/project-store.js +150 -0
- package/dist/memory/project-store.js.map +1 -0
- package/dist/policy/fanout-join-policy.d.ts +26 -0
- package/dist/policy/fanout-join-policy.d.ts.map +1 -0
- package/dist/policy/fanout-join-policy.js +87 -0
- package/dist/policy/fanout-join-policy.js.map +1 -0
- package/dist/policy/flow-kind-policy-core.d.ts +50 -0
- package/dist/policy/flow-kind-policy-core.d.ts.map +1 -0
- package/dist/policy/flow-kind-policy-core.js +250 -0
- package/dist/policy/flow-kind-policy-core.js.map +1 -0
- package/dist/policy/flow-kind-policy.d.ts +19 -0
- package/dist/policy/flow-kind-policy.d.ts.map +1 -0
- package/dist/policy/flow-kind-policy.js +41 -0
- package/dist/policy/flow-kind-policy.js.map +1 -0
- package/dist/policy/policy-envelope.d.ts +28 -0
- package/dist/policy/policy-envelope.d.ts.map +1 -0
- package/dist/policy/policy-envelope.js +317 -0
- package/dist/policy/policy-envelope.js.map +1 -0
- package/dist/policy/recovery-route-policy.d.ts +165 -0
- package/dist/policy/recovery-route-policy.d.ts.map +1 -0
- package/dist/policy/recovery-route-policy.js +112 -0
- package/dist/policy/recovery-route-policy.js.map +1 -0
- package/dist/policy/rubric.d.ts +28 -0
- package/dist/policy/rubric.d.ts.map +1 -0
- package/dist/policy/rubric.js +139 -0
- package/dist/policy/rubric.js.map +1 -0
- package/dist/release/checks.d.ts +45 -0
- package/dist/release/checks.d.ts.map +1 -0
- package/dist/release/checks.js +382 -0
- package/dist/release/checks.js.map +1 -0
- package/dist/release/schemas.d.ts +590 -0
- package/dist/release/schemas.d.ts.map +1 -0
- package/dist/release/schemas.js +369 -0
- package/dist/release/schemas.js.map +1 -0
- package/dist/runtime/acceptance-criteria.d.ts +41 -0
- package/dist/runtime/acceptance-criteria.d.ts.map +1 -0
- package/dist/runtime/acceptance-criteria.js +282 -0
- package/dist/runtime/acceptance-criteria.js.map +1 -0
- package/dist/runtime/domain/flow.d.ts +11 -0
- package/dist/runtime/domain/flow.d.ts.map +1 -0
- package/dist/runtime/domain/flow.js +2 -0
- package/dist/runtime/domain/flow.js.map +1 -0
- package/dist/runtime/domain/route.d.ts +13 -0
- package/dist/runtime/domain/route.d.ts.map +1 -0
- package/dist/runtime/domain/route.js +7 -0
- package/dist/runtime/domain/route.js.map +1 -0
- package/dist/runtime/domain/run-file.d.ts +5 -0
- package/dist/runtime/domain/run-file.d.ts.map +1 -0
- package/dist/runtime/domain/run-file.js +2 -0
- package/dist/runtime/domain/run-file.js.map +1 -0
- package/dist/runtime/domain/run.d.ts +4 -0
- package/dist/runtime/domain/run.d.ts.map +1 -0
- package/dist/runtime/domain/run.js +2 -0
- package/dist/runtime/domain/run.js.map +1 -0
- package/dist/runtime/domain/selection.d.ts +11 -0
- package/dist/runtime/domain/selection.d.ts.map +1 -0
- package/dist/runtime/domain/selection.js +2 -0
- package/dist/runtime/domain/selection.js.map +1 -0
- package/dist/runtime/domain/step.d.ts +19 -0
- package/dist/runtime/domain/step.d.ts.map +1 -0
- package/dist/runtime/domain/step.js +4 -0
- package/dist/runtime/domain/step.js.map +1 -0
- package/dist/runtime/domain/trace.d.ts +21 -0
- package/dist/runtime/domain/trace.d.ts.map +1 -0
- package/dist/runtime/domain/trace.js +2 -0
- package/dist/runtime/domain/trace.js.map +1 -0
- package/dist/runtime/executors/checkpoint.d.ts +18 -0
- package/dist/runtime/executors/checkpoint.d.ts.map +1 -0
- package/dist/runtime/executors/checkpoint.js +463 -0
- package/dist/runtime/executors/checkpoint.js.map +1 -0
- package/dist/runtime/executors/compose.d.ts +11 -0
- package/dist/runtime/executors/compose.d.ts.map +1 -0
- package/dist/runtime/executors/compose.js +124 -0
- package/dist/runtime/executors/compose.js.map +1 -0
- package/dist/runtime/executors/fanout.d.ts +8 -0
- package/dist/runtime/executors/fanout.d.ts.map +1 -0
- package/dist/runtime/executors/fanout.js +312 -0
- package/dist/runtime/executors/fanout.js.map +1 -0
- package/dist/runtime/executors/index.d.ts +11 -0
- package/dist/runtime/executors/index.d.ts.map +1 -0
- package/dist/runtime/executors/index.js +32 -0
- package/dist/runtime/executors/index.js.map +1 -0
- package/dist/runtime/executors/relay.d.ts +73 -0
- package/dist/runtime/executors/relay.d.ts.map +1 -0
- package/dist/runtime/executors/relay.js +788 -0
- package/dist/runtime/executors/relay.js.map +1 -0
- package/dist/runtime/executors/result.d.ts +14 -0
- package/dist/runtime/executors/result.d.ts.map +1 -0
- package/dist/runtime/executors/result.js +19 -0
- package/dist/runtime/executors/result.js.map +1 -0
- package/dist/runtime/executors/shared.d.ts +17 -0
- package/dist/runtime/executors/shared.d.ts.map +1 -0
- package/dist/runtime/executors/shared.js +49 -0
- package/dist/runtime/executors/shared.js.map +1 -0
- package/dist/runtime/executors/sub-run.d.ts +8 -0
- package/dist/runtime/executors/sub-run.d.ts.map +1 -0
- package/dist/runtime/executors/sub-run.js +275 -0
- package/dist/runtime/executors/sub-run.js.map +1 -0
- package/dist/runtime/executors/verification.d.ts +7 -0
- package/dist/runtime/executors/verification.d.ts.map +1 -0
- package/dist/runtime/executors/verification.js +374 -0
- package/dist/runtime/executors/verification.js.map +1 -0
- package/dist/runtime/fanout/branch-execution.d.ts +17 -0
- package/dist/runtime/fanout/branch-execution.d.ts.map +1 -0
- package/dist/runtime/fanout/branch-execution.js +576 -0
- package/dist/runtime/fanout/branch-execution.js.map +1 -0
- package/dist/runtime/fanout/branch-expansion.d.ts +6 -0
- package/dist/runtime/fanout/branch-expansion.d.ts.map +1 -0
- package/dist/runtime/fanout/branch-expansion.js +64 -0
- package/dist/runtime/fanout/branch-expansion.js.map +1 -0
- package/dist/runtime/fanout/run-owner-lock.d.ts +28 -0
- package/dist/runtime/fanout/run-owner-lock.d.ts.map +1 -0
- package/dist/runtime/fanout/run-owner-lock.js +98 -0
- package/dist/runtime/fanout/run-owner-lock.js.map +1 -0
- package/dist/runtime/fanout/types.d.ts +38 -0
- package/dist/runtime/fanout/types.d.ts.map +1 -0
- package/dist/runtime/fanout/types.js +2 -0
- package/dist/runtime/fanout/types.js.map +1 -0
- package/dist/runtime/fanout/worktree-reaper.d.ts +108 -0
- package/dist/runtime/fanout/worktree-reaper.d.ts.map +1 -0
- package/dist/runtime/fanout/worktree-reaper.js +195 -0
- package/dist/runtime/fanout/worktree-reaper.js.map +1 -0
- package/dist/runtime/fanout/worktree.d.ts +3 -0
- package/dist/runtime/fanout/worktree.d.ts.map +1 -0
- package/dist/runtime/fanout/worktree.js +35 -0
- package/dist/runtime/fanout/worktree.js.map +1 -0
- package/dist/runtime/manifest/executable-flow.d.ts +100 -0
- package/dist/runtime/manifest/executable-flow.d.ts.map +1 -0
- package/dist/runtime/manifest/executable-flow.js +2 -0
- package/dist/runtime/manifest/executable-flow.js.map +1 -0
- package/dist/runtime/manifest/from-compiled-flow.d.ts +4 -0
- package/dist/runtime/manifest/from-compiled-flow.d.ts.map +1 -0
- package/dist/runtime/manifest/from-compiled-flow.js +169 -0
- package/dist/runtime/manifest/from-compiled-flow.js.map +1 -0
- package/dist/runtime/manifest/runtime-package-index.d.ts +4 -0
- package/dist/runtime/manifest/runtime-package-index.d.ts.map +1 -0
- package/dist/runtime/manifest/runtime-package-index.js +98 -0
- package/dist/runtime/manifest/runtime-package-index.js.map +1 -0
- package/dist/runtime/manifest/validate-executable-flow.d.ts +8 -0
- package/dist/runtime/manifest/validate-executable-flow.d.ts.map +1 -0
- package/dist/runtime/manifest/validate-executable-flow.js +143 -0
- package/dist/runtime/manifest/validate-executable-flow.js.map +1 -0
- package/dist/runtime/projections/progress.d.ts +16 -0
- package/dist/runtime/projections/progress.d.ts.map +1 -0
- package/dist/runtime/projections/progress.js +679 -0
- package/dist/runtime/projections/progress.js.map +1 -0
- package/dist/runtime/projections/status.d.ts +4 -0
- package/dist/runtime/projections/status.d.ts.map +1 -0
- package/dist/runtime/projections/status.js +14 -0
- package/dist/runtime/projections/status.js.map +1 -0
- package/dist/runtime/projections/tournament-checkpoint-context.d.ts +18 -0
- package/dist/runtime/projections/tournament-checkpoint-context.d.ts.map +1 -0
- package/dist/runtime/projections/tournament-checkpoint-context.js +106 -0
- package/dist/runtime/projections/tournament-checkpoint-context.js.map +1 -0
- package/dist/runtime/run/binding-legibility.d.ts +71 -0
- package/dist/runtime/run/binding-legibility.d.ts.map +1 -0
- package/dist/runtime/run/binding-legibility.js +61 -0
- package/dist/runtime/run/binding-legibility.js.map +1 -0
- package/dist/runtime/run/capabilities.d.ts +34 -0
- package/dist/runtime/run/capabilities.d.ts.map +1 -0
- package/dist/runtime/run/capabilities.js +22 -0
- package/dist/runtime/run/capabilities.js.map +1 -0
- package/dist/runtime/run/carried-notes.d.ts +13 -0
- package/dist/runtime/run/carried-notes.d.ts.map +1 -0
- package/dist/runtime/run/carried-notes.js +53 -0
- package/dist/runtime/run/carried-notes.js.map +1 -0
- package/dist/runtime/run/checkpoint-resume.d.ts +44 -0
- package/dist/runtime/run/checkpoint-resume.d.ts.map +1 -0
- package/dist/runtime/run/checkpoint-resume.js +549 -0
- package/dist/runtime/run/checkpoint-resume.js.map +1 -0
- package/dist/runtime/run/child-runner.d.ts +57 -0
- package/dist/runtime/run/child-runner.d.ts.map +1 -0
- package/dist/runtime/run/child-runner.js +2 -0
- package/dist/runtime/run/child-runner.js.map +1 -0
- package/dist/runtime/run/commit-containment.d.ts +11 -0
- package/dist/runtime/run/commit-containment.d.ts.map +1 -0
- package/dist/runtime/run/commit-containment.js +46 -0
- package/dist/runtime/run/commit-containment.js.map +1 -0
- package/dist/runtime/run/compiled-flow-runner.d.ts +26 -0
- package/dist/runtime/run/compiled-flow-runner.d.ts.map +1 -0
- package/dist/runtime/run/compiled-flow-runner.js +137 -0
- package/dist/runtime/run/compiled-flow-runner.js.map +1 -0
- package/dist/runtime/run/connector-planning.d.ts +3 -0
- package/dist/runtime/run/connector-planning.d.ts.map +1 -0
- package/dist/runtime/run/connector-planning.js +29 -0
- package/dist/runtime/run/connector-planning.js.map +1 -0
- package/dist/runtime/run/context-delivery.d.ts +24 -0
- package/dist/runtime/run/context-delivery.d.ts.map +1 -0
- package/dist/runtime/run/context-delivery.js +92 -0
- package/dist/runtime/run/context-delivery.js.map +1 -0
- package/dist/runtime/run/context-pull.d.ts +22 -0
- package/dist/runtime/run/context-pull.d.ts.map +1 -0
- package/dist/runtime/run/context-pull.js +112 -0
- package/dist/runtime/run/context-pull.js.map +1 -0
- package/dist/runtime/run/engine-flags.d.ts +7 -0
- package/dist/runtime/run/engine-flags.d.ts.map +1 -0
- package/dist/runtime/run/engine-flags.js +89 -0
- package/dist/runtime/run/engine-flags.js.map +1 -0
- package/dist/runtime/run/equipment-reshape.d.ts +24 -0
- package/dist/runtime/run/equipment-reshape.d.ts.map +1 -0
- package/dist/runtime/run/equipment-reshape.js +156 -0
- package/dist/runtime/run/equipment-reshape.js.map +1 -0
- package/dist/runtime/run/external-files.d.ts +5 -0
- package/dist/runtime/run/external-files.d.ts.map +1 -0
- package/dist/runtime/run/external-files.js +7 -0
- package/dist/runtime/run/external-files.js.map +1 -0
- package/dist/runtime/run/frozen-eval.d.ts +8 -0
- package/dist/runtime/run/frozen-eval.d.ts.map +1 -0
- package/dist/runtime/run/frozen-eval.js +60 -0
- package/dist/runtime/run/frozen-eval.js.map +1 -0
- package/dist/runtime/run/graph-runner.d.ts +67 -0
- package/dist/runtime/run/graph-runner.d.ts.map +1 -0
- package/dist/runtime/run/graph-runner.js +1755 -0
- package/dist/runtime/run/graph-runner.js.map +1 -0
- package/dist/runtime/run/guidance.d.ts +49 -0
- package/dist/runtime/run/guidance.d.ts.map +1 -0
- package/dist/runtime/run/guidance.js +227 -0
- package/dist/runtime/run/guidance.js.map +1 -0
- package/dist/runtime/run/honesty-ledger.d.ts +21 -0
- package/dist/runtime/run/honesty-ledger.d.ts.map +1 -0
- package/dist/runtime/run/honesty-ledger.js +75 -0
- package/dist/runtime/run/honesty-ledger.js.map +1 -0
- package/dist/runtime/run/iteration-ledger.d.ts +15 -0
- package/dist/runtime/run/iteration-ledger.d.ts.map +1 -0
- package/dist/runtime/run/iteration-ledger.js +91 -0
- package/dist/runtime/run/iteration-ledger.js.map +1 -0
- package/dist/runtime/run/manifest-snapshot.d.ts +27 -0
- package/dist/runtime/run/manifest-snapshot.d.ts.map +1 -0
- package/dist/runtime/run/manifest-snapshot.js +58 -0
- package/dist/runtime/run/manifest-snapshot.js.map +1 -0
- package/dist/runtime/run/oracle-command-pin.d.ts +20 -0
- package/dist/runtime/run/oracle-command-pin.d.ts.map +1 -0
- package/dist/runtime/run/oracle-command-pin.js +94 -0
- package/dist/runtime/run/oracle-command-pin.js.map +1 -0
- package/dist/runtime/run/recovery-binding-verdict.d.ts +40 -0
- package/dist/runtime/run/recovery-binding-verdict.d.ts.map +1 -0
- package/dist/runtime/run/recovery-binding-verdict.js +70 -0
- package/dist/runtime/run/recovery-binding-verdict.js.map +1 -0
- package/dist/runtime/run/recovery-corridor.d.ts +103 -0
- package/dist/runtime/run/recovery-corridor.d.ts.map +1 -0
- package/dist/runtime/run/recovery-corridor.js +178 -0
- package/dist/runtime/run/recovery-corridor.js.map +1 -0
- package/dist/runtime/run/recovery-selection.d.ts +18 -0
- package/dist/runtime/run/recovery-selection.d.ts.map +1 -0
- package/dist/runtime/run/recovery-selection.js +43 -0
- package/dist/runtime/run/recovery-selection.js.map +1 -0
- package/dist/runtime/run/relay-guidance.d.ts +40 -0
- package/dist/runtime/run/relay-guidance.d.ts.map +1 -0
- package/dist/runtime/run/relay-guidance.js +306 -0
- package/dist/runtime/run/relay-guidance.js.map +1 -0
- package/dist/runtime/run/relay-support.d.ts +29 -0
- package/dist/runtime/run/relay-support.d.ts.map +1 -0
- package/dist/runtime/run/relay-support.js +436 -0
- package/dist/runtime/run/relay-support.js.map +1 -0
- package/dist/runtime/run/result-recovery.d.ts +16 -0
- package/dist/runtime/run/result-recovery.d.ts.map +1 -0
- package/dist/runtime/run/result-recovery.js +73 -0
- package/dist/runtime/run/result-recovery.js.map +1 -0
- package/dist/runtime/run/result-writer.d.ts +17 -0
- package/dist/runtime/run/result-writer.d.ts.map +1 -0
- package/dist/runtime/run/result-writer.js +5 -0
- package/dist/runtime/run/result-writer.js.map +1 -0
- package/dist/runtime/run/resume-lock.d.ts +29 -0
- package/dist/runtime/run/resume-lock.d.ts.map +1 -0
- package/dist/runtime/run/resume-lock.js +166 -0
- package/dist/runtime/run/resume-lock.js.map +1 -0
- package/dist/runtime/run/reuse-children.d.ts +24 -0
- package/dist/runtime/run/reuse-children.d.ts.map +1 -0
- package/dist/runtime/run/reuse-children.js +107 -0
- package/dist/runtime/run/reuse-children.js.map +1 -0
- package/dist/runtime/run/run-boundary.d.ts +30 -0
- package/dist/runtime/run/run-boundary.d.ts.map +1 -0
- package/dist/runtime/run/run-boundary.js +110 -0
- package/dist/runtime/run/run-boundary.js.map +1 -0
- package/dist/runtime/run/run-close.d.ts +22 -0
- package/dist/runtime/run/run-close.d.ts.map +1 -0
- package/dist/runtime/run/run-close.js +228 -0
- package/dist/runtime/run/run-close.js.map +1 -0
- package/dist/runtime/run/run-context.d.ts +59 -0
- package/dist/runtime/run/run-context.d.ts.map +1 -0
- package/dist/runtime/run/run-context.js +2 -0
- package/dist/runtime/run/run-context.js.map +1 -0
- package/dist/runtime/run/run-transition.d.ts +43 -0
- package/dist/runtime/run/run-transition.d.ts.map +1 -0
- package/dist/runtime/run/run-transition.js +52 -0
- package/dist/runtime/run/run-transition.js.map +1 -0
- package/dist/runtime/run/run-values.d.ts +80 -0
- package/dist/runtime/run/run-values.d.ts.map +1 -0
- package/dist/runtime/run/run-values.js +85 -0
- package/dist/runtime/run/run-values.js.map +1 -0
- package/dist/runtime/run/slice-corridor.d.ts +27 -0
- package/dist/runtime/run/slice-corridor.d.ts.map +1 -0
- package/dist/runtime/run/slice-corridor.js +99 -0
- package/dist/runtime/run/slice-corridor.js.map +1 -0
- package/dist/runtime/run/trace-evidence.d.ts +34 -0
- package/dist/runtime/run/trace-evidence.d.ts.map +1 -0
- package/dist/runtime/run/trace-evidence.js +148 -0
- package/dist/runtime/run/trace-evidence.js.map +1 -0
- package/dist/runtime/run/until-budget.d.ts +12 -0
- package/dist/runtime/run/until-budget.d.ts.map +1 -0
- package/dist/runtime/run/until-budget.js +102 -0
- package/dist/runtime/run/until-budget.js.map +1 -0
- package/dist/runtime/run/until-corridor.d.ts +32 -0
- package/dist/runtime/run/until-corridor.d.ts.map +1 -0
- package/dist/runtime/run/until-corridor.js +161 -0
- package/dist/runtime/run/until-corridor.js.map +1 -0
- package/dist/runtime/run-files/report-validator.d.ts +3 -0
- package/dist/runtime/run-files/report-validator.d.ts.map +1 -0
- package/dist/runtime/run-files/report-validator.js +29 -0
- package/dist/runtime/run-files/report-validator.js.map +1 -0
- package/dist/runtime/run-files/run-file-store.d.ts +13 -0
- package/dist/runtime/run-files/run-file-store.d.ts.map +1 -0
- package/dist/runtime/run-files/run-file-store.js +42 -0
- package/dist/runtime/run-files/run-file-store.js.map +1 -0
- package/dist/runtime/trace/trace-fields.d.ts +97 -0
- package/dist/runtime/trace/trace-fields.d.ts.map +1 -0
- package/dist/runtime/trace/trace-fields.js +181 -0
- package/dist/runtime/trace/trace-fields.js.map +1 -0
- package/dist/runtime/trace/trace-store.d.ts +20 -0
- package/dist/runtime/trace/trace-store.d.ts.map +1 -0
- package/dist/runtime/trace/trace-store.js +157 -0
- package/dist/runtime/trace/trace-store.js.map +1 -0
- package/dist/schemas/acceptance-criteria.d.ts +94 -0
- package/dist/schemas/acceptance-criteria.d.ts.map +1 -0
- package/dist/schemas/acceptance-criteria.js +42 -0
- package/dist/schemas/acceptance-criteria.js.map +1 -0
- package/dist/schemas/axes.d.ts +45 -0
- package/dist/schemas/axes.d.ts.map +1 -0
- package/dist/schemas/axes.js +79 -0
- package/dist/schemas/axes.js.map +1 -0
- package/dist/schemas/axis-config-requirement.d.ts +20 -0
- package/dist/schemas/axis-config-requirement.d.ts.map +1 -0
- package/dist/schemas/axis-config-requirement.js +24 -0
- package/dist/schemas/axis-config-requirement.js.map +1 -0
- package/dist/schemas/builtin-report-schemas.d.ts +6 -0
- package/dist/schemas/builtin-report-schemas.d.ts.map +1 -0
- package/dist/schemas/builtin-report-schemas.js +155 -0
- package/dist/schemas/builtin-report-schemas.js.map +1 -0
- package/dist/schemas/change-kind.d.ts +75 -0
- package/dist/schemas/change-kind.d.ts.map +1 -0
- package/dist/schemas/change-kind.js +35 -0
- package/dist/schemas/change-kind.js.map +1 -0
- package/dist/schemas/change-packet.d.ts +42 -0
- package/dist/schemas/change-packet.d.ts.map +1 -0
- package/dist/schemas/change-packet.js +26 -0
- package/dist/schemas/change-packet.js.map +1 -0
- package/dist/schemas/check.d.ts +174 -0
- package/dist/schemas/check.d.ts.map +1 -0
- package/dist/schemas/check.js +162 -0
- package/dist/schemas/check.js.map +1 -0
- package/dist/schemas/checkpoint-boundary.d.ts +605 -0
- package/dist/schemas/checkpoint-boundary.d.ts.map +1 -0
- package/dist/schemas/checkpoint-boundary.js +243 -0
- package/dist/schemas/checkpoint-boundary.js.map +1 -0
- package/dist/schemas/compiled-flow.d.ts +1065 -0
- package/dist/schemas/compiled-flow.d.ts.map +1 -0
- package/dist/schemas/compiled-flow.js +331 -0
- package/dist/schemas/compiled-flow.js.map +1 -0
- package/dist/schemas/config.d.ts +905 -0
- package/dist/schemas/config.d.ts.map +1 -0
- package/dist/schemas/config.js +240 -0
- package/dist/schemas/config.js.map +1 -0
- package/dist/schemas/connector.d.ts +216 -0
- package/dist/schemas/connector.d.ts.map +1 -0
- package/dist/schemas/connector.js +150 -0
- package/dist/schemas/connector.js.map +1 -0
- package/dist/schemas/context-request.d.ts +14 -0
- package/dist/schemas/context-request.d.ts.map +1 -0
- package/dist/schemas/context-request.js +33 -0
- package/dist/schemas/context-request.js.map +1 -0
- package/dist/schemas/continuity.d.ts +362 -0
- package/dist/schemas/continuity.d.ts.map +1 -0
- package/dist/schemas/continuity.js +232 -0
- package/dist/schemas/continuity.js.map +1 -0
- package/dist/schemas/custom-flow-descriptor.d.ts +10 -0
- package/dist/schemas/custom-flow-descriptor.d.ts.map +1 -0
- package/dist/schemas/custom-flow-descriptor.js +12 -0
- package/dist/schemas/custom-flow-descriptor.js.map +1 -0
- package/dist/schemas/depth.d.ts +16 -0
- package/dist/schemas/depth.d.ts.map +1 -0
- package/dist/schemas/depth.js +7 -0
- package/dist/schemas/depth.js.map +1 -0
- package/dist/schemas/engine-flags.d.ts +44 -0
- package/dist/schemas/engine-flags.d.ts.map +1 -0
- package/dist/schemas/engine-flags.js +104 -0
- package/dist/schemas/engine-flags.js.map +1 -0
- package/dist/schemas/equipment-discovery.d.ts +8 -0
- package/dist/schemas/equipment-discovery.d.ts.map +1 -0
- package/dist/schemas/equipment-discovery.js +36 -0
- package/dist/schemas/equipment-discovery.js.map +1 -0
- package/dist/schemas/equipment-scope.d.ts +42 -0
- package/dist/schemas/equipment-scope.d.ts.map +1 -0
- package/dist/schemas/equipment-scope.js +84 -0
- package/dist/schemas/equipment-scope.js.map +1 -0
- package/dist/schemas/flow-block-definitions.d.ts +59 -0
- package/dist/schemas/flow-block-definitions.d.ts.map +1 -0
- package/dist/schemas/flow-block-definitions.js +867 -0
- package/dist/schemas/flow-block-definitions.js.map +1 -0
- package/dist/schemas/flow-blocks.d.ts +301 -0
- package/dist/schemas/flow-blocks.d.ts.map +1 -0
- package/dist/schemas/flow-blocks.js +223 -0
- package/dist/schemas/flow-blocks.js.map +1 -0
- package/dist/schemas/flow-schematic-policy.d.ts +6 -0
- package/dist/schemas/flow-schematic-policy.d.ts.map +1 -0
- package/dist/schemas/flow-schematic-policy.js +8 -0
- package/dist/schemas/flow-schematic-policy.js.map +1 -0
- package/dist/schemas/flow-schematic.d.ts +1407 -0
- package/dist/schemas/flow-schematic.d.ts.map +1 -0
- package/dist/schemas/flow-schematic.js +944 -0
- package/dist/schemas/flow-schematic.js.map +1 -0
- package/dist/schemas/guidance-decision.d.ts +728 -0
- package/dist/schemas/guidance-decision.d.ts.map +1 -0
- package/dist/schemas/guidance-decision.js +527 -0
- package/dist/schemas/guidance-decision.js.map +1 -0
- package/dist/schemas/hashing.d.ts +6 -0
- package/dist/schemas/hashing.d.ts.map +1 -0
- package/dist/schemas/hashing.js +27 -0
- package/dist/schemas/hashing.js.map +1 -0
- package/dist/schemas/history.d.ts +1735 -0
- package/dist/schemas/history.d.ts.map +1 -0
- package/dist/schemas/history.js +662 -0
- package/dist/schemas/history.js.map +1 -0
- package/dist/schemas/host.d.ts +16 -0
- package/dist/schemas/host.d.ts.map +1 -0
- package/dist/schemas/host.js +8 -0
- package/dist/schemas/host.js.map +1 -0
- package/dist/schemas/ids.d.ts +18 -0
- package/dist/schemas/ids.d.ts.map +1 -0
- package/dist/schemas/ids.js +17 -0
- package/dist/schemas/ids.js.map +1 -0
- package/dist/schemas/index.d.ts +60 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +60 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/schemas/json.d.ts +10 -0
- package/dist/schemas/json.d.ts.map +1 -0
- package/dist/schemas/json.js +12 -0
- package/dist/schemas/json.js.map +1 -0
- package/dist/schemas/manifest.d.ts +15 -0
- package/dist/schemas/manifest.d.ts.map +1 -0
- package/dist/schemas/manifest.js +61 -0
- package/dist/schemas/manifest.js.map +1 -0
- package/dist/schemas/memory-input.d.ts +94 -0
- package/dist/schemas/memory-input.d.ts.map +1 -0
- package/dist/schemas/memory-input.js +119 -0
- package/dist/schemas/memory-input.js.map +1 -0
- package/dist/schemas/operator-summary.d.ts +369 -0
- package/dist/schemas/operator-summary.d.ts.map +1 -0
- package/dist/schemas/operator-summary.js +207 -0
- package/dist/schemas/operator-summary.js.map +1 -0
- package/dist/schemas/policy-envelope.d.ts +1655 -0
- package/dist/schemas/policy-envelope.d.ts.map +1 -0
- package/dist/schemas/policy-envelope.js +330 -0
- package/dist/schemas/policy-envelope.js.map +1 -0
- package/dist/schemas/power.d.ts +26 -0
- package/dist/schemas/power.d.ts.map +1 -0
- package/dist/schemas/power.js +38 -0
- package/dist/schemas/power.js.map +1 -0
- package/dist/schemas/process-evidence.d.ts +156 -0
- package/dist/schemas/process-evidence.d.ts.map +1 -0
- package/dist/schemas/process-evidence.js +142 -0
- package/dist/schemas/process-evidence.js.map +1 -0
- package/dist/schemas/process.d.ts +16 -0
- package/dist/schemas/process.d.ts.map +1 -0
- package/dist/schemas/process.js +7 -0
- package/dist/schemas/process.js.map +1 -0
- package/dist/schemas/progress-event.d.ts +1505 -0
- package/dist/schemas/progress-event.d.ts.map +1 -0
- package/dist/schemas/progress-event.js +246 -0
- package/dist/schemas/progress-event.js.map +1 -0
- package/dist/schemas/proof-assessment.d.ts +542 -0
- package/dist/schemas/proof-assessment.d.ts.map +1 -0
- package/dist/schemas/proof-assessment.js +336 -0
- package/dist/schemas/proof-assessment.js.map +1 -0
- package/dist/schemas/recovery-route-kind.d.ts +229 -0
- package/dist/schemas/recovery-route-kind.d.ts.map +1 -0
- package/dist/schemas/recovery-route-kind.js +242 -0
- package/dist/schemas/recovery-route-kind.js.map +1 -0
- package/dist/schemas/ref.d.ts +51 -0
- package/dist/schemas/ref.d.ts.map +1 -0
- package/dist/schemas/ref.js +96 -0
- package/dist/schemas/ref.js.map +1 -0
- package/dist/schemas/report-file-surface.d.ts +44 -0
- package/dist/schemas/report-file-surface.d.ts.map +1 -0
- package/dist/schemas/report-file-surface.js +22 -0
- package/dist/schemas/report-file-surface.js.map +1 -0
- package/dist/schemas/result.d.ts +23 -0
- package/dist/schemas/result.d.ts.map +1 -0
- package/dist/schemas/result.js +55 -0
- package/dist/schemas/result.js.map +1 -0
- package/dist/schemas/role.d.ts +8 -0
- package/dist/schemas/role.d.ts.map +1 -0
- package/dist/schemas/role.js +5 -0
- package/dist/schemas/role.js.map +1 -0
- package/dist/schemas/route-policy.d.ts +5 -0
- package/dist/schemas/route-policy.d.ts.map +1 -0
- package/dist/schemas/route-policy.js +9 -0
- package/dist/schemas/route-policy.js.map +1 -0
- package/dist/schemas/routing-contract-schemas.d.ts +11 -0
- package/dist/schemas/routing-contract-schemas.d.ts.map +1 -0
- package/dist/schemas/routing-contract-schemas.js +72 -0
- package/dist/schemas/routing-contract-schemas.js.map +1 -0
- package/dist/schemas/rubric.d.ts +74 -0
- package/dist/schemas/rubric.d.ts.map +1 -0
- package/dist/schemas/rubric.js +125 -0
- package/dist/schemas/rubric.js.map +1 -0
- package/dist/schemas/run-envelope.d.ts +1333 -0
- package/dist/schemas/run-envelope.d.ts.map +1 -0
- package/dist/schemas/run-envelope.js +578 -0
- package/dist/schemas/run-envelope.js.map +1 -0
- package/dist/schemas/run-status.d.ts +216 -0
- package/dist/schemas/run-status.d.ts.map +1 -0
- package/dist/schemas/run-status.js +146 -0
- package/dist/schemas/run-status.js.map +1 -0
- package/dist/schemas/run.d.ts +2866 -0
- package/dist/schemas/run.d.ts.map +1 -0
- package/dist/schemas/run.js +647 -0
- package/dist/schemas/run.js.map +1 -0
- package/dist/schemas/runtime-evidence.d.ts +152 -0
- package/dist/schemas/runtime-evidence.d.ts.map +1 -0
- package/dist/schemas/runtime-evidence.js +127 -0
- package/dist/schemas/runtime-evidence.js.map +1 -0
- package/dist/schemas/runtime-source.d.ts +55 -0
- package/dist/schemas/runtime-source.d.ts.map +1 -0
- package/dist/schemas/runtime-source.js +40 -0
- package/dist/schemas/runtime-source.js.map +1 -0
- package/dist/schemas/scalars.d.ts +21 -0
- package/dist/schemas/scalars.d.ts.map +1 -0
- package/dist/schemas/scalars.js +51 -0
- package/dist/schemas/scalars.js.map +1 -0
- package/dist/schemas/selection-policy.d.ts +764 -0
- package/dist/schemas/selection-policy.d.ts.map +1 -0
- package/dist/schemas/selection-policy.js +209 -0
- package/dist/schemas/selection-policy.js.map +1 -0
- package/dist/schemas/skill-hook.d.ts +214 -0
- package/dist/schemas/skill-hook.d.ts.map +1 -0
- package/dist/schemas/skill-hook.js +279 -0
- package/dist/schemas/skill-hook.js.map +1 -0
- package/dist/schemas/skill.d.ts +59 -0
- package/dist/schemas/skill.d.ts.map +1 -0
- package/dist/schemas/skill.js +82 -0
- package/dist/schemas/skill.js.map +1 -0
- package/dist/schemas/snapshot.d.ts +108 -0
- package/dist/schemas/snapshot.d.ts.map +1 -0
- package/dist/schemas/snapshot.js +40 -0
- package/dist/schemas/snapshot.js.map +1 -0
- package/dist/schemas/stage.d.ts +85 -0
- package/dist/schemas/stage.d.ts.map +1 -0
- package/dist/schemas/stage.js +58 -0
- package/dist/schemas/stage.js.map +1 -0
- package/dist/schemas/step.d.ts +2455 -0
- package/dist/schemas/step.d.ts.map +1 -0
- package/dist/schemas/step.js +567 -0
- package/dist/schemas/step.js.map +1 -0
- package/dist/schemas/trace-entry.d.ts +2573 -0
- package/dist/schemas/trace-entry.d.ts.map +1 -0
- package/dist/schemas/trace-entry.js +973 -0
- package/dist/schemas/trace-entry.js.map +1 -0
- package/dist/schemas/verification.d.ts +47 -0
- package/dist/schemas/verification.d.ts.map +1 -0
- package/dist/schemas/verification.js +122 -0
- package/dist/schemas/verification.js.map +1 -0
- package/dist/schemas/work-contract-projection.d.ts +473 -0
- package/dist/schemas/work-contract-projection.d.ts.map +1 -0
- package/dist/schemas/work-contract-projection.js +232 -0
- package/dist/schemas/work-contract-projection.js.map +1 -0
- package/dist/selection/connector-planning.d.ts +23 -0
- package/dist/selection/connector-planning.d.ts.map +1 -0
- package/dist/selection/connector-planning.js +31 -0
- package/dist/selection/connector-planning.js.map +1 -0
- package/dist/selection/power-inference.d.ts +20 -0
- package/dist/selection/power-inference.d.ts.map +1 -0
- package/dist/selection/power-inference.js +74 -0
- package/dist/selection/power-inference.js.map +1 -0
- package/dist/selection/power-tiers.d.ts +24 -0
- package/dist/selection/power-tiers.d.ts.map +1 -0
- package/dist/selection/power-tiers.js +115 -0
- package/dist/selection/power-tiers.js.map +1 -0
- package/dist/selection/relay-selection.d.ts +11 -0
- package/dist/selection/relay-selection.d.ts.map +1 -0
- package/dist/selection/relay-selection.js +57 -0
- package/dist/selection/relay-selection.js.map +1 -0
- package/dist/selection/selection-resolver.d.ts +23 -0
- package/dist/selection/selection-resolver.d.ts.map +1 -0
- package/dist/selection/selection-resolver.js +153 -0
- package/dist/selection/selection-resolver.js.map +1 -0
- package/dist/shared/atomic-io.d.ts +11 -0
- package/dist/shared/atomic-io.d.ts.map +1 -0
- package/dist/shared/atomic-io.js +29 -0
- package/dist/shared/atomic-io.js.map +1 -0
- package/dist/shared/checkpoint-auto-resolution.d.ts +17 -0
- package/dist/shared/checkpoint-auto-resolution.d.ts.map +1 -0
- package/dist/shared/checkpoint-auto-resolution.js +72 -0
- package/dist/shared/checkpoint-auto-resolution.js.map +1 -0
- package/dist/shared/checkpoint-boundary.d.ts +15 -0
- package/dist/shared/checkpoint-boundary.d.ts.map +1 -0
- package/dist/shared/checkpoint-boundary.js +125 -0
- package/dist/shared/checkpoint-boundary.js.map +1 -0
- package/dist/shared/config-loader.d.ts +20 -0
- package/dist/shared/config-loader.d.ts.map +1 -0
- package/dist/shared/config-loader.js +140 -0
- package/dist/shared/config-loader.js.map +1 -0
- package/dist/shared/connector-relay.d.ts +39 -0
- package/dist/shared/connector-relay.d.ts.map +1 -0
- package/dist/shared/connector-relay.js +2 -0
- package/dist/shared/connector-relay.js.map +1 -0
- package/dist/shared/control-plane-gitignore.d.ts +10 -0
- package/dist/shared/control-plane-gitignore.d.ts.map +1 -0
- package/dist/shared/control-plane-gitignore.js +46 -0
- package/dist/shared/control-plane-gitignore.js.map +1 -0
- package/dist/shared/control-plane-paths.d.ts +36 -0
- package/dist/shared/control-plane-paths.d.ts.map +1 -0
- package/dist/shared/control-plane-paths.js +71 -0
- package/dist/shared/control-plane-paths.js.map +1 -0
- package/dist/shared/equipment-enforcement.d.ts +11 -0
- package/dist/shared/equipment-enforcement.d.ts.map +1 -0
- package/dist/shared/equipment-enforcement.js +37 -0
- package/dist/shared/equipment-enforcement.js.map +1 -0
- package/dist/shared/fanout-aggregate-report.d.ts +32 -0
- package/dist/shared/fanout-aggregate-report.d.ts.map +1 -0
- package/dist/shared/fanout-aggregate-report.js +73 -0
- package/dist/shared/fanout-aggregate-report.js.map +1 -0
- package/dist/shared/fanout-branch-template.d.ts +4 -0
- package/dist/shared/fanout-branch-template.d.ts.map +1 -0
- package/dist/shared/fanout-branch-template.js +55 -0
- package/dist/shared/fanout-branch-template.js.map +1 -0
- package/dist/shared/git-state-command.d.ts +19 -0
- package/dist/shared/git-state-command.d.ts.map +1 -0
- package/dist/shared/git-state-command.js +52 -0
- package/dist/shared/git-state-command.js.map +1 -0
- package/dist/shared/git-state.d.ts +3 -0
- package/dist/shared/git-state.d.ts.map +1 -0
- package/dist/shared/git-state.js +163 -0
- package/dist/shared/git-state.js.map +1 -0
- package/dist/shared/git-state.ts +175 -0
- package/dist/shared/html/checkpoint-page.d.ts +41 -0
- package/dist/shared/html/checkpoint-page.d.ts.map +1 -0
- package/dist/shared/html/checkpoint-page.js +108 -0
- package/dist/shared/html/checkpoint-page.js.map +1 -0
- package/dist/shared/html/index.d.ts +6 -0
- package/dist/shared/html/index.d.ts.map +1 -0
- package/dist/shared/html/index.js +16 -0
- package/dist/shared/html/index.js.map +1 -0
- package/dist/shared/html/multi-variant.d.ts +56 -0
- package/dist/shared/html/multi-variant.d.ts.map +1 -0
- package/dist/shared/html/multi-variant.js +183 -0
- package/dist/shared/html/multi-variant.js.map +1 -0
- package/dist/shared/html/page.d.ts +5 -0
- package/dist/shared/html/page.d.ts.map +1 -0
- package/dist/shared/html/page.js +42 -0
- package/dist/shared/html/page.js.map +1 -0
- package/dist/shared/html/projector.d.ts +38 -0
- package/dist/shared/html/projector.d.ts.map +1 -0
- package/dist/shared/html/projector.js +7 -0
- package/dist/shared/html/projector.js.map +1 -0
- package/dist/shared/html/react-page.d.ts +10 -0
- package/dist/shared/html/react-page.d.ts.map +1 -0
- package/dist/shared/html/react-page.js +31 -0
- package/dist/shared/html/react-page.js.map +1 -0
- package/dist/shared/html/report-components.d.ts +57 -0
- package/dist/shared/html/report-components.d.ts.map +1 -0
- package/dist/shared/html/report-components.js +69 -0
- package/dist/shared/html/report-components.js.map +1 -0
- package/dist/shared/html/ui/alert.d.ts +10 -0
- package/dist/shared/html/ui/alert.d.ts.map +1 -0
- package/dist/shared/html/ui/alert.js +28 -0
- package/dist/shared/html/ui/alert.js.map +1 -0
- package/dist/shared/html/ui/badge.d.ts +11 -0
- package/dist/shared/html/ui/badge.d.ts.map +1 -0
- package/dist/shared/html/ui/badge.js +32 -0
- package/dist/shared/html/ui/badge.js.map +1 -0
- package/dist/shared/html/ui/button.d.ts +13 -0
- package/dist/shared/html/ui/button.d.ts.map +1 -0
- package/dist/shared/html/ui/button.js +36 -0
- package/dist/shared/html/ui/button.js.map +1 -0
- package/dist/shared/html/ui/card.d.ts +10 -0
- package/dist/shared/html/ui/card.d.ts.map +1 -0
- package/dist/shared/html/ui/card.js +25 -0
- package/dist/shared/html/ui/card.js.map +1 -0
- package/dist/shared/html/ui/checkbox.d.ts +4 -0
- package/dist/shared/html/ui/checkbox.d.ts.map +1 -0
- package/dist/shared/html/ui/checkbox.js +7 -0
- package/dist/shared/html/ui/checkbox.js.map +1 -0
- package/dist/shared/html/ui/collapsible.d.ts +6 -0
- package/dist/shared/html/ui/collapsible.d.ts.map +1 -0
- package/dist/shared/html/ui/collapsible.js +13 -0
- package/dist/shared/html/ui/collapsible.js.map +1 -0
- package/dist/shared/html/ui/css.generated.d.ts +2 -0
- package/dist/shared/html/ui/css.generated.d.ts.map +1 -0
- package/dist/shared/html/ui/css.generated.js +5 -0
- package/dist/shared/html/ui/css.generated.js.map +1 -0
- package/dist/shared/html/ui/field.d.ts +26 -0
- package/dist/shared/html/ui/field.d.ts.map +1 -0
- package/dist/shared/html/ui/field.js +79 -0
- package/dist/shared/html/ui/field.js.map +1 -0
- package/dist/shared/html/ui/index.d.ts +16 -0
- package/dist/shared/html/ui/index.d.ts.map +1 -0
- package/dist/shared/html/ui/index.js +20 -0
- package/dist/shared/html/ui/index.js.map +1 -0
- package/dist/shared/html/ui/input.d.ts +5 -0
- package/dist/shared/html/ui/input.d.ts.map +1 -0
- package/dist/shared/html/ui/input.js +11 -0
- package/dist/shared/html/ui/input.js.map +1 -0
- package/dist/shared/html/ui/kbd.d.ts +5 -0
- package/dist/shared/html/ui/kbd.d.ts.map +1 -0
- package/dist/shared/html/ui/kbd.js +10 -0
- package/dist/shared/html/ui/kbd.js.map +1 -0
- package/dist/shared/html/ui/label.d.ts +4 -0
- package/dist/shared/html/ui/label.d.ts.map +1 -0
- package/dist/shared/html/ui/label.js +9 -0
- package/dist/shared/html/ui/label.js.map +1 -0
- package/dist/shared/html/ui/radio-group.d.ts +5 -0
- package/dist/shared/html/ui/radio-group.d.ts.map +1 -0
- package/dist/shared/html/ui/radio-group.js +10 -0
- package/dist/shared/html/ui/radio-group.js.map +1 -0
- package/dist/shared/html/ui/separator.d.ts +4 -0
- package/dist/shared/html/ui/separator.d.ts.map +1 -0
- package/dist/shared/html/ui/separator.js +11 -0
- package/dist/shared/html/ui/separator.js.map +1 -0
- package/dist/shared/html/ui/table.d.ts +11 -0
- package/dist/shared/html/ui/table.d.ts.map +1 -0
- package/dist/shared/html/ui/table.js +28 -0
- package/dist/shared/html/ui/table.js.map +1 -0
- package/dist/shared/html/ui/textarea.d.ts +4 -0
- package/dist/shared/html/ui/textarea.d.ts.map +1 -0
- package/dist/shared/html/ui/textarea.js +7 -0
- package/dist/shared/html/ui/textarea.js.map +1 -0
- package/dist/shared/html/ui/utils.d.ts +3 -0
- package/dist/shared/html/ui/utils.d.ts.map +1 -0
- package/dist/shared/html/ui/utils.js +11 -0
- package/dist/shared/html/ui/utils.js.map +1 -0
- package/dist/shared/json-extraction.d.ts +2 -0
- package/dist/shared/json-extraction.d.ts.map +1 -0
- package/dist/shared/json-extraction.js +68 -0
- package/dist/shared/json-extraction.js.map +1 -0
- package/dist/shared/manifest-snapshot.d.ts +13 -0
- package/dist/shared/manifest-snapshot.d.ts.map +1 -0
- package/dist/shared/manifest-snapshot.js +48 -0
- package/dist/shared/manifest-snapshot.js.map +1 -0
- package/dist/shared/operator-summary/explore.d.ts +3 -0
- package/dist/shared/operator-summary/explore.d.ts.map +1 -0
- package/dist/shared/operator-summary/explore.js +208 -0
- package/dist/shared/operator-summary/explore.js.map +1 -0
- package/dist/shared/operator-summary/index.d.ts +6 -0
- package/dist/shared/operator-summary/index.d.ts.map +1 -0
- package/dist/shared/operator-summary/index.js +10 -0
- package/dist/shared/operator-summary/index.js.map +1 -0
- package/dist/shared/operator-summary/json.d.ts +10 -0
- package/dist/shared/operator-summary/json.d.ts.map +1 -0
- package/dist/shared/operator-summary/json.js +63 -0
- package/dist/shared/operator-summary/json.js.map +1 -0
- package/dist/shared/operator-summary/projections.d.ts +4 -0
- package/dist/shared/operator-summary/projections.d.ts.map +1 -0
- package/dist/shared/operator-summary/projections.js +452 -0
- package/dist/shared/operator-summary/projections.js.map +1 -0
- package/dist/shared/operator-summary/projector.d.ts +14 -0
- package/dist/shared/operator-summary/projector.d.ts.map +1 -0
- package/dist/shared/operator-summary/projector.js +12 -0
- package/dist/shared/operator-summary/projector.js.map +1 -0
- package/dist/shared/operator-summary/text.d.ts +11 -0
- package/dist/shared/operator-summary/text.d.ts.map +1 -0
- package/dist/shared/operator-summary/text.js +92 -0
- package/dist/shared/operator-summary/text.js.map +1 -0
- package/dist/shared/outcome.d.ts +13 -0
- package/dist/shared/outcome.d.ts.map +1 -0
- package/dist/shared/outcome.js +76 -0
- package/dist/shared/outcome.js.map +1 -0
- package/dist/shared/progress-output.d.ts +12 -0
- package/dist/shared/progress-output.d.ts.map +1 -0
- package/dist/shared/progress-output.js +50 -0
- package/dist/shared/progress-output.js.map +1 -0
- package/dist/shared/proof-assessment.d.ts +7 -0
- package/dist/shared/proof-assessment.d.ts.map +1 -0
- package/dist/shared/proof-assessment.js +67 -0
- package/dist/shared/proof-assessment.js.map +1 -0
- package/dist/shared/proof-plan.d.ts +26 -0
- package/dist/shared/proof-plan.d.ts.map +1 -0
- package/dist/shared/proof-plan.js +164 -0
- package/dist/shared/proof-plan.js.map +1 -0
- package/dist/shared/relay-runtime-types.d.ts +30 -0
- package/dist/shared/relay-runtime-types.d.ts.map +1 -0
- package/dist/shared/relay-runtime-types.js +2 -0
- package/dist/shared/relay-runtime-types.js.map +1 -0
- package/dist/shared/result-path.d.ts +3 -0
- package/dist/shared/result-path.d.ts.map +1 -0
- package/dist/shared/result-path.js +6 -0
- package/dist/shared/result-path.js.map +1 -0
- package/dist/shared/run-artifact-io.d.ts +3 -0
- package/dist/shared/run-artifact-io.d.ts.map +1 -0
- package/dist/shared/run-artifact-io.js +17 -0
- package/dist/shared/run-artifact-io.js.map +1 -0
- package/dist/shared/run-file-paths.d.ts +3 -0
- package/dist/shared/run-file-paths.d.ts.map +1 -0
- package/dist/shared/run-file-paths.js +72 -0
- package/dist/shared/run-file-paths.js.map +1 -0
- package/dist/shared/run-relative-path.d.ts +2 -0
- package/dist/shared/run-relative-path.d.ts.map +1 -0
- package/dist/shared/run-relative-path.js +43 -0
- package/dist/shared/run-relative-path.js.map +1 -0
- package/dist/shared/runtime-source.d.ts +24 -0
- package/dist/shared/runtime-source.d.ts.map +1 -0
- package/dist/shared/runtime-source.js +75 -0
- package/dist/shared/runtime-source.js.map +1 -0
- package/dist/shared/runtime-touched-files.d.ts +12 -0
- package/dist/shared/runtime-touched-files.d.ts.map +1 -0
- package/dist/shared/runtime-touched-files.js +106 -0
- package/dist/shared/runtime-touched-files.js.map +1 -0
- package/dist/shared/skill-loading.d.ts +22 -0
- package/dist/shared/skill-loading.d.ts.map +1 -0
- package/dist/shared/skill-loading.js +75 -0
- package/dist/shared/skill-loading.js.map +1 -0
- package/dist/shared/status-block-renderer.d.ts +16 -0
- package/dist/shared/status-block-renderer.d.ts.map +1 -0
- package/dist/shared/status-block-renderer.js +67 -0
- package/dist/shared/status-block-renderer.js.map +1 -0
- package/dist/shared/user-skill-registry.d.ts +18 -0
- package/dist/shared/user-skill-registry.d.ts.map +1 -0
- package/dist/shared/user-skill-registry.js +130 -0
- package/dist/shared/user-skill-registry.js.map +1 -0
- package/dist/shared/verification-resolver.d.ts +23 -0
- package/dist/shared/verification-resolver.d.ts.map +1 -0
- package/dist/shared/verification-resolver.js +162 -0
- package/dist/shared/verification-resolver.js.map +1 -0
- package/dist/shared/work-contract-projection.d.ts +15 -0
- package/dist/shared/work-contract-projection.d.ts.map +1 -0
- package/dist/shared/work-contract-projection.js +498 -0
- package/dist/shared/work-contract-projection.js.map +1 -0
- package/dist/shared/working-tree-changes.d.ts +18 -0
- package/dist/shared/working-tree-changes.d.ts.map +1 -0
- package/dist/shared/working-tree-changes.js +94 -0
- package/dist/shared/working-tree-changes.js.map +1 -0
- package/dist/shared/write-capable-worker-disclosure.d.ts +3 -0
- package/dist/shared/write-capable-worker-disclosure.d.ts.map +1 -0
- package/dist/shared/write-capable-worker-disclosure.js +6 -0
- package/dist/shared/write-capable-worker-disclosure.js.map +1 -0
- package/dist/shared/zod-to-response-schema.d.ts +4 -0
- package/dist/shared/zod-to-response-schema.d.ts.map +1 -0
- package/dist/shared/zod-to-response-schema.js +88 -0
- package/dist/shared/zod-to-response-schema.js.map +1 -0
- package/dist/skill-hooks/decision-packet.d.ts +10 -0
- package/dist/skill-hooks/decision-packet.d.ts.map +1 -0
- package/dist/skill-hooks/decision-packet.js +42 -0
- package/dist/skill-hooks/decision-packet.js.map +1 -0
- package/dist/skill-hooks/dispatch.d.ts +27 -0
- package/dist/skill-hooks/dispatch.d.ts.map +1 -0
- package/dist/skill-hooks/dispatch.js +167 -0
- package/dist/skill-hooks/dispatch.js.map +1 -0
- package/dist/skill-hooks/injection.d.ts +7 -0
- package/dist/skill-hooks/injection.d.ts.map +1 -0
- package/dist/skill-hooks/injection.js +50 -0
- package/dist/skill-hooks/injection.js.map +1 -0
- package/dist/skill-hooks/policy.d.ts +32 -0
- package/dist/skill-hooks/policy.d.ts.map +1 -0
- package/dist/skill-hooks/policy.js +104 -0
- package/dist/skill-hooks/policy.js.map +1 -0
- package/dist/skill-hooks/surface-sources.d.ts +8 -0
- package/dist/skill-hooks/surface-sources.d.ts.map +1 -0
- package/dist/skill-hooks/surface-sources.js +55 -0
- package/dist/skill-hooks/surface-sources.js.map +1 -0
- package/generated/flows/build/circuit.json +439 -0
- package/generated/flows/build/circuit.work-contract.v0.json +1283 -0
- package/generated/flows/catalog.json +29 -0
- package/generated/flows/converge-proof/circuit.json +145 -0
- package/generated/flows/converge-proof/circuit.work-contract.v0.json +275 -0
- package/generated/flows/cross-tool-build/circuit.json +321 -0
- package/generated/flows/cross-tool-build/circuit.work-contract.v0.json +1157 -0
- package/generated/flows/explainer/circuit.json +610 -0
- package/generated/flows/explainer/circuit.work-contract.v0.json +1552 -0
- package/generated/flows/explore/circuit.json +217 -0
- package/generated/flows/explore/circuit.work-contract.v0.json +717 -0
- package/generated/flows/explore/tournament.json +412 -0
- package/generated/flows/explore/tournament.work-contract.v0.json +983 -0
- package/generated/flows/fix/circuit.json +563 -0
- package/generated/flows/fix/circuit.work-contract.v0.json +2175 -0
- package/generated/flows/fix/low.json +511 -0
- package/generated/flows/fix/low.work-contract.v0.json +1921 -0
- package/generated/flows/fix-until-green/circuit.json +183 -0
- package/generated/flows/fix-until-green/circuit.work-contract.v0.json +438 -0
- package/generated/flows/goal/circuit.json +638 -0
- package/generated/flows/goal/circuit.work-contract.v0.json +2133 -0
- package/generated/flows/prototype/circuit.json +278 -0
- package/generated/flows/prototype/circuit.work-contract.v0.json +690 -0
- package/generated/flows/prototype/tournament.json +505 -0
- package/generated/flows/prototype/tournament.work-contract.v0.json +1122 -0
- package/generated/flows/pursue/circuit.json +298 -0
- package/generated/flows/pursue/circuit.work-contract.v0.json +944 -0
- package/generated/flows/review/circuit.json +142 -0
- package/generated/flows/review/circuit.work-contract.v0.json +392 -0
- package/generated/flows/runtime-proof/circuit.json +91 -0
- package/generated/flows/runtime-proof/circuit.work-contract.v0.json +183 -0
- package/generated/flows/sweep/circuit.json +239 -0
- package/generated/flows/sweep/circuit.work-contract.v0.json +590 -0
- package/package.json +102 -0
- package/plugins/version.json +3 -0
package/dist/cli/run.js
ADDED
|
@@ -0,0 +1,1182 @@
|
|
|
1
|
+
import { randomUUID } from 'node:crypto';
|
|
2
|
+
import { existsSync, mkdirSync, readFileSync, readdirSync, writeFileSync } from 'node:fs';
|
|
3
|
+
import { dirname, join, resolve } from 'node:path';
|
|
4
|
+
import { Command } from 'commander';
|
|
5
|
+
import { isRuntimeRunFolder, resumeCompiledFlow } from '../runtime/run/checkpoint-resume.js';
|
|
6
|
+
import { runCompiledFlowWithWaiting } from '../runtime/run/compiled-flow-runner.js';
|
|
7
|
+
import { isGraphCheckpointWaitingResult } from '../runtime/run/graph-runner.js';
|
|
8
|
+
import { Axes, TournamentN } from '../schemas/axes.js';
|
|
9
|
+
import { Config } from '../schemas/config.js';
|
|
10
|
+
import { HostKind } from '../schemas/host.js';
|
|
11
|
+
import { CompiledFlowId, RunId } from '../schemas/ids.js';
|
|
12
|
+
import { computeManifestHash } from '../schemas/manifest.js';
|
|
13
|
+
import { PowerDialSetting } from '../schemas/power.js';
|
|
14
|
+
import { Process } from '../schemas/process.js';
|
|
15
|
+
import { ProgressEvent, } from '../schemas/progress-event.js';
|
|
16
|
+
import { RunResult } from '../schemas/result.js';
|
|
17
|
+
import { resolvePowerDialSetting } from '../selection/power-tiers.js';
|
|
18
|
+
import { prepareRunStartHistoryRecall } from '../app/history/run-start-recall.js';
|
|
19
|
+
import { readPriorRoute, writeOperatorSummary } from '../app/operator-summary/writer.js';
|
|
20
|
+
import { projectCheckpointWaitingProcessEvidence, projectClosedProcessEvidence, } from '../app/process-evidence/projection.js';
|
|
21
|
+
import { runAutonomousContinuation } from '../app/run-envelope/autonomous-run.js';
|
|
22
|
+
import { RunStatusFolderError, projectRunStatusFromRunFolder, } from '../app/run-status/run-folder-projector.js';
|
|
23
|
+
import { INTERNAL_FLOW_IDS, catalogFlowIds, findFlowRuntimeSurfaceById } from '../flows/catalog.js';
|
|
24
|
+
import { discoverRuntimeConfigLayers } from '../shared/config-loader.js';
|
|
25
|
+
import { runsRoot } from '../shared/control-plane-paths.js';
|
|
26
|
+
import { progressDisplay, progressPresentation } from '../shared/progress-output.js';
|
|
27
|
+
import { parseCommanderOrThrow } from './commander-support.js';
|
|
28
|
+
import { axisSupportFromFlow, compiledFlowSelectionNameForAxes, defaultChildCompiledFlowResolver, defaultFlowRoot, loadCompiledFlow, resolveCompiledFlowPath, } from './compiled-flow-loading.js';
|
|
29
|
+
import { codexInstallAssurance } from './handoff-codex-hooks.js';
|
|
30
|
+
import { emitPostRunArtifacts, postRunArtifactWarningOutputFields, } from './post-run-artifacts.js';
|
|
31
|
+
import { createRecoveryAttemptRunner } from './recovery-attempt-runner.js';
|
|
32
|
+
import { invalidCheckpointChoiceMessage, matchCheckpointChoice, missingRunFolderMessage, runFolderCandidates, } from './resume-input.js';
|
|
33
|
+
import { RUN_EXECUTION_FLAGS } from './run-flag-vocabulary.js';
|
|
34
|
+
import { operatorSummaryOutputFields, routeOutputFields, runEnvelopeOutputFields, selectedProcessFields, } from './run-output.js';
|
|
35
|
+
import { composeRunStdoutEnvelope, historyRecallOutputFields } from './run-stdout-envelope.js';
|
|
36
|
+
import { RUNTIME_POLICY_REASONS, applyComposeWriterPolicy, applyFixturePolicy, runtimeOutputFields, showRuntimeDecision, } from './runtime-routing-policy.js';
|
|
37
|
+
import { checkpointWaitingNotice, runFinishedNotice, runStartedNotice, ttyNoticesEnabled, } from './tty-notice.js';
|
|
38
|
+
const AUTONOMOUS_LOOP_RELATIVE_PATH = 'reports/autonomous-loop.json';
|
|
39
|
+
export const CIRCUIT_HOST_KIND_ENV = 'CIRCUIT_HOST_KIND';
|
|
40
|
+
// The flow names a misuse error may offer, derived from the catalog's
|
|
41
|
+
// visibility (the same source of truth as INTERNAL_FLOW_IDS) so an internal
|
|
42
|
+
// flow such as pursue is never advertised. Sorted to match the order the
|
|
43
|
+
// unknown-flow listing uses.
|
|
44
|
+
function publicFlowNameOffer() {
|
|
45
|
+
return catalogFlowIds
|
|
46
|
+
.filter((id) => !INTERNAL_FLOW_IDS.has(id))
|
|
47
|
+
.sort()
|
|
48
|
+
.join('|');
|
|
49
|
+
}
|
|
50
|
+
function runtimeHostKind(options) {
|
|
51
|
+
if (options.hostKind !== undefined)
|
|
52
|
+
return options.hostKind;
|
|
53
|
+
const raw = process.env[CIRCUIT_HOST_KIND_ENV];
|
|
54
|
+
if (raw === undefined || raw.length === 0)
|
|
55
|
+
return undefined;
|
|
56
|
+
return HostKind.parse(raw);
|
|
57
|
+
}
|
|
58
|
+
// The option surface derives from RUN_EXECUTION_FLAGS so the parser, the
|
|
59
|
+
// help text, and the doc lint (tests/contracts/doc-command-claims.test.ts)
|
|
60
|
+
// can never disagree. Add new flags to the vocabulary, not here.
|
|
61
|
+
function addExecutionOptions(program) {
|
|
62
|
+
for (const row of RUN_EXECUTION_FLAGS) {
|
|
63
|
+
program.option(row.valueHint === undefined ? row.flag : `${row.flag} ${row.valueHint}`);
|
|
64
|
+
}
|
|
65
|
+
return program;
|
|
66
|
+
}
|
|
67
|
+
export function parseExecutionArgs(command, argv) {
|
|
68
|
+
const program = addExecutionOptions(new Command(`circuit ${command}`).argument('[flow-name]'));
|
|
69
|
+
parseCommanderOrThrow(program, argv);
|
|
70
|
+
const opts = program.opts();
|
|
71
|
+
const flowName = program.args[0];
|
|
72
|
+
if (opts.dryRun === true) {
|
|
73
|
+
// Fail closed. An earlier version accepted the flag silently while
|
|
74
|
+
// the real connector still ran. Re-enable once real dry-run support
|
|
75
|
+
// lands (deterministic dry relayer + trace marker).
|
|
76
|
+
throw new Error('--dry-run is not currently implemented and is rejected. An earlier version silently invoked the real connector while reporting dry_run:true, which is a safety bug. The flag stays rejected until real dry-run support lands.');
|
|
77
|
+
}
|
|
78
|
+
let depth;
|
|
79
|
+
const processProvided = opts.process !== undefined;
|
|
80
|
+
if (opts.process !== undefined) {
|
|
81
|
+
// Mirror the --power rejection below: a bad value gets one line naming
|
|
82
|
+
// the valid values, never a raw schema-error dump.
|
|
83
|
+
const parsedProcess = Process.safeParse(opts.process);
|
|
84
|
+
if (!parsedProcess.success) {
|
|
85
|
+
throw new Error(`--process must be one of ${Process.options.join(', ')}`);
|
|
86
|
+
}
|
|
87
|
+
depth = parsedProcess.data;
|
|
88
|
+
}
|
|
89
|
+
let power;
|
|
90
|
+
const powerProvided = opts.power !== undefined;
|
|
91
|
+
if (opts.power !== undefined) {
|
|
92
|
+
const parsed = PowerDialSetting.safeParse(opts.power);
|
|
93
|
+
if (!parsed.success) {
|
|
94
|
+
throw new Error('--power must be one of auto, low, medium, high');
|
|
95
|
+
}
|
|
96
|
+
power = parsed.data;
|
|
97
|
+
}
|
|
98
|
+
const tournamentProvided = opts.tournament !== undefined;
|
|
99
|
+
const tournament = tournamentProvided;
|
|
100
|
+
let tournamentN;
|
|
101
|
+
if (typeof opts.tournament === 'string') {
|
|
102
|
+
const parsed = Number(opts.tournament);
|
|
103
|
+
if (!Number.isInteger(parsed) || !TournamentN.safeParse(parsed).success) {
|
|
104
|
+
throw new Error('Tournament N must be between 2 and 4');
|
|
105
|
+
}
|
|
106
|
+
tournamentN = parsed;
|
|
107
|
+
}
|
|
108
|
+
const autonomousProvided = opts.autonomous === true;
|
|
109
|
+
const autonomous = opts.autonomous === true;
|
|
110
|
+
if (opts.flowRoot !== undefined && opts.flowRoot.length === 0) {
|
|
111
|
+
throw new Error('--flow-root requires a non-empty value');
|
|
112
|
+
}
|
|
113
|
+
if (opts.progress !== undefined && opts.progress !== 'jsonl') {
|
|
114
|
+
throw new Error("--progress only supports 'jsonl'");
|
|
115
|
+
}
|
|
116
|
+
const goal = opts.goal;
|
|
117
|
+
const why = opts.why;
|
|
118
|
+
if (why !== undefined && why.length === 0) {
|
|
119
|
+
throw new Error('--why must be non-empty when provided');
|
|
120
|
+
}
|
|
121
|
+
const runFolder = opts.runFolder;
|
|
122
|
+
const fixturePath = opts.fixture;
|
|
123
|
+
const flowRoot = opts.flowRoot;
|
|
124
|
+
const checkpointChoice = opts.checkpointChoice;
|
|
125
|
+
const progress = opts.progress === 'jsonl' ? 'jsonl' : undefined;
|
|
126
|
+
const includeUntrackedContent = opts.includeUntrackedContent === true;
|
|
127
|
+
const reuseChildrenFrom = opts.reuseChildrenFrom;
|
|
128
|
+
if (reuseChildrenFrom !== undefined && reuseChildrenFrom.length === 0) {
|
|
129
|
+
throw new Error('--reuse-children-from requires a non-empty path');
|
|
130
|
+
}
|
|
131
|
+
if (command === 'resume' || checkpointChoice !== undefined) {
|
|
132
|
+
if (command !== 'resume') {
|
|
133
|
+
throw new Error('checkpoint resume must use the `resume` subcommand');
|
|
134
|
+
}
|
|
135
|
+
// Collect every missing required flag so the operator can supply them all at
|
|
136
|
+
// once. Throwing on the first missing flag forced a supply-one, rerun,
|
|
137
|
+
// supply-the-next loop; both flags are listed together on the run's
|
|
138
|
+
// checkpoints entry, so name both together here too.
|
|
139
|
+
const missingResumeFlags = [];
|
|
140
|
+
if (runFolder === undefined)
|
|
141
|
+
missingResumeFlags.push('--run-folder');
|
|
142
|
+
if (checkpointChoice === undefined || checkpointChoice.length === 0) {
|
|
143
|
+
missingResumeFlags.push('--checkpoint-choice');
|
|
144
|
+
}
|
|
145
|
+
if (missingResumeFlags.length > 0) {
|
|
146
|
+
throw new Error(`checkpoint resume requires ${missingResumeFlags.join(' and ')}. Run \`circuit checkpoints\` to see the run folder and its checkpoint choices.`);
|
|
147
|
+
}
|
|
148
|
+
if (flowName !== undefined) {
|
|
149
|
+
throw new Error('checkpoint resume loads the saved flow manifest; omit flow-name');
|
|
150
|
+
}
|
|
151
|
+
if (goal !== undefined) {
|
|
152
|
+
throw new Error('checkpoint resume reuses the saved run goal; omit --goal');
|
|
153
|
+
}
|
|
154
|
+
if (why !== undefined) {
|
|
155
|
+
throw new Error('checkpoint resume reuses the saved run goal; omit --why');
|
|
156
|
+
}
|
|
157
|
+
if (fixturePath !== undefined) {
|
|
158
|
+
throw new Error('checkpoint resume loads the saved flow manifest; omit --fixture');
|
|
159
|
+
}
|
|
160
|
+
if (flowRoot !== undefined) {
|
|
161
|
+
throw new Error('checkpoint resume loads the saved flow manifest; omit --flow-root');
|
|
162
|
+
}
|
|
163
|
+
if (processProvided || tournamentProvided || autonomousProvided) {
|
|
164
|
+
throw new Error('checkpoint resume reuses the saved run axes; omit --process/--tournament/--autonomous');
|
|
165
|
+
}
|
|
166
|
+
if (powerProvided) {
|
|
167
|
+
// The dial is config, not a saved axis: a resumed run re-discovers its
|
|
168
|
+
// config layers from disk, so changing the dial mid-run goes through
|
|
169
|
+
// config, not a flag the manifest never recorded.
|
|
170
|
+
throw new Error('checkpoint resume re-reads power from config; omit --power');
|
|
171
|
+
}
|
|
172
|
+
if (includeUntrackedContent) {
|
|
173
|
+
throw new Error('checkpoint resume reuses the saved evidence policy; omit --include-untracked-content');
|
|
174
|
+
}
|
|
175
|
+
if (reuseChildrenFrom !== undefined) {
|
|
176
|
+
throw new Error('checkpoint resume continues this run in place; --reuse-children-from starts a fresh run that reuses children from a dead run folder, so omit it on resume');
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
else {
|
|
180
|
+
// Launch-path mirror of the resume branch above: collect every missing
|
|
181
|
+
// requirement into one message, so a bare `circuit run` does not reveal
|
|
182
|
+
// the flow-name requirement only after --goal is supplied.
|
|
183
|
+
const missingRunInputs = [];
|
|
184
|
+
const runRemedies = [];
|
|
185
|
+
if (flowName === undefined) {
|
|
186
|
+
missingRunInputs.push('a flow name');
|
|
187
|
+
runRemedies.push(`pass one of ${publicFlowNameOffer()} as the first argument`);
|
|
188
|
+
}
|
|
189
|
+
if (goal === undefined || goal.length === 0) {
|
|
190
|
+
missingRunInputs.push('--goal');
|
|
191
|
+
runRemedies.push('state the goal with a non-empty --goal');
|
|
192
|
+
}
|
|
193
|
+
if (missingRunInputs.length > 0) {
|
|
194
|
+
throw new Error(`${missingRunInputs.join(' and ')} ${missingRunInputs.length > 1 ? 'are' : 'is'} required: ${runRemedies.join(' and ')}`);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
const axes = Axes.parse({
|
|
198
|
+
...(depth === undefined ? {} : { depth }),
|
|
199
|
+
tournament,
|
|
200
|
+
...(tournamentN === undefined ? {} : { tournament_n: tournamentN }),
|
|
201
|
+
autonomous,
|
|
202
|
+
});
|
|
203
|
+
const result = {
|
|
204
|
+
command,
|
|
205
|
+
axes,
|
|
206
|
+
powerProvided,
|
|
207
|
+
processProvided,
|
|
208
|
+
tournamentProvided,
|
|
209
|
+
autonomousProvided,
|
|
210
|
+
includeUntrackedContent,
|
|
211
|
+
};
|
|
212
|
+
if (goal !== undefined)
|
|
213
|
+
result.goal = goal;
|
|
214
|
+
if (why !== undefined)
|
|
215
|
+
result.why = why;
|
|
216
|
+
if (power !== undefined)
|
|
217
|
+
result.power = power;
|
|
218
|
+
if (flowName !== undefined)
|
|
219
|
+
result.flowName = flowName;
|
|
220
|
+
if (runFolder !== undefined)
|
|
221
|
+
result.runFolder = runFolder;
|
|
222
|
+
if (fixturePath !== undefined)
|
|
223
|
+
result.fixturePath = fixturePath;
|
|
224
|
+
if (flowRoot !== undefined)
|
|
225
|
+
result.flowRoot = flowRoot;
|
|
226
|
+
if (checkpointChoice !== undefined)
|
|
227
|
+
result.checkpointChoice = checkpointChoice;
|
|
228
|
+
if (progress !== undefined)
|
|
229
|
+
result.progress = progress;
|
|
230
|
+
if (reuseChildrenFrom !== undefined)
|
|
231
|
+
result.reuseChildrenFrom = reuseChildrenFrom;
|
|
232
|
+
return result;
|
|
233
|
+
}
|
|
234
|
+
function progressReporter(enabled) {
|
|
235
|
+
if (!enabled)
|
|
236
|
+
return undefined;
|
|
237
|
+
return (event) => {
|
|
238
|
+
const parsed = ProgressEvent.parse(event);
|
|
239
|
+
process.stderr.write(`${JSON.stringify(parsed)}\n`);
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
function routeSelectedStatusText(flowId, entryModeName) {
|
|
243
|
+
return entryModeName === undefined
|
|
244
|
+
? `Chose ${flowId}.`
|
|
245
|
+
: `Chose ${flowId} with ${entryModeName} thoroughness.`;
|
|
246
|
+
}
|
|
247
|
+
function resolveCompiledFlowRoute(args) {
|
|
248
|
+
if (args.flowName !== undefined) {
|
|
249
|
+
return {
|
|
250
|
+
flowName: args.flowName,
|
|
251
|
+
source: 'explicit',
|
|
252
|
+
reason: 'explicit flow positional argument',
|
|
253
|
+
};
|
|
254
|
+
}
|
|
255
|
+
// Routing is model-only: the host or operator names the flow. There is no
|
|
256
|
+
// deterministic classifier to guess one from the goal text. Defensive:
|
|
257
|
+
// parseExecutionArgs already rejects a missing flow name on the CLI path,
|
|
258
|
+
// and both messages derive the offer from the catalog's visibility.
|
|
259
|
+
throw new Error(`a flow name is required: pass one of ${publicFlowNameOffer()} as the first argument`);
|
|
260
|
+
}
|
|
261
|
+
function hasExplicitAxes(args) {
|
|
262
|
+
return args.processProvided || args.tournamentProvided || args.autonomousProvided;
|
|
263
|
+
}
|
|
264
|
+
// Path A: the power dial word derives process thoroughness when --process is
|
|
265
|
+
// absent. auto has no fixed tier of its own, so it derives medium — the same
|
|
266
|
+
// default-on tier the dial resolves to elsewhere when auto has no inference.
|
|
267
|
+
// Exported for characterization (cli-process-derivation.test.ts), same
|
|
268
|
+
// pattern as exitCodeForClosedOutcome below.
|
|
269
|
+
export function deriveProcessFromPower(setting) {
|
|
270
|
+
return setting.kind === 'fixed' ? setting.value : 'medium';
|
|
271
|
+
}
|
|
272
|
+
// A derived process is never a usage error: it clamps to the flow's allowed
|
|
273
|
+
// set (floor below the lowest allowed value, ceiling above the highest).
|
|
274
|
+
// Every flow allows medium, so a pinned single-value set (Review, Pursue)
|
|
275
|
+
// clamps any derived tier to that one value. Exported for characterization
|
|
276
|
+
// (cli-process-derivation.test.ts).
|
|
277
|
+
export function clampDerivedDepthToFlow(derived, allowedDepths) {
|
|
278
|
+
if (allowedDepths.includes(derived))
|
|
279
|
+
return derived;
|
|
280
|
+
const order = Process.options;
|
|
281
|
+
const derivedIndex = order.indexOf(derived);
|
|
282
|
+
const allowedIndices = allowedDepths.map((candidate) => order.indexOf(candidate));
|
|
283
|
+
const minAllowed = Math.min(...allowedIndices);
|
|
284
|
+
const maxAllowed = Math.max(...allowedIndices);
|
|
285
|
+
const clampedIndex = Math.min(Math.max(derivedIndex, minAllowed), maxAllowed);
|
|
286
|
+
const clamped = order[clampedIndex];
|
|
287
|
+
if (clamped === undefined) {
|
|
288
|
+
throw new Error(`internal error: unable to clamp process '${derived}' to allowed set`);
|
|
289
|
+
}
|
|
290
|
+
return clamped;
|
|
291
|
+
}
|
|
292
|
+
function axisSelectionNameForAxes(axes) {
|
|
293
|
+
if (axes.autonomous)
|
|
294
|
+
return 'autonomous';
|
|
295
|
+
if (axes.tournament)
|
|
296
|
+
return 'tournament';
|
|
297
|
+
if (axes.depth === 'low' || axes.depth === 'high')
|
|
298
|
+
return axes.depth;
|
|
299
|
+
return 'default';
|
|
300
|
+
}
|
|
301
|
+
function runtimeDepthForAxes(axes) {
|
|
302
|
+
if (axes.autonomous)
|
|
303
|
+
return 'autonomous';
|
|
304
|
+
if (axes.tournament)
|
|
305
|
+
return 'tournament';
|
|
306
|
+
return axes.depth;
|
|
307
|
+
}
|
|
308
|
+
// Entry mode (thoroughness) names the run's tier on the operator surface. It
|
|
309
|
+
// comes from the axis flags (--process/--tournament/--autonomous) or — when
|
|
310
|
+
// only --power was given — from the tier the dial derived, never from goal
|
|
311
|
+
// text. A derived tier is named only when it lands off the flow default, so
|
|
312
|
+
// a bare run keeps the plain "Chose <flow>." line. finalAxes must be the
|
|
313
|
+
// post-derivation, post-clamp axes. Exported for characterization
|
|
314
|
+
// (cli-process-derivation.test.ts).
|
|
315
|
+
export function resolveEntryModeSelection(args, finalAxes) {
|
|
316
|
+
if (hasExplicitAxes(args)) {
|
|
317
|
+
return {
|
|
318
|
+
entryModeName: axisSelectionNameForAxes(args.axes),
|
|
319
|
+
source: 'explicit',
|
|
320
|
+
reason: 'explicit axis flags',
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
if (args.power !== undefined) {
|
|
324
|
+
const entryModeName = axisSelectionNameForAxes(finalAxes);
|
|
325
|
+
if (entryModeName !== 'default') {
|
|
326
|
+
return { entryModeName, source: 'derived', reason: 'derived from the power dial' };
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
return {};
|
|
330
|
+
}
|
|
331
|
+
function progressSurfaceForFlowId(flowId) {
|
|
332
|
+
return findFlowRuntimeSurfaceById(flowId)?.progress;
|
|
333
|
+
}
|
|
334
|
+
function axisAllowListText(flowId, support) {
|
|
335
|
+
// Operator prose says "process" (the --process dial); "depth" is a retired
|
|
336
|
+
// name (UBIQUITOUS_LANGUAGE.md) that stays internal-only.
|
|
337
|
+
const allowedProcesses = support.allowedDepths.join(', ');
|
|
338
|
+
return `${flowId} allows process: ${allowedProcesses}; tournament: ${support.supportsTournament ? 'yes' : 'no'}; autonomous: ${support.supportsAutonomous ? 'yes' : 'no'}`;
|
|
339
|
+
}
|
|
340
|
+
function validateFlowAxes(input) {
|
|
341
|
+
const axes = input.args.axes;
|
|
342
|
+
const support = axisSupportFromFlow(input);
|
|
343
|
+
const flowId = input.flow.id;
|
|
344
|
+
const allowList = axisAllowListText(flowId, support);
|
|
345
|
+
if (!support.allowedDepths.includes(axes.depth)) {
|
|
346
|
+
throw new Error(`--process ${axes.depth} is not supported by flow '${flowId}'. ${allowList}`);
|
|
347
|
+
}
|
|
348
|
+
if (axes.tournament && !support.supportsTournament) {
|
|
349
|
+
throw new Error(`--tournament is not supported by flow '${flowId}'. ${allowList}`);
|
|
350
|
+
}
|
|
351
|
+
if (axes.autonomous && !support.supportsAutonomous) {
|
|
352
|
+
throw new Error(`--autonomous is not supported by flow '${flowId}'. ${allowList}`);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
// Resolve a dot path (e.g. 'flows.prototype.variant_models') across the
|
|
356
|
+
// layered selection config. The last layer that defines it wins, matching how
|
|
357
|
+
// flow writers read config. Returns undefined when no layer defines the path.
|
|
358
|
+
function readConfigPathFromLayers(layers, dotPath) {
|
|
359
|
+
const segments = dotPath.split('.');
|
|
360
|
+
let resolved;
|
|
361
|
+
for (const layer of layers) {
|
|
362
|
+
let cursor = layer.config;
|
|
363
|
+
for (const segment of segments) {
|
|
364
|
+
if (cursor === null || typeof cursor !== 'object') {
|
|
365
|
+
cursor = undefined;
|
|
366
|
+
break;
|
|
367
|
+
}
|
|
368
|
+
cursor = cursor[segment];
|
|
369
|
+
}
|
|
370
|
+
if (cursor !== undefined)
|
|
371
|
+
resolved = cursor;
|
|
372
|
+
}
|
|
373
|
+
return resolved;
|
|
374
|
+
}
|
|
375
|
+
// Reject up-front when an active axis needs config the operator has not
|
|
376
|
+
// supplied. This runs before any worker, so a missing prerequisite fails like
|
|
377
|
+
// an unsupported axis (exit 2, no run folder) instead of aborting mid-run.
|
|
378
|
+
function validateFlowConfigRequirements(input) {
|
|
379
|
+
const requirements = input.flow.required_config;
|
|
380
|
+
if (requirements === undefined)
|
|
381
|
+
return;
|
|
382
|
+
for (const requirement of requirements) {
|
|
383
|
+
const axisActive = requirement.axis === 'tournament' ? input.axes.tournament : input.axes.autonomous;
|
|
384
|
+
if (!axisActive)
|
|
385
|
+
continue;
|
|
386
|
+
if (readConfigPathFromLayers(input.selectionConfigLayers, requirement.path) === undefined) {
|
|
387
|
+
throw new Error(requirement.message);
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
function assertFixtureMatchesRoute(flow, route) {
|
|
392
|
+
const flowId = flow.id;
|
|
393
|
+
if (flowId !== route.flowName) {
|
|
394
|
+
throw new Error(`flow fixture id mismatch: selected flow '${route.flowName}' but fixture declares '${flowId}'`);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
function selectedEntryModeName(_flow, entryModeSelection) {
|
|
398
|
+
return entryModeSelection.entryModeName ?? 'default';
|
|
399
|
+
}
|
|
400
|
+
// args.axes.depth always carries the run's final process word by the time
|
|
401
|
+
// this runs, whether from an explicit --process or the power-derived,
|
|
402
|
+
// flow-clamped value resolved earlier in runExecutionCommand — so this reads
|
|
403
|
+
// it directly rather than falling back to the flow's own default.
|
|
404
|
+
function selectedDepth(_flow, args, _entryModeSelection) {
|
|
405
|
+
return runtimeDepthForAxes(args.axes);
|
|
406
|
+
}
|
|
407
|
+
function classifyRuntimeSupport(input) {
|
|
408
|
+
const flowId = input.flow.id;
|
|
409
|
+
const entryModeName = selectedEntryModeName(input.flow, input.entryModeSelection);
|
|
410
|
+
const depth = selectedDepth(input.flow, input.args, input.entryModeSelection);
|
|
411
|
+
return {
|
|
412
|
+
kind: 'supported',
|
|
413
|
+
flowId,
|
|
414
|
+
entryModeName,
|
|
415
|
+
depth,
|
|
416
|
+
reason: `runtime supports fresh ${flowId} axis selection '${entryModeName}' at depth '${depth}'`,
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
function runEnvelopeMemoryContext(recall) {
|
|
420
|
+
if (recall === undefined)
|
|
421
|
+
return undefined;
|
|
422
|
+
const report = recall.report;
|
|
423
|
+
return {
|
|
424
|
+
used: report.status === 'used',
|
|
425
|
+
memoryInputIds: report.memory_inputs.map((memory) => memory.memory_id),
|
|
426
|
+
};
|
|
427
|
+
}
|
|
428
|
+
function shouldPrepareHistoryRecall(options) {
|
|
429
|
+
if (options.historyRecall === 'enabled')
|
|
430
|
+
return true;
|
|
431
|
+
if (options.historyRecall === 'disabled')
|
|
432
|
+
return false;
|
|
433
|
+
return (options.relayer === undefined &&
|
|
434
|
+
options.runtimeExecutors === undefined &&
|
|
435
|
+
options.composeWriter === undefined);
|
|
436
|
+
}
|
|
437
|
+
// When resume is pointed at a runtime run folder that cannot be resumed, the
|
|
438
|
+
// internal rejection is project-internal jargon ("runtime checkpoint resume
|
|
439
|
+
// rejected: run has no unresolved checkpoint request"). Answer the operator in
|
|
440
|
+
// plain language keyed on the public run-status projection, and always point at
|
|
441
|
+
// the inspection front door so they have a next step.
|
|
442
|
+
function nonResumableRunMessage(runFolder) {
|
|
443
|
+
const inspect = `Inspect it with: circuit runs show --run-folder ${runFolder} --json`;
|
|
444
|
+
let lead;
|
|
445
|
+
try {
|
|
446
|
+
const status = projectRunStatusFromRunFolder(runFolder);
|
|
447
|
+
switch (status.engine_state) {
|
|
448
|
+
case 'open':
|
|
449
|
+
// Bootstrapped and stepping, but never reached a checkpoint. From a run
|
|
450
|
+
// folder alone we cannot tell "still running elsewhere" from "crashed
|
|
451
|
+
// mid-run", so name both honestly rather than guess.
|
|
452
|
+
lead = `The run at ${runFolder} has no checkpoint to resume: it was interrupted before it reached one, or it is still running elsewhere.`;
|
|
453
|
+
break;
|
|
454
|
+
case 'waiting_checkpoint':
|
|
455
|
+
// Defensive: a genuine checkpoint-waiting folder should have resumed, so
|
|
456
|
+
// reaching here means resume rejected it for another reason. Stay honest.
|
|
457
|
+
lead = `The run at ${runFolder} could not be resumed even though it is waiting at a checkpoint. Something about the saved checkpoint prevented it.`;
|
|
458
|
+
break;
|
|
459
|
+
case 'completed':
|
|
460
|
+
case 'aborted':
|
|
461
|
+
lead = `The run at ${runFolder} already finished (${status.terminal_outcome}), so there is no checkpoint to resume.`;
|
|
462
|
+
break;
|
|
463
|
+
default:
|
|
464
|
+
lead = `The run folder at ${runFolder} is damaged (${status.reason}), so it cannot be resumed.`;
|
|
465
|
+
break;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
catch (err) {
|
|
469
|
+
// Projection itself can throw on a missing or unreadable folder. Keep the
|
|
470
|
+
// operator message honest and still actionable.
|
|
471
|
+
const detail = err instanceof RunStatusFolderError ? `: ${err.message}` : '';
|
|
472
|
+
lead = `The run at ${runFolder} cannot be resumed and its status could not be read${detail}.`;
|
|
473
|
+
}
|
|
474
|
+
return `error: ${lead}\n${inspect}`;
|
|
475
|
+
}
|
|
476
|
+
// The projection is the public answer to "is this run genuinely waiting, and
|
|
477
|
+
// on what choices". Anything that stops it from answering (missing folder,
|
|
478
|
+
// damaged trace) returns undefined here and falls through to the existing
|
|
479
|
+
// honest rejection paths, so forgiveness never masks a real problem.
|
|
480
|
+
function waitingCheckpointStatus(runFolder) {
|
|
481
|
+
try {
|
|
482
|
+
const status = projectRunStatusFromRunFolder(runFolder);
|
|
483
|
+
return status.engine_state === 'waiting_checkpoint' ? status.checkpoint : undefined;
|
|
484
|
+
}
|
|
485
|
+
catch {
|
|
486
|
+
return undefined;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
export async function runResumeCommand(args, options) {
|
|
490
|
+
if (args.command === 'resume' &&
|
|
491
|
+
args.runFolder !== undefined &&
|
|
492
|
+
args.checkpointChoice !== undefined) {
|
|
493
|
+
const candidates = runFolderCandidates(args.runFolder, process.cwd());
|
|
494
|
+
let runFolder = candidates[0] ?? resolve(args.runFolder);
|
|
495
|
+
for (const candidate of candidates) {
|
|
496
|
+
if (await isRuntimeRunFolder(candidate)) {
|
|
497
|
+
runFolder = candidate;
|
|
498
|
+
break;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
const progress = progressReporter(args.progress === 'jsonl');
|
|
502
|
+
const hostKind = runtimeHostKind(options);
|
|
503
|
+
if (await isRuntimeRunFolder(runFolder)) {
|
|
504
|
+
// CLI-boundary forgiveness: when the run is provably waiting, map a
|
|
505
|
+
// label, a different case, or stray whitespace onto the canonical choice
|
|
506
|
+
// id, and answer a real miss with the actual choices. The engine's
|
|
507
|
+
// allow-list stays strict and unchanged.
|
|
508
|
+
let selection = args.checkpointChoice;
|
|
509
|
+
const waiting = waitingCheckpointStatus(runFolder);
|
|
510
|
+
if (waiting !== undefined) {
|
|
511
|
+
const match = matchCheckpointChoice(selection, waiting.choices);
|
|
512
|
+
if (match.kind === 'no_match') {
|
|
513
|
+
process.stderr.write(`${invalidCheckpointChoiceMessage({
|
|
514
|
+
attempted: selection,
|
|
515
|
+
runFolder,
|
|
516
|
+
checkpoint: waiting,
|
|
517
|
+
})}\n`);
|
|
518
|
+
return 2;
|
|
519
|
+
}
|
|
520
|
+
selection = match.id;
|
|
521
|
+
}
|
|
522
|
+
let runtimeResult;
|
|
523
|
+
try {
|
|
524
|
+
runtimeResult = await resumeCompiledFlow({
|
|
525
|
+
runDir: runFolder,
|
|
526
|
+
selection,
|
|
527
|
+
now: options.now ?? (() => new Date()),
|
|
528
|
+
childCompiledFlowResolver: defaultChildCompiledFlowResolver(undefined),
|
|
529
|
+
...(hostKind === undefined ? {} : { hostKind }),
|
|
530
|
+
...(options.runtimeExecutors === undefined
|
|
531
|
+
? {}
|
|
532
|
+
: { executors: options.runtimeExecutors }),
|
|
533
|
+
...(options.relayer === undefined ? {} : { relayer: options.relayer }),
|
|
534
|
+
...(progress === undefined ? {} : { progress }),
|
|
535
|
+
progressSurfaceForFlowId,
|
|
536
|
+
});
|
|
537
|
+
}
|
|
538
|
+
catch {
|
|
539
|
+
// The folder is a runtime run folder but resume could not proceed: it
|
|
540
|
+
// was interrupted before reaching a checkpoint, already finished, or the
|
|
541
|
+
// saved checkpoint is damaged. The internal rejection is project-internal
|
|
542
|
+
// jargon; answer the operator honestly from the public run-status
|
|
543
|
+
// projection and point at the inspection front door instead.
|
|
544
|
+
process.stderr.write(`${nonResumableRunMessage(runFolder)}\n`);
|
|
545
|
+
return 2;
|
|
546
|
+
}
|
|
547
|
+
const runResult = RunResult.parse(JSON.parse(readFileSync(runtimeResult.resultPath, 'utf8')));
|
|
548
|
+
const priorRoute = readPriorRoute(runFolder);
|
|
549
|
+
const postRunArtifactWarnings = [];
|
|
550
|
+
const postRunArtifactContext = {
|
|
551
|
+
progressJsonl: args.progress === 'jsonl',
|
|
552
|
+
warnings: postRunArtifactWarnings,
|
|
553
|
+
};
|
|
554
|
+
const recordedAt = (options.now ?? (() => new Date()))().toISOString();
|
|
555
|
+
const selectedProcess = selectedProcessFields({
|
|
556
|
+
processId: runResult.flow_id,
|
|
557
|
+
...(priorRoute.routedBy === undefined ? {} : { routedBy: priorRoute.routedBy }),
|
|
558
|
+
routerReason: priorRoute.routerReason ?? 'checkpoint resume',
|
|
559
|
+
});
|
|
560
|
+
const { operatorSummary, runEnvelope } = emitPostRunArtifacts({
|
|
561
|
+
context: postRunArtifactContext,
|
|
562
|
+
runFolder,
|
|
563
|
+
operatorIntent: runResult.goal,
|
|
564
|
+
recordedAt,
|
|
565
|
+
selectedProcess,
|
|
566
|
+
child: {
|
|
567
|
+
kind: 'closed',
|
|
568
|
+
runResult,
|
|
569
|
+
resultPath: runtimeResult.resultPath,
|
|
570
|
+
},
|
|
571
|
+
writeOperatorSummary: () => writeOperatorSummary({
|
|
572
|
+
runFolder,
|
|
573
|
+
runResult,
|
|
574
|
+
route: {
|
|
575
|
+
selectedFlow: runResult.flow_id,
|
|
576
|
+
...(priorRoute.routedBy === undefined ? {} : { routedBy: priorRoute.routedBy }),
|
|
577
|
+
...(priorRoute.routerReason === undefined
|
|
578
|
+
? {}
|
|
579
|
+
: { routerReason: priorRoute.routerReason }),
|
|
580
|
+
},
|
|
581
|
+
}),
|
|
582
|
+
buildProcessEvidenceProjection: () => projectClosedProcessEvidence({
|
|
583
|
+
runFolder,
|
|
584
|
+
runResult,
|
|
585
|
+
resultPath: runtimeResult.resultPath,
|
|
586
|
+
}),
|
|
587
|
+
// Resume reuses the saved run; it records no fresh memory context.
|
|
588
|
+
memoryContext: undefined,
|
|
589
|
+
});
|
|
590
|
+
const resumeRuntimeFields = showRuntimeDecision()
|
|
591
|
+
? {
|
|
592
|
+
runtime_reason: RUNTIME_POLICY_REASONS.checkpointResume,
|
|
593
|
+
}
|
|
594
|
+
: {};
|
|
595
|
+
process.stdout.write(`${JSON.stringify(composeRunStdoutEnvelope({
|
|
596
|
+
runId: runResult.run_id,
|
|
597
|
+
flowId: runResult.flow_id,
|
|
598
|
+
// Resume reuses the saved run's route and axes, so the envelope
|
|
599
|
+
// carries no resolved_axes or route facets.
|
|
600
|
+
resolvedAxes: undefined,
|
|
601
|
+
route: undefined,
|
|
602
|
+
runFolder,
|
|
603
|
+
outcome: runResult.outcome,
|
|
604
|
+
reason: runResult.reason,
|
|
605
|
+
traceEntriesObserved: runResult.trace_entries_observed,
|
|
606
|
+
resultPath: runtimeResult.resultPath,
|
|
607
|
+
runtimeFields: resumeRuntimeFields,
|
|
608
|
+
historyRecallReport: undefined,
|
|
609
|
+
postRunArtifactWarnings,
|
|
610
|
+
operatorSummary,
|
|
611
|
+
runEnvelope,
|
|
612
|
+
autonomousLoop: undefined,
|
|
613
|
+
}), null, 2)}\n`);
|
|
614
|
+
if (ttyNoticesEnabled({ stream: process.stderr, progressJsonl: args.progress === 'jsonl' })) {
|
|
615
|
+
process.stderr.write(runFinishedNotice({ outcome: runResult.outcome, runFolder }));
|
|
616
|
+
}
|
|
617
|
+
// Resume never runs the autonomous loop, but the resumed run's envelope can
|
|
618
|
+
// still re-derive needs_attention (missing declared evidence), so honor it.
|
|
619
|
+
return exitCodeForRun({
|
|
620
|
+
outcome: runResult.outcome,
|
|
621
|
+
envelopeOutcome: runEnvelope?.record.outcome,
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
process.stderr.write(`${missingRunFolderMessage({ resolved: runFolder, exists: existsSync(runFolder) })}\n`);
|
|
625
|
+
return 2;
|
|
626
|
+
}
|
|
627
|
+
// Defensive fallback: parseExecutionArgs guarantees a resume command carries a
|
|
628
|
+
// run folder and checkpoint choice, so this delegation is unreachable in
|
|
629
|
+
// practice. It preserves the original control flow, where a malformed resume
|
|
630
|
+
// fell through to the execution path's goal-undefined guard.
|
|
631
|
+
return runExecutionCommand(args, options);
|
|
632
|
+
}
|
|
633
|
+
// The process exit code mirrors the closed outcome so scripts and agents
|
|
634
|
+
// wrapping the CLI can read the ending without parsing the envelope. The
|
|
635
|
+
// contract is grep-shaped: 0 means "you got the completed goal" (or the run
|
|
636
|
+
// is parked at a checkpoint waiting for you — reaching the decision point is
|
|
637
|
+
// the command succeeding), 1 means "the run closed short of complete"
|
|
638
|
+
// (aborted, stopped, escalated, handoff — a `&&` chain must never proceed on
|
|
639
|
+
// any of them), 2 stays usage errors. Deliberate closes share exit 1 with
|
|
640
|
+
// aborts on purpose: the exit code answers "did the work complete", and the
|
|
641
|
+
// envelope's outcome field carries the distinction for callers who need it.
|
|
642
|
+
// The Claude launcher renders deliberate closes without the failure line
|
|
643
|
+
// while propagating the exit (plugins/claude/scripts/circuit.ts).
|
|
644
|
+
// Exported for characterization (run-exit-codes.test.ts): the switch is
|
|
645
|
+
// exhaustive over RunClosedOutcome, so a new close outcome fails compile
|
|
646
|
+
// here and forces a deliberate exit-code decision instead of inheriting one.
|
|
647
|
+
export function exitCodeForClosedOutcome(outcome) {
|
|
648
|
+
switch (outcome) {
|
|
649
|
+
case 'complete':
|
|
650
|
+
return 0;
|
|
651
|
+
case 'aborted':
|
|
652
|
+
case 'stopped':
|
|
653
|
+
case 'escalated':
|
|
654
|
+
case 'handoff':
|
|
655
|
+
return 1;
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
// The exit code answers "did the work end in a good state?", which is richer
|
|
659
|
+
// than the closed outcome alone. Two independent signals can contradict a
|
|
660
|
+
// `complete` close, and the CLI must not report success over the run's own
|
|
661
|
+
// honest verdict:
|
|
662
|
+
// 1. The run envelope re-derives `needs_attention` when a `complete` run is
|
|
663
|
+
// missing a declared evidence path (missingRunEvidence). So a run can close
|
|
664
|
+
// `complete` (exit 0 by outcome) while its own envelope says otherwise.
|
|
665
|
+
// 2. When an autonomous continuation loop ran, the loop — not the primary
|
|
666
|
+
// attempt — owns the completion decision (it may have recovered a primary
|
|
667
|
+
// that closed needing attention, or exhausted one that closed complete).
|
|
668
|
+
// H1 fixes the specific Fix-degrades-to-`partial` case at the outcome level via
|
|
669
|
+
// the terminal-outcome bind; this is the general envelope-level floor for it.
|
|
670
|
+
export function exitCodeForRun(input) {
|
|
671
|
+
// A loop that ran is authoritative: its final verdict supersedes the primary
|
|
672
|
+
// attempt's closed outcome.
|
|
673
|
+
if (input.autonomousLoopOutcome !== undefined) {
|
|
674
|
+
return input.autonomousLoopOutcome === 'complete' ? 0 : 1;
|
|
675
|
+
}
|
|
676
|
+
const base = exitCodeForClosedOutcome(input.outcome);
|
|
677
|
+
if (base !== 0)
|
|
678
|
+
return base;
|
|
679
|
+
// The run closed `complete`. Honor the envelope's independently re-derived
|
|
680
|
+
// outcome: anything short of `complete` must not report success.
|
|
681
|
+
if (input.envelopeOutcome !== undefined && input.envelopeOutcome !== 'complete') {
|
|
682
|
+
return 1;
|
|
683
|
+
}
|
|
684
|
+
return 0;
|
|
685
|
+
}
|
|
686
|
+
// Lists the flows an operator can actually name, from the same root the run
|
|
687
|
+
// path loads them from. Internal flows ship no host surface, so they stay out
|
|
688
|
+
// of the offer. Best-effort: an unreadable root just drops the listing.
|
|
689
|
+
// A root with no flows at all means the operator is running from a directory
|
|
690
|
+
// that is not a circuit checkout, so the message names where the CLI looked
|
|
691
|
+
// and how to point it somewhere real instead of offering an empty list.
|
|
692
|
+
function unknownFlowMessage(flowName, flowRoot) {
|
|
693
|
+
// Mirror resolveCompiledFlowPath's default so the message names the
|
|
694
|
+
// directory the loader actually searched (package fallback included).
|
|
695
|
+
const root = flowRoot !== undefined ? resolve(flowRoot) : defaultFlowRoot();
|
|
696
|
+
let available = [];
|
|
697
|
+
try {
|
|
698
|
+
available = readdirSync(root, { withFileTypes: true })
|
|
699
|
+
.filter((entry) => entry.isDirectory() && existsSync(join(root, entry.name, 'circuit.json')))
|
|
700
|
+
.map((entry) => entry.name)
|
|
701
|
+
.filter((name) => !INTERNAL_FLOW_IDS.has(name))
|
|
702
|
+
.sort();
|
|
703
|
+
}
|
|
704
|
+
catch {
|
|
705
|
+
available = [];
|
|
706
|
+
}
|
|
707
|
+
if (available.length === 0) {
|
|
708
|
+
return [
|
|
709
|
+
`error: no flow named '${flowName}' is installed.`,
|
|
710
|
+
`No flows were found under ${root}.`,
|
|
711
|
+
'Run circuit from the circuit checkout, or pass --flow-root <circuit checkout>/generated/flows.',
|
|
712
|
+
].join('\n');
|
|
713
|
+
}
|
|
714
|
+
return `error: no flow named '${flowName}' is installed.\nAvailable flows: ${available.join(', ')}`;
|
|
715
|
+
}
|
|
716
|
+
export async function runExecutionCommand(args, options) {
|
|
717
|
+
if (args.goal === undefined) {
|
|
718
|
+
throw new Error('internal error: --goal missing outside checkpoint resume mode');
|
|
719
|
+
}
|
|
720
|
+
const operatorGoal = args.goal;
|
|
721
|
+
let route;
|
|
722
|
+
try {
|
|
723
|
+
route = resolveCompiledFlowRoute(args);
|
|
724
|
+
}
|
|
725
|
+
catch (err) {
|
|
726
|
+
process.stderr.write(`error: ${err.message}\n`);
|
|
727
|
+
return 2;
|
|
728
|
+
}
|
|
729
|
+
// Path A: config discovery moves ahead of fixture/axis resolution because an
|
|
730
|
+
// absent --process derives its value from the resolved power dial (config
|
|
731
|
+
// layers + --power), and that derived value must be known before the
|
|
732
|
+
// fixture/mode is selected below.
|
|
733
|
+
const runtimeConfigLayers = discoverRuntimeConfigLayers({
|
|
734
|
+
...(options.configHomeDir !== undefined ? { homeDir: options.configHomeDir } : {}),
|
|
735
|
+
...(options.configCwd !== undefined ? { cwd: options.configCwd } : {}),
|
|
736
|
+
// --power rides the existing invocation config layer, so it composes with
|
|
737
|
+
// (and outranks) a user-global or project `defaults.power` exactly like
|
|
738
|
+
// any other layered config opinion.
|
|
739
|
+
...(args.power === undefined
|
|
740
|
+
? {}
|
|
741
|
+
: {
|
|
742
|
+
invocationConfig: Config.parse({
|
|
743
|
+
schema_version: 1,
|
|
744
|
+
defaults: { power: args.power },
|
|
745
|
+
}),
|
|
746
|
+
}),
|
|
747
|
+
});
|
|
748
|
+
const { policyLayers, selectionConfigLayers } = runtimeConfigLayers;
|
|
749
|
+
// An explicit --process always wins. Absent one, the power dial word derives
|
|
750
|
+
// process thoroughness (auto derives medium); the flow's allowed set clamps
|
|
751
|
+
// it below once the flow itself is loaded.
|
|
752
|
+
let axes = args.axes;
|
|
753
|
+
if (!args.processProvided) {
|
|
754
|
+
axes = Axes.parse({
|
|
755
|
+
...axes,
|
|
756
|
+
depth: deriveProcessFromPower(resolvePowerDialSetting(selectionConfigLayers)),
|
|
757
|
+
});
|
|
758
|
+
}
|
|
759
|
+
const fixtureSelectionName = compiledFlowSelectionNameForAxes(axes);
|
|
760
|
+
const fixturePath = resolveCompiledFlowPath(route.flowName, fixtureSelectionName, args.fixturePath, args.flowRoot);
|
|
761
|
+
// An internal flow (e.g. the frozen `goal`) ships no host surface, so its
|
|
762
|
+
// fixture is absent from a host package's flow root. Reject with a clear
|
|
763
|
+
// message naming it as internal rather than leaking the generic
|
|
764
|
+
// fixture-not-found path (F-L-3). A source/dev checkout that DOES carry the
|
|
765
|
+
// fixture still runs the flow explicitly — the guard only fires when the
|
|
766
|
+
// fixture is missing here.
|
|
767
|
+
if (!existsSync(fixturePath)) {
|
|
768
|
+
if (INTERNAL_FLOW_IDS.has(route.flowName)) {
|
|
769
|
+
process.stderr.write(`error: ${route.flowName} is an internal flow and is not available through the host run surface.\n`);
|
|
770
|
+
return 2;
|
|
771
|
+
}
|
|
772
|
+
// The operator asked for a flow by name, so the answer names flows: an
|
|
773
|
+
// unknown name lists what this install actually has instead of leaking
|
|
774
|
+
// the compiled-flow path on disk (audit finding 5). An explicit
|
|
775
|
+
// --fixture-path override keeps the path-based error below.
|
|
776
|
+
if (args.fixturePath === undefined) {
|
|
777
|
+
process.stderr.write(`${unknownFlowMessage(route.flowName, args.flowRoot)}\n`);
|
|
778
|
+
return 2;
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
const { flow, bytes } = loadCompiledFlow(fixturePath);
|
|
782
|
+
assertFixtureMatchesRoute(flow, route);
|
|
783
|
+
// A derived (non-explicit) process clamps silently to the flow's supported
|
|
784
|
+
// set (floor Prototype to medium, pin Review/Pursue to medium, no-op for
|
|
785
|
+
// the full ladder); an explicit --process outside the set stays a usage
|
|
786
|
+
// error, checked by validateFlowAxes below unchanged.
|
|
787
|
+
if (!args.processProvided) {
|
|
788
|
+
axes = Axes.parse({
|
|
789
|
+
...axes,
|
|
790
|
+
depth: clampDerivedDepthToFlow(axes.depth, flow.axes.allowed_depths),
|
|
791
|
+
});
|
|
792
|
+
}
|
|
793
|
+
// runArgs carries the run's final axes (explicit or power-derived and
|
|
794
|
+
// flow-clamped) through the rest of the run: every downstream read of the
|
|
795
|
+
// axes/depth must see this resolved value, not the pre-derivation args.
|
|
796
|
+
const runArgs = axes === args.axes ? args : { ...args, axes };
|
|
797
|
+
// Resolved after derivation+clamp so a power-derived tier is named on the
|
|
798
|
+
// operator surface (status text, entry_mode fields) like an explicit one.
|
|
799
|
+
const entryModeSelection = resolveEntryModeSelection(args, runArgs.axes);
|
|
800
|
+
try {
|
|
801
|
+
validateFlowAxes({ flow, args: runArgs, route, fixturePath });
|
|
802
|
+
}
|
|
803
|
+
catch (err) {
|
|
804
|
+
process.stderr.write(`error: ${err.message}\n`);
|
|
805
|
+
return 2;
|
|
806
|
+
}
|
|
807
|
+
const runId = RunId.parse(options.runId ?? randomUUID());
|
|
808
|
+
const now = options.now ?? (() => new Date());
|
|
809
|
+
const progress = progressReporter(runArgs.progress === 'jsonl');
|
|
810
|
+
const selectedStatusText = routeSelectedStatusText(flow.id, entryModeSelection.entryModeName);
|
|
811
|
+
progress?.({
|
|
812
|
+
schema_version: 1,
|
|
813
|
+
type: 'route.selected',
|
|
814
|
+
run_id: runId,
|
|
815
|
+
flow_id: flow.id,
|
|
816
|
+
recorded_at: now().toISOString(),
|
|
817
|
+
label: `Selected ${route.flowName}`,
|
|
818
|
+
display: progressDisplay(`Circuit: ${selectedStatusText}`, 'major', 'info'),
|
|
819
|
+
presentation: progressPresentation({ blockId: runId, statusText: selectedStatusText }),
|
|
820
|
+
// These route facets mirror routeOutputFields, but the route.selected event
|
|
821
|
+
// is a typed discriminated-union member (ProgressEvent), not the loosely
|
|
822
|
+
// typed stdout JSON. Spreading a Record<string, unknown> builder here erases
|
|
823
|
+
// the literal property types and breaks the union parse, so the fields stay
|
|
824
|
+
// inline. The shared shape is the selectedProcessFields builder used by the
|
|
825
|
+
// three selected_process literals below.
|
|
826
|
+
selected_flow: flow.id,
|
|
827
|
+
routed_by: route.source,
|
|
828
|
+
router_reason: route.reason,
|
|
829
|
+
...(entryModeSelection.entryModeName === undefined
|
|
830
|
+
? {}
|
|
831
|
+
: { entry_mode: entryModeSelection.entryModeName }),
|
|
832
|
+
...(entryModeSelection.source === undefined
|
|
833
|
+
? {}
|
|
834
|
+
: { entry_mode_source: entryModeSelection.source }),
|
|
835
|
+
});
|
|
836
|
+
const runFolder = runArgs.runFolder === undefined
|
|
837
|
+
? join(runsRoot(process.cwd()), runId)
|
|
838
|
+
: resolve(runArgs.runFolder);
|
|
839
|
+
try {
|
|
840
|
+
validateFlowConfigRequirements({ flow, axes: runArgs.axes, selectionConfigLayers });
|
|
841
|
+
}
|
|
842
|
+
catch (err) {
|
|
843
|
+
process.stderr.write(`error: ${err.message}\n`);
|
|
844
|
+
return 2;
|
|
845
|
+
}
|
|
846
|
+
const hostKind = runtimeHostKind(options);
|
|
847
|
+
const projectRoot = resolve(options.configCwd ?? process.cwd());
|
|
848
|
+
// A3: on Codex, restore needs a one-time hook install (Claude is zero-setup).
|
|
849
|
+
// The front-door run is the only path a not-yet-installed Codex user reliably
|
|
850
|
+
// triggers, so nudge once per repo here. Best-effort: never block a run.
|
|
851
|
+
if (hostKind === 'codex') {
|
|
852
|
+
try {
|
|
853
|
+
const assurance = codexInstallAssurance({ projectRoot, now });
|
|
854
|
+
if (assurance.notice !== undefined)
|
|
855
|
+
process.stderr.write(`${assurance.notice}\n`);
|
|
856
|
+
}
|
|
857
|
+
catch {
|
|
858
|
+
// Assurance is advisory; a failure to detect or persist must not abort.
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
const runtimeSupport = classifyRuntimeSupport({
|
|
862
|
+
flow,
|
|
863
|
+
args: runArgs,
|
|
864
|
+
route,
|
|
865
|
+
entryModeSelection,
|
|
866
|
+
fixturePath,
|
|
867
|
+
});
|
|
868
|
+
const runtimeDecisionDiagnostics = showRuntimeDecision();
|
|
869
|
+
const defaultRuntimeSupport = applyComposeWriterPolicy(applyFixturePolicy(runtimeSupport, {
|
|
870
|
+
args: runArgs,
|
|
871
|
+
fixturePath,
|
|
872
|
+
}), { hasComposeWriter: options.composeWriter !== undefined });
|
|
873
|
+
const routeToRuntime = defaultRuntimeSupport.kind === 'supported';
|
|
874
|
+
const ttyNotices = ttyNoticesEnabled({
|
|
875
|
+
stream: process.stderr,
|
|
876
|
+
progressJsonl: runArgs.progress === 'jsonl',
|
|
877
|
+
});
|
|
878
|
+
if (routeToRuntime) {
|
|
879
|
+
if (ttyNotices) {
|
|
880
|
+
process.stderr.write(runStartedNotice({
|
|
881
|
+
flowName: route.flowName,
|
|
882
|
+
...(entryModeSelection.entryModeName === undefined
|
|
883
|
+
? {}
|
|
884
|
+
: { entryModeName: entryModeSelection.entryModeName }),
|
|
885
|
+
runFolder,
|
|
886
|
+
}));
|
|
887
|
+
}
|
|
888
|
+
const progressSurface = progressSurfaceForFlowId(flow.id);
|
|
889
|
+
const historyRecall = shouldPrepareHistoryRecall(options)
|
|
890
|
+
? prepareRunStartHistoryRecall({
|
|
891
|
+
repoRoot: projectRoot,
|
|
892
|
+
query: operatorGoal,
|
|
893
|
+
flowId: flow.id,
|
|
894
|
+
// Opt-in: rank project facts by query relevance before the gate's
|
|
895
|
+
// budget. Default off keeps the prior store-order behavior.
|
|
896
|
+
rankProjectFacts: process.env.CIRCUIT_RANK_PROJECT_FACTS === '1',
|
|
897
|
+
now,
|
|
898
|
+
})
|
|
899
|
+
: undefined;
|
|
900
|
+
const runtimeResult = await runCompiledFlowWithWaiting({
|
|
901
|
+
flowBytes: bytes,
|
|
902
|
+
compiledFlowPath: fixturePath,
|
|
903
|
+
runDir: runFolder,
|
|
904
|
+
runId,
|
|
905
|
+
goal: operatorGoal,
|
|
906
|
+
...(runArgs.why === undefined ? {} : { why: runArgs.why }),
|
|
907
|
+
now,
|
|
908
|
+
projectRoot,
|
|
909
|
+
childCompiledFlowResolver: defaultChildCompiledFlowResolver(runArgs.flowRoot),
|
|
910
|
+
depth: selectedDepth(flow, runArgs, entryModeSelection),
|
|
911
|
+
axes: runArgs.axes,
|
|
912
|
+
...(entryModeSelection.entryModeName === undefined
|
|
913
|
+
? {}
|
|
914
|
+
: { entryModeName: entryModeSelection.entryModeName }),
|
|
915
|
+
...(options.relayer === undefined ? {} : { relayer: options.relayer }),
|
|
916
|
+
...(options.runtimeExecutors === undefined ? {} : { executors: options.runtimeExecutors }),
|
|
917
|
+
...(hostKind === undefined ? {} : { hostKind }),
|
|
918
|
+
...(selectionConfigLayers.length === 0 ? {} : { selectionConfigLayers }),
|
|
919
|
+
...(policyLayers.length === 0 ? {} : { policyLayers }),
|
|
920
|
+
...(progress === undefined ? {} : { progress }),
|
|
921
|
+
...(progressSurface === undefined ? {} : { progressSurface }),
|
|
922
|
+
...(historyRecall === undefined ? {} : { memoryInputs: historyRecall.report.memory_inputs }),
|
|
923
|
+
...(historyRecall === undefined ? {} : { historyRecallReport: historyRecall.report }),
|
|
924
|
+
...(historyRecall === undefined ? {} : { historyRecallPrecision: historyRecall.precision }),
|
|
925
|
+
...(runArgs.includeUntrackedContent
|
|
926
|
+
? { evidencePolicy: { includeUntrackedFileContent: true } }
|
|
927
|
+
: {}),
|
|
928
|
+
...(runArgs.reuseChildrenFrom === undefined
|
|
929
|
+
? {}
|
|
930
|
+
: { reuseChildrenFrom: resolve(runArgs.reuseChildrenFrom) }),
|
|
931
|
+
});
|
|
932
|
+
if (isGraphCheckpointWaitingResult(runtimeResult)) {
|
|
933
|
+
const waitingResult = {
|
|
934
|
+
schema_version: 1,
|
|
935
|
+
run_id: RunId.parse(runtimeResult.runId),
|
|
936
|
+
flow_id: CompiledFlowId.parse(runtimeResult.flowId),
|
|
937
|
+
goal: operatorGoal,
|
|
938
|
+
outcome: 'checkpoint_waiting',
|
|
939
|
+
summary: `checkpoint '${runtimeResult.checkpoint.stepId}' is waiting for an operator choice.`,
|
|
940
|
+
trace_entries_observed: runtimeResult.traceEntriesObserved,
|
|
941
|
+
manifest_hash: computeManifestHash(bytes),
|
|
942
|
+
checkpoint: {
|
|
943
|
+
step_id: runtimeResult.checkpoint.stepId,
|
|
944
|
+
request_path: runtimeResult.checkpoint.requestPath,
|
|
945
|
+
allowed_choices: runtimeResult.checkpoint.allowedChoices,
|
|
946
|
+
},
|
|
947
|
+
};
|
|
948
|
+
const selectedProcess = selectedProcessFields({
|
|
949
|
+
processId: flow.id,
|
|
950
|
+
routedBy: route.source,
|
|
951
|
+
routerReason: route.reason,
|
|
952
|
+
...(entryModeSelection.entryModeName === undefined
|
|
953
|
+
? {}
|
|
954
|
+
: { entryMode: entryModeSelection.entryModeName }),
|
|
955
|
+
});
|
|
956
|
+
const postRunArtifactWarnings = [];
|
|
957
|
+
const postRunArtifactContext = {
|
|
958
|
+
progressJsonl: runArgs.progress === 'jsonl',
|
|
959
|
+
warnings: postRunArtifactWarnings,
|
|
960
|
+
};
|
|
961
|
+
const recordedAt = now().toISOString();
|
|
962
|
+
const { operatorSummary, runEnvelope } = emitPostRunArtifacts({
|
|
963
|
+
context: postRunArtifactContext,
|
|
964
|
+
runFolder,
|
|
965
|
+
operatorIntent: operatorGoal,
|
|
966
|
+
recordedAt,
|
|
967
|
+
selectedProcess,
|
|
968
|
+
child: {
|
|
969
|
+
kind: 'checkpoint_waiting',
|
|
970
|
+
run_id: waitingResult.run_id,
|
|
971
|
+
flow_id: waitingResult.flow_id,
|
|
972
|
+
trace_entries_observed: waitingResult.trace_entries_observed,
|
|
973
|
+
manifest_hash: waitingResult.manifest_hash,
|
|
974
|
+
checkpoint: {
|
|
975
|
+
step_id: waitingResult.checkpoint.step_id,
|
|
976
|
+
request_path: runtimeResult.checkpoint.requestPath,
|
|
977
|
+
allowed_choices: waitingResult.checkpoint.allowed_choices,
|
|
978
|
+
},
|
|
979
|
+
},
|
|
980
|
+
writeOperatorSummary: () => writeOperatorSummary({
|
|
981
|
+
runFolder,
|
|
982
|
+
runResult: waitingResult,
|
|
983
|
+
route: {
|
|
984
|
+
selectedFlow: route.flowName,
|
|
985
|
+
routedBy: route.source,
|
|
986
|
+
routerReason: route.reason,
|
|
987
|
+
},
|
|
988
|
+
}),
|
|
989
|
+
buildProcessEvidenceProjection: () => projectCheckpointWaitingProcessEvidence({
|
|
990
|
+
runFolder,
|
|
991
|
+
runId: waitingResult.run_id,
|
|
992
|
+
flowId: waitingResult.flow_id,
|
|
993
|
+
traceEntriesObserved: waitingResult.trace_entries_observed,
|
|
994
|
+
manifestHash: waitingResult.manifest_hash,
|
|
995
|
+
checkpoint: {
|
|
996
|
+
stepId: waitingResult.checkpoint.step_id,
|
|
997
|
+
requestPath: runtimeResult.checkpoint.requestPath,
|
|
998
|
+
allowedChoices: waitingResult.checkpoint.allowed_choices,
|
|
999
|
+
},
|
|
1000
|
+
}),
|
|
1001
|
+
memoryContext: runEnvelopeMemoryContext(historyRecall),
|
|
1002
|
+
recallMemoryIndicator: historyRecall?.precision.indicator,
|
|
1003
|
+
});
|
|
1004
|
+
process.stdout.write(`${JSON.stringify({
|
|
1005
|
+
schema_version: 1,
|
|
1006
|
+
run_id: waitingResult.run_id,
|
|
1007
|
+
flow_id: waitingResult.flow_id,
|
|
1008
|
+
...routeOutputFields({
|
|
1009
|
+
selectedFlow: route.flowName,
|
|
1010
|
+
routedBy: route.source,
|
|
1011
|
+
routerReason: route.reason,
|
|
1012
|
+
...(entryModeSelection.entryModeName === undefined
|
|
1013
|
+
? {}
|
|
1014
|
+
: { entryMode: entryModeSelection.entryModeName }),
|
|
1015
|
+
...(entryModeSelection.source === undefined
|
|
1016
|
+
? {}
|
|
1017
|
+
: { entryModeSource: entryModeSelection.source }),
|
|
1018
|
+
}),
|
|
1019
|
+
run_folder: runFolder,
|
|
1020
|
+
outcome: waitingResult.outcome,
|
|
1021
|
+
trace_entries_observed: waitingResult.trace_entries_observed,
|
|
1022
|
+
...runtimeOutputFields({
|
|
1023
|
+
include: runtimeDecisionDiagnostics,
|
|
1024
|
+
decision: defaultRuntimeSupport,
|
|
1025
|
+
}),
|
|
1026
|
+
...(historyRecall === undefined
|
|
1027
|
+
? {}
|
|
1028
|
+
: historyRecallOutputFields({ runFolder, report: historyRecall.report })),
|
|
1029
|
+
...postRunArtifactWarningOutputFields(postRunArtifactWarnings),
|
|
1030
|
+
...(operatorSummary === undefined
|
|
1031
|
+
? {}
|
|
1032
|
+
: operatorSummaryOutputFields({ operatorSummary })),
|
|
1033
|
+
...(runEnvelope === undefined ? {} : runEnvelopeOutputFields({ runEnvelope })),
|
|
1034
|
+
checkpoint: waitingResult.checkpoint,
|
|
1035
|
+
}, null, 2)}\n`);
|
|
1036
|
+
if (ttyNotices) {
|
|
1037
|
+
process.stderr.write(checkpointWaitingNotice({
|
|
1038
|
+
runFolder,
|
|
1039
|
+
choices: waitingResult.checkpoint.allowed_choices,
|
|
1040
|
+
...(operatorSummary?.htmlPath === undefined
|
|
1041
|
+
? {}
|
|
1042
|
+
: { summaryHtmlPath: operatorSummary.htmlPath }),
|
|
1043
|
+
}));
|
|
1044
|
+
}
|
|
1045
|
+
return 0;
|
|
1046
|
+
}
|
|
1047
|
+
const runResult = RunResult.parse(JSON.parse(readFileSync(runtimeResult.resultPath, 'utf8')));
|
|
1048
|
+
const selectedProcess = selectedProcessFields({
|
|
1049
|
+
processId: flow.id,
|
|
1050
|
+
routedBy: route.source,
|
|
1051
|
+
routerReason: route.reason,
|
|
1052
|
+
...(entryModeSelection.entryModeName === undefined
|
|
1053
|
+
? {}
|
|
1054
|
+
: { entryMode: entryModeSelection.entryModeName }),
|
|
1055
|
+
});
|
|
1056
|
+
const postRunArtifactWarnings = [];
|
|
1057
|
+
const postRunArtifactContext = {
|
|
1058
|
+
progressJsonl: runArgs.progress === 'jsonl',
|
|
1059
|
+
warnings: postRunArtifactWarnings,
|
|
1060
|
+
};
|
|
1061
|
+
const recordedAt = now().toISOString();
|
|
1062
|
+
const { operatorSummary, processEvidence, runEnvelope } = emitPostRunArtifacts({
|
|
1063
|
+
context: postRunArtifactContext,
|
|
1064
|
+
runFolder,
|
|
1065
|
+
operatorIntent: operatorGoal,
|
|
1066
|
+
recordedAt,
|
|
1067
|
+
selectedProcess,
|
|
1068
|
+
child: {
|
|
1069
|
+
kind: 'closed',
|
|
1070
|
+
runResult,
|
|
1071
|
+
resultPath: runtimeResult.resultPath,
|
|
1072
|
+
},
|
|
1073
|
+
writeOperatorSummary: () => writeOperatorSummary({
|
|
1074
|
+
runFolder,
|
|
1075
|
+
runResult,
|
|
1076
|
+
route: {
|
|
1077
|
+
selectedFlow: route.flowName,
|
|
1078
|
+
routedBy: route.source,
|
|
1079
|
+
routerReason: route.reason,
|
|
1080
|
+
},
|
|
1081
|
+
}),
|
|
1082
|
+
buildProcessEvidenceProjection: () => projectClosedProcessEvidence({
|
|
1083
|
+
runFolder,
|
|
1084
|
+
runResult,
|
|
1085
|
+
resultPath: runtimeResult.resultPath,
|
|
1086
|
+
}),
|
|
1087
|
+
memoryContext: runEnvelopeMemoryContext(historyRecall),
|
|
1088
|
+
recallMemoryIndicator: historyRecall?.precision.indicator,
|
|
1089
|
+
});
|
|
1090
|
+
// S10: in autonomous mode, drive the continuation loop. Attempt 1 reuses the
|
|
1091
|
+
// primary run above; follow-up attempts run the routed recovery flow for real
|
|
1092
|
+
// in a sub-folder. The loop owns the completion decision and never closes
|
|
1093
|
+
// complete by exhaustion. Failures degrade to the normal single-shot result.
|
|
1094
|
+
let autonomousLoop;
|
|
1095
|
+
if (runArgs.axes.autonomous === true &&
|
|
1096
|
+
processEvidence !== undefined &&
|
|
1097
|
+
runEnvelope !== undefined) {
|
|
1098
|
+
const primaryProjection = processEvidence.projection;
|
|
1099
|
+
const contract = runEnvelope.record.goal_contract;
|
|
1100
|
+
const parentAxes = runArgs.axes;
|
|
1101
|
+
try {
|
|
1102
|
+
autonomousLoop = await runAutonomousContinuation({
|
|
1103
|
+
contract,
|
|
1104
|
+
primaryProcessId: flow.id,
|
|
1105
|
+
runFlow: createRecoveryAttemptRunner({
|
|
1106
|
+
primaryProjection,
|
|
1107
|
+
fixtureSelectionName,
|
|
1108
|
+
flowRoot: runArgs.flowRoot,
|
|
1109
|
+
parentAxes,
|
|
1110
|
+
runFolder,
|
|
1111
|
+
operatorGoal,
|
|
1112
|
+
now,
|
|
1113
|
+
projectRoot,
|
|
1114
|
+
relayer: options.relayer,
|
|
1115
|
+
runtimeExecutors: options.runtimeExecutors,
|
|
1116
|
+
hostKind,
|
|
1117
|
+
selectionConfigLayers,
|
|
1118
|
+
policyLayers,
|
|
1119
|
+
}),
|
|
1120
|
+
});
|
|
1121
|
+
const autonomousLoopPath = join(runFolder, AUTONOMOUS_LOOP_RELATIVE_PATH);
|
|
1122
|
+
mkdirSync(dirname(autonomousLoopPath), { recursive: true });
|
|
1123
|
+
writeFileSync(autonomousLoopPath, `${JSON.stringify(autonomousLoop, null, 2)}\n`);
|
|
1124
|
+
}
|
|
1125
|
+
catch (err) {
|
|
1126
|
+
const message = err instanceof Error ? err.message : String(err);
|
|
1127
|
+
postRunArtifactWarnings.push({ label: 'autonomous-loop', message });
|
|
1128
|
+
if (runArgs.progress !== 'jsonl') {
|
|
1129
|
+
process.stderr.write(`warning: autonomous loop failed: ${message}\n`);
|
|
1130
|
+
}
|
|
1131
|
+
autonomousLoop = undefined;
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
// Record the resolved axes on the envelope so a reader can audit which
|
|
1135
|
+
// depth/tournament/autonomous selection actually ran (F-M-1). entry_mode
|
|
1136
|
+
// collapses the three axes into one name; resolved_axes keeps them explicit.
|
|
1137
|
+
const resolvedAxes = runArgs.axes;
|
|
1138
|
+
process.stdout.write(`${JSON.stringify(composeRunStdoutEnvelope({
|
|
1139
|
+
runId: runResult.run_id,
|
|
1140
|
+
flowId: runResult.flow_id,
|
|
1141
|
+
resolvedAxes,
|
|
1142
|
+
route: {
|
|
1143
|
+
selectedFlow: route.flowName,
|
|
1144
|
+
routedBy: route.source,
|
|
1145
|
+
routerReason: route.reason,
|
|
1146
|
+
...(entryModeSelection.entryModeName === undefined
|
|
1147
|
+
? {}
|
|
1148
|
+
: { entryMode: entryModeSelection.entryModeName }),
|
|
1149
|
+
...(entryModeSelection.source === undefined
|
|
1150
|
+
? {}
|
|
1151
|
+
: { entryModeSource: entryModeSelection.source }),
|
|
1152
|
+
},
|
|
1153
|
+
runFolder,
|
|
1154
|
+
outcome: runResult.outcome,
|
|
1155
|
+
reason: runResult.reason,
|
|
1156
|
+
traceEntriesObserved: runResult.trace_entries_observed,
|
|
1157
|
+
resultPath: runtimeResult.resultPath,
|
|
1158
|
+
runtimeFields: runtimeOutputFields({
|
|
1159
|
+
include: runtimeDecisionDiagnostics,
|
|
1160
|
+
decision: defaultRuntimeSupport,
|
|
1161
|
+
}),
|
|
1162
|
+
historyRecallReport: historyRecall?.report,
|
|
1163
|
+
postRunArtifactWarnings,
|
|
1164
|
+
operatorSummary,
|
|
1165
|
+
runEnvelope,
|
|
1166
|
+
autonomousLoop: autonomousLoop === undefined
|
|
1167
|
+
? undefined
|
|
1168
|
+
: { ...autonomousLoop, path: join(runFolder, AUTONOMOUS_LOOP_RELATIVE_PATH) },
|
|
1169
|
+
}), null, 2)}\n`);
|
|
1170
|
+
if (ttyNotices) {
|
|
1171
|
+
process.stderr.write(runFinishedNotice({ outcome: runResult.outcome, runFolder }));
|
|
1172
|
+
}
|
|
1173
|
+
return exitCodeForRun({
|
|
1174
|
+
outcome: runResult.outcome,
|
|
1175
|
+
envelopeOutcome: runEnvelope?.record.outcome,
|
|
1176
|
+
autonomousLoopOutcome: autonomousLoop?.outcome,
|
|
1177
|
+
});
|
|
1178
|
+
}
|
|
1179
|
+
process.stderr.write(`error: unsupported runtime invocation: ${defaultRuntimeSupport.reason}\n`);
|
|
1180
|
+
return 2;
|
|
1181
|
+
}
|
|
1182
|
+
//# sourceMappingURL=run.js.map
|