sdd-agent-platform 0.3.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +234 -239
- package/{dist/packages/core/src → node_modules/@sdd-agent-platform/core/dist}/ai-tools.d.ts +3 -2
- package/node_modules/@sdd-agent-platform/core/dist/ai-tools.js +464 -0
- package/node_modules/@sdd-agent-platform/core/dist/ai-tools.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/ingestion.d.ts +24 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/ingestion.js +181 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/ingestion.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/sdd-evidence.d.ts +47 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/sdd-evidence.js +241 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/sdd-evidence.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/sdd-result.d.ts +29 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/sdd-result.js +198 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/sdd-result.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/templates.d.ts +10 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/templates.js +79 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/templates.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts.d.ts +4 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts.js +5 -0
- package/node_modules/@sdd-agent-platform/core/dist/artifacts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/coding-facts/contracts.d.ts +71 -0
- package/node_modules/@sdd-agent-platform/core/dist/coding-facts/contracts.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/coding-facts/contracts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/coding-facts.d.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/coding-facts.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/coding-facts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/init-project.d.ts +31 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/init-project.js +89 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/init-project.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/project-config.d.ts +49 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/project-config.js +202 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/project-config.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/project-detection.d.ts +21 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/project-detection.js +111 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/project-detection.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/project-status.d.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/project-status.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/project-status.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/starter-documents.d.ts +4 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/starter-documents.js +441 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/starter-documents.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/budget.d.ts +10 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/budget.js +20 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/budget.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/build-package.d.ts +46 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/build-package.js +244 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/build-package.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/command-summary.d.ts +14 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/command-summary.js +34 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/command-summary.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/evidence-summary.d.ts +50 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/evidence-summary.js +86 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/evidence-summary.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/log-worker.d.ts +19 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/log-worker.js +28 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/log-worker.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/source-refs.d.ts +9 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/source-refs.js +30 -0
- package/node_modules/@sdd-agent-platform/core/dist/context/source-refs.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/context-offload/contracts.d.ts +43 -0
- package/node_modules/@sdd-agent-platform/core/dist/context-offload/contracts.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/context-offload/contracts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/context-offload/runtime.d.ts +36 -0
- package/node_modules/@sdd-agent-platform/core/dist/context-offload/runtime.js +142 -0
- package/node_modules/@sdd-agent-platform/core/dist/context-offload/runtime.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/context-offload.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/context-offload.js +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/context-offload.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/context.d.ts +6 -0
- package/node_modules/@sdd-agent-platform/core/dist/context.js +7 -0
- package/node_modules/@sdd-agent-platform/core/dist/context.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/contracts/issues.d.ts +7 -0
- package/node_modules/@sdd-agent-platform/core/dist/contracts/issues.js +7 -0
- package/node_modules/@sdd-agent-platform/core/dist/contracts/issues.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/contracts.d.ts +110 -0
- package/node_modules/@sdd-agent-platform/core/dist/contracts.js +75 -0
- package/node_modules/@sdd-agent-platform/core/dist/contracts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/model.d.ts +21 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/model.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/model.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/queue.d.ts +10 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/queue.js +47 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/queue.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/run-state.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/run-state.js +13 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/run-state.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/state-machine.d.ts +30 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/state-machine.js +56 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/state-machine.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/validation.d.ts +28 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/validation.js +100 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/validation.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation.d.ts +7 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation.js +6 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/ai-entries.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/ai-entries.js +26 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/ai-entries.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/document-chain.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/document-chain.js +104 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/document-chain.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/local-run-index.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/local-run-index.js +26 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/local-run-index.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/project.d.ts +11 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/project.js +78 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/project.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/registries.d.ts +11 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/registries.js +247 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/registries.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/run-evidence.d.ts +6 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/run-evidence.js +313 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/run-evidence.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/run-records.d.ts +4 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/run-records.js +68 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/run-records.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/run-trust.d.ts +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/run-trust.js +121 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/run-trust.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/runtime-contracts.d.ts +11 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/runtime-contracts.js +279 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/runtime-contracts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/doctor.d.ts +6 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/doctor.js +292 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/doctor.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/model.d.ts +11 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/model.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/model.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/render.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/render.js +44 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/render.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/summary.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/summary.js +10 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor/summary.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor.js +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/doctor.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/evidence/lookup.d.ts +23 -0
- package/node_modules/@sdd-agent-platform/core/dist/evidence/lookup.js +54 -0
- package/node_modules/@sdd-agent-platform/core/dist/evidence/lookup.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/evidence-runtime/contracts.d.ts +44 -0
- package/node_modules/@sdd-agent-platform/core/dist/evidence-runtime/contracts.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/evidence-runtime/contracts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/evidence-runtime.d.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/evidence-runtime.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/evidence-runtime.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/agent-execution-records.d.ts +31 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/agent-execution-records.js +170 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/agent-execution-records.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/background-executor.d.ts +44 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/background-executor.js +249 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/background-executor.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/foreground-subagents.d.ts +55 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/foreground-subagents.js +363 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/foreground-subagents.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/host-invocation.d.ts +27 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/host-invocation.js +185 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/host-invocation.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/resident-worker.d.ts +100 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/resident-worker.js +327 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/resident-worker.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/stage-team-runtime.d.ts +112 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/stage-team-runtime.js +145 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/stage-team-runtime.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/wave-executor.d.ts +45 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/wave-executor.js +178 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution/wave-executor.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution.d.ts +5 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution.js +6 -0
- package/node_modules/@sdd-agent-platform/core/dist/execution.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/governance/policy.d.ts +53 -0
- package/node_modules/@sdd-agent-platform/core/dist/governance/policy.js +111 -0
- package/node_modules/@sdd-agent-platform/core/dist/governance/policy.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/governance.d.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/governance.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/governance.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/index.d.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/index.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/index.js.map +1 -0
- package/{dist/packages/core/src → node_modules/@sdd-agent-platform/core/dist}/instructions.d.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/instructions.js +147 -0
- package/node_modules/@sdd-agent-platform/core/dist/instructions.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/decision-gate.d.ts +39 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/decision-gate.js +319 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/decision-gate.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/rendering.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/rendering.js +27 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/rendering.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/risk-signals.d.ts +57 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/risk-signals.js +80 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/risk-signals.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/ship.d.ts +44 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/ship.js +207 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/ship.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle.d.ts +4 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle.js +5 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/orchestration/contracts.d.ts +45 -0
- package/node_modules/@sdd-agent-platform/core/dist/orchestration/contracts.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/orchestration/contracts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/orchestration/index.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/orchestration/index.js +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/orchestration/index.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/orchestration/runtime.d.ts +55 -0
- package/node_modules/@sdd-agent-platform/core/dist/orchestration/runtime.js +314 -0
- package/node_modules/@sdd-agent-platform/core/dist/orchestration/runtime.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/path-safety.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/planning/task-graph.d.ts +57 -0
- package/node_modules/@sdd-agent-platform/core/dist/planning/task-graph.js +157 -0
- package/node_modules/@sdd-agent-platform/core/dist/planning/task-graph.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/planning/wave-plan.d.ts +37 -0
- package/node_modules/@sdd-agent-platform/core/dist/planning/wave-plan.js +119 -0
- package/node_modules/@sdd-agent-platform/core/dist/planning/wave-plan.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/planning.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/planning.js +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/planning.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-capability-catalog.d.ts +70 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-capability-catalog.js +267 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-capability-catalog.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-registry.d.ts +22 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-registry.js +121 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-registry.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-runtime-static.d.ts +61 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-runtime-static.js +69 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-runtime-static.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/capability-sources.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/capability-sources.js +226 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/capability-sources.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/command-team-runtime.d.ts +70 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/command-team-runtime.js +220 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/command-team-runtime.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/eval-learning-context.d.ts +64 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/eval-learning-context.js +161 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/eval-learning-context.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/query-status.d.ts +28 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/query-status.js +84 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/query-status.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/skill-capabilities.d.ts +22 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/skill-capabilities.js +16 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/skill-capabilities.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/tool-capabilities.d.ts +20 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/tool-capabilities.js +111 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/tool-capabilities.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/tool-plugins.d.ts +21 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/tool-plugins.js +107 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/tool-plugins.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/worker-adapters.d.ts +38 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/worker-adapters.js +99 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/worker-adapters.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/workflow-gates.d.ts +19 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/workflow-gates.js +89 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries/workflow-gates.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries.d.ts +14 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries.js +13 -0
- package/node_modules/@sdd-agent-platform/core/dist/registries.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/consumer-diagnostics.d.ts +18 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/consumer-diagnostics.js +77 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/consumer-diagnostics.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/contracts.d.ts +57 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/contracts.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/contracts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/kernel.d.ts +20 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/kernel.js +195 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/kernel.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/legacy-adapters.d.ts +33 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/legacy-adapters.js +215 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/legacy-adapters.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/workflow-gates.d.ts +24 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/workflow-gates.js +160 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk/workflow-gates.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk.d.ts +5 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk.js +6 -0
- package/node_modules/@sdd-agent-platform/core/dist/risk.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/agent-runtime-config.d.ts +4 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/agent-runtime-config.js +278 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/agent-runtime-config.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/agent-runtime.d.ts +343 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/agent-runtime.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/agent-runtime.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/profile-resolution.d.ts +18 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/profile-resolution.js +127 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/profile-resolution.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/risk-policy.d.ts +6 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/risk-policy.js +28 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/risk-policy.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/route-cache.d.ts +39 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/route-cache.js +59 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/route-cache.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/route-projection.d.ts +14 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/route-projection.js +318 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/route-projection.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/route-sdd-task.d.ts +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/route-sdd-task.js +4 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/route-sdd-task.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/routing-rules.d.ts +4 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/routing-rules.js +68 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/routing-rules.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/routing.d.ts +18 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/routing.js +169 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/routing.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/runtime-inspection.d.ts +7 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/runtime-inspection.js +102 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/runtime-inspection.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/runtime-registry.d.ts +17 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/runtime-registry.js +82 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/runtime-registry.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/runtime-validation.d.ts +26 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/runtime-validation.js +235 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/runtime-validation.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/team-mode.d.ts +16 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/team-mode.js +134 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/team-mode.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router.d.ts +4 -0
- package/node_modules/@sdd-agent-platform/core/dist/router.js +5 -0
- package/node_modules/@sdd-agent-platform/core/dist/router.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/artifacts.d.ts +6 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/artifacts.js +113 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/artifacts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/events.d.ts +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/events.js +23 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/events.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/inspect-run.d.ts +102 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/inspect-run.js +83 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/inspect-run.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/invocation-ledger.d.ts +18 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/invocation-ledger.js +99 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/invocation-ledger.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/model.d.ts +203 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/model.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/model.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/run-index.d.ts +97 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/run-index.js +238 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/run-index.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/run-state.d.ts +20 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/run-state.js +366 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/run-state.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/task-evidence.d.ts +62 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/task-evidence.js +130 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/task-evidence.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state.d.ts +8 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state.js +9 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis/build.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis/build.js +61 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis/build.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis/findings.d.ts +4 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis/findings.js +274 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis/findings.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis/model.d.ts +175 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis/model.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis/model.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis.d.ts +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis.js +4 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-paths.d.ts +35 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-paths.js +142 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-paths.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/context.d.ts +18 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/context.js +89 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/context.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/document-hashes.d.ts +4 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/document-hashes.js +189 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/document-hashes.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/run-binding.d.ts +6 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/run-binding.js +88 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/run-binding.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/task-inspection.d.ts +6 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/task-inspection.js +31 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/task-inspection.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/task-parser.d.ts +98 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/task-parser.js +538 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/task-parser.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/task-rendering.d.ts +5 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/task-rendering.js +77 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/task-rendering.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs.d.ts +5 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs.js +6 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-runtime/contracts.d.ts +37 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-runtime/contracts.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-runtime/contracts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-runtime/runtime.d.ts +71 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-runtime/runtime.js +275 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-runtime/runtime.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-runtime.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-runtime.js +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-runtime.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/status/project-status.d.ts +166 -0
- package/node_modules/@sdd-agent-platform/core/dist/status/project-status.js +439 -0
- package/node_modules/@sdd-agent-platform/core/dist/status/project-status.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/status.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/status.js +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/status.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/storage/json-io.d.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/storage/json-io.js +11 -0
- package/node_modules/@sdd-agent-platform/core/dist/storage/json-io.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/storage/runtime-store.d.ts +305 -0
- package/node_modules/@sdd-agent-platform/core/dist/storage/runtime-store.js +859 -0
- package/node_modules/@sdd-agent-platform/core/dist/storage/runtime-store.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/subagents/contracts.d.ts +41 -0
- package/node_modules/@sdd-agent-platform/core/dist/subagents/contracts.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/subagents/contracts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/subagents/runtime.d.ts +43 -0
- package/node_modules/@sdd-agent-platform/core/dist/subagents/runtime.js +262 -0
- package/node_modules/@sdd-agent-platform/core/dist/subagents/runtime.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/subagents.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/subagents.js +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/subagents.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/sync-back/apply.d.ts +17 -0
- package/node_modules/@sdd-agent-platform/core/dist/sync-back/apply.js +243 -0
- package/node_modules/@sdd-agent-platform/core/dist/sync-back/apply.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/sync-back/inspect.d.ts +110 -0
- package/node_modules/@sdd-agent-platform/core/dist/sync-back/inspect.js +497 -0
- package/node_modules/@sdd-agent-platform/core/dist/sync-back/inspect.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/sync-back.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/sync-back.js +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/sync-back.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/task-risk-profile.d.ts +33 -0
- package/node_modules/@sdd-agent-platform/core/dist/task-risk-profile.js +153 -0
- package/node_modules/@sdd-agent-platform/core/dist/task-risk-profile.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/test-support/fixtures.d.ts +21 -0
- package/node_modules/@sdd-agent-platform/core/dist/test-support/fixtures.js +384 -0
- package/node_modules/@sdd-agent-platform/core/dist/test-support/fixtures.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/test-support/run-state.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/test-support/run-state.js +69 -0
- package/node_modules/@sdd-agent-platform/core/dist/test-support/run-state.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/test-support.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/test-support.js +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/test-support.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/tsconfig.tsbuildinfo +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/goal-verify.d.ts +50 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/goal-verify.js +546 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/goal-verify.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/rendering.d.ts +51 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/rendering.js +129 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/rendering.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/review-gate.d.ts +22 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/review-gate.js +53 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/review-gate.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/single-task-loop.d.ts +29 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/single-task-loop.js +425 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/single-task-loop.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/test-runtime.d.ts +77 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/test-runtime.js +877 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/test-runtime.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/validation-wave.d.ts +58 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/validation-wave.js +428 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/validation-wave.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/verify-contract.d.ts +44 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/verify-contract.js +299 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/verify-contract.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification.d.ts +8 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification.js +8 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/work-units/contracts.d.ts +24 -0
- package/node_modules/@sdd-agent-platform/core/dist/work-units/contracts.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/work-units/contracts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/work-units/runtime.d.ts +21 -0
- package/node_modules/@sdd-agent-platform/core/dist/work-units/runtime.js +90 -0
- package/node_modules/@sdd-agent-platform/core/dist/work-units/runtime.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/work-units.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/work-units.js +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/work-units.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/evidence-packet.d.ts +24 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/evidence-packet.js +182 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/evidence-packet.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/hard-checks.d.ts +4 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/hard-checks.js +130 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/hard-checks.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/policy.d.ts +4 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/policy.js +146 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/policy.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/types.d.ts +89 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/types.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/types.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/affected-file-conflicts.d.ts +13 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/affected-file-conflicts.js +75 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/affected-file-conflicts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/dependencies.d.ts +29 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/dependencies.js +78 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/dependencies.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/latest-eligible-run.d.ts +38 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/latest-eligible-run.js +122 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/latest-eligible-run.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/resolve.d.ts +77 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/resolve.js +253 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/resolve.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state.js +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/worktree/isolation.d.ts +40 -0
- package/node_modules/@sdd-agent-platform/core/dist/worktree/isolation.js +89 -0
- package/node_modules/@sdd-agent-platform/core/dist/worktree/isolation.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/worktree/lifecycle.d.ts +39 -0
- package/node_modules/@sdd-agent-platform/core/dist/worktree/lifecycle.js +221 -0
- package/node_modules/@sdd-agent-platform/core/dist/worktree/lifecycle.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/worktree.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/worktree.js +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/worktree.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/package.json +40 -0
- package/node_modules/@sdd-agent-platform/core/src/ai-tools.test.ts +138 -0
- package/node_modules/@sdd-agent-platform/core/src/ai-tools.ts +577 -0
- package/node_modules/@sdd-agent-platform/core/src/artifacts/ingestion.test.ts +189 -0
- package/node_modules/@sdd-agent-platform/core/src/artifacts/ingestion.ts +222 -0
- package/node_modules/@sdd-agent-platform/core/src/artifacts/sdd-evidence.test.ts +28 -0
- package/node_modules/@sdd-agent-platform/core/src/artifacts/sdd-evidence.ts +302 -0
- package/node_modules/@sdd-agent-platform/core/src/artifacts/sdd-result.test.ts +181 -0
- package/node_modules/@sdd-agent-platform/core/src/artifacts/sdd-result.ts +231 -0
- package/node_modules/@sdd-agent-platform/core/src/artifacts/templates.ts +99 -0
- package/node_modules/@sdd-agent-platform/core/src/artifacts.ts +4 -0
- package/node_modules/@sdd-agent-platform/core/src/coding-facts/contracts.ts +79 -0
- package/node_modules/@sdd-agent-platform/core/src/coding-facts.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/src/config/init-project.test.ts +306 -0
- package/node_modules/@sdd-agent-platform/core/src/config/init-project.ts +120 -0
- package/node_modules/@sdd-agent-platform/core/src/config/project-config.ts +259 -0
- package/node_modules/@sdd-agent-platform/core/src/config/project-detection.ts +147 -0
- package/node_modules/@sdd-agent-platform/core/src/config/project-status.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/src/config/starter-documents.ts +445 -0
- package/node_modules/@sdd-agent-platform/core/src/context/budget.ts +30 -0
- package/node_modules/@sdd-agent-platform/core/src/context/build-package.ts +317 -0
- package/node_modules/@sdd-agent-platform/core/src/context/command-summary.ts +45 -0
- package/node_modules/@sdd-agent-platform/core/src/context/context-build.test.ts +188 -0
- package/node_modules/@sdd-agent-platform/core/src/context/evidence-summary.ts +144 -0
- package/node_modules/@sdd-agent-platform/core/src/context/log-worker.ts +48 -0
- package/node_modules/@sdd-agent-platform/core/src/context/source-refs.ts +41 -0
- package/node_modules/@sdd-agent-platform/core/src/context-offload/contracts.ts +47 -0
- package/node_modules/@sdd-agent-platform/core/src/context-offload/runtime.test.ts +71 -0
- package/node_modules/@sdd-agent-platform/core/src/context-offload/runtime.ts +178 -0
- package/node_modules/@sdd-agent-platform/core/src/context-offload.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/src/context.ts +6 -0
- package/node_modules/@sdd-agent-platform/core/src/contracts/issues.ts +13 -0
- package/node_modules/@sdd-agent-platform/core/src/contracts.test.ts +9 -0
- package/node_modules/@sdd-agent-platform/core/src/contracts.ts +116 -0
- package/node_modules/@sdd-agent-platform/core/src/delegation/delegation.test.ts +183 -0
- package/node_modules/@sdd-agent-platform/core/src/delegation/model.ts +23 -0
- package/node_modules/@sdd-agent-platform/core/src/delegation/queue.ts +58 -0
- package/node_modules/@sdd-agent-platform/core/src/delegation/run-state.ts +14 -0
- package/node_modules/@sdd-agent-platform/core/src/delegation/state-machine.ts +90 -0
- package/node_modules/@sdd-agent-platform/core/src/delegation/validation.ts +124 -0
- package/node_modules/@sdd-agent-platform/core/src/delegation.ts +26 -0
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/ai-entries.ts +28 -0
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/document-chain.ts +112 -0
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/local-run-index.ts +27 -0
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/project.ts +84 -0
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/registries.ts +252 -0
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/run-evidence.ts +330 -0
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/run-records.ts +79 -0
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/run-trust.ts +128 -0
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/runtime-contracts.ts +300 -0
- package/node_modules/@sdd-agent-platform/core/src/doctor/doctor.test.ts +657 -0
- package/node_modules/@sdd-agent-platform/core/src/doctor/doctor.ts +319 -0
- package/node_modules/@sdd-agent-platform/core/src/doctor/model.ts +13 -0
- package/node_modules/@sdd-agent-platform/core/src/doctor/summary.ts +11 -0
- package/node_modules/@sdd-agent-platform/core/src/doctor.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/src/evidence/lookup.ts +80 -0
- package/node_modules/@sdd-agent-platform/core/src/evidence-runtime/contracts.ts +49 -0
- package/node_modules/@sdd-agent-platform/core/src/evidence-runtime.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/src/execution/agent-execution-records.ts +195 -0
- package/node_modules/@sdd-agent-platform/core/src/execution/background-executor.test.ts +187 -0
- package/node_modules/@sdd-agent-platform/core/src/execution/background-executor.ts +305 -0
- package/node_modules/@sdd-agent-platform/core/src/execution/foreground-subagents.test.ts +97 -0
- package/node_modules/@sdd-agent-platform/core/src/execution/foreground-subagents.ts +453 -0
- package/node_modules/@sdd-agent-platform/core/src/execution/host-invocation.ts +225 -0
- package/node_modules/@sdd-agent-platform/core/src/execution/resident-worker.test.ts +132 -0
- package/node_modules/@sdd-agent-platform/core/src/execution/resident-worker.ts +436 -0
- package/node_modules/@sdd-agent-platform/core/src/execution/stage-team-runtime.test.ts +102 -0
- package/node_modules/@sdd-agent-platform/core/src/execution/stage-team-runtime.ts +271 -0
- package/node_modules/@sdd-agent-platform/core/src/execution/wave-executor.test.ts +111 -0
- package/node_modules/@sdd-agent-platform/core/src/execution/wave-executor.ts +231 -0
- package/node_modules/@sdd-agent-platform/core/src/execution.ts +5 -0
- package/node_modules/@sdd-agent-platform/core/src/governance/policy.test.ts +57 -0
- package/node_modules/@sdd-agent-platform/core/src/governance/policy.ts +175 -0
- package/node_modules/@sdd-agent-platform/core/src/governance.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/src/index.test.ts +25 -0
- package/node_modules/@sdd-agent-platform/core/src/index.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/src/instructions.test.ts +49 -0
- package/node_modules/@sdd-agent-platform/core/src/instructions.ts +165 -0
- package/node_modules/@sdd-agent-platform/core/src/lifecycle/decision-gate.test.ts +174 -0
- package/node_modules/@sdd-agent-platform/core/src/lifecycle/decision-gate.ts +373 -0
- package/node_modules/@sdd-agent-platform/core/src/lifecycle/rendering.ts +29 -0
- package/node_modules/@sdd-agent-platform/core/src/lifecycle/risk-signals.ts +146 -0
- package/node_modules/@sdd-agent-platform/core/src/lifecycle/ship.ts +263 -0
- package/node_modules/@sdd-agent-platform/core/src/lifecycle.ts +4 -0
- package/node_modules/@sdd-agent-platform/core/src/orchestration/contracts.ts +50 -0
- package/node_modules/@sdd-agent-platform/core/src/orchestration/index.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/src/orchestration/runtime.ts +342 -0
- package/node_modules/@sdd-agent-platform/core/src/path-safety.test.ts +22 -0
- package/node_modules/@sdd-agent-platform/core/src/path-safety.ts +37 -0
- package/node_modules/@sdd-agent-platform/core/src/phase8-contracts.test.ts +243 -0
- package/node_modules/@sdd-agent-platform/core/src/phase8-projection-compat.test.ts +153 -0
- package/node_modules/@sdd-agent-platform/core/src/phase8-risk-kernel.test.ts +277 -0
- package/node_modules/@sdd-agent-platform/core/src/planning/task-graph.test.ts +88 -0
- package/node_modules/@sdd-agent-platform/core/src/planning/task-graph.ts +222 -0
- package/node_modules/@sdd-agent-platform/core/src/planning/wave-plan.test.ts +79 -0
- package/node_modules/@sdd-agent-platform/core/src/planning/wave-plan.ts +160 -0
- package/node_modules/@sdd-agent-platform/core/src/planning.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/src/registries/agent-capability-catalog.ts +426 -0
- package/node_modules/@sdd-agent-platform/core/src/registries/agent-registry.ts +146 -0
- package/node_modules/@sdd-agent-platform/core/src/registries/agent-runtime-static.ts +142 -0
- package/node_modules/@sdd-agent-platform/core/src/registries/capability-sources.ts +253 -0
- package/node_modules/@sdd-agent-platform/core/src/registries/command-team-runtime.ts +309 -0
- package/node_modules/@sdd-agent-platform/core/src/registries/eval-learning-context.ts +246 -0
- package/node_modules/@sdd-agent-platform/core/src/registries/query-status.ts +119 -0
- package/node_modules/@sdd-agent-platform/core/src/registries/registries.test.ts +429 -0
- package/node_modules/@sdd-agent-platform/core/src/registries/skill-capabilities.ts +37 -0
- package/node_modules/@sdd-agent-platform/core/src/registries/tool-capabilities.ts +135 -0
- package/node_modules/@sdd-agent-platform/core/src/registries/tool-plugins.ts +132 -0
- package/node_modules/@sdd-agent-platform/core/src/registries/worker-adapters.ts +144 -0
- package/node_modules/@sdd-agent-platform/core/src/registries/workflow-gates.ts +111 -0
- package/node_modules/@sdd-agent-platform/core/src/registries.ts +42 -0
- package/node_modules/@sdd-agent-platform/core/src/risk/consumer-diagnostics.ts +97 -0
- package/node_modules/@sdd-agent-platform/core/src/risk/contracts.ts +63 -0
- package/node_modules/@sdd-agent-platform/core/src/risk/kernel.ts +233 -0
- package/node_modules/@sdd-agent-platform/core/src/risk/legacy-adapters.ts +266 -0
- package/node_modules/@sdd-agent-platform/core/src/risk/workflow-gates.ts +203 -0
- package/node_modules/@sdd-agent-platform/core/src/risk.ts +5 -0
- package/node_modules/@sdd-agent-platform/core/src/router/agent-runtime-config.ts +327 -0
- package/node_modules/@sdd-agent-platform/core/src/router/agent-runtime.ts +388 -0
- package/node_modules/@sdd-agent-platform/core/src/router/profile-resolution.ts +154 -0
- package/node_modules/@sdd-agent-platform/core/src/router/risk-policy.ts +33 -0
- package/node_modules/@sdd-agent-platform/core/src/router/route-cache.ts +100 -0
- package/node_modules/@sdd-agent-platform/core/src/router/route-projection.ts +357 -0
- package/node_modules/@sdd-agent-platform/core/src/router/route-sdd-task.test.ts +429 -0
- package/node_modules/@sdd-agent-platform/core/src/router/route-sdd-task.ts +3 -0
- package/node_modules/@sdd-agent-platform/core/src/router/routing-rules.ts +73 -0
- package/node_modules/@sdd-agent-platform/core/src/router/routing.ts +192 -0
- package/node_modules/@sdd-agent-platform/core/src/router/runtime-inspection.ts +124 -0
- package/node_modules/@sdd-agent-platform/core/src/router/runtime-registry.ts +123 -0
- package/node_modules/@sdd-agent-platform/core/src/router/runtime-validation.ts +277 -0
- package/node_modules/@sdd-agent-platform/core/src/router/team-mode.ts +170 -0
- package/node_modules/@sdd-agent-platform/core/src/router.ts +4 -0
- package/node_modules/@sdd-agent-platform/core/src/run-state/artifacts.ts +118 -0
- package/node_modules/@sdd-agent-platform/core/src/run-state/events.ts +27 -0
- package/node_modules/@sdd-agent-platform/core/src/run-state/inspect-run.ts +172 -0
- package/node_modules/@sdd-agent-platform/core/src/run-state/invocation-ledger.ts +109 -0
- package/node_modules/@sdd-agent-platform/core/src/run-state/model.ts +231 -0
- package/node_modules/@sdd-agent-platform/core/src/run-state/run-index.test.ts +52 -0
- package/node_modules/@sdd-agent-platform/core/src/run-state/run-index.ts +356 -0
- package/node_modules/@sdd-agent-platform/core/src/run-state/run-state.test.ts +70 -0
- package/node_modules/@sdd-agent-platform/core/src/run-state/run-state.ts +406 -0
- package/node_modules/@sdd-agent-platform/core/src/run-state/task-evidence.ts +206 -0
- package/node_modules/@sdd-agent-platform/core/src/run-state.ts +8 -0
- package/node_modules/@sdd-agent-platform/core/src/runtime-analysis/build.ts +63 -0
- package/node_modules/@sdd-agent-platform/core/src/runtime-analysis/findings.ts +296 -0
- package/node_modules/@sdd-agent-platform/core/src/runtime-analysis/model.ts +152 -0
- package/node_modules/@sdd-agent-platform/core/src/runtime-analysis.test.ts +68 -0
- package/node_modules/@sdd-agent-platform/core/src/runtime-analysis.ts +3 -0
- package/node_modules/@sdd-agent-platform/core/src/runtime-paths.ts +176 -0
- package/node_modules/@sdd-agent-platform/core/src/sdd-docs/context.ts +111 -0
- package/node_modules/@sdd-agent-platform/core/src/sdd-docs/document-hashes.ts +207 -0
- package/node_modules/@sdd-agent-platform/core/src/sdd-docs/run-binding.ts +95 -0
- package/node_modules/@sdd-agent-platform/core/src/sdd-docs/task-inspection.ts +39 -0
- package/node_modules/@sdd-agent-platform/core/src/sdd-docs/task-parser.test.ts +401 -0
- package/node_modules/@sdd-agent-platform/core/src/sdd-docs/task-parser.ts +694 -0
- package/node_modules/@sdd-agent-platform/core/src/sdd-docs/task-rendering.ts +81 -0
- package/node_modules/@sdd-agent-platform/core/src/sdd-docs.ts +5 -0
- package/node_modules/@sdd-agent-platform/core/src/stage-runtime/contracts.ts +40 -0
- package/node_modules/@sdd-agent-platform/core/src/stage-runtime/runtime.test.ts +209 -0
- package/node_modules/@sdd-agent-platform/core/src/stage-runtime/runtime.ts +352 -0
- package/node_modules/@sdd-agent-platform/core/src/stage-runtime.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/src/status/project-status.test.ts +288 -0
- package/node_modules/@sdd-agent-platform/core/src/status/project-status.ts +625 -0
- package/node_modules/@sdd-agent-platform/core/src/status.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/src/storage/json-io.ts +10 -0
- package/node_modules/@sdd-agent-platform/core/src/storage/runtime-store.test.ts +489 -0
- package/node_modules/@sdd-agent-platform/core/src/storage/runtime-store.ts +1175 -0
- package/node_modules/@sdd-agent-platform/core/src/subagents/contracts.ts +45 -0
- package/node_modules/@sdd-agent-platform/core/src/subagents/runtime.test.ts +232 -0
- package/node_modules/@sdd-agent-platform/core/src/subagents/runtime.ts +307 -0
- package/node_modules/@sdd-agent-platform/core/src/subagents.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/src/sync-back/apply.ts +270 -0
- package/node_modules/@sdd-agent-platform/core/src/sync-back/inspect.ts +655 -0
- package/node_modules/@sdd-agent-platform/core/src/sync-back/sync-back.test.ts +569 -0
- package/node_modules/@sdd-agent-platform/core/src/sync-back.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/src/task-risk-profile.ts +193 -0
- package/node_modules/@sdd-agent-platform/core/src/test-support/fixtures.ts +398 -0
- package/node_modules/@sdd-agent-platform/core/src/test-support/run-state.ts +70 -0
- package/node_modules/@sdd-agent-platform/core/src/test-support.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/goal-verify.test.ts +335 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/goal-verify.ts +648 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/rendering.ts +181 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/review-gate.test.ts +77 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/review-gate.ts +77 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/single-task-loop.test.ts +255 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/single-task-loop.ts +494 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/test-runtime.test.ts +439 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/test-runtime.ts +1032 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/validation-wave.test.ts +341 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/validation-wave.ts +513 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/verify-contract.test.ts +204 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/verify-contract.ts +358 -0
- package/node_modules/@sdd-agent-platform/core/src/verification.ts +8 -0
- package/node_modules/@sdd-agent-platform/core/src/work-units/contracts.ts +26 -0
- package/node_modules/@sdd-agent-platform/core/src/work-units/runtime.test.ts +88 -0
- package/node_modules/@sdd-agent-platform/core/src/work-units/runtime.ts +112 -0
- package/node_modules/@sdd-agent-platform/core/src/work-units.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-gate/evidence-packet.ts +196 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-gate/hard-checks.test.ts +171 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-gate/hard-checks.ts +143 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-gate/policy.test.ts +137 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-gate/policy.ts +155 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-gate/types.ts +114 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/affected-file-conflicts.ts +96 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/dependencies.test.ts +32 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/dependencies.ts +114 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/latest-eligible-run.ts +156 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/resolve.test.ts +464 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/resolve.ts +363 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-state.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/src/worktree/isolation.ts +130 -0
- package/node_modules/@sdd-agent-platform/core/src/worktree/lifecycle.ts +269 -0
- package/node_modules/@sdd-agent-platform/core/src/worktree/worktree.test.ts +150 -0
- package/node_modules/@sdd-agent-platform/core/src/worktree.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/tsconfig.json +15 -0
- package/package.json +67 -52
- package/packages/cli/dist/args.d.ts +23 -0
- package/packages/cli/dist/args.js +89 -0
- package/packages/cli/dist/args.js.map +1 -0
- package/packages/cli/dist/commands/ai-tools.d.ts +6 -0
- package/packages/cli/dist/commands/ai-tools.js +18 -0
- package/packages/cli/dist/commands/ai-tools.js.map +1 -0
- package/packages/cli/dist/commands/artifact.d.ts +6 -0
- package/packages/cli/dist/commands/artifact.js +168 -0
- package/packages/cli/dist/commands/artifact.js.map +1 -0
- package/packages/cli/dist/commands/context.d.ts +6 -0
- package/packages/cli/dist/commands/context.js +51 -0
- package/packages/cli/dist/commands/context.js.map +1 -0
- package/packages/cli/dist/commands/doctor.d.ts +6 -0
- package/packages/cli/dist/commands/doctor.js +29 -0
- package/packages/cli/dist/commands/doctor.js.map +1 -0
- package/packages/cli/dist/commands/execution.d.ts +6 -0
- package/packages/cli/dist/commands/execution.js +284 -0
- package/packages/cli/dist/commands/execution.js.map +1 -0
- package/packages/cli/dist/commands/governance.d.ts +6 -0
- package/packages/cli/dist/commands/governance.js +37 -0
- package/packages/cli/dist/commands/governance.js.map +1 -0
- package/packages/cli/dist/commands/init.d.ts +6 -0
- package/packages/cli/dist/commands/init.js +22 -0
- package/packages/cli/dist/commands/init.js.map +1 -0
- package/packages/cli/dist/commands/instructions.d.ts +6 -0
- package/packages/cli/dist/commands/instructions.js +15 -0
- package/packages/cli/dist/commands/instructions.js.map +1 -0
- package/packages/cli/dist/commands/lifecycle.d.ts +6 -0
- package/packages/cli/dist/commands/lifecycle.js +112 -0
- package/packages/cli/dist/commands/lifecycle.js.map +1 -0
- package/packages/cli/dist/commands/registry/contracts.d.ts +2 -0
- package/packages/cli/dist/commands/registry/contracts.js +62 -0
- package/packages/cli/dist/commands/registry/contracts.js.map +1 -0
- package/packages/cli/dist/commands/registry/core.d.ts +2 -0
- package/packages/cli/dist/commands/registry/core.js +75 -0
- package/packages/cli/dist/commands/registry/core.js.map +1 -0
- package/packages/cli/dist/commands/registry/platform.d.ts +2 -0
- package/packages/cli/dist/commands/registry/platform.js +123 -0
- package/packages/cli/dist/commands/registry/platform.js.map +1 -0
- package/packages/cli/dist/commands/registry/runtime.d.ts +2 -0
- package/packages/cli/dist/commands/registry/runtime.js +142 -0
- package/packages/cli/dist/commands/registry/runtime.js.map +1 -0
- package/packages/cli/dist/commands/registry/types.d.ts +5 -0
- package/packages/cli/dist/commands/registry/types.js +2 -0
- package/packages/cli/dist/commands/registry/types.js.map +1 -0
- package/packages/cli/dist/commands/registry.d.ts +3 -0
- package/packages/cli/dist/commands/registry.js +11 -0
- package/packages/cli/dist/commands/registry.js.map +1 -0
- package/packages/cli/dist/commands/run.d.ts +6 -0
- package/packages/cli/dist/commands/run.js +173 -0
- package/packages/cli/dist/commands/run.js.map +1 -0
- package/packages/cli/dist/commands/ship.d.ts +6 -0
- package/packages/cli/dist/commands/ship.js +33 -0
- package/packages/cli/dist/commands/ship.js.map +1 -0
- package/packages/cli/dist/commands/status.d.ts +6 -0
- package/packages/cli/dist/commands/status.js +25 -0
- package/packages/cli/dist/commands/status.js.map +1 -0
- package/packages/cli/dist/commands/sync-back.d.ts +6 -0
- package/packages/cli/dist/commands/sync-back.js +82 -0
- package/packages/cli/dist/commands/sync-back.js.map +1 -0
- package/packages/cli/dist/commands/tasks.d.ts +6 -0
- package/packages/cli/dist/commands/tasks.js +78 -0
- package/packages/cli/dist/commands/tasks.js.map +1 -0
- package/packages/cli/dist/commands/test.d.ts +6 -0
- package/packages/cli/dist/commands/test.js +195 -0
- package/packages/cli/dist/commands/test.js.map +1 -0
- package/packages/cli/dist/commands/verifies.d.ts +6 -0
- package/packages/cli/dist/commands/verifies.js +85 -0
- package/packages/cli/dist/commands/verifies.js.map +1 -0
- package/packages/cli/dist/commands/verify.d.ts +6 -0
- package/packages/cli/dist/commands/verify.js +134 -0
- package/packages/cli/dist/commands/verify.js.map +1 -0
- package/packages/cli/dist/dispatch.d.ts +7 -0
- package/packages/cli/dist/dispatch.js +121 -0
- package/packages/cli/dist/dispatch.js.map +1 -0
- package/packages/cli/dist/help.d.ts +4 -0
- package/packages/cli/dist/help.js +177 -0
- package/packages/cli/dist/help.js.map +1 -0
- package/packages/cli/dist/identity.d.ts +7 -0
- package/packages/cli/dist/identity.js +51 -0
- package/packages/cli/dist/identity.js.map +1 -0
- package/packages/cli/dist/main.js +17 -0
- package/packages/cli/dist/main.js.map +1 -0
- package/{dist/packages/cli/src → packages/cli/dist}/options.d.ts +2 -0
- package/{dist/packages/cli/src → packages/cli/dist}/options.js +6 -0
- package/packages/cli/dist/options.js.map +1 -0
- package/packages/cli/dist/renderers/artifacts.d.ts +5 -0
- package/packages/cli/dist/renderers/artifacts.js +43 -0
- package/packages/cli/dist/renderers/artifacts.js.map +1 -0
- package/packages/cli/dist/renderers/context.d.ts +4 -0
- package/packages/cli/dist/renderers/context.js +47 -0
- package/packages/cli/dist/renderers/context.js.map +1 -0
- package/packages/cli/dist/renderers/doctor.d.ts +5 -0
- package/packages/cli/dist/renderers/doctor.js +31 -0
- package/packages/cli/dist/renderers/doctor.js.map +1 -0
- package/packages/cli/dist/renderers/execution.d.ts +13 -0
- package/packages/cli/dist/renderers/execution.js +133 -0
- package/packages/cli/dist/renderers/execution.js.map +1 -0
- package/packages/cli/dist/renderers/governance.d.ts +3 -0
- package/packages/cli/dist/renderers/governance.js +23 -0
- package/packages/cli/dist/renderers/governance.js.map +1 -0
- package/packages/cli/dist/renderers/issues.d.ts +24 -0
- package/packages/cli/dist/renderers/issues.js +37 -0
- package/packages/cli/dist/renderers/issues.js.map +1 -0
- package/packages/cli/dist/renderers/json.d.ts +3 -0
- package/packages/cli/dist/renderers/json.js +10 -0
- package/packages/cli/dist/renderers/json.js.map +1 -0
- package/packages/cli/dist/renderers/lifecycle.d.ts +2 -0
- package/packages/cli/dist/renderers/lifecycle.js +30 -0
- package/packages/cli/dist/renderers/lifecycle.js.map +1 -0
- package/packages/cli/dist/renderers/planning.d.ts +4 -0
- package/packages/cli/dist/renderers/planning.js +66 -0
- package/packages/cli/dist/renderers/planning.js.map +1 -0
- package/packages/cli/dist/renderers/registry-contracts.d.ts +10 -0
- package/packages/cli/dist/renderers/registry-contracts.js +128 -0
- package/packages/cli/dist/renderers/registry-contracts.js.map +1 -0
- package/packages/cli/dist/renderers/registry-core.d.ts +8 -0
- package/packages/cli/dist/renderers/registry-core.js +93 -0
- package/packages/cli/dist/renderers/registry-core.js.map +1 -0
- package/packages/cli/dist/renderers/registry-platform.d.ts +12 -0
- package/packages/cli/dist/renderers/registry-platform.js +112 -0
- package/packages/cli/dist/renderers/registry-platform.js.map +1 -0
- package/packages/cli/dist/renderers/registry-runtime.d.ts +16 -0
- package/packages/cli/dist/renderers/registry-runtime.js +206 -0
- package/packages/cli/dist/renderers/registry-runtime.js.map +1 -0
- package/packages/cli/dist/renderers/registry-shared.d.ts +3 -0
- package/packages/cli/dist/renderers/registry-shared.js +15 -0
- package/packages/cli/dist/renderers/registry-shared.js.map +1 -0
- package/packages/cli/dist/renderers/registry.d.ts +5 -0
- package/packages/cli/dist/renderers/registry.js +6 -0
- package/packages/cli/dist/renderers/registry.js.map +1 -0
- package/packages/cli/dist/renderers/router.d.ts +2 -0
- package/packages/cli/dist/renderers/router.js +34 -0
- package/packages/cli/dist/renderers/router.js.map +1 -0
- package/packages/cli/dist/renderers/workflow.d.ts +19 -0
- package/packages/cli/dist/renderers/workflow.js +274 -0
- package/packages/cli/dist/renderers/workflow.js.map +1 -0
- package/packages/cli/dist/renderers/worktree.d.ts +5 -0
- package/packages/cli/dist/renderers/worktree.js +41 -0
- package/packages/cli/dist/renderers/worktree.js.map +1 -0
- package/packages/cli/dist/test-support/run-cli.d.ts +6 -0
- package/packages/cli/dist/test-support/run-cli.js +15 -0
- package/packages/cli/dist/test-support/run-cli.js.map +1 -0
- package/packages/cli/dist/tsconfig.tsbuildinfo +1 -0
- package/packages/cli/package.json +15 -0
- package/packages/core/dist/ai-tools.d.ts +68 -0
- package/packages/core/dist/ai-tools.js +464 -0
- package/packages/core/dist/ai-tools.js.map +1 -0
- package/packages/core/dist/artifacts/ingestion.d.ts +24 -0
- package/packages/core/dist/artifacts/ingestion.js +181 -0
- package/packages/core/dist/artifacts/ingestion.js.map +1 -0
- package/packages/core/dist/artifacts/sdd-evidence.d.ts +47 -0
- package/packages/core/dist/artifacts/sdd-evidence.js +241 -0
- package/packages/core/dist/artifacts/sdd-evidence.js.map +1 -0
- package/packages/core/dist/artifacts/sdd-result.d.ts +29 -0
- package/packages/core/dist/artifacts/sdd-result.js +198 -0
- package/packages/core/dist/artifacts/sdd-result.js.map +1 -0
- package/packages/core/dist/artifacts/templates.d.ts +10 -0
- package/packages/core/dist/artifacts/templates.js +79 -0
- package/packages/core/dist/artifacts/templates.js.map +1 -0
- package/packages/core/dist/artifacts.d.ts +4 -0
- package/packages/core/dist/artifacts.js +5 -0
- package/packages/core/dist/artifacts.js.map +1 -0
- package/packages/core/dist/coding-facts/contracts.d.ts +71 -0
- package/packages/core/dist/coding-facts/contracts.js +2 -0
- package/packages/core/dist/coding-facts/contracts.js.map +1 -0
- package/packages/core/dist/coding-facts.d.ts +1 -0
- package/packages/core/dist/coding-facts.js +2 -0
- package/packages/core/dist/coding-facts.js.map +1 -0
- package/packages/core/dist/config/init-project.d.ts +31 -0
- package/packages/core/dist/config/init-project.js +89 -0
- package/packages/core/dist/config/init-project.js.map +1 -0
- package/packages/core/dist/config/project-config.d.ts +49 -0
- package/packages/core/dist/config/project-config.js +202 -0
- package/packages/core/dist/config/project-config.js.map +1 -0
- package/packages/core/dist/config/project-detection.d.ts +21 -0
- package/packages/core/dist/config/project-detection.js +111 -0
- package/packages/core/dist/config/project-detection.js.map +1 -0
- package/packages/core/dist/config/project-status.d.ts +1 -0
- package/packages/core/dist/config/project-status.js +2 -0
- package/packages/core/dist/config/project-status.js.map +1 -0
- package/packages/core/dist/config/starter-documents.d.ts +4 -0
- package/packages/core/dist/config/starter-documents.js +441 -0
- package/packages/core/dist/config/starter-documents.js.map +1 -0
- package/packages/core/dist/context/budget.d.ts +10 -0
- package/packages/core/dist/context/budget.js +20 -0
- package/packages/core/dist/context/budget.js.map +1 -0
- package/packages/core/dist/context/build-package.d.ts +46 -0
- package/packages/core/dist/context/build-package.js +244 -0
- package/packages/core/dist/context/build-package.js.map +1 -0
- package/packages/core/dist/context/command-summary.d.ts +14 -0
- package/packages/core/dist/context/command-summary.js +34 -0
- package/packages/core/dist/context/command-summary.js.map +1 -0
- package/packages/core/dist/context/evidence-summary.d.ts +50 -0
- package/packages/core/dist/context/evidence-summary.js +86 -0
- package/packages/core/dist/context/evidence-summary.js.map +1 -0
- package/packages/core/dist/context/log-worker.d.ts +19 -0
- package/packages/core/dist/context/log-worker.js +28 -0
- package/packages/core/dist/context/log-worker.js.map +1 -0
- package/packages/core/dist/context/source-refs.d.ts +9 -0
- package/packages/core/dist/context/source-refs.js +30 -0
- package/packages/core/dist/context/source-refs.js.map +1 -0
- package/packages/core/dist/context-offload/contracts.d.ts +43 -0
- package/packages/core/dist/context-offload/contracts.js +2 -0
- package/packages/core/dist/context-offload/contracts.js.map +1 -0
- package/packages/core/dist/context-offload/runtime.d.ts +36 -0
- package/packages/core/dist/context-offload/runtime.js +142 -0
- package/packages/core/dist/context-offload/runtime.js.map +1 -0
- package/packages/core/dist/context-offload.d.ts +2 -0
- package/packages/core/dist/context-offload.js +3 -0
- package/packages/core/dist/context-offload.js.map +1 -0
- package/packages/core/dist/context.d.ts +6 -0
- package/packages/core/dist/context.js +7 -0
- package/packages/core/dist/context.js.map +1 -0
- package/packages/core/dist/contracts/issues.d.ts +7 -0
- package/packages/core/dist/contracts/issues.js +7 -0
- package/packages/core/dist/contracts/issues.js.map +1 -0
- package/packages/core/dist/contracts.d.ts +110 -0
- package/packages/core/dist/contracts.js +75 -0
- package/packages/core/dist/contracts.js.map +1 -0
- package/packages/core/dist/delegation/model.d.ts +21 -0
- package/packages/core/dist/delegation/model.js +2 -0
- package/packages/core/dist/delegation/model.js.map +1 -0
- package/packages/core/dist/delegation/queue.d.ts +10 -0
- package/packages/core/dist/delegation/queue.js +47 -0
- package/packages/core/dist/delegation/queue.js.map +1 -0
- package/packages/core/dist/delegation/run-state.d.ts +2 -0
- package/packages/core/dist/delegation/run-state.js +13 -0
- package/packages/core/dist/delegation/run-state.js.map +1 -0
- package/packages/core/dist/delegation/state-machine.d.ts +30 -0
- package/packages/core/dist/delegation/state-machine.js +56 -0
- package/packages/core/dist/delegation/state-machine.js.map +1 -0
- package/packages/core/dist/delegation/validation.d.ts +28 -0
- package/packages/core/dist/delegation/validation.js +100 -0
- package/packages/core/dist/delegation/validation.js.map +1 -0
- package/packages/core/dist/delegation.d.ts +7 -0
- package/packages/core/dist/delegation.js +6 -0
- package/packages/core/dist/delegation.js.map +1 -0
- package/packages/core/dist/doctor/checks/ai-entries.d.ts +2 -0
- package/packages/core/dist/doctor/checks/ai-entries.js +26 -0
- package/packages/core/dist/doctor/checks/ai-entries.js.map +1 -0
- package/packages/core/dist/doctor/checks/document-chain.d.ts +2 -0
- package/packages/core/dist/doctor/checks/document-chain.js +104 -0
- package/packages/core/dist/doctor/checks/document-chain.js.map +1 -0
- package/packages/core/dist/doctor/checks/local-run-index.d.ts +2 -0
- package/packages/core/dist/doctor/checks/local-run-index.js +26 -0
- package/packages/core/dist/doctor/checks/local-run-index.js.map +1 -0
- package/packages/core/dist/doctor/checks/project.d.ts +11 -0
- package/packages/core/dist/doctor/checks/project.js +78 -0
- package/packages/core/dist/doctor/checks/project.js.map +1 -0
- package/packages/core/dist/doctor/checks/registries.d.ts +11 -0
- package/packages/core/dist/doctor/checks/registries.js +247 -0
- package/packages/core/dist/doctor/checks/registries.js.map +1 -0
- package/packages/core/dist/doctor/checks/run-evidence.d.ts +6 -0
- package/packages/core/dist/doctor/checks/run-evidence.js +313 -0
- package/packages/core/dist/doctor/checks/run-evidence.js.map +1 -0
- package/packages/core/dist/doctor/checks/run-records.d.ts +4 -0
- package/packages/core/dist/doctor/checks/run-records.js +68 -0
- package/packages/core/dist/doctor/checks/run-records.js.map +1 -0
- package/packages/core/dist/doctor/checks/run-trust.d.ts +3 -0
- package/packages/core/dist/doctor/checks/run-trust.js +121 -0
- package/packages/core/dist/doctor/checks/run-trust.js.map +1 -0
- package/packages/core/dist/doctor/checks/runtime-contracts.d.ts +11 -0
- package/packages/core/dist/doctor/checks/runtime-contracts.js +279 -0
- package/packages/core/dist/doctor/checks/runtime-contracts.js.map +1 -0
- package/packages/core/dist/doctor/doctor.d.ts +6 -0
- package/packages/core/dist/doctor/doctor.js +292 -0
- package/packages/core/dist/doctor/doctor.js.map +1 -0
- package/packages/core/dist/doctor/model.d.ts +11 -0
- package/packages/core/dist/doctor/model.js +2 -0
- package/packages/core/dist/doctor/model.js.map +1 -0
- package/packages/core/dist/doctor/render.d.ts +2 -0
- package/packages/core/dist/doctor/render.js +44 -0
- package/packages/core/dist/doctor/render.js.map +1 -0
- package/packages/core/dist/doctor/summary.d.ts +2 -0
- package/packages/core/dist/doctor/summary.js +10 -0
- package/packages/core/dist/doctor/summary.js.map +1 -0
- package/packages/core/dist/doctor.d.ts +2 -0
- package/packages/core/dist/doctor.js +3 -0
- package/packages/core/dist/doctor.js.map +1 -0
- package/packages/core/dist/evidence/lookup.d.ts +23 -0
- package/packages/core/dist/evidence/lookup.js +54 -0
- package/packages/core/dist/evidence/lookup.js.map +1 -0
- package/packages/core/dist/evidence-runtime/contracts.d.ts +44 -0
- package/packages/core/dist/evidence-runtime/contracts.js +2 -0
- package/packages/core/dist/evidence-runtime/contracts.js.map +1 -0
- package/packages/core/dist/evidence-runtime.d.ts +1 -0
- package/packages/core/dist/evidence-runtime.js +2 -0
- package/packages/core/dist/evidence-runtime.js.map +1 -0
- package/packages/core/dist/execution/agent-execution-records.d.ts +31 -0
- package/packages/core/dist/execution/agent-execution-records.js +170 -0
- package/packages/core/dist/execution/agent-execution-records.js.map +1 -0
- package/packages/core/dist/execution/background-executor.d.ts +44 -0
- package/packages/core/dist/execution/background-executor.js +249 -0
- package/packages/core/dist/execution/background-executor.js.map +1 -0
- package/packages/core/dist/execution/foreground-subagents.d.ts +55 -0
- package/packages/core/dist/execution/foreground-subagents.js +363 -0
- package/packages/core/dist/execution/foreground-subagents.js.map +1 -0
- package/packages/core/dist/execution/host-invocation.d.ts +27 -0
- package/packages/core/dist/execution/host-invocation.js +185 -0
- package/packages/core/dist/execution/host-invocation.js.map +1 -0
- package/packages/core/dist/execution/resident-worker.d.ts +100 -0
- package/packages/core/dist/execution/resident-worker.js +327 -0
- package/packages/core/dist/execution/resident-worker.js.map +1 -0
- package/packages/core/dist/execution/stage-team-runtime.d.ts +112 -0
- package/packages/core/dist/execution/stage-team-runtime.js +145 -0
- package/packages/core/dist/execution/stage-team-runtime.js.map +1 -0
- package/packages/core/dist/execution/wave-executor.d.ts +45 -0
- package/packages/core/dist/execution/wave-executor.js +178 -0
- package/packages/core/dist/execution/wave-executor.js.map +1 -0
- package/packages/core/dist/execution.d.ts +5 -0
- package/packages/core/dist/execution.js +6 -0
- package/packages/core/dist/execution.js.map +1 -0
- package/packages/core/dist/governance/policy.d.ts +53 -0
- package/packages/core/dist/governance/policy.js +111 -0
- package/packages/core/dist/governance/policy.js.map +1 -0
- package/packages/core/dist/governance.d.ts +1 -0
- package/packages/core/dist/governance.js +2 -0
- package/packages/core/dist/governance.js.map +1 -0
- package/packages/core/dist/index.d.ts +1 -0
- package/packages/core/dist/index.js +2 -0
- package/packages/core/dist/index.js.map +1 -0
- package/packages/core/dist/instructions.d.ts +14 -0
- package/packages/core/dist/instructions.js +147 -0
- package/packages/core/dist/instructions.js.map +1 -0
- package/packages/core/dist/lifecycle/decision-gate.d.ts +39 -0
- package/packages/core/dist/lifecycle/decision-gate.js +319 -0
- package/packages/core/dist/lifecycle/decision-gate.js.map +1 -0
- package/packages/core/dist/lifecycle/rendering.d.ts +2 -0
- package/packages/core/dist/lifecycle/rendering.js +27 -0
- package/packages/core/dist/lifecycle/rendering.js.map +1 -0
- package/packages/core/dist/lifecycle/risk-signals.d.ts +57 -0
- package/packages/core/dist/lifecycle/risk-signals.js +80 -0
- package/packages/core/dist/lifecycle/risk-signals.js.map +1 -0
- package/packages/core/dist/lifecycle/ship.d.ts +44 -0
- package/packages/core/dist/lifecycle/ship.js +207 -0
- package/packages/core/dist/lifecycle/ship.js.map +1 -0
- package/packages/core/dist/lifecycle.d.ts +4 -0
- package/packages/core/dist/lifecycle.js +5 -0
- package/packages/core/dist/lifecycle.js.map +1 -0
- package/packages/core/dist/orchestration/contracts.d.ts +45 -0
- package/packages/core/dist/orchestration/contracts.js +2 -0
- package/packages/core/dist/orchestration/contracts.js.map +1 -0
- package/packages/core/dist/orchestration/index.d.ts +2 -0
- package/packages/core/dist/orchestration/index.js +3 -0
- package/packages/core/dist/orchestration/index.js.map +1 -0
- package/packages/core/dist/orchestration/runtime.d.ts +55 -0
- package/packages/core/dist/orchestration/runtime.js +314 -0
- package/packages/core/dist/orchestration/runtime.js.map +1 -0
- package/packages/core/dist/path-safety.d.ts +4 -0
- package/packages/core/dist/path-safety.js +35 -0
- package/packages/core/dist/path-safety.js.map +1 -0
- package/packages/core/dist/planning/task-graph.d.ts +57 -0
- package/packages/core/dist/planning/task-graph.js +157 -0
- package/packages/core/dist/planning/task-graph.js.map +1 -0
- package/packages/core/dist/planning/wave-plan.d.ts +37 -0
- package/packages/core/dist/planning/wave-plan.js +119 -0
- package/packages/core/dist/planning/wave-plan.js.map +1 -0
- package/packages/core/dist/planning.d.ts +2 -0
- package/packages/core/dist/planning.js +3 -0
- package/packages/core/dist/planning.js.map +1 -0
- package/packages/core/dist/registries/agent-capability-catalog.d.ts +70 -0
- package/packages/core/dist/registries/agent-capability-catalog.js +267 -0
- package/packages/core/dist/registries/agent-capability-catalog.js.map +1 -0
- package/packages/core/dist/registries/agent-registry.d.ts +22 -0
- package/packages/core/dist/registries/agent-registry.js +121 -0
- package/packages/core/dist/registries/agent-registry.js.map +1 -0
- package/packages/core/dist/registries/agent-runtime-static.d.ts +61 -0
- package/packages/core/dist/registries/agent-runtime-static.js +69 -0
- package/packages/core/dist/registries/agent-runtime-static.js.map +1 -0
- package/packages/core/dist/registries/capability-sources.d.ts +2 -0
- package/packages/core/dist/registries/capability-sources.js +226 -0
- package/packages/core/dist/registries/capability-sources.js.map +1 -0
- package/packages/core/dist/registries/command-team-runtime.d.ts +70 -0
- package/packages/core/dist/registries/command-team-runtime.js +220 -0
- package/packages/core/dist/registries/command-team-runtime.js.map +1 -0
- package/packages/core/dist/registries/eval-learning-context.d.ts +64 -0
- package/packages/core/dist/registries/eval-learning-context.js +161 -0
- package/packages/core/dist/registries/eval-learning-context.js.map +1 -0
- package/packages/core/dist/registries/query-status.d.ts +28 -0
- package/packages/core/dist/registries/query-status.js +84 -0
- package/packages/core/dist/registries/query-status.js.map +1 -0
- package/packages/core/dist/registries/skill-capabilities.d.ts +22 -0
- package/packages/core/dist/registries/skill-capabilities.js +16 -0
- package/packages/core/dist/registries/skill-capabilities.js.map +1 -0
- package/packages/core/dist/registries/tool-capabilities.d.ts +20 -0
- package/packages/core/dist/registries/tool-capabilities.js +111 -0
- package/packages/core/dist/registries/tool-capabilities.js.map +1 -0
- package/packages/core/dist/registries/tool-plugins.d.ts +21 -0
- package/packages/core/dist/registries/tool-plugins.js +107 -0
- package/packages/core/dist/registries/tool-plugins.js.map +1 -0
- package/packages/core/dist/registries/worker-adapters.d.ts +38 -0
- package/packages/core/dist/registries/worker-adapters.js +99 -0
- package/packages/core/dist/registries/worker-adapters.js.map +1 -0
- package/packages/core/dist/registries/workflow-gates.d.ts +19 -0
- package/packages/core/dist/registries/workflow-gates.js +89 -0
- package/packages/core/dist/registries/workflow-gates.js.map +1 -0
- package/packages/core/dist/registries.d.ts +14 -0
- package/packages/core/dist/registries.js +13 -0
- package/packages/core/dist/registries.js.map +1 -0
- package/packages/core/dist/risk/consumer-diagnostics.d.ts +18 -0
- package/packages/core/dist/risk/consumer-diagnostics.js +77 -0
- package/packages/core/dist/risk/consumer-diagnostics.js.map +1 -0
- package/packages/core/dist/risk/contracts.d.ts +57 -0
- package/packages/core/dist/risk/contracts.js +2 -0
- package/packages/core/dist/risk/contracts.js.map +1 -0
- package/packages/core/dist/risk/kernel.d.ts +20 -0
- package/packages/core/dist/risk/kernel.js +195 -0
- package/packages/core/dist/risk/kernel.js.map +1 -0
- package/packages/core/dist/risk/legacy-adapters.d.ts +33 -0
- package/packages/core/dist/risk/legacy-adapters.js +215 -0
- package/packages/core/dist/risk/legacy-adapters.js.map +1 -0
- package/packages/core/dist/risk/workflow-gates.d.ts +24 -0
- package/packages/core/dist/risk/workflow-gates.js +160 -0
- package/packages/core/dist/risk/workflow-gates.js.map +1 -0
- package/packages/core/dist/risk.d.ts +5 -0
- package/packages/core/dist/risk.js +6 -0
- package/packages/core/dist/risk.js.map +1 -0
- package/packages/core/dist/router/agent-runtime-config.d.ts +4 -0
- package/packages/core/dist/router/agent-runtime-config.js +278 -0
- package/packages/core/dist/router/agent-runtime-config.js.map +1 -0
- package/packages/core/dist/router/agent-runtime.d.ts +343 -0
- package/packages/core/dist/router/agent-runtime.js +2 -0
- package/packages/core/dist/router/agent-runtime.js.map +1 -0
- package/packages/core/dist/router/profile-resolution.d.ts +18 -0
- package/packages/core/dist/router/profile-resolution.js +127 -0
- package/packages/core/dist/router/profile-resolution.js.map +1 -0
- package/packages/core/dist/router/risk-policy.d.ts +6 -0
- package/packages/core/dist/router/risk-policy.js +28 -0
- package/packages/core/dist/router/risk-policy.js.map +1 -0
- package/packages/core/dist/router/route-cache.d.ts +39 -0
- package/packages/core/dist/router/route-cache.js +59 -0
- package/packages/core/dist/router/route-cache.js.map +1 -0
- package/packages/core/dist/router/route-projection.d.ts +14 -0
- package/packages/core/dist/router/route-projection.js +318 -0
- package/packages/core/dist/router/route-projection.js.map +1 -0
- package/packages/core/dist/router/route-sdd-task.d.ts +3 -0
- package/packages/core/dist/router/route-sdd-task.js +4 -0
- package/packages/core/dist/router/route-sdd-task.js.map +1 -0
- package/packages/core/dist/router/routing-rules.d.ts +4 -0
- package/packages/core/dist/router/routing-rules.js +68 -0
- package/packages/core/dist/router/routing-rules.js.map +1 -0
- package/packages/core/dist/router/routing.d.ts +18 -0
- package/packages/core/dist/router/routing.js +169 -0
- package/packages/core/dist/router/routing.js.map +1 -0
- package/packages/core/dist/router/runtime-inspection.d.ts +7 -0
- package/packages/core/dist/router/runtime-inspection.js +102 -0
- package/packages/core/dist/router/runtime-inspection.js.map +1 -0
- package/packages/core/dist/router/runtime-registry.d.ts +17 -0
- package/packages/core/dist/router/runtime-registry.js +82 -0
- package/packages/core/dist/router/runtime-registry.js.map +1 -0
- package/packages/core/dist/router/runtime-validation.d.ts +26 -0
- package/packages/core/dist/router/runtime-validation.js +235 -0
- package/packages/core/dist/router/runtime-validation.js.map +1 -0
- package/packages/core/dist/router/team-mode.d.ts +16 -0
- package/packages/core/dist/router/team-mode.js +134 -0
- package/packages/core/dist/router/team-mode.js.map +1 -0
- package/packages/core/dist/router.d.ts +4 -0
- package/packages/core/dist/router.js +5 -0
- package/packages/core/dist/router.js.map +1 -0
- package/packages/core/dist/run-state/artifacts.d.ts +6 -0
- package/packages/core/dist/run-state/artifacts.js +113 -0
- package/packages/core/dist/run-state/artifacts.js.map +1 -0
- package/packages/core/dist/run-state/events.d.ts +3 -0
- package/packages/core/dist/run-state/events.js +23 -0
- package/packages/core/dist/run-state/events.js.map +1 -0
- package/packages/core/dist/run-state/inspect-run.d.ts +102 -0
- package/packages/core/dist/run-state/inspect-run.js +83 -0
- package/packages/core/dist/run-state/inspect-run.js.map +1 -0
- package/packages/core/dist/run-state/invocation-ledger.d.ts +18 -0
- package/packages/core/dist/run-state/invocation-ledger.js +99 -0
- package/packages/core/dist/run-state/invocation-ledger.js.map +1 -0
- package/packages/core/dist/run-state/model.d.ts +203 -0
- package/packages/core/dist/run-state/model.js +2 -0
- package/packages/core/dist/run-state/model.js.map +1 -0
- package/packages/core/dist/run-state/run-index.d.ts +97 -0
- package/packages/core/dist/run-state/run-index.js +238 -0
- package/packages/core/dist/run-state/run-index.js.map +1 -0
- package/packages/core/dist/run-state/run-state.d.ts +20 -0
- package/packages/core/dist/run-state/run-state.js +366 -0
- package/packages/core/dist/run-state/run-state.js.map +1 -0
- package/packages/core/dist/run-state/task-evidence.d.ts +62 -0
- package/packages/core/dist/run-state/task-evidence.js +130 -0
- package/packages/core/dist/run-state/task-evidence.js.map +1 -0
- package/packages/core/dist/run-state.d.ts +8 -0
- package/packages/core/dist/run-state.js +9 -0
- package/packages/core/dist/run-state.js.map +1 -0
- package/packages/core/dist/runtime-analysis/build.d.ts +2 -0
- package/packages/core/dist/runtime-analysis/build.js +61 -0
- package/packages/core/dist/runtime-analysis/build.js.map +1 -0
- package/packages/core/dist/runtime-analysis/findings.d.ts +4 -0
- package/packages/core/dist/runtime-analysis/findings.js +274 -0
- package/packages/core/dist/runtime-analysis/findings.js.map +1 -0
- package/packages/core/dist/runtime-analysis/model.d.ts +175 -0
- package/packages/core/dist/runtime-analysis/model.js +2 -0
- package/packages/core/dist/runtime-analysis/model.js.map +1 -0
- package/packages/core/dist/runtime-analysis.d.ts +3 -0
- package/packages/core/dist/runtime-analysis.js +4 -0
- package/packages/core/dist/runtime-analysis.js.map +1 -0
- package/packages/core/dist/runtime-paths.d.ts +35 -0
- package/packages/core/dist/runtime-paths.js +142 -0
- package/packages/core/dist/runtime-paths.js.map +1 -0
- package/packages/core/dist/sdd-docs/context.d.ts +18 -0
- package/packages/core/dist/sdd-docs/context.js +89 -0
- package/packages/core/dist/sdd-docs/context.js.map +1 -0
- package/packages/core/dist/sdd-docs/document-hashes.d.ts +4 -0
- package/packages/core/dist/sdd-docs/document-hashes.js +189 -0
- package/packages/core/dist/sdd-docs/document-hashes.js.map +1 -0
- package/packages/core/dist/sdd-docs/run-binding.d.ts +6 -0
- package/packages/core/dist/sdd-docs/run-binding.js +88 -0
- package/packages/core/dist/sdd-docs/run-binding.js.map +1 -0
- package/packages/core/dist/sdd-docs/task-inspection.d.ts +6 -0
- package/packages/core/dist/sdd-docs/task-inspection.js +31 -0
- package/packages/core/dist/sdd-docs/task-inspection.js.map +1 -0
- package/packages/core/dist/sdd-docs/task-parser.d.ts +98 -0
- package/packages/core/dist/sdd-docs/task-parser.js +538 -0
- package/packages/core/dist/sdd-docs/task-parser.js.map +1 -0
- package/packages/core/dist/sdd-docs/task-rendering.d.ts +5 -0
- package/packages/core/dist/sdd-docs/task-rendering.js +77 -0
- package/packages/core/dist/sdd-docs/task-rendering.js.map +1 -0
- package/packages/core/dist/sdd-docs.d.ts +5 -0
- package/packages/core/dist/sdd-docs.js +6 -0
- package/packages/core/dist/sdd-docs.js.map +1 -0
- package/packages/core/dist/stage-runtime/contracts.d.ts +37 -0
- package/packages/core/dist/stage-runtime/contracts.js +2 -0
- package/packages/core/dist/stage-runtime/contracts.js.map +1 -0
- package/packages/core/dist/stage-runtime/runtime.d.ts +71 -0
- package/packages/core/dist/stage-runtime/runtime.js +275 -0
- package/packages/core/dist/stage-runtime/runtime.js.map +1 -0
- package/packages/core/dist/stage-runtime.d.ts +2 -0
- package/packages/core/dist/stage-runtime.js +3 -0
- package/packages/core/dist/stage-runtime.js.map +1 -0
- package/packages/core/dist/status/project-status.d.ts +166 -0
- package/packages/core/dist/status/project-status.js +439 -0
- package/packages/core/dist/status/project-status.js.map +1 -0
- package/packages/core/dist/status.d.ts +2 -0
- package/packages/core/dist/status.js +3 -0
- package/packages/core/dist/status.js.map +1 -0
- package/packages/core/dist/storage/json-io.d.ts +1 -0
- package/packages/core/dist/storage/json-io.js +11 -0
- package/packages/core/dist/storage/json-io.js.map +1 -0
- package/packages/core/dist/storage/runtime-store.d.ts +305 -0
- package/packages/core/dist/storage/runtime-store.js +859 -0
- package/packages/core/dist/storage/runtime-store.js.map +1 -0
- package/packages/core/dist/subagents/contracts.d.ts +41 -0
- package/packages/core/dist/subagents/contracts.js +2 -0
- package/packages/core/dist/subagents/contracts.js.map +1 -0
- package/packages/core/dist/subagents/runtime.d.ts +43 -0
- package/packages/core/dist/subagents/runtime.js +262 -0
- package/packages/core/dist/subagents/runtime.js.map +1 -0
- package/packages/core/dist/subagents.d.ts +2 -0
- package/packages/core/dist/subagents.js +3 -0
- package/packages/core/dist/subagents.js.map +1 -0
- package/packages/core/dist/sync-back/apply.d.ts +17 -0
- package/packages/core/dist/sync-back/apply.js +243 -0
- package/packages/core/dist/sync-back/apply.js.map +1 -0
- package/packages/core/dist/sync-back/inspect.d.ts +110 -0
- package/packages/core/dist/sync-back/inspect.js +497 -0
- package/packages/core/dist/sync-back/inspect.js.map +1 -0
- package/packages/core/dist/sync-back.d.ts +2 -0
- package/packages/core/dist/sync-back.js +3 -0
- package/packages/core/dist/sync-back.js.map +1 -0
- package/packages/core/dist/task-risk-profile.d.ts +33 -0
- package/packages/core/dist/task-risk-profile.js +153 -0
- package/packages/core/dist/task-risk-profile.js.map +1 -0
- package/packages/core/dist/test-support/fixtures.d.ts +21 -0
- package/packages/core/dist/test-support/fixtures.js +384 -0
- package/packages/core/dist/test-support/fixtures.js.map +1 -0
- package/packages/core/dist/test-support/run-state.d.ts +2 -0
- package/packages/core/dist/test-support/run-state.js +69 -0
- package/packages/core/dist/test-support/run-state.js.map +1 -0
- package/packages/core/dist/test-support.d.ts +2 -0
- package/packages/core/dist/test-support.js +3 -0
- package/packages/core/dist/test-support.js.map +1 -0
- package/packages/core/dist/tsconfig.tsbuildinfo +1 -0
- package/packages/core/dist/verification/goal-verify.d.ts +50 -0
- package/packages/core/dist/verification/goal-verify.js +546 -0
- package/packages/core/dist/verification/goal-verify.js.map +1 -0
- package/packages/core/dist/verification/rendering.d.ts +51 -0
- package/packages/core/dist/verification/rendering.js +129 -0
- package/packages/core/dist/verification/rendering.js.map +1 -0
- package/packages/core/dist/verification/review-gate.d.ts +22 -0
- package/packages/core/dist/verification/review-gate.js +53 -0
- package/packages/core/dist/verification/review-gate.js.map +1 -0
- package/packages/core/dist/verification/single-task-loop.d.ts +29 -0
- package/packages/core/dist/verification/single-task-loop.js +425 -0
- package/packages/core/dist/verification/single-task-loop.js.map +1 -0
- package/packages/core/dist/verification/test-runtime.d.ts +77 -0
- package/packages/core/dist/verification/test-runtime.js +877 -0
- package/packages/core/dist/verification/test-runtime.js.map +1 -0
- package/packages/core/dist/verification/validation-wave.d.ts +58 -0
- package/packages/core/dist/verification/validation-wave.js +428 -0
- package/packages/core/dist/verification/validation-wave.js.map +1 -0
- package/packages/core/dist/verification/verify-contract.d.ts +44 -0
- package/packages/core/dist/verification/verify-contract.js +299 -0
- package/packages/core/dist/verification/verify-contract.js.map +1 -0
- package/packages/core/dist/verification.d.ts +8 -0
- package/packages/core/dist/verification.js +8 -0
- package/packages/core/dist/verification.js.map +1 -0
- package/packages/core/dist/work-units/contracts.d.ts +24 -0
- package/packages/core/dist/work-units/contracts.js +2 -0
- package/packages/core/dist/work-units/contracts.js.map +1 -0
- package/packages/core/dist/work-units/runtime.d.ts +21 -0
- package/packages/core/dist/work-units/runtime.js +90 -0
- package/packages/core/dist/work-units/runtime.js.map +1 -0
- package/packages/core/dist/work-units.d.ts +2 -0
- package/packages/core/dist/work-units.js +3 -0
- package/packages/core/dist/work-units.js.map +1 -0
- package/packages/core/dist/workflow-gate/evidence-packet.d.ts +24 -0
- package/packages/core/dist/workflow-gate/evidence-packet.js +182 -0
- package/packages/core/dist/workflow-gate/evidence-packet.js.map +1 -0
- package/packages/core/dist/workflow-gate/hard-checks.d.ts +4 -0
- package/packages/core/dist/workflow-gate/hard-checks.js +130 -0
- package/packages/core/dist/workflow-gate/hard-checks.js.map +1 -0
- package/packages/core/dist/workflow-gate/policy.d.ts +4 -0
- package/packages/core/dist/workflow-gate/policy.js +146 -0
- package/packages/core/dist/workflow-gate/policy.js.map +1 -0
- package/packages/core/dist/workflow-gate/types.d.ts +89 -0
- package/packages/core/dist/workflow-gate/types.js +2 -0
- package/packages/core/dist/workflow-gate/types.js.map +1 -0
- package/packages/core/dist/workflow-state/affected-file-conflicts.d.ts +13 -0
- package/packages/core/dist/workflow-state/affected-file-conflicts.js +75 -0
- package/packages/core/dist/workflow-state/affected-file-conflicts.js.map +1 -0
- package/packages/core/dist/workflow-state/dependencies.d.ts +29 -0
- package/packages/core/dist/workflow-state/dependencies.js +78 -0
- package/packages/core/dist/workflow-state/dependencies.js.map +1 -0
- package/packages/core/dist/workflow-state/latest-eligible-run.d.ts +38 -0
- package/packages/core/dist/workflow-state/latest-eligible-run.js +122 -0
- package/packages/core/dist/workflow-state/latest-eligible-run.js.map +1 -0
- package/packages/core/dist/workflow-state/resolve.d.ts +77 -0
- package/packages/core/dist/workflow-state/resolve.js +253 -0
- package/packages/core/dist/workflow-state/resolve.js.map +1 -0
- package/packages/core/dist/workflow-state.d.ts +2 -0
- package/packages/core/dist/workflow-state.js +3 -0
- package/packages/core/dist/workflow-state.js.map +1 -0
- package/packages/core/dist/worktree/isolation.d.ts +40 -0
- package/packages/core/dist/worktree/isolation.js +89 -0
- package/packages/core/dist/worktree/isolation.js.map +1 -0
- package/packages/core/dist/worktree/lifecycle.d.ts +39 -0
- package/packages/core/dist/worktree/lifecycle.js +221 -0
- package/packages/core/dist/worktree/lifecycle.js.map +1 -0
- package/packages/core/dist/worktree.d.ts +2 -0
- package/packages/core/dist/worktree.js +3 -0
- package/packages/core/dist/worktree.js.map +1 -0
- package/packages/core/package.json +40 -0
- package/tsconfig.build.json +4 -3
- package/dist/packages/cli/src/main.js +0 -2522
- package/dist/packages/cli/src/main.js.map +0 -1
- package/dist/packages/cli/src/options.js.map +0 -1
- package/dist/packages/core/src/ai-tools.js +0 -315
- package/dist/packages/core/src/ai-tools.js.map +0 -1
- package/dist/packages/core/src/index.d.ts +0 -1986
- package/dist/packages/core/src/index.js +0 -9722
- package/dist/packages/core/src/index.js.map +0 -1
- package/dist/packages/core/src/instructions.js +0 -118
- package/dist/packages/core/src/instructions.js.map +0 -1
- package/dist/packages/core/src/path-safety.js.map +0 -1
- /package/{dist/packages/core/src → node_modules/@sdd-agent-platform/core/dist}/path-safety.d.ts +0 -0
- /package/{dist/packages/core/src → node_modules/@sdd-agent-platform/core/dist}/path-safety.js +0 -0
- /package/{dist/packages/cli/src → packages/cli/dist}/main.d.ts +0 -0
|
@@ -1,1986 +0,0 @@
|
|
|
1
|
-
import { type AiProjectionResult, type AiToolSelection } from './ai-tools.js';
|
|
2
|
-
export * from './ai-tools.js';
|
|
3
|
-
export * from './instructions.js';
|
|
4
|
-
export declare const RUNTIME_VERSION = "phase-1.2-runtime-skeleton";
|
|
5
|
-
export declare const PROJECT_CONFIG_CONTRACT = "phase-1.2-project-contract";
|
|
6
|
-
export declare const RUN_STATE_CONTRACT = "phase-1.2-run-state-contract";
|
|
7
|
-
export declare const EVENT_LOG_CONTRACT = "phase-1.2-event-log-contract";
|
|
8
|
-
export declare const ARTIFACT_PATH_CONTRACT = "phase-1.2-artifact-path-contract";
|
|
9
|
-
export declare const LEGACY_LIFECYCLE_DECISION_CONTRACT = "phase-1.2-lifecycle-decision-contract";
|
|
10
|
-
export declare const LIFECYCLE_DECISION_CONTRACT = "sdd-lifecycle-decision-v1";
|
|
11
|
-
export declare const LIFECYCLE_DECISION_VERSION = "1.3.0";
|
|
12
|
-
export declare const SDD_RESULT_CONTRACT = "sdd-result-v1";
|
|
13
|
-
export declare const SDD_RESULT_VERSION = "1.3.0";
|
|
14
|
-
export declare const DELEGATION_LIVENESS_CONTRACT = "sdd-delegation-liveness-v1";
|
|
15
|
-
export declare const DELEGATION_LIVENESS_VERSION = "1.3.0";
|
|
16
|
-
export declare const ARTIFACT_RESULT_INGESTION_CONTRACT_VERSION = "phase-3.6-artifact-result-ingestion-v1";
|
|
17
|
-
export declare const TASK_GRAPH_PLANNER_CONTRACT_VERSION = "phase-3.9-task-graph-planner-v1";
|
|
18
|
-
export declare const WAVE_PLANNER_CONTRACT_VERSION = "phase-3.10-wave-planner-v1";
|
|
19
|
-
export declare const BACKGROUND_EXECUTOR_CONTRACT_VERSION = "phase-3.11-background-executor-v1";
|
|
20
|
-
export declare const WAVE_EXECUTOR_CONTRACT_VERSION = "phase-3.12-wave-executor-v1";
|
|
21
|
-
export declare const LOCAL_RUN_INDEX_CONTRACT_VERSION = "phase-3.13-local-run-index-v1";
|
|
22
|
-
export declare const GOVERNANCE_POLICY_CONTRACT_VERSION = "phase-3.14-governance-policy-v1";
|
|
23
|
-
export declare const CONTEXT_RESOLVER_CONTRACT_VERSION = "phase-5.1-context-resolver-v1";
|
|
24
|
-
export declare const LIFECYCLE_RISK_GATE_CONTRACT_VERSION = "phase-5.1-lifecycle-risk-gate-v1";
|
|
25
|
-
export declare const OUTPUT_QUALITY_CONTRACT_VERSION = "phase-5.1-output-quality-v1";
|
|
26
|
-
export declare const WORKFLOW_GATE_CONTRACT_VERSION = "phase-5.2-workflow-gate-v1";
|
|
27
|
-
export declare const AGENT_REGISTRY_CONTRACT_VERSION = "phase-5.2-agent-registry-v1";
|
|
28
|
-
export declare const TASK_GRAPH_CONTRACT_VERSION = "phase-5.3-task-graph-v1";
|
|
29
|
-
export declare const TASK_RUN_EVIDENCE_CONTRACT_VERSION = "phase-5.3-task-run-evidence-v1";
|
|
30
|
-
export declare const QUERY_STATUS_CONTRACT_VERSION = "phase-5.4-query-status-v1";
|
|
31
|
-
export declare const SKILL_AGENT_EVAL_CONTRACT_VERSION = "phase-5.5-skill-agent-eval-v1";
|
|
32
|
-
export declare const HARNESS_LEARNING_CONTRACT_VERSION = "phase-5.5-harness-learning-v1";
|
|
33
|
-
export declare const PROJECT_CONTEXT_PACK_CONTRACT_VERSION = "phase-5.5-project-context-pack-v1";
|
|
34
|
-
export declare const AGENT_SKILL_TEAM_RUNTIME_CONTRACT_VERSION = "phase-6.0-agent-skill-team-runtime-v1";
|
|
35
|
-
export declare const CAPABILITY_SOURCE_CATALOG_VERSION = "phase-6.0-capability-source-catalog-v1";
|
|
36
|
-
export declare const EXTERNAL_AGENT_PACK_IMPORT_POLICY_VERSION = "phase-6.0-external-agent-pack-import-policy-v1";
|
|
37
|
-
export declare const TOOL_PERMISSION_SPEC_VERSION = "phase-6.0-tool-permission-spec-v1";
|
|
38
|
-
export declare const HOST_ADAPTER_CONTRACT_VERSION = "phase-6.0-host-adapter-contract-v1";
|
|
39
|
-
export declare const AGENT_ROUTER_CONTRACT_VERSION = "phase-6.0-agent-router-v1";
|
|
40
|
-
export declare const TEAM_MODE_POLICY_VERSION = "phase-6.0-team-mode-policy-v1";
|
|
41
|
-
export declare const EVIDENCE_INGESTION_CONTRACT_VERSION = "phase-6.0-evidence-ingestion-v1";
|
|
42
|
-
export declare const AGENT_EXECUTION_RECORD_CONTRACT_VERSION = "phase-6.0-agent-execution-record-v1";
|
|
43
|
-
export declare const TEAM_SESSION_RECORD_CONTRACT_VERSION = "phase-6.0-team-session-record-v1";
|
|
44
|
-
export declare const RESIDENT_WORKER_RUNTIME_CONTRACT_VERSION = "phase-6.1-resident-worker-runtime-v1";
|
|
45
|
-
export declare const SDD_EVIDENCE_CONTRACT = "sdd-evidence-v1";
|
|
46
|
-
export declare const SDD_EVIDENCE_VERSION = "1.0.0";
|
|
47
|
-
export declare const ACCEPTANCE_POLICY_RULESET_VERSION = "acceptance-policy-v1";
|
|
48
|
-
export declare const INVOCATION_LEDGER_CONTRACT_VERSION = "phase-6.9-invocation-ledger-v1";
|
|
49
|
-
export declare const ROUTE_CACHE_CONTRACT_VERSION = "phase-6.9-route-cache-v1";
|
|
50
|
-
export declare const RUNTIME_PROFILE_CONTRACT_VERSION = "phase-6.9-runtime-profile-v1";
|
|
51
|
-
export declare const CONTEXT_BUDGET_CONTRACT_VERSION = "phase-6.10-context-budget-v1";
|
|
52
|
-
export declare const COMMAND_OUTPUT_SUMMARY_CONTRACT_VERSION = "sdd-command-output-summary-v1";
|
|
53
|
-
export declare const EVIDENCE_SUMMARY_CONTRACT_VERSION = "sdd-evidence-summary-v1";
|
|
54
|
-
export declare const CONTEXT_PACKAGE_CONTRACT_VERSION = "sdd-context-package-v1";
|
|
55
|
-
export declare const LOG_WORKER_SUMMARY_CONTRACT_VERSION = "sdd-log-worker-summary-v1";
|
|
56
|
-
export type DoctorLevel = 'PASS' | 'WARN' | 'FAIL';
|
|
57
|
-
export type RunStatus = 'created' | 'running' | 'completed' | 'blocked' | 'failed' | 'archived';
|
|
58
|
-
export type LifecycleProfile = 'direct' | 'compact' | 'full' | 'research';
|
|
59
|
-
export type LifecycleConfidence = 'high' | 'medium' | 'low';
|
|
60
|
-
export type SddResultStatus = 'PASS' | 'PASS_WITH_GAPS' | 'FAIL' | 'BLOCKED' | 'TIMED_OUT' | 'CANCELLED';
|
|
61
|
-
export type DelegationRunMode = 'foreground' | 'background';
|
|
62
|
-
export type DelegationStatus = 'PENDING' | 'RUNNING' | 'COMPLETED' | 'FAILED' | 'TIMED_OUT' | 'CANCELLED' | 'RECOVERABLE' | 'STALE';
|
|
63
|
-
export type GoalVerifyStatus = 'PASS' | 'PASS_WITH_GAPS' | 'FAIL' | 'BLOCKED';
|
|
64
|
-
export type HarnessVerifyStatus = 'PASS' | 'GAPS' | 'BLOCKED' | 'HUMAN_NEEDED';
|
|
65
|
-
export type ArtifactResultIngestionStatus = 'accepted' | 'rejected';
|
|
66
|
-
export type EvidenceCoverageStatus = 'PASS' | 'FAIL' | 'BLOCKED' | 'REFERENCED_ONLY' | 'MISSING';
|
|
67
|
-
export type EvidenceQualityIssue = 'EMPTY_EVIDENCE' | 'TODO_PLACEHOLDER' | 'TEMPLATE_TEXT' | 'MENTION_ONLY' | 'UNSOURCED_PASS' | 'MISSING_COMMAND_OUTPUT' | 'MISSING_ARTIFACT_REFERENCE' | 'MISSING_MATERIAL_REFERENCE' | 'PROVENANCE_GAP' | 'POLICY_RULE_FAILED' | 'DERIVED_SOURCE_EVIDENCE' | 'PARTITION_SCOPE_VIOLATION';
|
|
68
|
-
export type ContextProfile = 'brief' | 'normal' | 'forensic';
|
|
69
|
-
export type ContextBuildMode = 'do' | 'verify' | 'sync-back' | 'doctor';
|
|
70
|
-
export type ContextSourceKind = 'artifact' | 'run_state' | 'ledger' | 'document' | 'command_output' | 'derived';
|
|
71
|
-
export type ContextSummaryStatus = 'PASS' | 'FAIL' | 'BLOCKED' | 'UNKNOWN';
|
|
72
|
-
export type DetectionConfidence = 'high' | 'medium' | 'low';
|
|
73
|
-
export interface DetectionEvidence {
|
|
74
|
-
kind: string;
|
|
75
|
-
detail: string;
|
|
76
|
-
weight: number;
|
|
77
|
-
}
|
|
78
|
-
export interface ProjectDetectionCandidate {
|
|
79
|
-
id: string;
|
|
80
|
-
language: string;
|
|
81
|
-
framework: string;
|
|
82
|
-
score: number;
|
|
83
|
-
confidence: DetectionConfidence;
|
|
84
|
-
evidence: DetectionEvidence[];
|
|
85
|
-
validationDefault: string[];
|
|
86
|
-
}
|
|
87
|
-
export interface ProjectDetection {
|
|
88
|
-
primary: ProjectDetectionCandidate;
|
|
89
|
-
candidates: ProjectDetectionCandidate[];
|
|
90
|
-
mixed_stack: boolean;
|
|
91
|
-
}
|
|
92
|
-
export interface ProjectConfig {
|
|
93
|
-
contract: typeof PROJECT_CONFIG_CONTRACT;
|
|
94
|
-
project: {
|
|
95
|
-
name: string;
|
|
96
|
-
language: string;
|
|
97
|
-
framework: string;
|
|
98
|
-
};
|
|
99
|
-
detection?: {
|
|
100
|
-
confidence: DetectionConfidence;
|
|
101
|
-
mixed_stack: boolean;
|
|
102
|
-
primary: string;
|
|
103
|
-
candidates: Array<{
|
|
104
|
-
id: string;
|
|
105
|
-
confidence: DetectionConfidence;
|
|
106
|
-
score: number;
|
|
107
|
-
}>;
|
|
108
|
-
};
|
|
109
|
-
sdd: {
|
|
110
|
-
spec_dir: string;
|
|
111
|
-
default_branch?: string;
|
|
112
|
-
docs_language: string;
|
|
113
|
-
compatible_with: string;
|
|
114
|
-
};
|
|
115
|
-
validation: {
|
|
116
|
-
default: string[];
|
|
117
|
-
};
|
|
118
|
-
editing: {
|
|
119
|
-
prefer_hashline: boolean;
|
|
120
|
-
native_edit_fallback: boolean;
|
|
121
|
-
};
|
|
122
|
-
runtime: {
|
|
123
|
-
background_write: boolean;
|
|
124
|
-
worktree_isolation: boolean;
|
|
125
|
-
sync_back_mode: 'proposal';
|
|
126
|
-
};
|
|
127
|
-
lifecycle: {
|
|
128
|
-
decision_required: boolean;
|
|
129
|
-
profiles: LifecycleProfile[];
|
|
130
|
-
};
|
|
131
|
-
agentRuntime?: ProjectAgentRuntimeConfig;
|
|
132
|
-
}
|
|
133
|
-
export type ToolCapabilityCategory = 'runtime' | 'editing' | 'git' | 'validation' | 'browser' | 'artifact' | 'governance';
|
|
134
|
-
export type ToolCapabilitySideEffect = 'read_only' | 'local_write' | 'command_execution' | 'external_interaction';
|
|
135
|
-
export interface ToolCapability {
|
|
136
|
-
id: string;
|
|
137
|
-
title: string;
|
|
138
|
-
category: ToolCapabilityCategory;
|
|
139
|
-
summary: string;
|
|
140
|
-
sideEffect: ToolCapabilitySideEffect;
|
|
141
|
-
defaultAvailable: boolean;
|
|
142
|
-
allowedStages: string[];
|
|
143
|
-
requiredEvidence: string[];
|
|
144
|
-
forbiddenUses: string[];
|
|
145
|
-
}
|
|
146
|
-
export interface ToolCapabilityRegistry {
|
|
147
|
-
version: string;
|
|
148
|
-
capabilities: ToolCapability[];
|
|
149
|
-
}
|
|
150
|
-
export type ToolPluginEntryKind = 'cli' | 'adapter' | 'command' | 'manual';
|
|
151
|
-
export type ToolPluginLoadMode = 'static_manifest' | 'readonly_asset';
|
|
152
|
-
export interface ToolPluginContract {
|
|
153
|
-
id: string;
|
|
154
|
-
title: string;
|
|
155
|
-
version: string;
|
|
156
|
-
capabilityId: string;
|
|
157
|
-
entryKind: ToolPluginEntryKind;
|
|
158
|
-
assetPath: string;
|
|
159
|
-
loadMode: ToolPluginLoadMode;
|
|
160
|
-
checksum: string | null;
|
|
161
|
-
requiredEvidence: string[];
|
|
162
|
-
forbiddenUses: string[];
|
|
163
|
-
}
|
|
164
|
-
export interface ToolPluginContractRegistry {
|
|
165
|
-
version: string;
|
|
166
|
-
contracts: ToolPluginContract[];
|
|
167
|
-
}
|
|
168
|
-
export type DelegationQueueStatusSource = 'run_state_delegation';
|
|
169
|
-
export interface DelegationQueueItem {
|
|
170
|
-
id: string;
|
|
171
|
-
runId: string;
|
|
172
|
-
delegationId: string;
|
|
173
|
-
taskId: string;
|
|
174
|
-
agent: string;
|
|
175
|
-
requestedCapabilityId: string;
|
|
176
|
-
dedupeKey: string;
|
|
177
|
-
status: DelegationStatus;
|
|
178
|
-
statusSource: DelegationQueueStatusSource;
|
|
179
|
-
runMode: DelegationRunMode;
|
|
180
|
-
expectedArtifact: string;
|
|
181
|
-
requiredEvidence: string[];
|
|
182
|
-
createdAt: string;
|
|
183
|
-
updatedAt: string;
|
|
184
|
-
}
|
|
185
|
-
export interface DelegationQueueSnapshot {
|
|
186
|
-
version: string;
|
|
187
|
-
items: DelegationQueueItem[];
|
|
188
|
-
}
|
|
189
|
-
export interface DelegationStateTransition {
|
|
190
|
-
from: DelegationStatus;
|
|
191
|
-
to: DelegationStatus;
|
|
192
|
-
event: string;
|
|
193
|
-
terminal: boolean;
|
|
194
|
-
}
|
|
195
|
-
export interface DelegationStateMachine {
|
|
196
|
-
version: string;
|
|
197
|
-
statuses: DelegationStatus[];
|
|
198
|
-
terminalStatuses: DelegationStatus[];
|
|
199
|
-
transitions: DelegationStateTransition[];
|
|
200
|
-
}
|
|
201
|
-
export interface DelegationStateTransitionValidation {
|
|
202
|
-
valid: boolean;
|
|
203
|
-
from: DelegationStatus;
|
|
204
|
-
to: DelegationStatus;
|
|
205
|
-
event: string | null;
|
|
206
|
-
issues: ContractValidationIssue[];
|
|
207
|
-
}
|
|
208
|
-
export type WorkerAdapterKind = 'claude_code_subagent' | 'sdd_cli_task' | 'manual_handoff';
|
|
209
|
-
export type WorkerAdapterExitStatus = 'completed' | 'failed' | 'cancelled' | 'timed_out' | 'blocked';
|
|
210
|
-
export interface WorkerAdapterPayloadContract {
|
|
211
|
-
queueItemId: string;
|
|
212
|
-
runId: string;
|
|
213
|
-
taskId: string;
|
|
214
|
-
delegationId: string;
|
|
215
|
-
stateMachineVersion: string;
|
|
216
|
-
}
|
|
217
|
-
export interface WorkerAdapterOutputContract {
|
|
218
|
-
artifactReference: string;
|
|
219
|
-
terminalStatus: DelegationStatus[];
|
|
220
|
-
exitStatuses: WorkerAdapterExitStatus[];
|
|
221
|
-
requiredEvents: string[];
|
|
222
|
-
}
|
|
223
|
-
export interface WorkerAdapterContract {
|
|
224
|
-
id: string;
|
|
225
|
-
title: string;
|
|
226
|
-
version: string;
|
|
227
|
-
kind: WorkerAdapterKind;
|
|
228
|
-
capabilityId: string;
|
|
229
|
-
pluginContractId: string;
|
|
230
|
-
input: WorkerAdapterPayloadContract;
|
|
231
|
-
output: WorkerAdapterOutputContract;
|
|
232
|
-
sideEffect: ToolCapabilitySideEffect;
|
|
233
|
-
permissionPrompt: string;
|
|
234
|
-
requiredEvidence: string[];
|
|
235
|
-
forbiddenUses: string[];
|
|
236
|
-
}
|
|
237
|
-
export interface WorkerAdapterContractRegistry {
|
|
238
|
-
version: string;
|
|
239
|
-
adapters: WorkerAdapterContract[];
|
|
240
|
-
}
|
|
241
|
-
export type WorktreeIsolationMode = 'none' | 'required' | 'blocked' | 'manual';
|
|
242
|
-
export interface WorktreeIsolationPeer {
|
|
243
|
-
taskId: string;
|
|
244
|
-
affectedFiles: string[];
|
|
245
|
-
risk: string[];
|
|
246
|
-
}
|
|
247
|
-
export interface WorktreeIsolationGate {
|
|
248
|
-
name: string;
|
|
249
|
-
passed: boolean;
|
|
250
|
-
message: string;
|
|
251
|
-
}
|
|
252
|
-
export interface WorktreeIsolationDecision {
|
|
253
|
-
version: string;
|
|
254
|
-
taskId: string;
|
|
255
|
-
mode: WorktreeIsolationMode;
|
|
256
|
-
safeConcurrency: boolean;
|
|
257
|
-
capabilityId: string;
|
|
258
|
-
capabilitySideEffect: ToolCapabilitySideEffect;
|
|
259
|
-
affectedFiles: string[];
|
|
260
|
-
risk: string[];
|
|
261
|
-
peers: WorktreeIsolationPeer[];
|
|
262
|
-
overlaps: Array<{
|
|
263
|
-
peerTaskId: string;
|
|
264
|
-
files: string[];
|
|
265
|
-
}>;
|
|
266
|
-
gates: WorktreeIsolationGate[];
|
|
267
|
-
reasons: string[];
|
|
268
|
-
}
|
|
269
|
-
export type WorktreeLifecycleStatus = 'created' | 'kept' | 'removed';
|
|
270
|
-
export interface WorktreeLifecycleRecord {
|
|
271
|
-
contract: typeof WORKTREE_LIFECYCLE_CONTRACT_VERSION;
|
|
272
|
-
runId: string;
|
|
273
|
-
taskId: string;
|
|
274
|
-
worktreeId: string;
|
|
275
|
-
status: WorktreeLifecycleStatus;
|
|
276
|
-
branchName: string;
|
|
277
|
-
worktreePath: string;
|
|
278
|
-
baseRef: string;
|
|
279
|
-
createdAt: string;
|
|
280
|
-
updatedAt: string;
|
|
281
|
-
removedAt: string | null;
|
|
282
|
-
keepReason: string | null;
|
|
283
|
-
dirty: boolean;
|
|
284
|
-
}
|
|
285
|
-
export interface WorktreeLifecycleInspection {
|
|
286
|
-
runId: string;
|
|
287
|
-
contract: typeof WORKTREE_LIFECYCLE_CONTRACT_VERSION;
|
|
288
|
-
records: WorktreeLifecycleRecord[];
|
|
289
|
-
valid: boolean;
|
|
290
|
-
issues: ContractValidationIssue[];
|
|
291
|
-
}
|
|
292
|
-
export interface ArtifactResultIngestionRecord {
|
|
293
|
-
contract: typeof ARTIFACT_RESULT_INGESTION_CONTRACT_VERSION;
|
|
294
|
-
runId: string;
|
|
295
|
-
delegationId: string;
|
|
296
|
-
task: string;
|
|
297
|
-
agent: string;
|
|
298
|
-
artifactPath: string;
|
|
299
|
-
status: ArtifactResultIngestionStatus;
|
|
300
|
-
resultStatus: SddResultStatus | null;
|
|
301
|
-
delegationStatus: DelegationStatus | null;
|
|
302
|
-
ingestedAt: string;
|
|
303
|
-
issues: ContractValidationIssue[];
|
|
304
|
-
gaps: SddTaskGap[];
|
|
305
|
-
}
|
|
306
|
-
export interface ArtifactResultIngestionResult {
|
|
307
|
-
valid: boolean;
|
|
308
|
-
duplicate: boolean;
|
|
309
|
-
record: ArtifactResultIngestionRecord;
|
|
310
|
-
delegation: DelegationRecord | null;
|
|
311
|
-
}
|
|
312
|
-
export interface ArtifactResultIngestionInspection {
|
|
313
|
-
runId: string;
|
|
314
|
-
contract: typeof ARTIFACT_RESULT_INGESTION_CONTRACT_VERSION;
|
|
315
|
-
records: ArtifactResultIngestionRecord[];
|
|
316
|
-
valid: boolean;
|
|
317
|
-
issues: ContractValidationIssue[];
|
|
318
|
-
}
|
|
319
|
-
export interface LifecycleDecisionRecord {
|
|
320
|
-
contract: typeof LIFECYCLE_DECISION_CONTRACT | typeof LEGACY_LIFECYCLE_DECISION_CONTRACT;
|
|
321
|
-
version?: typeof LIFECYCLE_DECISION_VERSION;
|
|
322
|
-
model_version: string;
|
|
323
|
-
input_summary: Record<string, unknown>;
|
|
324
|
-
decision: {
|
|
325
|
-
profile: LifecycleProfile | null;
|
|
326
|
-
confidence: LifecycleConfidence | null;
|
|
327
|
-
hard_gate_hits: string[];
|
|
328
|
-
required_stages: string[];
|
|
329
|
-
skipped_stages: string[];
|
|
330
|
-
human_checkpoint_required: boolean;
|
|
331
|
-
};
|
|
332
|
-
reasons: string[];
|
|
333
|
-
escalation_triggers: string[];
|
|
334
|
-
downgrade_reason: string | null;
|
|
335
|
-
audit: {
|
|
336
|
-
decided_at: string | null;
|
|
337
|
-
decided_by: 'command' | 'runtime' | 'user_override' | null;
|
|
338
|
-
policy_version: string;
|
|
339
|
-
source_artifacts: string[];
|
|
340
|
-
};
|
|
341
|
-
}
|
|
342
|
-
export type SignalClarity = 'high' | 'medium' | 'low';
|
|
343
|
-
export type EstimatedChangeSize = 'tiny' | 'small' | 'medium' | 'large';
|
|
344
|
-
export type ImpactConfidence = 'high' | 'medium' | 'low';
|
|
345
|
-
export type ValidationClarity = 'clear' | 'partial' | 'unclear';
|
|
346
|
-
export type OrchestrationUncertainty = 'low' | 'medium' | 'high';
|
|
347
|
-
export type Reversibility = 'reversible' | 'irreversible' | 'unknown';
|
|
348
|
-
export type ContextBranchSource = 'explicit_option' | 'cli_option' | 'project_config' | 'git_branch';
|
|
349
|
-
export interface ContextResolverContract {
|
|
350
|
-
contract: typeof CONTEXT_RESOLVER_CONTRACT_VERSION;
|
|
351
|
-
branch: string;
|
|
352
|
-
partition: string;
|
|
353
|
-
rawBranch: string;
|
|
354
|
-
branchSource: ContextBranchSource;
|
|
355
|
-
currentGitBranch: string | null;
|
|
356
|
-
workingTreeMatched: boolean | null;
|
|
357
|
-
specDir: string;
|
|
358
|
-
}
|
|
359
|
-
export type LifecycleRiskCategory = 'state_machine' | 'concurrency' | 'database_data_loss' | 'security' | 'sql' | 'api_schema' | 'ci_build' | 'external_unknown';
|
|
360
|
-
export type LifecycleRiskExtractionSource = 'from_text' | 'from_file' | 'none';
|
|
361
|
-
export interface LifecycleRiskExtractionEvidence {
|
|
362
|
-
category: LifecycleRiskCategory;
|
|
363
|
-
matched: string;
|
|
364
|
-
riskTag: string;
|
|
365
|
-
}
|
|
366
|
-
export interface LifecycleRiskGateExtraction {
|
|
367
|
-
contract: typeof LIFECYCLE_RISK_GATE_CONTRACT_VERSION;
|
|
368
|
-
source: LifecycleRiskExtractionSource;
|
|
369
|
-
riskTags: string[];
|
|
370
|
-
affectedContracts: string[];
|
|
371
|
-
externalUnknown: boolean;
|
|
372
|
-
architectureDecisionRequired: boolean;
|
|
373
|
-
reversibility?: Reversibility;
|
|
374
|
-
validationClarity?: ValidationClarity;
|
|
375
|
-
impactConfidence?: ImpactConfidence;
|
|
376
|
-
evidence: LifecycleRiskExtractionEvidence[];
|
|
377
|
-
signals: Partial<LifecycleDecisionSignals>;
|
|
378
|
-
}
|
|
379
|
-
export type LifecycleAutonomyCeiling = 'direct_execution_allowed' | 'compact_boundary_only' | 'full_sdd_with_checkpoint' | 'research_before_implementation';
|
|
380
|
-
export interface LifecycleDecisionSignals {
|
|
381
|
-
intent_clarity: SignalClarity;
|
|
382
|
-
acceptance_clarity: SignalClarity;
|
|
383
|
-
estimated_change_size: EstimatedChangeSize;
|
|
384
|
-
task_count_estimate: number;
|
|
385
|
-
file_count_estimate: number;
|
|
386
|
-
affected_layers: string[];
|
|
387
|
-
affected_contracts: string[];
|
|
388
|
-
dependency_fanout: 'none' | 'local' | 'multi_component' | 'unknown';
|
|
389
|
-
impact_confidence: ImpactConfidence;
|
|
390
|
-
risk_tags: string[];
|
|
391
|
-
reversibility: Reversibility;
|
|
392
|
-
validation_clarity: ValidationClarity;
|
|
393
|
-
validation_available: boolean;
|
|
394
|
-
validation_cost: 'cheap' | 'moderate' | 'expensive' | 'unknown';
|
|
395
|
-
policy_hits: string[];
|
|
396
|
-
permission_required: string[];
|
|
397
|
-
requires_agents: boolean;
|
|
398
|
-
handoff_count: number;
|
|
399
|
-
artifact_dependency: boolean;
|
|
400
|
-
runtime_recovery_need: boolean;
|
|
401
|
-
orchestration_uncertainty: OrchestrationUncertainty;
|
|
402
|
-
human_checkpoint_required: boolean;
|
|
403
|
-
approval_reason: string[];
|
|
404
|
-
source_artifacts: string[];
|
|
405
|
-
can_scout_impact: boolean;
|
|
406
|
-
architecture_decision_required: boolean;
|
|
407
|
-
external_unknown: boolean;
|
|
408
|
-
}
|
|
409
|
-
export interface LifecycleDecisionGateResult {
|
|
410
|
-
record: LifecycleDecisionRecord;
|
|
411
|
-
checkpointRequired: boolean;
|
|
412
|
-
boundaries: string[];
|
|
413
|
-
autonomyCeiling: LifecycleAutonomyCeiling;
|
|
414
|
-
}
|
|
415
|
-
export interface ArtifactIndexEntry {
|
|
416
|
-
path: string;
|
|
417
|
-
kind: string;
|
|
418
|
-
task: string | null;
|
|
419
|
-
agent: string | null;
|
|
420
|
-
createdAt: string;
|
|
421
|
-
}
|
|
422
|
-
export interface RunDocumentSnapshot {
|
|
423
|
-
specHash: string | null;
|
|
424
|
-
planHash: string | null;
|
|
425
|
-
tasksHash: string | null;
|
|
426
|
-
planBasedOnSpecHash: string | null;
|
|
427
|
-
tasksBasedOnPlanHash: string | null;
|
|
428
|
-
}
|
|
429
|
-
export interface RunState {
|
|
430
|
-
contract: typeof RUN_STATE_CONTRACT;
|
|
431
|
-
runtimeVersion: typeof RUNTIME_VERSION;
|
|
432
|
-
runId: string;
|
|
433
|
-
status: RunStatus;
|
|
434
|
-
phase: string | null;
|
|
435
|
-
currentTask: string | null;
|
|
436
|
-
partition: string | null;
|
|
437
|
-
gitBranch: string | null;
|
|
438
|
-
taskId: string | null;
|
|
439
|
-
affectedFiles: string[];
|
|
440
|
-
documentSnapshot: RunDocumentSnapshot;
|
|
441
|
-
createdAt: string;
|
|
442
|
-
updatedAt: string;
|
|
443
|
-
projectRoot: string;
|
|
444
|
-
projectConfigPath: string;
|
|
445
|
-
eventLogPath: string;
|
|
446
|
-
artifactRoot: string;
|
|
447
|
-
lifecycleDecision: LifecycleDecisionRecord | null;
|
|
448
|
-
tasks: Record<string, unknown>;
|
|
449
|
-
agents: Record<string, unknown>;
|
|
450
|
-
delegations: Record<string, DelegationRecord>;
|
|
451
|
-
artifacts: ArtifactIndexEntry[];
|
|
452
|
-
artifactIngestions: Record<string, ArtifactResultIngestionRecord>;
|
|
453
|
-
worktrees: Record<string, WorktreeLifecycleRecord>;
|
|
454
|
-
validation: {
|
|
455
|
-
status: 'not_run' | 'pass' | 'pass_with_gaps' | 'fail' | 'blocked';
|
|
456
|
-
commands: string[];
|
|
457
|
-
evidence: string[];
|
|
458
|
-
};
|
|
459
|
-
syncBack: {
|
|
460
|
-
mode: 'proposal';
|
|
461
|
-
proposalPath: string | null;
|
|
462
|
-
proposalDigest?: string | null;
|
|
463
|
-
sourceVerifyStatus?: GoalVerifyStatus | SingleTaskLoopStatus | null;
|
|
464
|
-
status: 'not_created' | 'proposed' | 'applied';
|
|
465
|
-
};
|
|
466
|
-
}
|
|
467
|
-
export interface RuntimeEvent {
|
|
468
|
-
contract: typeof EVENT_LOG_CONTRACT;
|
|
469
|
-
time: string;
|
|
470
|
-
event: string;
|
|
471
|
-
runId: string;
|
|
472
|
-
summary?: string;
|
|
473
|
-
data?: Record<string, unknown>;
|
|
474
|
-
}
|
|
475
|
-
export interface DoctorCheck {
|
|
476
|
-
level: DoctorLevel;
|
|
477
|
-
check: string;
|
|
478
|
-
message: string;
|
|
479
|
-
action?: string;
|
|
480
|
-
}
|
|
481
|
-
export interface DoctorReport {
|
|
482
|
-
status: DoctorLevel;
|
|
483
|
-
checks: DoctorCheck[];
|
|
484
|
-
}
|
|
485
|
-
export type SddTaskStatus = 'pending' | 'in_progress' | 'completed' | 'blocked' | 'deferred' | 'unknown';
|
|
486
|
-
export type SddGapSeverity = 'blocking' | 'warning';
|
|
487
|
-
export type SddGapType = 'Document Gap' | 'Task Gap' | 'Dependency Gap';
|
|
488
|
-
export interface SddTaskSourceLocation {
|
|
489
|
-
filePath: string;
|
|
490
|
-
heading: string | null;
|
|
491
|
-
lineStart: number;
|
|
492
|
-
lineEnd: number;
|
|
493
|
-
}
|
|
494
|
-
export interface SddTask {
|
|
495
|
-
id: string;
|
|
496
|
-
title: string | null;
|
|
497
|
-
status: SddTaskStatus;
|
|
498
|
-
wave: number | null;
|
|
499
|
-
dependsOn: string[];
|
|
500
|
-
affectedFiles: string[];
|
|
501
|
-
validation: string[];
|
|
502
|
-
risk: string[];
|
|
503
|
-
acceptanceRefs: string[];
|
|
504
|
-
planRefs: string[];
|
|
505
|
-
fileOwnership: string[];
|
|
506
|
-
agentFit: string[];
|
|
507
|
-
verificationAvailability: string[];
|
|
508
|
-
autonomy: string | null;
|
|
509
|
-
allowedAgents: string[];
|
|
510
|
-
requiredArtifacts: string[];
|
|
511
|
-
gapState: string | null;
|
|
512
|
-
boundary: string | null;
|
|
513
|
-
acceptance: string[];
|
|
514
|
-
implementationNotes: string | null;
|
|
515
|
-
rawMetadata: Record<string, string | string[]>;
|
|
516
|
-
source: SddTaskSourceLocation;
|
|
517
|
-
}
|
|
518
|
-
export interface SddTaskGap {
|
|
519
|
-
type: SddGapType;
|
|
520
|
-
severity: SddGapSeverity;
|
|
521
|
-
taskId: string | null;
|
|
522
|
-
field: string;
|
|
523
|
-
message: string;
|
|
524
|
-
recommendation: string;
|
|
525
|
-
}
|
|
526
|
-
export interface SddTaskModel {
|
|
527
|
-
branch: string;
|
|
528
|
-
specPath: string;
|
|
529
|
-
planPath: string;
|
|
530
|
-
tasksPath: string;
|
|
531
|
-
documents: {
|
|
532
|
-
specExists: boolean;
|
|
533
|
-
planExists: boolean;
|
|
534
|
-
tasksExists: boolean;
|
|
535
|
-
specHash?: string | null;
|
|
536
|
-
planHash?: string | null;
|
|
537
|
-
tasksHash?: string | null;
|
|
538
|
-
planBasedOnSpecHash?: string | null;
|
|
539
|
-
tasksBasedOnPlanHash?: string | null;
|
|
540
|
-
planStale?: boolean;
|
|
541
|
-
tasksStale?: boolean;
|
|
542
|
-
};
|
|
543
|
-
tasks: SddTask[];
|
|
544
|
-
gaps: SddTaskGap[];
|
|
545
|
-
}
|
|
546
|
-
export type TaskGraphEdgeType = 'depends_on' | 'file_overlap';
|
|
547
|
-
export interface TaskGraphNode {
|
|
548
|
-
taskId: string;
|
|
549
|
-
title: string | null;
|
|
550
|
-
status: SddTaskStatus;
|
|
551
|
-
wave: number | null;
|
|
552
|
-
dependsOn: string[];
|
|
553
|
-
affectedFiles: string[];
|
|
554
|
-
risk: string[];
|
|
555
|
-
validation: string[];
|
|
556
|
-
acceptanceRefs: string[];
|
|
557
|
-
planRefs: string[];
|
|
558
|
-
fileOwnership: string[];
|
|
559
|
-
agentFit: string[];
|
|
560
|
-
verificationAvailability: string[];
|
|
561
|
-
autonomy: string | null;
|
|
562
|
-
allowedAgents: string[];
|
|
563
|
-
requiredArtifacts: string[];
|
|
564
|
-
gapState: string | null;
|
|
565
|
-
source: SddTaskSourceLocation;
|
|
566
|
-
}
|
|
567
|
-
export interface TaskGraphEdge {
|
|
568
|
-
from: string;
|
|
569
|
-
to: string;
|
|
570
|
-
type: TaskGraphEdgeType;
|
|
571
|
-
files: string[];
|
|
572
|
-
}
|
|
573
|
-
export interface TaskGraphDiagnostic {
|
|
574
|
-
severity: SddGapSeverity;
|
|
575
|
-
taskId: string | null;
|
|
576
|
-
field: string;
|
|
577
|
-
message: string;
|
|
578
|
-
recommendation: string;
|
|
579
|
-
}
|
|
580
|
-
export interface TaskGraphPlan {
|
|
581
|
-
contract: typeof TASK_GRAPH_CONTRACT_VERSION;
|
|
582
|
-
version: typeof TASK_GRAPH_PLANNER_CONTRACT_VERSION;
|
|
583
|
-
branch: string;
|
|
584
|
-
valid: boolean;
|
|
585
|
-
nodes: TaskGraphNode[];
|
|
586
|
-
dependencyEdges: TaskGraphEdge[];
|
|
587
|
-
fileOverlapEdges: TaskGraphEdge[];
|
|
588
|
-
diagnostics: TaskGraphDiagnostic[];
|
|
589
|
-
summary: {
|
|
590
|
-
tasks: number;
|
|
591
|
-
dependencies: number;
|
|
592
|
-
fileOverlaps: number;
|
|
593
|
-
highRiskTasks: string[];
|
|
594
|
-
validationCommands: string[];
|
|
595
|
-
};
|
|
596
|
-
}
|
|
597
|
-
export interface WavePlanTask {
|
|
598
|
-
taskId: string;
|
|
599
|
-
isolationMode: WorktreeIsolationMode;
|
|
600
|
-
reasons: string[];
|
|
601
|
-
}
|
|
602
|
-
export interface WavePlanWave {
|
|
603
|
-
index: number;
|
|
604
|
-
tasks: WavePlanTask[];
|
|
605
|
-
}
|
|
606
|
-
export interface WavePlanGate {
|
|
607
|
-
taskId: string;
|
|
608
|
-
gate: 'manual' | 'blocked';
|
|
609
|
-
reasons: string[];
|
|
610
|
-
}
|
|
611
|
-
export interface WavePlan {
|
|
612
|
-
version: typeof WAVE_PLANNER_CONTRACT_VERSION;
|
|
613
|
-
branch: string;
|
|
614
|
-
valid: boolean;
|
|
615
|
-
waves: WavePlanWave[];
|
|
616
|
-
manualGates: WavePlanGate[];
|
|
617
|
-
blockedTasks: WavePlanGate[];
|
|
618
|
-
diagnostics: TaskGraphDiagnostic[];
|
|
619
|
-
summary: {
|
|
620
|
-
tasks: number;
|
|
621
|
-
waves: number;
|
|
622
|
-
plannedTasks: number;
|
|
623
|
-
manualTasks: number;
|
|
624
|
-
blockedTasks: number;
|
|
625
|
-
};
|
|
626
|
-
}
|
|
627
|
-
export type BackgroundExecutorStatus = 'claimed' | 'completed' | 'failed' | 'blocked';
|
|
628
|
-
export interface BackgroundExecutorRunOptions {
|
|
629
|
-
branch?: string;
|
|
630
|
-
runId?: string;
|
|
631
|
-
taskId: string;
|
|
632
|
-
agent?: string;
|
|
633
|
-
workerAdapterId?: string;
|
|
634
|
-
artifactPath?: string;
|
|
635
|
-
delegationId?: string;
|
|
636
|
-
timeoutSeconds?: number;
|
|
637
|
-
}
|
|
638
|
-
export interface BackgroundExecutorResult {
|
|
639
|
-
version: typeof BACKGROUND_EXECUTOR_CONTRACT_VERSION;
|
|
640
|
-
runId: string;
|
|
641
|
-
taskId: string;
|
|
642
|
-
delegationId: string | null;
|
|
643
|
-
queueItemId: string | null;
|
|
644
|
-
workerAdapterId: string;
|
|
645
|
-
status: BackgroundExecutorStatus;
|
|
646
|
-
artifactPath: string | null;
|
|
647
|
-
ingestion: ArtifactResultIngestionRecord | null;
|
|
648
|
-
issues: ContractValidationIssue[];
|
|
649
|
-
message: string;
|
|
650
|
-
}
|
|
651
|
-
export interface BackgroundExecutorInspection {
|
|
652
|
-
version: typeof BACKGROUND_EXECUTOR_CONTRACT_VERSION;
|
|
653
|
-
runId: string;
|
|
654
|
-
delegations: DelegationQueueItem[];
|
|
655
|
-
artifactIngestions: ArtifactResultIngestionRecord[];
|
|
656
|
-
runningDelegations: number;
|
|
657
|
-
terminalDelegations: number;
|
|
658
|
-
valid: boolean;
|
|
659
|
-
issues: ContractValidationIssue[];
|
|
660
|
-
}
|
|
661
|
-
export type ResidentWorkerRuntimeStatus = 'claimed' | 'active' | 'stale' | 'terminal' | 'blocked';
|
|
662
|
-
export interface ResidentWorkerRuntimeRecord {
|
|
663
|
-
version: typeof RESIDENT_WORKER_RUNTIME_CONTRACT_VERSION;
|
|
664
|
-
runtimeId: string;
|
|
665
|
-
runId: string;
|
|
666
|
-
taskId: string;
|
|
667
|
-
agent: string;
|
|
668
|
-
workerAdapterId: string;
|
|
669
|
-
delegationId: string;
|
|
670
|
-
queueItemId: string;
|
|
671
|
-
expectedArtifact: string;
|
|
672
|
-
status: ResidentWorkerRuntimeStatus;
|
|
673
|
-
claimedAt: string;
|
|
674
|
-
lastHeartbeatAt: string | null;
|
|
675
|
-
leaseSeconds: number;
|
|
676
|
-
leaseExpiresAt: string;
|
|
677
|
-
updatedAt: string;
|
|
678
|
-
evidenceSummary: string;
|
|
679
|
-
}
|
|
680
|
-
export interface ResidentWorkerRuntimeClaimOptions {
|
|
681
|
-
branch?: string;
|
|
682
|
-
runId?: string;
|
|
683
|
-
taskId: string;
|
|
684
|
-
runtimeId?: string;
|
|
685
|
-
agent?: string;
|
|
686
|
-
workerAdapterId?: string;
|
|
687
|
-
delegationId?: string;
|
|
688
|
-
leaseSeconds?: number;
|
|
689
|
-
}
|
|
690
|
-
export interface ResidentWorkerRuntimeClaimResult {
|
|
691
|
-
version: typeof RESIDENT_WORKER_RUNTIME_CONTRACT_VERSION;
|
|
692
|
-
runId: string;
|
|
693
|
-
runtimeId: string | null;
|
|
694
|
-
taskId: string;
|
|
695
|
-
agent: string;
|
|
696
|
-
workerAdapterId: string;
|
|
697
|
-
delegationId: string | null;
|
|
698
|
-
queueItemId: string | null;
|
|
699
|
-
expectedArtifact: string | null;
|
|
700
|
-
status: ResidentWorkerRuntimeStatus;
|
|
701
|
-
leaseExpiresAt: string | null;
|
|
702
|
-
runtime: ResidentWorkerRuntimeRecord | null;
|
|
703
|
-
issues: ContractValidationIssue[];
|
|
704
|
-
message: string;
|
|
705
|
-
}
|
|
706
|
-
export interface ResidentWorkerRuntimeHeartbeatOptions {
|
|
707
|
-
runId: string;
|
|
708
|
-
runtimeId: string;
|
|
709
|
-
leaseSeconds?: number;
|
|
710
|
-
}
|
|
711
|
-
export interface ResidentWorkerRuntimeHeartbeatResult {
|
|
712
|
-
version: typeof RESIDENT_WORKER_RUNTIME_CONTRACT_VERSION;
|
|
713
|
-
runId: string;
|
|
714
|
-
runtimeId: string;
|
|
715
|
-
status: ResidentWorkerRuntimeStatus;
|
|
716
|
-
leaseExpiresAt: string | null;
|
|
717
|
-
runtime: ResidentWorkerRuntimeRecord | null;
|
|
718
|
-
issues: ContractValidationIssue[];
|
|
719
|
-
message: string;
|
|
720
|
-
}
|
|
721
|
-
export interface ResidentWorkerRuntimeInspection {
|
|
722
|
-
version: typeof RESIDENT_WORKER_RUNTIME_CONTRACT_VERSION;
|
|
723
|
-
runId: string;
|
|
724
|
-
runtimeId: string;
|
|
725
|
-
runtime: ResidentWorkerRuntimeRecord | null;
|
|
726
|
-
queueItem: DelegationQueueItem | null;
|
|
727
|
-
workerAdapter: WorkerAdapterContract | null;
|
|
728
|
-
status: ResidentWorkerRuntimeStatus;
|
|
729
|
-
leaseExpired: boolean;
|
|
730
|
-
valid: boolean;
|
|
731
|
-
issues: ContractValidationIssue[];
|
|
732
|
-
recommendedNextCommand: string;
|
|
733
|
-
}
|
|
734
|
-
export interface ResidentWorkerRuntimeList {
|
|
735
|
-
version: typeof RESIDENT_WORKER_RUNTIME_CONTRACT_VERSION;
|
|
736
|
-
runId: string;
|
|
737
|
-
runtimes: ResidentWorkerRuntimeRecord[];
|
|
738
|
-
activeRuntimes: number;
|
|
739
|
-
staleRuntimes: number;
|
|
740
|
-
terminalRuntimes: number;
|
|
741
|
-
blockedRuntimes: number;
|
|
742
|
-
valid: boolean;
|
|
743
|
-
issues: ContractValidationIssue[];
|
|
744
|
-
}
|
|
745
|
-
export type WaveExecutorStrategy = 'fast-stop' | 'safe-continue';
|
|
746
|
-
export type WaveExecutorStatus = 'claimed' | 'completed' | 'failed' | 'blocked';
|
|
747
|
-
export interface WaveExecutorRunOptions {
|
|
748
|
-
branch?: string;
|
|
749
|
-
runId?: string;
|
|
750
|
-
capabilityId?: string;
|
|
751
|
-
agent?: string;
|
|
752
|
-
workerAdapterId?: string;
|
|
753
|
-
strategy?: WaveExecutorStrategy;
|
|
754
|
-
artifactPaths?: Record<string, string>;
|
|
755
|
-
}
|
|
756
|
-
export interface WaveExecutorTaskResult {
|
|
757
|
-
waveIndex: number;
|
|
758
|
-
taskId: string;
|
|
759
|
-
result: BackgroundExecutorResult;
|
|
760
|
-
}
|
|
761
|
-
export interface WaveExecutorResult {
|
|
762
|
-
version: typeof WAVE_EXECUTOR_CONTRACT_VERSION;
|
|
763
|
-
runId: string;
|
|
764
|
-
branch: string;
|
|
765
|
-
strategy: WaveExecutorStrategy;
|
|
766
|
-
status: WaveExecutorStatus;
|
|
767
|
-
plannedWaves: number;
|
|
768
|
-
executedWaves: number;
|
|
769
|
-
taskResults: WaveExecutorTaskResult[];
|
|
770
|
-
manualGates: WavePlanGate[];
|
|
771
|
-
blockedTasks: WavePlanGate[];
|
|
772
|
-
issues: ContractValidationIssue[];
|
|
773
|
-
message: string;
|
|
774
|
-
}
|
|
775
|
-
export interface WaveExecutorInspection {
|
|
776
|
-
version: typeof WAVE_EXECUTOR_CONTRACT_VERSION;
|
|
777
|
-
runId: string;
|
|
778
|
-
background: BackgroundExecutorInspection;
|
|
779
|
-
waveEvents: RuntimeEvent[];
|
|
780
|
-
valid: boolean;
|
|
781
|
-
issues: ContractValidationIssue[];
|
|
782
|
-
}
|
|
783
|
-
export type GovernancePolicyOperation = 'background_executor' | 'wave_executor' | 'sync_back_apply' | 'destructive_git' | 'external_interaction' | 'cleanup';
|
|
784
|
-
export type GovernancePolicyDecisionStatus = 'allow' | 'block' | 'confirm';
|
|
785
|
-
export interface GovernancePolicy {
|
|
786
|
-
version: typeof GOVERNANCE_POLICY_CONTRACT_VERSION;
|
|
787
|
-
concurrency: {
|
|
788
|
-
maxBackgroundDelegations: number;
|
|
789
|
-
maxWaveExecutors: number;
|
|
790
|
-
};
|
|
791
|
-
manualConfirmation: {
|
|
792
|
-
operations: GovernancePolicyOperation[];
|
|
793
|
-
workerAdapters: string[];
|
|
794
|
-
riskTags: string[];
|
|
795
|
-
};
|
|
796
|
-
cleanup: {
|
|
797
|
-
archiveOnly: true;
|
|
798
|
-
deleteRunHistory: false;
|
|
799
|
-
};
|
|
800
|
-
retry: {
|
|
801
|
-
reopenTerminalDelegation: false;
|
|
802
|
-
maxAttemptsPerDelegation: number;
|
|
803
|
-
};
|
|
804
|
-
stopConditions: string[];
|
|
805
|
-
audit: {
|
|
806
|
-
requiredEvents: string[];
|
|
807
|
-
requiredEvidence: string[];
|
|
808
|
-
};
|
|
809
|
-
}
|
|
810
|
-
export interface GovernancePolicyDecisionInput {
|
|
811
|
-
operation: GovernancePolicyOperation;
|
|
812
|
-
runId?: string;
|
|
813
|
-
taskId?: string;
|
|
814
|
-
workerAdapterId?: string;
|
|
815
|
-
riskTags?: string[];
|
|
816
|
-
approved?: boolean;
|
|
817
|
-
excludeQueueItemId?: string;
|
|
818
|
-
}
|
|
819
|
-
export interface GovernancePolicyDecision {
|
|
820
|
-
version: typeof GOVERNANCE_POLICY_CONTRACT_VERSION;
|
|
821
|
-
operation: GovernancePolicyOperation;
|
|
822
|
-
status: GovernancePolicyDecisionStatus;
|
|
823
|
-
allowed: boolean;
|
|
824
|
-
reasons: string[];
|
|
825
|
-
issues: ContractValidationIssue[];
|
|
826
|
-
policy: GovernancePolicy;
|
|
827
|
-
}
|
|
828
|
-
export type WorkflowGateId = 'spec' | 'plan' | 'tasks' | 'do' | 'verify' | 'doctor';
|
|
829
|
-
export interface WorkflowGateContract {
|
|
830
|
-
version: typeof WORKFLOW_GATE_CONTRACT_VERSION;
|
|
831
|
-
id: WorkflowGateId;
|
|
832
|
-
command: string;
|
|
833
|
-
requiredInputs: string[];
|
|
834
|
-
allowedAgents: string[];
|
|
835
|
-
requiredArtifacts: string[];
|
|
836
|
-
gateConditions: string[];
|
|
837
|
-
gapClosureBehavior: string;
|
|
838
|
-
nextAction: string;
|
|
839
|
-
}
|
|
840
|
-
export interface WorkflowGateRegistry {
|
|
841
|
-
version: typeof WORKFLOW_GATE_CONTRACT_VERSION;
|
|
842
|
-
workflows: WorkflowGateContract[];
|
|
843
|
-
}
|
|
844
|
-
export interface WorkflowGateValidation {
|
|
845
|
-
version: typeof WORKFLOW_GATE_CONTRACT_VERSION;
|
|
846
|
-
valid: boolean;
|
|
847
|
-
workflows: WorkflowGateContract[];
|
|
848
|
-
issues: ContractValidationIssue[];
|
|
849
|
-
}
|
|
850
|
-
export type AgentAutonomyCeiling = 'read_only' | 'foreground_write' | 'validation_only' | 'review_only';
|
|
851
|
-
export interface AgentRegistryEntry {
|
|
852
|
-
version: typeof AGENT_REGISTRY_CONTRACT_VERSION;
|
|
853
|
-
id: string;
|
|
854
|
-
role: string;
|
|
855
|
-
allowedStages: string[];
|
|
856
|
-
capabilities: string[];
|
|
857
|
-
readBoundary: string[];
|
|
858
|
-
writeBoundary: string[];
|
|
859
|
-
toolAllowlist: string[];
|
|
860
|
-
requiredArtifact: string;
|
|
861
|
-
verificationExpectation: string;
|
|
862
|
-
autonomyCeiling: AgentAutonomyCeiling;
|
|
863
|
-
stopCondition: string;
|
|
864
|
-
}
|
|
865
|
-
export interface AgentRegistry {
|
|
866
|
-
version: typeof AGENT_REGISTRY_CONTRACT_VERSION;
|
|
867
|
-
agents: AgentRegistryEntry[];
|
|
868
|
-
}
|
|
869
|
-
export interface AgentRegistryValidation {
|
|
870
|
-
version: typeof AGENT_REGISTRY_CONTRACT_VERSION;
|
|
871
|
-
valid: boolean;
|
|
872
|
-
agents: AgentRegistryEntry[];
|
|
873
|
-
issues: ContractValidationIssue[];
|
|
874
|
-
}
|
|
875
|
-
export type BuiltInAgentProfileId = 'planner' | 'architect' | 'implementer' | 'reviewer' | 'validator' | 'researcher' | 'orchestrator' | 'security' | 'domain_expert';
|
|
876
|
-
export type AgentProfileId = BuiltInAgentProfileId | string;
|
|
877
|
-
export type CapabilityReuseDecision = 'reuse_direct' | 'adapt_via_host_adapter' | 'borrow_mechanism' | 'avoid';
|
|
878
|
-
export type SkillCapabilityKind = 'skill' | 'mcp' | 'cli_tool' | 'host_tool' | 'project_agent' | 'external_pattern';
|
|
879
|
-
export type SkillCapabilitySource = 'project' | 'user_global' | 'claude_code' | 'mcp' | 'open_source' | 'host';
|
|
880
|
-
export type SkillCapabilityEvidenceType = 'none' | 'command_output' | 'test_result' | 'browser_snapshot' | 'artifact' | 'external_source' | 'execution_record';
|
|
881
|
-
export type CapabilitySourceKind = 'native_host' | 'mcp_tool' | 'open_source_material' | 'mechanism_reference' | 'future_adapter' | 'project_material';
|
|
882
|
-
export type ExternalPackImportStatus = 'approved' | 'quarantined' | 'denied';
|
|
883
|
-
export type ExternalPackCheckStatus = 'pass' | 'warn' | 'fail' | 'not_run';
|
|
884
|
-
export type ToolPermissionPolicy = 'allow' | 'ask' | 'deny';
|
|
885
|
-
export type AgentRouterCategory = 'planning' | 'implementation' | 'implementation_review' | 'validation' | 'security_research' | 'external_research' | 'blocked';
|
|
886
|
-
export type TeamModeDecisionStatus = 'disabled' | 'enabled' | 'blocked';
|
|
887
|
-
export type TeamModeActivation = 'auto' | 'force' | 'off';
|
|
888
|
-
export type TeamModeSelection = 'off' | 'inspect' | 'review-lite' | 'hyperplan' | 'security-research';
|
|
889
|
-
export type TeamModeCostClass = 'none' | 'low' | 'medium' | 'high';
|
|
890
|
-
export type TeamModeCostRoute = 'not_applicable' | 'downgraded' | 'no_downgrade' | 'blocked';
|
|
891
|
-
export type AgentExecutionRecordStatus = 'claimed' | 'completed' | 'failed' | 'blocked' | 'skipped';
|
|
892
|
-
export type TeamSessionRecordStatus = 'created' | 'completed' | 'blocked' | 'disabled';
|
|
893
|
-
export interface AgentProfileContract {
|
|
894
|
-
version: typeof AGENT_SKILL_TEAM_RUNTIME_CONTRACT_VERSION;
|
|
895
|
-
id: AgentProfileId;
|
|
896
|
-
stageScope: string[];
|
|
897
|
-
riskCeiling: LifecycleAutonomyCeiling;
|
|
898
|
-
defaultAutonomy: LifecycleAutonomyCeiling;
|
|
899
|
-
requiredArtifacts: string[];
|
|
900
|
-
toolScope: string[];
|
|
901
|
-
modelPolicyId: string;
|
|
902
|
-
hostCapabilityRequirements: string[];
|
|
903
|
-
boundaries: string[];
|
|
904
|
-
}
|
|
905
|
-
export interface SkillCapabilityContract {
|
|
906
|
-
version: typeof AGENT_SKILL_TEAM_RUNTIME_CONTRACT_VERSION;
|
|
907
|
-
id: string;
|
|
908
|
-
name: string;
|
|
909
|
-
kind: SkillCapabilityKind;
|
|
910
|
-
source: SkillCapabilitySource;
|
|
911
|
-
sourceRef: string;
|
|
912
|
-
capabilityDomain: string[];
|
|
913
|
-
allowedStages: string[];
|
|
914
|
-
requiredRiskCeiling: LifecycleAutonomyCeiling;
|
|
915
|
-
evidenceType: SkillCapabilityEvidenceType;
|
|
916
|
-
reuseDecision: CapabilityReuseDecision;
|
|
917
|
-
buildExceptionReason: string | null;
|
|
918
|
-
}
|
|
919
|
-
export interface CapabilitySourceCatalogEntry {
|
|
920
|
-
version: typeof CAPABILITY_SOURCE_CATALOG_VERSION;
|
|
921
|
-
id: string;
|
|
922
|
-
name: string;
|
|
923
|
-
kind: CapabilitySourceKind;
|
|
924
|
-
sourceRef: string;
|
|
925
|
-
reuseDecision: CapabilityReuseDecision;
|
|
926
|
-
quarantineRequired: boolean;
|
|
927
|
-
allowedUse: string;
|
|
928
|
-
attribution: string;
|
|
929
|
-
rationale: string;
|
|
930
|
-
}
|
|
931
|
-
export type RuntimeRegistryOrigin = 'built_in' | 'project_config' | 'external_manifest';
|
|
932
|
-
export interface RuntimeRegistryEntrySource {
|
|
933
|
-
id: string;
|
|
934
|
-
kind: 'profile' | 'skill_capability' | 'capability_source';
|
|
935
|
-
origin: RuntimeRegistryOrigin;
|
|
936
|
-
sourceId: string | null;
|
|
937
|
-
quarantineRequired: boolean;
|
|
938
|
-
}
|
|
939
|
-
export interface AgentRuntimeRoutingRuleWhen {
|
|
940
|
-
keywords: string[];
|
|
941
|
-
affectedFileGlobs: string[];
|
|
942
|
-
}
|
|
943
|
-
export interface AgentRuntimeRoutingRule {
|
|
944
|
-
id: string;
|
|
945
|
-
when: AgentRuntimeRoutingRuleWhen;
|
|
946
|
-
preferProfile: AgentProfileId;
|
|
947
|
-
requireCapabilities: string[];
|
|
948
|
-
category: AgentRouterCategory | null;
|
|
949
|
-
}
|
|
950
|
-
export interface AgentRuntimeAdapterMapping {
|
|
951
|
-
profile: AgentProfileId;
|
|
952
|
-
hostAdapter: string;
|
|
953
|
-
projection: string;
|
|
954
|
-
permissionPolicy: string;
|
|
955
|
-
}
|
|
956
|
-
export interface AgentRuntimeAliasResolution {
|
|
957
|
-
input: string;
|
|
958
|
-
resolved: AgentProfileId;
|
|
959
|
-
source: 'built_in' | 'project_config';
|
|
960
|
-
}
|
|
961
|
-
export interface ProjectAgentRuntimeConfig {
|
|
962
|
-
profiles: AgentProfileContract[];
|
|
963
|
-
skillCapabilities: SkillCapabilityContract[];
|
|
964
|
-
capabilitySources: CapabilitySourceCatalogEntry[];
|
|
965
|
-
aliases: Record<string, string>;
|
|
966
|
-
routingRules: AgentRuntimeRoutingRule[];
|
|
967
|
-
adapterMappings: AgentRuntimeAdapterMapping[];
|
|
968
|
-
}
|
|
969
|
-
export interface ExternalAgentPackImportCheck {
|
|
970
|
-
check: string;
|
|
971
|
-
status: ExternalPackCheckStatus;
|
|
972
|
-
evidence: string;
|
|
973
|
-
}
|
|
974
|
-
export interface ExternalAgentPackImportInspection {
|
|
975
|
-
version: typeof EXTERNAL_AGENT_PACK_IMPORT_POLICY_VERSION;
|
|
976
|
-
sourceId: string;
|
|
977
|
-
status: ExternalPackImportStatus;
|
|
978
|
-
checks: ExternalAgentPackImportCheck[];
|
|
979
|
-
mappingResult: string;
|
|
980
|
-
allowedProfiles: AgentProfileId[];
|
|
981
|
-
riskCeiling: LifecycleAutonomyCeiling;
|
|
982
|
-
reason: string;
|
|
983
|
-
}
|
|
984
|
-
export interface ModelPolicyContract {
|
|
985
|
-
id: string;
|
|
986
|
-
category: string;
|
|
987
|
-
fallbackPolicy: string;
|
|
988
|
-
hostProjection: string;
|
|
989
|
-
}
|
|
990
|
-
export interface ToolPermissionSpec {
|
|
991
|
-
version: typeof TOOL_PERMISSION_SPEC_VERSION;
|
|
992
|
-
profile: AgentProfileId;
|
|
993
|
-
risk: string[];
|
|
994
|
-
toolGroups: string[];
|
|
995
|
-
fileScope: string[];
|
|
996
|
-
policy: ToolPermissionPolicy;
|
|
997
|
-
approvalPolicy: string;
|
|
998
|
-
runtimeValidationRequired: boolean;
|
|
999
|
-
deniedTools: string[];
|
|
1000
|
-
hostPermissionProjection: string;
|
|
1001
|
-
}
|
|
1002
|
-
export interface HostAdapterContract {
|
|
1003
|
-
version: typeof HOST_ADAPTER_CONTRACT_VERSION;
|
|
1004
|
-
id: string;
|
|
1005
|
-
host: string;
|
|
1006
|
-
responsibilities: string[];
|
|
1007
|
-
forbiddenAuthority: string[];
|
|
1008
|
-
projections: string[];
|
|
1009
|
-
}
|
|
1010
|
-
export interface DelegationWavePolicy {
|
|
1011
|
-
id: string;
|
|
1012
|
-
waveKind: 'hyperplan' | 'security_research' | 'implementation_review' | 'validation';
|
|
1013
|
-
memberProfiles: AgentProfileId[];
|
|
1014
|
-
requiredArtifacts: string[];
|
|
1015
|
-
fileOwnershipRequired: boolean;
|
|
1016
|
-
mergeGate: string;
|
|
1017
|
-
}
|
|
1018
|
-
export interface TeamModePolicy {
|
|
1019
|
-
version: typeof TEAM_MODE_POLICY_VERSION;
|
|
1020
|
-
enabled: boolean;
|
|
1021
|
-
decision: TeamModeDecisionStatus;
|
|
1022
|
-
mode: TeamModeSelection;
|
|
1023
|
-
activation: TeamModeActivation;
|
|
1024
|
-
costClass: TeamModeCostClass;
|
|
1025
|
-
reason: string;
|
|
1026
|
-
costRoute: TeamModeCostRoute;
|
|
1027
|
-
downgradeReason: string | null;
|
|
1028
|
-
trustPolicyEnforced: boolean;
|
|
1029
|
-
chiefProfile: AgentProfileId;
|
|
1030
|
-
memberProfiles: AgentProfileId[];
|
|
1031
|
-
allowedWaves: DelegationWavePolicy[];
|
|
1032
|
-
maxMembers: number;
|
|
1033
|
-
requireArtifacts: boolean;
|
|
1034
|
-
blockedReason: string | null;
|
|
1035
|
-
waveRecommendation: string[];
|
|
1036
|
-
}
|
|
1037
|
-
export interface EvidenceIngestionContract {
|
|
1038
|
-
version: typeof EVIDENCE_INGESTION_CONTRACT_VERSION;
|
|
1039
|
-
sourceOutputs: string[];
|
|
1040
|
-
evidenceTargets: string[];
|
|
1041
|
-
canonicalTruth: string;
|
|
1042
|
-
forbiddenTruthSources: string[];
|
|
1043
|
-
}
|
|
1044
|
-
export interface AgentExecutionRecord {
|
|
1045
|
-
version: typeof AGENT_EXECUTION_RECORD_CONTRACT_VERSION;
|
|
1046
|
-
executionId: string;
|
|
1047
|
-
runId: string;
|
|
1048
|
-
taskId: string;
|
|
1049
|
-
profile: AgentProfileId;
|
|
1050
|
-
category: AgentRouterCategory;
|
|
1051
|
-
host: string;
|
|
1052
|
-
hostSessionId: string | null;
|
|
1053
|
-
hostTaskId: string | null;
|
|
1054
|
-
modelPolicy: ModelPolicyContract;
|
|
1055
|
-
toolPermission: ToolPermissionSpec | null;
|
|
1056
|
-
capabilitiesUsed: string[];
|
|
1057
|
-
sourceAttribution: string[];
|
|
1058
|
-
artifacts: string[];
|
|
1059
|
-
status: AgentExecutionRecordStatus;
|
|
1060
|
-
delegationId: string | null;
|
|
1061
|
-
queueItemId: string | null;
|
|
1062
|
-
ingestionStatus: ArtifactResultIngestionStatus | null;
|
|
1063
|
-
resultStatus: SddResultStatus | null;
|
|
1064
|
-
routeId: string;
|
|
1065
|
-
routeDecision: Pick<AgentRouterDecision, 'version' | 'category' | 'recommendedProfile' | 'autonomyCeiling' | 'requiredCapabilities' | 'blockedReason'>;
|
|
1066
|
-
evidenceSummary: string;
|
|
1067
|
-
createdAt: string;
|
|
1068
|
-
updatedAt: string;
|
|
1069
|
-
}
|
|
1070
|
-
export interface TeamMessageRecord {
|
|
1071
|
-
sender: AgentProfileId | 'runtime';
|
|
1072
|
-
receiver: AgentProfileId | 'team' | 'runtime';
|
|
1073
|
-
taskRef: string | null;
|
|
1074
|
-
artifactRefs: string[];
|
|
1075
|
-
blocker: string | null;
|
|
1076
|
-
evidenceSummary: string;
|
|
1077
|
-
createdAt: string;
|
|
1078
|
-
}
|
|
1079
|
-
export interface TeamSessionRecord {
|
|
1080
|
-
version: typeof TEAM_SESSION_RECORD_CONTRACT_VERSION;
|
|
1081
|
-
teamId: string;
|
|
1082
|
-
runId: string;
|
|
1083
|
-
taskId: string | null;
|
|
1084
|
-
status: TeamSessionRecordStatus;
|
|
1085
|
-
chiefProfile: AgentProfileId;
|
|
1086
|
-
memberProfiles: AgentProfileId[];
|
|
1087
|
-
hostLayout: string | null;
|
|
1088
|
-
teamMode: TeamModePolicy;
|
|
1089
|
-
waves: DelegationWavePolicy[];
|
|
1090
|
-
messages: TeamMessageRecord[];
|
|
1091
|
-
artifacts: string[];
|
|
1092
|
-
evidenceSummary: string;
|
|
1093
|
-
createdAt: string;
|
|
1094
|
-
updatedAt: string;
|
|
1095
|
-
}
|
|
1096
|
-
export interface AgentRouterRejectedProfile {
|
|
1097
|
-
profile: AgentProfileId;
|
|
1098
|
-
reason: string;
|
|
1099
|
-
}
|
|
1100
|
-
export interface AgentRouterDecision {
|
|
1101
|
-
version: typeof AGENT_ROUTER_CONTRACT_VERSION;
|
|
1102
|
-
taskId: string;
|
|
1103
|
-
branch: string;
|
|
1104
|
-
category: AgentRouterCategory;
|
|
1105
|
-
recommendedProfile: AgentProfileId | null;
|
|
1106
|
-
allowedProfiles: AgentProfileId[];
|
|
1107
|
-
rejectedProfiles: AgentRouterRejectedProfile[];
|
|
1108
|
-
requiredCapabilities: string[];
|
|
1109
|
-
sourceCapability: string | null;
|
|
1110
|
-
reuseDecision: CapabilityReuseDecision | null;
|
|
1111
|
-
toolPermission: ToolPermissionSpec | null;
|
|
1112
|
-
modelPolicy: ModelPolicyContract;
|
|
1113
|
-
teamMode: TeamModePolicy;
|
|
1114
|
-
autonomyCeiling: LifecycleAutonomyCeiling;
|
|
1115
|
-
requiredArtifacts: string[];
|
|
1116
|
-
blockedReason: string | null;
|
|
1117
|
-
nextAction: string;
|
|
1118
|
-
registrySources?: RuntimeRegistryEntrySource[];
|
|
1119
|
-
resolvedAliases?: AgentRuntimeAliasResolution[];
|
|
1120
|
-
routingRuleHits?: string[];
|
|
1121
|
-
quarantineWarnings?: string[];
|
|
1122
|
-
adapterMapping?: AgentRuntimeAdapterMapping | null;
|
|
1123
|
-
cache?: RouteCacheMetadata;
|
|
1124
|
-
profile?: RuntimeProfileSpan[];
|
|
1125
|
-
}
|
|
1126
|
-
export interface RouteCacheMetadata {
|
|
1127
|
-
contract: typeof ROUTE_CACHE_CONTRACT_VERSION;
|
|
1128
|
-
key: string;
|
|
1129
|
-
status: 'hit' | 'miss' | 'stored';
|
|
1130
|
-
source: 'content_addressed_derived_route';
|
|
1131
|
-
authoritative: false;
|
|
1132
|
-
}
|
|
1133
|
-
export interface RuntimeProfileSpan {
|
|
1134
|
-
contract: typeof RUNTIME_PROFILE_CONTRACT_VERSION;
|
|
1135
|
-
name: string;
|
|
1136
|
-
startedAt: string;
|
|
1137
|
-
endedAt: string;
|
|
1138
|
-
durationMs: number;
|
|
1139
|
-
}
|
|
1140
|
-
export interface AgentSkillTeamRuntimeInspection {
|
|
1141
|
-
version: typeof AGENT_SKILL_TEAM_RUNTIME_CONTRACT_VERSION;
|
|
1142
|
-
profiles: AgentProfileContract[];
|
|
1143
|
-
skillCapabilities: SkillCapabilityContract[];
|
|
1144
|
-
capabilitySources: CapabilitySourceCatalogEntry[];
|
|
1145
|
-
hostAdapter: HostAdapterContract;
|
|
1146
|
-
evidenceIngestion: EvidenceIngestionContract;
|
|
1147
|
-
teamMode: TeamModePolicy;
|
|
1148
|
-
reusePolicy: string;
|
|
1149
|
-
registrySources?: RuntimeRegistryEntrySource[];
|
|
1150
|
-
aliases?: Record<string, string>;
|
|
1151
|
-
routingRules?: AgentRuntimeRoutingRule[];
|
|
1152
|
-
adapterMappings?: AgentRuntimeAdapterMapping[];
|
|
1153
|
-
}
|
|
1154
|
-
export interface SkillCapabilityRegistry {
|
|
1155
|
-
version: typeof AGENT_SKILL_TEAM_RUNTIME_CONTRACT_VERSION;
|
|
1156
|
-
capabilities: SkillCapabilityContract[];
|
|
1157
|
-
registrySources?: RuntimeRegistryEntrySource[];
|
|
1158
|
-
}
|
|
1159
|
-
export interface CapabilitySourceCatalog {
|
|
1160
|
-
version: typeof CAPABILITY_SOURCE_CATALOG_VERSION;
|
|
1161
|
-
sources: CapabilitySourceCatalogEntry[];
|
|
1162
|
-
registrySources?: RuntimeRegistryEntrySource[];
|
|
1163
|
-
}
|
|
1164
|
-
export interface AgentSkillTeamRuntimeValidation {
|
|
1165
|
-
version: typeof AGENT_SKILL_TEAM_RUNTIME_CONTRACT_VERSION;
|
|
1166
|
-
valid: boolean;
|
|
1167
|
-
inspection: AgentSkillTeamRuntimeInspection;
|
|
1168
|
-
issues: ContractValidationIssue[];
|
|
1169
|
-
}
|
|
1170
|
-
export type QuerySurfaceId = 'status' | 'doctor' | 'run_inspect' | 'debug';
|
|
1171
|
-
export interface QueryStatusSurface {
|
|
1172
|
-
id: QuerySurfaceId;
|
|
1173
|
-
command: string;
|
|
1174
|
-
responsibility: string;
|
|
1175
|
-
includes: string[];
|
|
1176
|
-
excludes: string[];
|
|
1177
|
-
nextActionRule: string;
|
|
1178
|
-
}
|
|
1179
|
-
export interface QueryStatusContract {
|
|
1180
|
-
version: typeof QUERY_STATUS_CONTRACT_VERSION;
|
|
1181
|
-
sourceDocument: string;
|
|
1182
|
-
surfaces: QueryStatusSurface[];
|
|
1183
|
-
}
|
|
1184
|
-
export interface QueryStatusValidation {
|
|
1185
|
-
version: typeof QUERY_STATUS_CONTRACT_VERSION;
|
|
1186
|
-
valid: boolean;
|
|
1187
|
-
surfaces: QueryStatusSurface[];
|
|
1188
|
-
issues: ContractValidationIssue[];
|
|
1189
|
-
}
|
|
1190
|
-
export type SkillAgentEvalDimensionId = 'novel_judgment' | 'risk_identification' | 'task_slicing' | 'agent_evidence' | 'output_concision' | 'verification_executability' | 'autonomy_correctness' | 'agent_fit' | 'verification_availability' | 'gap_closure';
|
|
1191
|
-
export interface SkillAgentEvalDimension {
|
|
1192
|
-
id: SkillAgentEvalDimensionId;
|
|
1193
|
-
expectation: string;
|
|
1194
|
-
baselineFinding: string;
|
|
1195
|
-
passThreshold: number;
|
|
1196
|
-
}
|
|
1197
|
-
export interface SkillAgentEvalContract {
|
|
1198
|
-
version: typeof SKILL_AGENT_EVAL_CONTRACT_VERSION;
|
|
1199
|
-
corpus: string[];
|
|
1200
|
-
sourceReport: string;
|
|
1201
|
-
dimensions: SkillAgentEvalDimension[];
|
|
1202
|
-
regressionAssertions: string[];
|
|
1203
|
-
}
|
|
1204
|
-
export interface SkillAgentEvalValidation {
|
|
1205
|
-
version: typeof SKILL_AGENT_EVAL_CONTRACT_VERSION;
|
|
1206
|
-
valid: boolean;
|
|
1207
|
-
contract: SkillAgentEvalContract;
|
|
1208
|
-
issues: ContractValidationIssue[];
|
|
1209
|
-
}
|
|
1210
|
-
export type HarnessLearningSinkId = 'project_context_pack' | 'risk_vocabulary' | 'checklist' | 'doctor_check' | 'eval_assertion' | 'generated_entry_guidance';
|
|
1211
|
-
export interface HarnessLearningSink {
|
|
1212
|
-
id: HarnessLearningSinkId;
|
|
1213
|
-
output: string;
|
|
1214
|
-
boundary: string;
|
|
1215
|
-
}
|
|
1216
|
-
export interface HarnessLearningContract {
|
|
1217
|
-
version: typeof HARNESS_LEARNING_CONTRACT_VERSION;
|
|
1218
|
-
sourceTrial: string;
|
|
1219
|
-
allowedSinks: HarnessLearningSink[];
|
|
1220
|
-
forbiddenOutputs: string[];
|
|
1221
|
-
promotionRule: string;
|
|
1222
|
-
}
|
|
1223
|
-
export interface HarnessLearningValidation {
|
|
1224
|
-
version: typeof HARNESS_LEARNING_CONTRACT_VERSION;
|
|
1225
|
-
valid: boolean;
|
|
1226
|
-
contract: HarnessLearningContract;
|
|
1227
|
-
issues: ContractValidationIssue[];
|
|
1228
|
-
}
|
|
1229
|
-
export interface ProjectContextPackContract {
|
|
1230
|
-
version: typeof PROJECT_CONTEXT_PACK_CONTRACT_VERSION;
|
|
1231
|
-
entryPoint: string;
|
|
1232
|
-
durableContext: string[];
|
|
1233
|
-
runtimeSourcesOfTruth: string[];
|
|
1234
|
-
boundaries: string[];
|
|
1235
|
-
}
|
|
1236
|
-
export interface ProjectContextPackValidation {
|
|
1237
|
-
version: typeof PROJECT_CONTEXT_PACK_CONTRACT_VERSION;
|
|
1238
|
-
valid: boolean;
|
|
1239
|
-
contract: ProjectContextPackContract;
|
|
1240
|
-
issues: ContractValidationIssue[];
|
|
1241
|
-
}
|
|
1242
|
-
export interface SddResult {
|
|
1243
|
-
contract: typeof SDD_RESULT_CONTRACT;
|
|
1244
|
-
version: typeof SDD_RESULT_VERSION;
|
|
1245
|
-
agent: string;
|
|
1246
|
-
task: string;
|
|
1247
|
-
status: SddResultStatus;
|
|
1248
|
-
artifacts: string[];
|
|
1249
|
-
rawMetadata: Record<string, string | string[]>;
|
|
1250
|
-
}
|
|
1251
|
-
export interface ContractValidationIssue {
|
|
1252
|
-
field: string;
|
|
1253
|
-
message: string;
|
|
1254
|
-
recommendation: string;
|
|
1255
|
-
}
|
|
1256
|
-
export interface SddResultValidationReport {
|
|
1257
|
-
valid: boolean;
|
|
1258
|
-
result: SddResult | null;
|
|
1259
|
-
issues: ContractValidationIssue[];
|
|
1260
|
-
trust?: ArtifactTrustValidationReport;
|
|
1261
|
-
}
|
|
1262
|
-
export interface EvidenceItem {
|
|
1263
|
-
kind: string;
|
|
1264
|
-
ref: string;
|
|
1265
|
-
summary: string | null;
|
|
1266
|
-
}
|
|
1267
|
-
export interface EvidenceClaim {
|
|
1268
|
-
contract: typeof SDD_EVIDENCE_CONTRACT;
|
|
1269
|
-
version: typeof SDD_EVIDENCE_VERSION;
|
|
1270
|
-
task: string;
|
|
1271
|
-
acceptance: string;
|
|
1272
|
-
status: EvidenceCoverageStatus;
|
|
1273
|
-
claim: string;
|
|
1274
|
-
sourceArtifact: string;
|
|
1275
|
-
evidence: EvidenceItem[];
|
|
1276
|
-
provenance: string[];
|
|
1277
|
-
policy: string[];
|
|
1278
|
-
rawMetadata: Record<string, string | string[]>;
|
|
1279
|
-
}
|
|
1280
|
-
export interface EvidenceReasoning {
|
|
1281
|
-
summary: string;
|
|
1282
|
-
ruleIds: string[];
|
|
1283
|
-
issueCodes: EvidenceQualityIssue[];
|
|
1284
|
-
}
|
|
1285
|
-
export interface PolicyRuleSet {
|
|
1286
|
-
id: typeof ACCEPTANCE_POLICY_RULESET_VERSION;
|
|
1287
|
-
version: string;
|
|
1288
|
-
ruleIds: string[];
|
|
1289
|
-
}
|
|
1290
|
-
export interface PolicyDecision {
|
|
1291
|
-
status: EvidenceCoverageStatus;
|
|
1292
|
-
ruleSet: PolicyRuleSet;
|
|
1293
|
-
passedRules: string[];
|
|
1294
|
-
failedRules: string[];
|
|
1295
|
-
issueCodes: EvidenceQualityIssue[];
|
|
1296
|
-
}
|
|
1297
|
-
export interface EvidenceCoverage {
|
|
1298
|
-
acceptanceId: string;
|
|
1299
|
-
status: EvidenceCoverageStatus;
|
|
1300
|
-
claim?: EvidenceClaim;
|
|
1301
|
-
evidence: EvidenceItem[];
|
|
1302
|
-
reasoning?: EvidenceReasoning;
|
|
1303
|
-
policyDecision: PolicyDecision;
|
|
1304
|
-
}
|
|
1305
|
-
export interface ProvenanceEntity {
|
|
1306
|
-
id: string;
|
|
1307
|
-
kind: 'spec' | 'plan' | 'tasks' | 'artifact' | 'command_output' | 'run_state' | 'material' | string;
|
|
1308
|
-
hash?: string;
|
|
1309
|
-
path?: string;
|
|
1310
|
-
}
|
|
1311
|
-
export interface ProvenanceActivity {
|
|
1312
|
-
id: string;
|
|
1313
|
-
kind: 'inspect' | 'route' | 'do' | 'verify' | 'artifact_validate' | 'sync_back' | 'policy_evaluate' | 'cache' | string;
|
|
1314
|
-
startedAt?: string;
|
|
1315
|
-
endedAt?: string;
|
|
1316
|
-
}
|
|
1317
|
-
export interface ProvenanceAgent {
|
|
1318
|
-
id: string;
|
|
1319
|
-
kind: 'runtime' | 'implementer' | 'reviewer' | 'validator' | 'tool' | string;
|
|
1320
|
-
}
|
|
1321
|
-
export interface ProvenanceLink {
|
|
1322
|
-
relation: 'used' | 'wasGeneratedBy' | 'wasAssociatedWith' | 'wasDerivedFrom' | string;
|
|
1323
|
-
from: string;
|
|
1324
|
-
to: string;
|
|
1325
|
-
}
|
|
1326
|
-
export interface SddEvidenceAttestation {
|
|
1327
|
-
subject: string;
|
|
1328
|
-
materials: ProvenanceEntity[];
|
|
1329
|
-
invocation: ProvenanceActivity;
|
|
1330
|
-
builder: ProvenanceAgent;
|
|
1331
|
-
}
|
|
1332
|
-
export interface ArtifactTrustValidationReport {
|
|
1333
|
-
valid: boolean;
|
|
1334
|
-
claims: EvidenceClaim[];
|
|
1335
|
-
issues: ContractValidationIssue[];
|
|
1336
|
-
}
|
|
1337
|
-
export type InvocationLedgerKind = 'command' | 'tool_invocation' | 'agent' | 'skill' | 'material' | 'policy_evaluation' | 'cache' | 'artifact_hash';
|
|
1338
|
-
export interface InvocationLedgerEntry {
|
|
1339
|
-
contract: 'sdd-invocation-ledger-v1';
|
|
1340
|
-
version: typeof INVOCATION_LEDGER_CONTRACT_VERSION;
|
|
1341
|
-
entryId: string;
|
|
1342
|
-
runId: string;
|
|
1343
|
-
taskId: string | null;
|
|
1344
|
-
branch: string | null;
|
|
1345
|
-
kind: InvocationLedgerKind;
|
|
1346
|
-
ref: string;
|
|
1347
|
-
status: string;
|
|
1348
|
-
timestamp: string;
|
|
1349
|
-
artifactPath?: string | null;
|
|
1350
|
-
inputHash?: string | null;
|
|
1351
|
-
outputHash?: string | null;
|
|
1352
|
-
materialRefs: string[];
|
|
1353
|
-
metadata: Record<string, string | number | boolean | null>;
|
|
1354
|
-
}
|
|
1355
|
-
export interface ContextBudget {
|
|
1356
|
-
contract: typeof CONTEXT_BUDGET_CONTRACT_VERSION;
|
|
1357
|
-
profile: ContextProfile;
|
|
1358
|
-
maxBytes: number;
|
|
1359
|
-
preserve: string[];
|
|
1360
|
-
}
|
|
1361
|
-
export interface ContextSourceRef {
|
|
1362
|
-
path: string;
|
|
1363
|
-
hash: string;
|
|
1364
|
-
kind: ContextSourceKind;
|
|
1365
|
-
}
|
|
1366
|
-
export interface CommandOutputSummary {
|
|
1367
|
-
contract: typeof COMMAND_OUTPUT_SUMMARY_CONTRACT_VERSION;
|
|
1368
|
-
authoritative: false;
|
|
1369
|
-
usableForPass: false;
|
|
1370
|
-
source: ContextSourceRef;
|
|
1371
|
-
status: ContextSummaryStatus;
|
|
1372
|
-
highlights: string[];
|
|
1373
|
-
omittedLines: number;
|
|
1374
|
-
}
|
|
1375
|
-
export interface EvidenceSummaryProjection {
|
|
1376
|
-
contract: typeof EVIDENCE_SUMMARY_CONTRACT_VERSION;
|
|
1377
|
-
authoritative: false;
|
|
1378
|
-
usableForPass: false;
|
|
1379
|
-
runId: string;
|
|
1380
|
-
taskId: string | null;
|
|
1381
|
-
sources: ContextSourceRef[];
|
|
1382
|
-
passCount: number;
|
|
1383
|
-
blockedCount: number;
|
|
1384
|
-
failCount: number;
|
|
1385
|
-
issueCodes: EvidenceQualityIssue[];
|
|
1386
|
-
policyRefs: string[];
|
|
1387
|
-
highlights: string[];
|
|
1388
|
-
}
|
|
1389
|
-
export interface ContextBuildPackage {
|
|
1390
|
-
contract: typeof CONTEXT_PACKAGE_CONTRACT_VERSION;
|
|
1391
|
-
profile: ContextProfile;
|
|
1392
|
-
mode: ContextBuildMode;
|
|
1393
|
-
agent: string | null;
|
|
1394
|
-
authoritative: false;
|
|
1395
|
-
usableForPass: false;
|
|
1396
|
-
taskId: string;
|
|
1397
|
-
branch: string;
|
|
1398
|
-
mustRead: ContextSourceRef[];
|
|
1399
|
-
optionalRead: ContextSourceRef[];
|
|
1400
|
-
doNotReadUnlessNeeded: ContextSourceRef[];
|
|
1401
|
-
nextCommands: string[];
|
|
1402
|
-
warnings: string[];
|
|
1403
|
-
}
|
|
1404
|
-
export interface LogWorkerSummary {
|
|
1405
|
-
contract: typeof LOG_WORKER_SUMMARY_CONTRACT_VERSION;
|
|
1406
|
-
authoritative: false;
|
|
1407
|
-
usableForPass: false;
|
|
1408
|
-
runId: string;
|
|
1409
|
-
taskId: string | null;
|
|
1410
|
-
workerId: string;
|
|
1411
|
-
sources: ContextSourceRef[];
|
|
1412
|
-
highlights: string[];
|
|
1413
|
-
forbiddenAuthority: string[];
|
|
1414
|
-
}
|
|
1415
|
-
export interface EvidenceSummaryOptions {
|
|
1416
|
-
runId: string;
|
|
1417
|
-
taskId?: string;
|
|
1418
|
-
}
|
|
1419
|
-
export interface ContextBuildOptions {
|
|
1420
|
-
taskId: string;
|
|
1421
|
-
branch?: string;
|
|
1422
|
-
mode: ContextBuildMode;
|
|
1423
|
-
agent?: string;
|
|
1424
|
-
profile?: ContextProfile;
|
|
1425
|
-
}
|
|
1426
|
-
export interface LogWorkerSummaryValidation {
|
|
1427
|
-
valid: boolean;
|
|
1428
|
-
issues: ContractValidationIssue[];
|
|
1429
|
-
}
|
|
1430
|
-
export interface SddResultArtifactTemplateOptions {
|
|
1431
|
-
branch?: string;
|
|
1432
|
-
runId?: string;
|
|
1433
|
-
taskId: string;
|
|
1434
|
-
agent: string;
|
|
1435
|
-
artifactPath: string;
|
|
1436
|
-
status?: SddResultStatus;
|
|
1437
|
-
}
|
|
1438
|
-
export interface DelegationRecord {
|
|
1439
|
-
contract: typeof DELEGATION_LIVENESS_CONTRACT;
|
|
1440
|
-
version: typeof DELEGATION_LIVENESS_VERSION;
|
|
1441
|
-
delegationId: string;
|
|
1442
|
-
task: string;
|
|
1443
|
-
agent: string;
|
|
1444
|
-
runMode: DelegationRunMode;
|
|
1445
|
-
blocking: boolean;
|
|
1446
|
-
requiredForPhaseExit: boolean;
|
|
1447
|
-
status: DelegationStatus;
|
|
1448
|
-
startedAt: string;
|
|
1449
|
-
lastHeartbeatAt: string | null;
|
|
1450
|
-
timeoutSeconds: number;
|
|
1451
|
-
expectedArtifact: string;
|
|
1452
|
-
terminalEventRequired: boolean;
|
|
1453
|
-
terminalEventAt?: string | null;
|
|
1454
|
-
}
|
|
1455
|
-
export interface DelegationValidationReport {
|
|
1456
|
-
valid: boolean;
|
|
1457
|
-
delegation: DelegationRecord;
|
|
1458
|
-
terminal: boolean;
|
|
1459
|
-
stale: boolean;
|
|
1460
|
-
issues: ContractValidationIssue[];
|
|
1461
|
-
}
|
|
1462
|
-
export type SingleTaskLoopStatus = 'completed' | 'blocked' | 'failed';
|
|
1463
|
-
export interface SingleTaskLoopOptions {
|
|
1464
|
-
branch?: string;
|
|
1465
|
-
taskId: string;
|
|
1466
|
-
runId?: string;
|
|
1467
|
-
implementArtifact?: string;
|
|
1468
|
-
reviewArtifact?: string;
|
|
1469
|
-
validationArtifact?: string;
|
|
1470
|
-
debugArtifact?: string;
|
|
1471
|
-
teamModeEnabled?: boolean;
|
|
1472
|
-
teamModeActivation?: TeamModeActivation;
|
|
1473
|
-
}
|
|
1474
|
-
export interface SingleTaskLoopResult {
|
|
1475
|
-
runId: string;
|
|
1476
|
-
taskId: string;
|
|
1477
|
-
status: SingleTaskLoopStatus;
|
|
1478
|
-
task: SddTask | null;
|
|
1479
|
-
gaps: SddTaskGap[];
|
|
1480
|
-
requiredArtifacts: string[];
|
|
1481
|
-
acceptedArtifacts: string[];
|
|
1482
|
-
syncBackProposalPath: string;
|
|
1483
|
-
routeDecision: AgentRouterDecision;
|
|
1484
|
-
message: string;
|
|
1485
|
-
}
|
|
1486
|
-
export interface GoalVerifyOptions {
|
|
1487
|
-
branch?: string;
|
|
1488
|
-
taskId: string;
|
|
1489
|
-
runId?: string;
|
|
1490
|
-
reviewArtifact?: string;
|
|
1491
|
-
validationArtifact?: string;
|
|
1492
|
-
}
|
|
1493
|
-
export interface AcceptanceCoverageItem {
|
|
1494
|
-
acceptance: string;
|
|
1495
|
-
status: EvidenceCoverageStatus;
|
|
1496
|
-
evidence: string;
|
|
1497
|
-
policyDecision?: PolicyDecision;
|
|
1498
|
-
issueCodes?: EvidenceQualityIssue[];
|
|
1499
|
-
}
|
|
1500
|
-
export interface GoalVerifyResult {
|
|
1501
|
-
runId: string;
|
|
1502
|
-
taskId: string;
|
|
1503
|
-
status: GoalVerifyStatus;
|
|
1504
|
-
task: SddTask | null;
|
|
1505
|
-
reviewArtifact: string | null;
|
|
1506
|
-
validationArtifact: string | null;
|
|
1507
|
-
coverageArtifactPath: string;
|
|
1508
|
-
syncBackProposalPath: string;
|
|
1509
|
-
acceptanceCoverage: AcceptanceCoverageItem[];
|
|
1510
|
-
gaps: SddTaskGap[];
|
|
1511
|
-
commands: string[];
|
|
1512
|
-
standardStatus: HarnessVerifyStatus;
|
|
1513
|
-
message: string;
|
|
1514
|
-
}
|
|
1515
|
-
export interface RunSummary {
|
|
1516
|
-
runId: string;
|
|
1517
|
-
status: RunStatus;
|
|
1518
|
-
phase: string | null;
|
|
1519
|
-
currentTask: string | null;
|
|
1520
|
-
partition: string | null;
|
|
1521
|
-
gitBranch: string | null;
|
|
1522
|
-
taskId: string | null;
|
|
1523
|
-
affectedFiles: string[];
|
|
1524
|
-
documentSnapshot: RunDocumentSnapshot;
|
|
1525
|
-
createdAt: string;
|
|
1526
|
-
updatedAt: string;
|
|
1527
|
-
validationStatus: RunState['validation']['status'];
|
|
1528
|
-
syncBackStatus: RunState['syncBack']['status'];
|
|
1529
|
-
taskIds: string[];
|
|
1530
|
-
artifactCount: number;
|
|
1531
|
-
}
|
|
1532
|
-
export interface LocalRunIndexTaskEntry {
|
|
1533
|
-
taskId: string;
|
|
1534
|
-
partition: string | null;
|
|
1535
|
-
gitBranch: string | null;
|
|
1536
|
-
affectedFiles: string[];
|
|
1537
|
-
status: string | null;
|
|
1538
|
-
runId: string;
|
|
1539
|
-
runStatus: RunStatus;
|
|
1540
|
-
updatedAt: string;
|
|
1541
|
-
}
|
|
1542
|
-
export interface LocalRunIndexArtifactEntry {
|
|
1543
|
-
path: string;
|
|
1544
|
-
kind: string;
|
|
1545
|
-
task: string | null;
|
|
1546
|
-
agent: string | null;
|
|
1547
|
-
runId: string;
|
|
1548
|
-
createdAt: string;
|
|
1549
|
-
}
|
|
1550
|
-
export interface LocalRunIndexWaveSummary {
|
|
1551
|
-
runId: string;
|
|
1552
|
-
eventCount: number;
|
|
1553
|
-
lastEvent: string | null;
|
|
1554
|
-
}
|
|
1555
|
-
export interface LocalRunIndexPartitionTaskEntry {
|
|
1556
|
-
partition: string;
|
|
1557
|
-
gitBranch: string | null;
|
|
1558
|
-
taskId: string;
|
|
1559
|
-
runId: string;
|
|
1560
|
-
runStatus: RunStatus;
|
|
1561
|
-
validationStatus: RunState['validation']['status'];
|
|
1562
|
-
syncBackStatus: RunState['syncBack']['status'];
|
|
1563
|
-
affectedFiles: string[];
|
|
1564
|
-
updatedAt: string;
|
|
1565
|
-
}
|
|
1566
|
-
export interface LocalRunIndexAffectedFileEntry {
|
|
1567
|
-
file: string;
|
|
1568
|
-
partition: string;
|
|
1569
|
-
gitBranch: string | null;
|
|
1570
|
-
taskId: string;
|
|
1571
|
-
runId: string;
|
|
1572
|
-
runStatus: RunStatus;
|
|
1573
|
-
syncBackStatus: RunState['syncBack']['status'];
|
|
1574
|
-
updatedAt: string;
|
|
1575
|
-
}
|
|
1576
|
-
export interface LocalRunIndexQuery {
|
|
1577
|
-
runId?: string;
|
|
1578
|
-
taskId?: string;
|
|
1579
|
-
partition?: string;
|
|
1580
|
-
status?: RunStatus;
|
|
1581
|
-
artifact?: string;
|
|
1582
|
-
}
|
|
1583
|
-
export interface LocalRunIndex {
|
|
1584
|
-
contract: typeof LOCAL_RUN_INDEX_CONTRACT_VERSION;
|
|
1585
|
-
generatedAt: string;
|
|
1586
|
-
runs: RunSummary[];
|
|
1587
|
-
tasks: LocalRunIndexTaskEntry[];
|
|
1588
|
-
delegations: DelegationQueueItem[];
|
|
1589
|
-
artifacts: LocalRunIndexArtifactEntry[];
|
|
1590
|
-
waves: LocalRunIndexWaveSummary[];
|
|
1591
|
-
latestByPartitionTask: LocalRunIndexPartitionTaskEntry[];
|
|
1592
|
-
activeByAffectedFile: LocalRunIndexAffectedFileEntry[];
|
|
1593
|
-
}
|
|
1594
|
-
export interface LocalRunIndexInspection {
|
|
1595
|
-
valid: boolean;
|
|
1596
|
-
exists: boolean;
|
|
1597
|
-
indexPath: string;
|
|
1598
|
-
index: LocalRunIndex | null;
|
|
1599
|
-
issues: ContractValidationIssue[];
|
|
1600
|
-
}
|
|
1601
|
-
export interface TaskRunEvidenceContract {
|
|
1602
|
-
version: typeof TASK_RUN_EVIDENCE_CONTRACT_VERSION;
|
|
1603
|
-
runId: string;
|
|
1604
|
-
state: {
|
|
1605
|
-
status: RunStatus;
|
|
1606
|
-
phase: string | null;
|
|
1607
|
-
currentTask: string | null;
|
|
1608
|
-
};
|
|
1609
|
-
events: Array<{
|
|
1610
|
-
event: string;
|
|
1611
|
-
summary: string | null;
|
|
1612
|
-
task: string | null;
|
|
1613
|
-
agent: string | null;
|
|
1614
|
-
gate: string | null;
|
|
1615
|
-
validation: string | null;
|
|
1616
|
-
gap: string | null;
|
|
1617
|
-
}>;
|
|
1618
|
-
artifacts: ArtifactIndexEntry[];
|
|
1619
|
-
validation: RunState['validation'];
|
|
1620
|
-
gaps: SddTaskGap[];
|
|
1621
|
-
syncBackProposal: string | null;
|
|
1622
|
-
invocationLedger: InvocationLedgerEntry[];
|
|
1623
|
-
agentExecutions: AgentExecutionRecord[];
|
|
1624
|
-
teamSessions: TeamSessionRecord[];
|
|
1625
|
-
workerRuntimes: ResidentWorkerRuntimeRecord[];
|
|
1626
|
-
}
|
|
1627
|
-
export interface RunInspection {
|
|
1628
|
-
summary: RunSummary;
|
|
1629
|
-
state: RunState;
|
|
1630
|
-
events: RuntimeEvent[];
|
|
1631
|
-
eventCount: number;
|
|
1632
|
-
recentEvents: RuntimeEvent[];
|
|
1633
|
-
artifacts: ArtifactIndexEntry[];
|
|
1634
|
-
artifactIngestions: ArtifactResultIngestionRecord[];
|
|
1635
|
-
worktrees: WorktreeLifecycleRecord[];
|
|
1636
|
-
validation: RunState['validation'];
|
|
1637
|
-
syncBack: RunState['syncBack'];
|
|
1638
|
-
tasks: Record<string, unknown>;
|
|
1639
|
-
taskRunEvidence: TaskRunEvidenceContract;
|
|
1640
|
-
agentExecutions: AgentExecutionRecord[];
|
|
1641
|
-
invocationLedger: InvocationLedgerEntry[];
|
|
1642
|
-
teamSessions: TeamSessionRecord[];
|
|
1643
|
-
workerRuntimes: ResidentWorkerRuntimeRecord[];
|
|
1644
|
-
}
|
|
1645
|
-
export interface RunEvidenceSummary {
|
|
1646
|
-
agentExecutions: number;
|
|
1647
|
-
teamSessions: number;
|
|
1648
|
-
artifactIngestions: number;
|
|
1649
|
-
workerRuntimes: number;
|
|
1650
|
-
staleWorkerRuntimes: number;
|
|
1651
|
-
routePreflight: boolean;
|
|
1652
|
-
tasksChangedAfterRun: boolean;
|
|
1653
|
-
tasksUpdatedAt: string | null;
|
|
1654
|
-
runUpdatedAt: string | null;
|
|
1655
|
-
}
|
|
1656
|
-
export interface ResolvedTaskRun {
|
|
1657
|
-
runId: string;
|
|
1658
|
-
state: RunState;
|
|
1659
|
-
context: ContextResolverContract;
|
|
1660
|
-
model: SddTaskModel;
|
|
1661
|
-
task: SddTask | null;
|
|
1662
|
-
explicitRunId: boolean;
|
|
1663
|
-
staleReasons: string[];
|
|
1664
|
-
affectedFileConflicts: LocalRunIndexAffectedFileEntry[];
|
|
1665
|
-
}
|
|
1666
|
-
export interface ProjectStatus {
|
|
1667
|
-
branch: string;
|
|
1668
|
-
workflowStatus: 'active' | 'not_started';
|
|
1669
|
-
context: ContextResolverContract;
|
|
1670
|
-
gitRoot: string | null;
|
|
1671
|
-
documents: SddTaskModel['documents'];
|
|
1672
|
-
tasks: {
|
|
1673
|
-
total: number;
|
|
1674
|
-
pending: number;
|
|
1675
|
-
inProgress: number;
|
|
1676
|
-
completed: number;
|
|
1677
|
-
blocked: number;
|
|
1678
|
-
deferred: number;
|
|
1679
|
-
unknown: number;
|
|
1680
|
-
gaps: number;
|
|
1681
|
-
};
|
|
1682
|
-
latestRun: RunSummary | null;
|
|
1683
|
-
latestRunsByTask: LocalRunIndexPartitionTaskEntry[];
|
|
1684
|
-
latestRunEvidence: RunEvidenceSummary | null;
|
|
1685
|
-
latestRunStaleReasons: string[];
|
|
1686
|
-
affectedFileConflicts: LocalRunIndexAffectedFileEntry[];
|
|
1687
|
-
recommendedNextCommand: string;
|
|
1688
|
-
gaps: SddTaskGap[];
|
|
1689
|
-
}
|
|
1690
|
-
export interface SyncBackApplyPolicy {
|
|
1691
|
-
mode: 'direct' | 'confirm';
|
|
1692
|
-
requiresApproval: boolean;
|
|
1693
|
-
reasons: string[];
|
|
1694
|
-
}
|
|
1695
|
-
export interface SyncBackInspection {
|
|
1696
|
-
runId: string;
|
|
1697
|
-
branch: string;
|
|
1698
|
-
taskId: string | null;
|
|
1699
|
-
status: 'ready' | 'blocked' | 'applied';
|
|
1700
|
-
reasons: string[];
|
|
1701
|
-
proposalPath: string | null;
|
|
1702
|
-
proposal: string | null;
|
|
1703
|
-
proposalDigest: string | null;
|
|
1704
|
-
proposalDigestValid: boolean | null;
|
|
1705
|
-
runTaskStatus: string | null;
|
|
1706
|
-
markdownTask: SddTask | null;
|
|
1707
|
-
markdownStatus: SddTaskStatus | null;
|
|
1708
|
-
targetTasksPath: string;
|
|
1709
|
-
artifacts: string[];
|
|
1710
|
-
gaps: SddTaskGap[];
|
|
1711
|
-
applyPolicy: SyncBackApplyPolicy;
|
|
1712
|
-
staleReasons: string[];
|
|
1713
|
-
affectedFileConflicts: LocalRunIndexAffectedFileEntry[];
|
|
1714
|
-
}
|
|
1715
|
-
export interface SyncBackApplyResult {
|
|
1716
|
-
runId: string;
|
|
1717
|
-
taskId: string;
|
|
1718
|
-
applied: boolean;
|
|
1719
|
-
tasksPath: string;
|
|
1720
|
-
inspection: SyncBackInspection;
|
|
1721
|
-
message: string;
|
|
1722
|
-
}
|
|
1723
|
-
export declare function getWorktreesDir(projectRoot: string): string;
|
|
1724
|
-
export declare function getSddDir(projectRoot: string): string;
|
|
1725
|
-
export declare function getProjectConfigPath(projectRoot: string): string;
|
|
1726
|
-
export declare function getRunsDir(projectRoot: string): string;
|
|
1727
|
-
export declare function getLocalRunIndexPath(projectRoot: string): string;
|
|
1728
|
-
export declare function getRuntimeStorePath(projectRoot: string): string;
|
|
1729
|
-
export declare function getRunDir(projectRoot: string, runId: string): string;
|
|
1730
|
-
export declare function getArtifactsDir(projectRoot: string, runId: string): string;
|
|
1731
|
-
export declare function getAgentExecutionsDir(projectRoot: string, runId: string): string;
|
|
1732
|
-
export declare function getTeamSessionsDir(projectRoot: string, runId: string): string;
|
|
1733
|
-
export declare function getWorkerRuntimesDir(projectRoot: string, runId: string): string;
|
|
1734
|
-
export declare function getInvocationLedgerPath(projectRoot: string, runId: string): string;
|
|
1735
|
-
export declare function getRouteCacheDir(projectRoot: string): string;
|
|
1736
|
-
export declare function getWorkerRuntimeRecordPath(projectRoot: string, runId: string, runtimeId: string): string;
|
|
1737
|
-
export declare function getAgentExecutionRecordPath(projectRoot: string, runId: string, executionId: string): string;
|
|
1738
|
-
export declare function getTeamSessionRecordPath(projectRoot: string, runId: string, teamId: string): string;
|
|
1739
|
-
export declare function getArtifactPath(projectRoot: string, runId: string, relativeArtifactPath: string): string;
|
|
1740
|
-
export declare function getRunRelativeArtifactPath(artifactRootRelativePath: string): string;
|
|
1741
|
-
export declare function toArtifactRootRelativePath(runRelativeArtifactPath: string): string;
|
|
1742
|
-
export declare function writeArtifact(projectRoot: string, runId: string, artifactRootRelativePath: string, content: string): Promise<{
|
|
1743
|
-
absolutePath: string;
|
|
1744
|
-
runRelativePath: string;
|
|
1745
|
-
}>;
|
|
1746
|
-
export declare function readArtifact(projectRoot: string, runId: string, artifactRootRelativePath: string): Promise<string>;
|
|
1747
|
-
export declare function appendInvocationLedgerEntry(projectRoot: string, input: Omit<InvocationLedgerEntry, 'contract' | 'version' | 'entryId' | 'timestamp'>): Promise<InvocationLedgerEntry>;
|
|
1748
|
-
export declare function listInvocationLedgerEntries(projectRoot: string, runId: string): Promise<InvocationLedgerEntry[]>;
|
|
1749
|
-
export declare function writeAgentExecutionRecord(projectRoot: string, record: AgentExecutionRecord): Promise<AgentExecutionRecord>;
|
|
1750
|
-
export declare function writeTeamSessionRecord(projectRoot: string, record: TeamSessionRecord): Promise<TeamSessionRecord>;
|
|
1751
|
-
export declare function writeResidentWorkerRuntimeRecord(projectRoot: string, record: ResidentWorkerRuntimeRecord): Promise<ResidentWorkerRuntimeRecord>;
|
|
1752
|
-
export declare function listAgentExecutionRecords(projectRoot: string, runId: string): Promise<AgentExecutionRecord[]>;
|
|
1753
|
-
export declare function listTeamSessionRecords(projectRoot: string, runId: string): Promise<TeamSessionRecord[]>;
|
|
1754
|
-
export declare function readResidentWorkerRuntimeRecord(projectRoot: string, runId: string, runtimeId: string): Promise<ResidentWorkerRuntimeRecord>;
|
|
1755
|
-
export declare function listResidentWorkerRuntimeRecords(projectRoot: string, runId: string): Promise<ResidentWorkerRuntimeRecord[]>;
|
|
1756
|
-
export type InitDocumentStatus = 'created' | 'unchanged' | 'overwritten' | 'skipped';
|
|
1757
|
-
export interface InitDocumentReport {
|
|
1758
|
-
branch: string;
|
|
1759
|
-
relativePath: string;
|
|
1760
|
-
status: InitDocumentStatus;
|
|
1761
|
-
message: string;
|
|
1762
|
-
}
|
|
1763
|
-
export interface InitDocumentsResult {
|
|
1764
|
-
branch: string;
|
|
1765
|
-
root: string;
|
|
1766
|
-
documents: InitDocumentReport[];
|
|
1767
|
-
}
|
|
1768
|
-
export interface InitProjectResult {
|
|
1769
|
-
configPath: string;
|
|
1770
|
-
created: boolean;
|
|
1771
|
-
documents: InitDocumentsResult;
|
|
1772
|
-
aiTools: AiProjectionResult[];
|
|
1773
|
-
}
|
|
1774
|
-
export declare function initProject(projectRoot: string, options?: {
|
|
1775
|
-
force?: boolean;
|
|
1776
|
-
aiTool?: AiToolSelection;
|
|
1777
|
-
branch?: string;
|
|
1778
|
-
scaffoldDocuments?: boolean;
|
|
1779
|
-
}): Promise<InitProjectResult>;
|
|
1780
|
-
export declare function readProjectConfig(projectRoot: string): Promise<ProjectConfig>;
|
|
1781
|
-
export declare function createRun(projectRoot: string, options?: {
|
|
1782
|
-
runId?: string;
|
|
1783
|
-
lifecycleDecision?: LifecycleDecisionRecord;
|
|
1784
|
-
}): Promise<RunState>;
|
|
1785
|
-
export declare function readRunState(projectRoot: string, runId: string): Promise<RunState>;
|
|
1786
|
-
export declare function writeRunState(projectRoot: string, state: RunState): Promise<void>;
|
|
1787
|
-
export declare function appendEvent(projectRoot: string, runId: string, event: Omit<RuntimeEvent, 'contract' | 'time'>): Promise<RuntimeEvent>;
|
|
1788
|
-
export declare function archiveRun(projectRoot: string, runId: string, options?: {
|
|
1789
|
-
reason?: string;
|
|
1790
|
-
}): Promise<RunState>;
|
|
1791
|
-
export declare function listRuns(projectRoot: string): Promise<RunSummary[]>;
|
|
1792
|
-
export declare function rebuildLocalRunIndex(projectRoot: string): Promise<LocalRunIndex>;
|
|
1793
|
-
export declare function readLocalRunIndex(projectRoot: string): Promise<LocalRunIndex>;
|
|
1794
|
-
export declare function queryLocalRunIndex(projectRoot: string, query?: LocalRunIndexQuery): Promise<LocalRunIndex>;
|
|
1795
|
-
export declare function inspectLocalRunIndex(projectRoot: string): Promise<LocalRunIndexInspection>;
|
|
1796
|
-
export declare function inspectRun(projectRoot: string, runId: string): Promise<RunInspection>;
|
|
1797
|
-
export declare function parseContextProfile(value: string | null | undefined): ContextProfile;
|
|
1798
|
-
export declare function contextBudgetForProfile(profile: ContextProfile): ContextBudget;
|
|
1799
|
-
export declare function summarizeCommandOutput(rawOutput: string, source: ContextSourceRef, profile?: ContextProfile): CommandOutputSummary;
|
|
1800
|
-
export declare function buildEvidenceSummaryProjection(projectRoot: string, options: EvidenceSummaryOptions): Promise<EvidenceSummaryProjection>;
|
|
1801
|
-
export declare function buildContextBuildPackage(projectRoot: string, options: ContextBuildOptions): Promise<ContextBuildPackage>;
|
|
1802
|
-
export declare function validateLogWorkerSummary(summary: LogWorkerSummary): LogWorkerSummaryValidation;
|
|
1803
|
-
export declare function resolveSddContext(projectRoot: string, options?: {
|
|
1804
|
-
branch?: string | null;
|
|
1805
|
-
branchSource?: ContextBranchSource;
|
|
1806
|
-
}): Promise<ContextResolverContract>;
|
|
1807
|
-
export declare function getProjectStatus(projectRoot: string, options?: {
|
|
1808
|
-
branch?: string | null;
|
|
1809
|
-
branchSource?: ContextBranchSource;
|
|
1810
|
-
}): Promise<ProjectStatus>;
|
|
1811
|
-
export declare function resolveTaskRun(projectRoot: string, options: {
|
|
1812
|
-
runId?: string;
|
|
1813
|
-
branch?: string;
|
|
1814
|
-
taskId: string;
|
|
1815
|
-
}): Promise<ResolvedTaskRun>;
|
|
1816
|
-
export declare function inspectSyncBack(projectRoot: string, options: {
|
|
1817
|
-
runId?: string;
|
|
1818
|
-
branch?: string;
|
|
1819
|
-
taskId?: string;
|
|
1820
|
-
}): Promise<SyncBackInspection>;
|
|
1821
|
-
export declare function applySyncBack(projectRoot: string, options: {
|
|
1822
|
-
runId?: string;
|
|
1823
|
-
branch?: string;
|
|
1824
|
-
taskId?: string;
|
|
1825
|
-
approved?: boolean;
|
|
1826
|
-
}): Promise<SyncBackApplyResult>;
|
|
1827
|
-
export declare function doctor(projectRoot: string, options?: {
|
|
1828
|
-
allRuns?: boolean;
|
|
1829
|
-
latestOnly?: boolean;
|
|
1830
|
-
branch?: string | null;
|
|
1831
|
-
}): Promise<DoctorReport>;
|
|
1832
|
-
export declare function parseSddBranch(projectRoot: string, branch?: string): Promise<SddTaskModel>;
|
|
1833
|
-
export declare function parseSddTasksMarkdown(raw: string, options?: {
|
|
1834
|
-
branch?: string;
|
|
1835
|
-
tasksPath?: string;
|
|
1836
|
-
validateDependencies?: boolean;
|
|
1837
|
-
}): Pick<SddTaskModel, 'tasks' | 'gaps'>;
|
|
1838
|
-
export declare function renderSddResultArtifactTemplate(projectRoot: string, options: SddResultArtifactTemplateOptions): Promise<string>;
|
|
1839
|
-
export declare function validateSddResultArtifact(projectRoot: string, runId: string, runRelativeArtifactPath: string, options?: {
|
|
1840
|
-
expectedTask?: string;
|
|
1841
|
-
expectedAgent?: string;
|
|
1842
|
-
}): Promise<SddResultValidationReport>;
|
|
1843
|
-
export declare function parseSddResultMarkdown(raw: string): SddResultValidationReport;
|
|
1844
|
-
export declare function validateSddResult(result: SddResult, options?: {
|
|
1845
|
-
expectedTask?: string;
|
|
1846
|
-
expectedAgent?: string;
|
|
1847
|
-
runRelativeArtifactPath?: string;
|
|
1848
|
-
}): ContractValidationIssue[];
|
|
1849
|
-
export declare function parseSddEvidenceMarkdown(raw: string, options?: {
|
|
1850
|
-
expectedTask?: string;
|
|
1851
|
-
sourceArtifact?: string;
|
|
1852
|
-
}): ArtifactTrustValidationReport;
|
|
1853
|
-
export declare function createDelegationRecord(input: {
|
|
1854
|
-
delegationId: string;
|
|
1855
|
-
task: string;
|
|
1856
|
-
agent: string;
|
|
1857
|
-
expectedArtifact: string;
|
|
1858
|
-
runMode?: DelegationRunMode;
|
|
1859
|
-
blocking?: boolean;
|
|
1860
|
-
requiredForPhaseExit?: boolean;
|
|
1861
|
-
startedAt?: string;
|
|
1862
|
-
timeoutSeconds?: number;
|
|
1863
|
-
status?: DelegationStatus;
|
|
1864
|
-
}): DelegationRecord;
|
|
1865
|
-
export declare function isDelegationTerminal(status: DelegationStatus): boolean;
|
|
1866
|
-
export declare function isDelegationStale(delegation: DelegationRecord, now?: Date): boolean;
|
|
1867
|
-
export declare function validateDelegationRecord(projectRoot: string, runId: string, delegation: DelegationRecord, now?: Date): Promise<DelegationValidationReport>;
|
|
1868
|
-
export declare function ingestArtifactResult(projectRoot: string, runId: string, input: {
|
|
1869
|
-
delegationId: string;
|
|
1870
|
-
artifactPath: string;
|
|
1871
|
-
}): Promise<ArtifactResultIngestionResult>;
|
|
1872
|
-
export declare function inspectArtifactResultIngestions(projectRoot: string, runId: string): Promise<ArtifactResultIngestionInspection>;
|
|
1873
|
-
export declare function evaluateLifecycleDecisionGate(input?: Partial<LifecycleDecisionSignals>, decidedAt?: Date): LifecycleDecisionGateResult;
|
|
1874
|
-
export declare function recordLifecycleDecision(projectRoot: string, runId: string, record: LifecycleDecisionRecord): Promise<RunState>;
|
|
1875
|
-
export declare function runSingleTaskLoop(projectRoot: string, options: SingleTaskLoopOptions): Promise<SingleTaskLoopResult>;
|
|
1876
|
-
export declare function runGoalVerify(projectRoot: string, options: GoalVerifyOptions): Promise<GoalVerifyResult>;
|
|
1877
|
-
export declare function renderGoalVerifyResult(result: GoalVerifyResult): string;
|
|
1878
|
-
export declare function renderSingleTaskLoopResult(result: SingleTaskLoopResult): string;
|
|
1879
|
-
export declare function renderLifecycleDecisionGate(result: LifecycleDecisionGateResult): string;
|
|
1880
|
-
export declare function inspectSddTask(model: SddTaskModel, taskId: string): {
|
|
1881
|
-
task: SddTask | null;
|
|
1882
|
-
gaps: SddTaskGap[];
|
|
1883
|
-
};
|
|
1884
|
-
export declare function renderTaskList(model: SddTaskModel): string;
|
|
1885
|
-
export declare function renderTaskInspect(task: SddTask | null, gaps?: SddTaskGap[]): string;
|
|
1886
|
-
export declare function renderTaskGapReport(model: SddTaskModel): string;
|
|
1887
|
-
export declare function inspectTaskGraph(projectRoot: string, options?: {
|
|
1888
|
-
branch?: string;
|
|
1889
|
-
}): Promise<TaskGraphPlan>;
|
|
1890
|
-
export declare function inspectWavePlan(projectRoot: string, options?: {
|
|
1891
|
-
branch?: string;
|
|
1892
|
-
capabilityId?: string;
|
|
1893
|
-
}): Promise<WavePlan>;
|
|
1894
|
-
export declare function runBackgroundExecutor(projectRoot: string, options: BackgroundExecutorRunOptions): Promise<BackgroundExecutorResult>;
|
|
1895
|
-
export declare function inspectBackgroundExecutor(projectRoot: string, runId: string): Promise<BackgroundExecutorInspection>;
|
|
1896
|
-
export declare function claimResidentWorkerRuntime(projectRoot: string, options: ResidentWorkerRuntimeClaimOptions): Promise<ResidentWorkerRuntimeClaimResult>;
|
|
1897
|
-
export declare function heartbeatResidentWorkerRuntime(projectRoot: string, options: ResidentWorkerRuntimeHeartbeatOptions): Promise<ResidentWorkerRuntimeHeartbeatResult>;
|
|
1898
|
-
export declare function listResidentWorkerRuntimes(projectRoot: string, options: {
|
|
1899
|
-
runId: string;
|
|
1900
|
-
}): Promise<ResidentWorkerRuntimeList>;
|
|
1901
|
-
export declare function inspectResidentWorkerRuntime(projectRoot: string, options: {
|
|
1902
|
-
runId: string;
|
|
1903
|
-
runtimeId: string;
|
|
1904
|
-
}): Promise<ResidentWorkerRuntimeInspection>;
|
|
1905
|
-
export declare function runWaveExecutor(projectRoot: string, options?: WaveExecutorRunOptions): Promise<WaveExecutorResult>;
|
|
1906
|
-
export declare function inspectWaveExecutor(projectRoot: string, runId: string): Promise<WaveExecutorInspection>;
|
|
1907
|
-
export declare function renderDoctorReport(report: DoctorReport): string;
|
|
1908
|
-
export declare function defaultProjectConfig(projectName: string): ProjectConfig;
|
|
1909
|
-
export declare const TOOL_CAPABILITY_REGISTRY_VERSION = "phase-3.1-tool-capability-registry-v1";
|
|
1910
|
-
export declare const TOOL_PLUGIN_CONTRACT_REGISTRY_VERSION = "phase-3.2-tool-plugin-loading-contract-v1";
|
|
1911
|
-
export declare const DELEGATION_QUEUE_CONTRACT_VERSION = "phase-3.3-delegation-queue-contract-v1";
|
|
1912
|
-
export declare const DELEGATION_STATE_MACHINE_VERSION = "phase-3.4-delegation-state-machine-v1";
|
|
1913
|
-
export declare const WORKER_ADAPTER_CONTRACT_REGISTRY_VERSION = "phase-3.5-worker-adapter-contract-v1";
|
|
1914
|
-
export declare const ARTIFACT_RESULT_INGESTION_REGISTRY_VERSION = "phase-3.6-artifact-result-ingestion-v1";
|
|
1915
|
-
export declare const WORKTREE_ISOLATION_CONTRACT_VERSION = "phase-3.7-worktree-isolation-contract-v1";
|
|
1916
|
-
export declare const WORKTREE_LIFECYCLE_CONTRACT_VERSION = "phase-3.8-worktree-lifecycle-v1";
|
|
1917
|
-
export declare function listToolCapabilities(projectRoot: string): Promise<ToolCapabilityRegistry>;
|
|
1918
|
-
export declare function inspectToolCapability(projectRoot: string, capabilityId: string): Promise<ToolCapability | null>;
|
|
1919
|
-
export declare function inspectWorktreeIsolation(projectRoot: string, options: {
|
|
1920
|
-
branch?: string;
|
|
1921
|
-
taskId: string;
|
|
1922
|
-
capabilityId?: string;
|
|
1923
|
-
peerTaskIds?: string[];
|
|
1924
|
-
}): Promise<WorktreeIsolationDecision>;
|
|
1925
|
-
export declare function createWorktreeLifecycle(projectRoot: string, runId: string, options: {
|
|
1926
|
-
taskId: string;
|
|
1927
|
-
baseRef?: string;
|
|
1928
|
-
worktreeId?: string;
|
|
1929
|
-
}): Promise<WorktreeLifecycleRecord>;
|
|
1930
|
-
export declare function inspectWorktreeLifecycle(projectRoot: string, runId: string): Promise<WorktreeLifecycleInspection>;
|
|
1931
|
-
export declare function keepWorktreeLifecycle(projectRoot: string, runId: string, worktreeId: string, options?: {
|
|
1932
|
-
reason?: string;
|
|
1933
|
-
}): Promise<WorktreeLifecycleRecord>;
|
|
1934
|
-
export declare function removeWorktreeLifecycle(projectRoot: string, runId: string, worktreeId: string): Promise<WorktreeLifecycleRecord>;
|
|
1935
|
-
export declare function listToolPluginContracts(projectRoot: string): Promise<ToolPluginContractRegistry>;
|
|
1936
|
-
export declare function inspectToolPluginContract(projectRoot: string, pluginId: string): Promise<ToolPluginContract | null>;
|
|
1937
|
-
export declare function listWorkerAdapterContracts(projectRoot: string): Promise<WorkerAdapterContractRegistry>;
|
|
1938
|
-
export declare function inspectWorkerAdapterContract(projectRoot: string, adapterId: string): Promise<WorkerAdapterContract | null>;
|
|
1939
|
-
export declare function listWorkflowGates(projectRoot: string): Promise<WorkflowGateRegistry>;
|
|
1940
|
-
export declare function inspectWorkflowGate(projectRoot: string, workflowId: string): Promise<WorkflowGateContract | null>;
|
|
1941
|
-
export declare function validateWorkflowGates(projectRoot: string): Promise<WorkflowGateValidation>;
|
|
1942
|
-
export declare function listAgentRegistry(projectRoot: string): Promise<AgentRegistry>;
|
|
1943
|
-
export declare function inspectAgentRegistryEntry(projectRoot: string, agentId: string): Promise<AgentRegistryEntry | null>;
|
|
1944
|
-
export declare function validateAgentRegistry(projectRoot: string): Promise<AgentRegistryValidation>;
|
|
1945
|
-
export declare function inspectAgentSkillTeamRuntime(projectRoot: string): Promise<AgentSkillTeamRuntimeInspection>;
|
|
1946
|
-
export declare function validateAgentSkillTeamRuntime(projectRoot: string): Promise<AgentSkillTeamRuntimeValidation>;
|
|
1947
|
-
export declare function listSkillCapabilities(projectRoot: string): Promise<SkillCapabilityRegistry>;
|
|
1948
|
-
export declare function inspectSkillCapability(projectRoot: string, capabilityId: string): Promise<SkillCapabilityContract | null>;
|
|
1949
|
-
export declare function listCapabilitySources(projectRoot: string): Promise<CapabilitySourceCatalog>;
|
|
1950
|
-
export declare function inspectCapabilitySource(projectRoot: string, sourceId: string): Promise<CapabilitySourceCatalogEntry | null>;
|
|
1951
|
-
export declare function inspectExternalAgentPackImport(projectRoot: string, sourceId: string): Promise<ExternalAgentPackImportInspection>;
|
|
1952
|
-
export declare function inspectTeamModePolicy(projectRoot: string, options?: {
|
|
1953
|
-
taskId?: string;
|
|
1954
|
-
branch?: string;
|
|
1955
|
-
enabled?: boolean;
|
|
1956
|
-
teamModeActivation?: TeamModeActivation;
|
|
1957
|
-
}): Promise<TeamModePolicy>;
|
|
1958
|
-
export declare function routeSddTask(projectRoot: string, options?: {
|
|
1959
|
-
taskId: string;
|
|
1960
|
-
branch?: string;
|
|
1961
|
-
agent?: string;
|
|
1962
|
-
teamModeEnabled?: boolean;
|
|
1963
|
-
teamModeActivation?: TeamModeActivation;
|
|
1964
|
-
profile?: boolean;
|
|
1965
|
-
cache?: boolean;
|
|
1966
|
-
}): Promise<AgentRouterDecision>;
|
|
1967
|
-
export declare function inspectQueryStatusContract(projectRoot: string): Promise<QueryStatusContract>;
|
|
1968
|
-
export declare function inspectSkillAgentEvalContract(projectRoot: string): Promise<SkillAgentEvalContract>;
|
|
1969
|
-
export declare function validateSkillAgentEvalContract(projectRoot: string): Promise<SkillAgentEvalValidation>;
|
|
1970
|
-
export declare function inspectHarnessLearningContract(projectRoot: string): Promise<HarnessLearningContract>;
|
|
1971
|
-
export declare function validateHarnessLearningContract(projectRoot: string): Promise<HarnessLearningValidation>;
|
|
1972
|
-
export declare function inspectProjectContextPackContract(projectRoot: string): Promise<ProjectContextPackContract>;
|
|
1973
|
-
export declare function validateProjectContextPackContract(projectRoot: string): Promise<ProjectContextPackValidation>;
|
|
1974
|
-
export declare function validateQueryStatusContract(projectRoot: string): Promise<QueryStatusValidation>;
|
|
1975
|
-
export declare function inspectGovernancePolicy(projectRoot: string): Promise<GovernancePolicy>;
|
|
1976
|
-
export declare function evaluateGovernancePolicy(projectRoot: string, input: GovernancePolicyDecisionInput): Promise<GovernancePolicyDecision>;
|
|
1977
|
-
export declare function listDelegationQueueItems(projectRoot: string, options?: {
|
|
1978
|
-
runId?: string;
|
|
1979
|
-
}): Promise<DelegationQueueSnapshot>;
|
|
1980
|
-
export declare function inspectDelegationQueueItem(projectRoot: string, queueItemId: string): Promise<DelegationQueueItem | null>;
|
|
1981
|
-
export declare function getDelegationStateMachine(): DelegationStateMachine;
|
|
1982
|
-
export declare function validateDelegationStateTransition(from: DelegationStatus, to: DelegationStatus, event?: string | null): DelegationStateTransitionValidation;
|
|
1983
|
-
export declare function emptyLifecycleDecisionRecord(): LifecycleDecisionRecord;
|
|
1984
|
-
export declare function readRunEvents(projectRoot: string, runId: string): Promise<RuntimeEvent[]>;
|
|
1985
|
-
export declare function extractLifecycleRiskSignalsFromText(text: string, source?: LifecycleRiskExtractionSource): LifecycleRiskGateExtraction;
|
|
1986
|
-
export declare function lifecycleAutonomyCeiling(record: LifecycleDecisionRecord): LifecycleAutonomyCeiling;
|