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
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import type { ContextBranchSource, ContextResolverContract } from '../sdd-docs/context.js';
|
|
2
|
+
import type { SddTaskGap, SddTaskModel } from '../sdd-docs/task-parser.js';
|
|
3
|
+
import type { RunSummary } from '../run-state/model.js';
|
|
4
|
+
import { type WorkflowLatestTaskRun, type WorkflowNextIntent } from '../workflow-state/resolve.js';
|
|
5
|
+
import type { WorkflowAffectedFileConflict } from '../workflow-state/affected-file-conflicts.js';
|
|
6
|
+
import type { WorkflowDependencyBlocker } from '../workflow-state/dependencies.js';
|
|
7
|
+
import type { LatestEligibleRunSelection } from '../workflow-state/latest-eligible-run.js';
|
|
8
|
+
import { type LifecycleRiskConsumerDiagnostic } from '../risk.js';
|
|
9
|
+
import { type WorkflowStageHandoffDiagnostic } from '../stage-runtime.js';
|
|
10
|
+
import { type ContextRuntimeDiagnostic } from '../context-offload.js';
|
|
11
|
+
import { type SubagentDispatchDiagnostic } from '../subagents.js';
|
|
12
|
+
import { type AgentCapabilityDomain, type ProfessionalCapabilityDomain } from '../registries/agent-capability-catalog.js';
|
|
13
|
+
import { type RuntimeDurableGapRecord } from '../storage/runtime-store.js';
|
|
14
|
+
import type { WorkflowGateDecision, WorkflowGateDecisionKind } from '../workflow-gate/types.js';
|
|
15
|
+
export interface RunEvidenceSummary {
|
|
16
|
+
agentExecutions: number;
|
|
17
|
+
teamSessions: number;
|
|
18
|
+
artifactIngestions: number;
|
|
19
|
+
workerRuntimes: number;
|
|
20
|
+
staleWorkerRuntimes: number;
|
|
21
|
+
routePreflight: boolean;
|
|
22
|
+
tasksChangedAfterRun: boolean;
|
|
23
|
+
tasksUpdatedAt: string | null;
|
|
24
|
+
runUpdatedAt: string | null;
|
|
25
|
+
}
|
|
26
|
+
export interface TaskRiskSummary {
|
|
27
|
+
highRiskTasks: string[];
|
|
28
|
+
mediumRiskTasks: string[];
|
|
29
|
+
sourceBoundaryTasks: string[];
|
|
30
|
+
contextRiskTasks: string[];
|
|
31
|
+
tokenRiskTasks: string[];
|
|
32
|
+
performanceRiskTasks: string[];
|
|
33
|
+
}
|
|
34
|
+
export interface TokenRuntimeProjection {
|
|
35
|
+
health: 'unknown' | 'nominal' | 'pressure';
|
|
36
|
+
estimatedTokens: number | null;
|
|
37
|
+
contextPackages: number;
|
|
38
|
+
teamRuntimeDecisions: number;
|
|
39
|
+
pressureReasons: string[];
|
|
40
|
+
}
|
|
41
|
+
export type CapabilityHealthStatus = 'absent' | 'pass' | 'warn' | 'blocked';
|
|
42
|
+
export interface CapabilityHealthProjection {
|
|
43
|
+
status: CapabilityHealthStatus;
|
|
44
|
+
requiredProfessionalDomains: ProfessionalCapabilityDomain[];
|
|
45
|
+
baselineDomains: ProfessionalCapabilityDomain[];
|
|
46
|
+
missingBaselineDomains: ProfessionalCapabilityDomain[];
|
|
47
|
+
materialPacks: number;
|
|
48
|
+
activeDomains: AgentCapabilityDomain[];
|
|
49
|
+
activePacks: string[];
|
|
50
|
+
sources: {
|
|
51
|
+
total: number;
|
|
52
|
+
quarantined: number;
|
|
53
|
+
denied: number;
|
|
54
|
+
futureAdapters: number;
|
|
55
|
+
};
|
|
56
|
+
evidence: {
|
|
57
|
+
accepted: number;
|
|
58
|
+
candidate: number;
|
|
59
|
+
quarantined: number;
|
|
60
|
+
diagnostic: number;
|
|
61
|
+
blocked: number;
|
|
62
|
+
};
|
|
63
|
+
warnings: string[];
|
|
64
|
+
releaseCriticalGaps: ProfessionalCapabilityDomain[];
|
|
65
|
+
reasons: string[];
|
|
66
|
+
}
|
|
67
|
+
export interface StageTeamHealthProjection {
|
|
68
|
+
sessions: number;
|
|
69
|
+
roleResults: number;
|
|
70
|
+
advisorAssessments: number;
|
|
71
|
+
fanInEvidenceSets: number;
|
|
72
|
+
highConcernAdvisors: number;
|
|
73
|
+
lifecycleProfiles: string[];
|
|
74
|
+
directProfileRequiresNoTeam: boolean;
|
|
75
|
+
}
|
|
76
|
+
export interface WorkflowGateHealthProjection {
|
|
77
|
+
decisions: number;
|
|
78
|
+
blocked: number;
|
|
79
|
+
warnings: number;
|
|
80
|
+
humanRequired: number;
|
|
81
|
+
latestDecision: WorkflowGateDecision | null;
|
|
82
|
+
statusesByKind: Partial<Record<WorkflowGateDecisionKind, WorkflowGateDecision['status']>>;
|
|
83
|
+
}
|
|
84
|
+
export interface ProjectStatus {
|
|
85
|
+
branch: string;
|
|
86
|
+
workflowStatus: 'active' | 'not_started';
|
|
87
|
+
context: ContextResolverContract;
|
|
88
|
+
gitRoot: string | null;
|
|
89
|
+
documents: SddTaskModel['documents'];
|
|
90
|
+
tasks: {
|
|
91
|
+
total: number;
|
|
92
|
+
pending: number;
|
|
93
|
+
inProgress: number;
|
|
94
|
+
completed: number;
|
|
95
|
+
blocked: number;
|
|
96
|
+
deferred: number;
|
|
97
|
+
unknown: number;
|
|
98
|
+
gaps: number;
|
|
99
|
+
};
|
|
100
|
+
taskRisk: TaskRiskSummary;
|
|
101
|
+
latestRun: RunSummary | null;
|
|
102
|
+
latestRunsByTask: WorkflowLatestTaskRun[];
|
|
103
|
+
latestEligibleRunsByTask: LatestEligibleRunSelection[];
|
|
104
|
+
latestRunEvidence: RunEvidenceSummary | null;
|
|
105
|
+
latestRunStaleReasons: string[];
|
|
106
|
+
affectedFileConflicts: WorkflowAffectedFileConflict[];
|
|
107
|
+
dependencyBlockers: WorkflowDependencyBlocker[];
|
|
108
|
+
recommendedNextCommand: string;
|
|
109
|
+
nextIntent: WorkflowNextIntent;
|
|
110
|
+
tokenProjection: TokenRuntimeProjection;
|
|
111
|
+
contextRuntime: ContextRuntimeDiagnostic;
|
|
112
|
+
subagentDispatches: SubagentDispatchDiagnostic;
|
|
113
|
+
lifecycleRisk: LifecycleRiskConsumerDiagnostic;
|
|
114
|
+
capabilityHealth: CapabilityHealthProjection;
|
|
115
|
+
workflowHandoff: WorkflowStageHandoffDiagnostic;
|
|
116
|
+
gaps: SddTaskGap[];
|
|
117
|
+
durableGaps: RuntimeDurableGapRecord[];
|
|
118
|
+
stageTeamHealth: StageTeamHealthProjection;
|
|
119
|
+
workflowGateHealth: WorkflowGateHealthProjection;
|
|
120
|
+
}
|
|
121
|
+
export interface StatuslineProjection {
|
|
122
|
+
contract: 'sdd-statusline-projection-v1';
|
|
123
|
+
branch: string;
|
|
124
|
+
workflow: ProjectStatus['workflowStatus'];
|
|
125
|
+
taskHealth: 'empty' | 'active' | 'blocked' | 'complete';
|
|
126
|
+
runtimeHealth: 'none' | 'pass' | 'warn' | 'blocked';
|
|
127
|
+
testHealth: 'none' | 'pass' | 'warn' | 'blocked';
|
|
128
|
+
teamHealth: 'none' | 'active';
|
|
129
|
+
tokenHealth: 'unknown' | 'nominal' | 'pressure';
|
|
130
|
+
contextLoad: ProjectStatus['contextRuntime']['level'];
|
|
131
|
+
contextAction: ProjectStatus['contextRuntime']['action'];
|
|
132
|
+
subagentHealth: ProjectStatus['subagentDispatches']['status'];
|
|
133
|
+
evidenceHealth: 'none' | 'pass' | 'warn' | 'blocked';
|
|
134
|
+
capabilityHealth: ProjectStatus['capabilityHealth']['status'];
|
|
135
|
+
latestRunId: string | null;
|
|
136
|
+
counts: {
|
|
137
|
+
tasks: ProjectStatus['tasks'];
|
|
138
|
+
agentExecutions: number;
|
|
139
|
+
teamSessions: number;
|
|
140
|
+
workerRuntimes: number;
|
|
141
|
+
staleWorkerRuntimes: number;
|
|
142
|
+
artifactIngestions: number;
|
|
143
|
+
staleReasons: number;
|
|
144
|
+
affectedFileConflicts: number;
|
|
145
|
+
subagentDispatches: number;
|
|
146
|
+
blockingSubagents: number;
|
|
147
|
+
capabilityWarnings: number;
|
|
148
|
+
durableGaps: number;
|
|
149
|
+
stageTeamSessions: number;
|
|
150
|
+
stageRoleResults: number;
|
|
151
|
+
advisorAssessments: number;
|
|
152
|
+
fanInEvidenceSets: number;
|
|
153
|
+
workflowGateDecisions: number;
|
|
154
|
+
};
|
|
155
|
+
taskRisk: TaskRiskSummary;
|
|
156
|
+
next: string;
|
|
157
|
+
}
|
|
158
|
+
export declare function getProjectStatus(projectRoot: string, options?: {
|
|
159
|
+
branch?: string | null;
|
|
160
|
+
branchSource?: ContextBranchSource;
|
|
161
|
+
}): Promise<ProjectStatus>;
|
|
162
|
+
export declare function getStatuslineProjection(projectRoot: string, options?: {
|
|
163
|
+
branch?: string | null;
|
|
164
|
+
branchSource?: ContextBranchSource;
|
|
165
|
+
}): Promise<StatuslineProjection>;
|
|
166
|
+
export declare function statuslineProjectionFromStatus(status: ProjectStatus): StatuslineProjection;
|
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
import { execFile } from 'node:child_process';
|
|
2
|
+
import { stat } from 'node:fs/promises';
|
|
3
|
+
import { promisify } from 'node:util';
|
|
4
|
+
import { readRunEvents } from '../run-state/events.js';
|
|
5
|
+
import { readRunState } from '../run-state/run-state.js';
|
|
6
|
+
import { listAgentExecutionRecords, listTeamSessionRecords } from '../execution/agent-execution-records.js';
|
|
7
|
+
import { listResidentWorkerRuntimes } from '../execution/resident-worker.js';
|
|
8
|
+
import { runDocumentStaleReasons } from '../sync-back/inspect.js';
|
|
9
|
+
import { resolveWorkflowState } from '../workflow-state/resolve.js';
|
|
10
|
+
import { buildTaskRiskProfile } from '../task-risk-profile.js';
|
|
11
|
+
import { listRuntimeProjections } from '../storage/runtime-store.js';
|
|
12
|
+
import { inspectLifecycleRiskDecisionForModel } from '../risk.js';
|
|
13
|
+
import { inspectWorkflowStageHandoff } from '../stage-runtime.js';
|
|
14
|
+
import { inspectContextOffloadRuntime } from '../context-offload.js';
|
|
15
|
+
import { inspectSubagentDispatches } from '../subagents.js';
|
|
16
|
+
import { inspectAgentCapabilityCatalog, REQUIRED_PROFESSIONAL_CAPABILITY_DOMAINS } from '../registries/agent-capability-catalog.js';
|
|
17
|
+
import { validateAgentSkillTeamRuntime } from '../router/runtime-validation.js';
|
|
18
|
+
import { listRuntimeDurableGaps, listRuntimeFanInEvidenceSets, listRuntimeLlmAdvisorAssessments, listRuntimeStageRoleResults, listRuntimeStageTeamSessions, listRuntimeTestRuns, listRuntimeWorkflowGateDecisions } from '../storage/runtime-store.js';
|
|
19
|
+
const execFileAsync = promisify(execFile);
|
|
20
|
+
export async function getProjectStatus(projectRoot, options = {}) {
|
|
21
|
+
const [workflow, gitRoot] = await Promise.all([resolveWorkflowState(projectRoot, options), getGitRoot(projectRoot)]);
|
|
22
|
+
const latestRun = workflow.latestRun;
|
|
23
|
+
const latestRunState = workflow.latestRunState;
|
|
24
|
+
const latestRunEvidence = latestRun ? await inspectRunEvidenceSummary(projectRoot, latestRun.runId) : null;
|
|
25
|
+
const enrichedLatestRunEvidence = latestRun && latestRunEvidence
|
|
26
|
+
? await addTaskDocumentStalenessToRunEvidence(workflow.model.tasksPath, latestRun, latestRunEvidence)
|
|
27
|
+
: latestRunEvidence;
|
|
28
|
+
const latestRunStaleReasons = latestRunState ? await runDocumentStaleReasons(projectRoot, latestRunState, workflow.model) : [];
|
|
29
|
+
const taskRisk = summarizeTaskRisk(workflow.model.tasks);
|
|
30
|
+
const tokenProjection = await inspectTokenRuntimeProjection(projectRoot);
|
|
31
|
+
const lifecycleRisk = await inspectLifecycleRiskDecisionForModel(projectRoot, workflow.branch, workflow.model);
|
|
32
|
+
const workflowHandoff = await inspectWorkflowStageHandoff(projectRoot, workflow.branch);
|
|
33
|
+
const contextRuntime = await inspectContextOffloadRuntime(projectRoot, workflow.branch);
|
|
34
|
+
const subagentDispatches = await inspectSubagentDispatches(projectRoot, workflow.branch);
|
|
35
|
+
const capabilityHealth = await inspectCapabilityHealth(projectRoot, latestRun?.runId ?? null, workflow.model.tasks);
|
|
36
|
+
const durableGaps = await listRuntimeDurableGaps(projectRoot, { partition: workflow.branch, status: 'open_terminal' });
|
|
37
|
+
const stageTeamHealth = await inspectStageTeamHealth(projectRoot, workflow.branch, latestRun?.runId ?? null);
|
|
38
|
+
const workflowGateHealth = await inspectWorkflowGateHealth(projectRoot, workflow.branch, latestRun?.runId ?? null);
|
|
39
|
+
return {
|
|
40
|
+
branch: workflow.branch,
|
|
41
|
+
workflowStatus: workflow.workflowStatus,
|
|
42
|
+
context: workflow.context,
|
|
43
|
+
gitRoot,
|
|
44
|
+
documents: workflow.documents,
|
|
45
|
+
tasks: workflow.taskCounts,
|
|
46
|
+
taskRisk,
|
|
47
|
+
latestRun,
|
|
48
|
+
latestRunsByTask: workflow.latestRunsByTask,
|
|
49
|
+
latestEligibleRunsByTask: workflow.latestEligibleRunsByTask,
|
|
50
|
+
latestRunEvidence: enrichedLatestRunEvidence,
|
|
51
|
+
latestRunStaleReasons,
|
|
52
|
+
affectedFileConflicts: workflow.affectedFileConflicts,
|
|
53
|
+
dependencyBlockers: workflow.dependencyBlockers,
|
|
54
|
+
recommendedNextCommand: workflow.recommendedNextCommand,
|
|
55
|
+
nextIntent: workflow.nextIntent,
|
|
56
|
+
tokenProjection,
|
|
57
|
+
contextRuntime,
|
|
58
|
+
subagentDispatches,
|
|
59
|
+
lifecycleRisk,
|
|
60
|
+
workflowHandoff,
|
|
61
|
+
capabilityHealth,
|
|
62
|
+
gaps: workflow.visibleGaps,
|
|
63
|
+
durableGaps,
|
|
64
|
+
stageTeamHealth,
|
|
65
|
+
workflowGateHealth
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
export async function getStatuslineProjection(projectRoot, options = {}) {
|
|
69
|
+
return statuslineProjectionFromStatus(await getProjectStatus(projectRoot, options));
|
|
70
|
+
}
|
|
71
|
+
export function statuslineProjectionFromStatus(status) {
|
|
72
|
+
const evidence = status.latestRunEvidence;
|
|
73
|
+
const runtimeHealth = status.latestRun
|
|
74
|
+
? status.latestRun.status === 'completed' && status.latestRun.validationStatus === 'pass' ? 'pass' : 'blocked'
|
|
75
|
+
: 'none';
|
|
76
|
+
const staleReasons = status.latestRunStaleReasons.length;
|
|
77
|
+
const affectedFileConflicts = status.affectedFileConflicts.length;
|
|
78
|
+
return {
|
|
79
|
+
contract: 'sdd-statusline-projection-v1',
|
|
80
|
+
branch: status.branch,
|
|
81
|
+
workflow: status.workflowStatus,
|
|
82
|
+
taskHealth: taskHealth(status),
|
|
83
|
+
runtimeHealth,
|
|
84
|
+
testHealth: testHealth(status),
|
|
85
|
+
teamHealth: (evidence?.teamSessions ?? 0) > 0 || status.stageTeamHealth.sessions > 0 || status.stageTeamHealth.roleResults > 0 ? 'active' : 'none',
|
|
86
|
+
tokenHealth: status.tokenProjection.health,
|
|
87
|
+
contextLoad: status.contextRuntime.level,
|
|
88
|
+
contextAction: status.contextRuntime.action,
|
|
89
|
+
subagentHealth: status.subagentDispatches.status,
|
|
90
|
+
evidenceHealth: evidenceHealth(status, runtimeHealth),
|
|
91
|
+
capabilityHealth: status.capabilityHealth.status,
|
|
92
|
+
latestRunId: status.latestRun?.runId ?? null,
|
|
93
|
+
counts: {
|
|
94
|
+
tasks: status.tasks,
|
|
95
|
+
agentExecutions: evidence?.agentExecutions ?? 0,
|
|
96
|
+
teamSessions: evidence?.teamSessions ?? 0,
|
|
97
|
+
workerRuntimes: evidence?.workerRuntimes ?? 0,
|
|
98
|
+
staleWorkerRuntimes: evidence?.staleWorkerRuntimes ?? 0,
|
|
99
|
+
artifactIngestions: evidence?.artifactIngestions ?? 0,
|
|
100
|
+
staleReasons,
|
|
101
|
+
affectedFileConflicts,
|
|
102
|
+
subagentDispatches: status.subagentDispatches.dispatches,
|
|
103
|
+
blockingSubagents: status.subagentDispatches.blockingOpen,
|
|
104
|
+
capabilityWarnings: status.capabilityHealth.warnings.length,
|
|
105
|
+
durableGaps: status.durableGaps.length,
|
|
106
|
+
stageTeamSessions: status.stageTeamHealth.sessions,
|
|
107
|
+
stageRoleResults: status.stageTeamHealth.roleResults,
|
|
108
|
+
advisorAssessments: status.stageTeamHealth.advisorAssessments,
|
|
109
|
+
fanInEvidenceSets: status.stageTeamHealth.fanInEvidenceSets,
|
|
110
|
+
workflowGateDecisions: status.workflowGateHealth.decisions
|
|
111
|
+
},
|
|
112
|
+
taskRisk: status.taskRisk,
|
|
113
|
+
next: status.recommendedNextCommand
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
async function inspectStageTeamHealth(projectRoot, partition, runId) {
|
|
117
|
+
const query = runId ? { partition, runId } : { partition };
|
|
118
|
+
const [sessions, roleResults, advisorAssessments, fanInEvidenceSets] = await Promise.all([
|
|
119
|
+
listRuntimeStageTeamSessions(projectRoot, query),
|
|
120
|
+
listRuntimeStageRoleResults(projectRoot, query),
|
|
121
|
+
listRuntimeLlmAdvisorAssessments(projectRoot, query),
|
|
122
|
+
listRuntimeFanInEvidenceSets(projectRoot, query)
|
|
123
|
+
]);
|
|
124
|
+
return {
|
|
125
|
+
sessions: sessions.length,
|
|
126
|
+
roleResults: roleResults.length,
|
|
127
|
+
advisorAssessments: advisorAssessments.length,
|
|
128
|
+
fanInEvidenceSets: fanInEvidenceSets.length,
|
|
129
|
+
highConcernAdvisors: advisorAssessments.filter((assessment) => assessment.concern === 'high').length,
|
|
130
|
+
lifecycleProfiles: [...new Set(sessions.map((session) => session.lifecycleProfile))].sort(),
|
|
131
|
+
directProfileRequiresNoTeam: !sessions.some((session) => session.lifecycleProfile === 'direct' && session.assignments.some((assignment) => assignment.required))
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
async function inspectWorkflowGateHealth(projectRoot, partition, runId) {
|
|
135
|
+
const query = runId ? { partition, runId } : { partition };
|
|
136
|
+
const decisions = await listRuntimeWorkflowGateDecisions(projectRoot, query);
|
|
137
|
+
const statusesByKind = Object.fromEntries(decisions.map((decision) => [decision.decisionKind, decision.status]));
|
|
138
|
+
return {
|
|
139
|
+
decisions: decisions.length,
|
|
140
|
+
blocked: decisions.filter((decision) => decision.status === 'BLOCKED').length,
|
|
141
|
+
warnings: decisions.filter((decision) => decision.status === 'WARN').length,
|
|
142
|
+
humanRequired: decisions.filter((decision) => decision.humanRequired).length,
|
|
143
|
+
latestDecision: decisions[0] ?? null,
|
|
144
|
+
statusesByKind
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
function summarizeTaskRisk(tasks) {
|
|
148
|
+
const entries = tasks.map((task) => ({ taskId: task?.id ?? null, profile: buildTaskRiskProfile(task) }));
|
|
149
|
+
return {
|
|
150
|
+
highRiskTasks: entries.filter(({ profile }) => profile.riskLevel === 'high').map(({ taskId }) => taskId).filter((taskId) => Boolean(taskId)).sort(),
|
|
151
|
+
mediumRiskTasks: entries.filter(({ profile }) => profile.riskLevel === 'medium').map(({ taskId }) => taskId).filter((taskId) => Boolean(taskId)).sort(),
|
|
152
|
+
sourceBoundaryTasks: entries.filter(({ profile }) => profile.sourceBoundary).map(({ taskId }) => taskId).filter((taskId) => Boolean(taskId)).sort(),
|
|
153
|
+
contextRiskTasks: entries.filter(({ profile }) => profile.contextRisk).map(({ taskId }) => taskId).filter((taskId) => Boolean(taskId)).sort(),
|
|
154
|
+
tokenRiskTasks: entries.filter(({ profile }) => profile.tokenRisk).map(({ taskId }) => taskId).filter((taskId) => Boolean(taskId)).sort(),
|
|
155
|
+
performanceRiskTasks: entries.filter(({ profile }) => profile.performanceRisk).map(({ taskId }) => taskId).filter((taskId) => Boolean(taskId)).sort()
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
function taskHealth(status) {
|
|
159
|
+
if (status.tasks.total === 0) {
|
|
160
|
+
return 'empty';
|
|
161
|
+
}
|
|
162
|
+
if (status.tasks.blocked > 0 || status.gaps.some((gap) => gap.severity === 'blocking') || status.durableGaps.some((gap) => gap.severity === 'blocking') || status.dependencyBlockers.length > 0) {
|
|
163
|
+
return 'blocked';
|
|
164
|
+
}
|
|
165
|
+
if (status.tasks.completed === status.tasks.total) {
|
|
166
|
+
return 'complete';
|
|
167
|
+
}
|
|
168
|
+
return 'active';
|
|
169
|
+
}
|
|
170
|
+
function testHealth(status) {
|
|
171
|
+
if (!status.latestRun) {
|
|
172
|
+
return 'none';
|
|
173
|
+
}
|
|
174
|
+
if (status.latestRun.validationStatus === 'pass') {
|
|
175
|
+
return 'pass';
|
|
176
|
+
}
|
|
177
|
+
if (status.latestRun.validationStatus === 'pass_with_gaps') {
|
|
178
|
+
return 'warn';
|
|
179
|
+
}
|
|
180
|
+
return 'blocked';
|
|
181
|
+
}
|
|
182
|
+
function evidenceHealth(status, runtimeHealth) {
|
|
183
|
+
if (!status.latestRunEvidence) {
|
|
184
|
+
return 'none';
|
|
185
|
+
}
|
|
186
|
+
if (status.latestRunStaleReasons.length > 0 || status.affectedFileConflicts.length > 0 || status.latestRunEvidence.staleWorkerRuntimes > 0) {
|
|
187
|
+
return 'blocked';
|
|
188
|
+
}
|
|
189
|
+
if (runtimeHealth === 'blocked' || status.latestRunEvidence.tasksChangedAfterRun) {
|
|
190
|
+
return 'warn';
|
|
191
|
+
}
|
|
192
|
+
return 'pass';
|
|
193
|
+
}
|
|
194
|
+
async function inspectCapabilityHealth(projectRoot, latestRunId, tasks) {
|
|
195
|
+
try {
|
|
196
|
+
const [catalog, runtimeValidation, testRuns] = await Promise.all([
|
|
197
|
+
inspectAgentCapabilityCatalog(projectRoot),
|
|
198
|
+
validateAgentSkillTeamRuntime(projectRoot),
|
|
199
|
+
latestRunId ? listRuntimeTestRuns(projectRoot, latestRunId) : Promise.resolve([])
|
|
200
|
+
]);
|
|
201
|
+
const baselineDomains = uniqueSorted(catalog.capabilities
|
|
202
|
+
.filter((capability) => capability.domainGroup === 'professional' && capability.provenance.sourceId === 'sdd_professional_baseline')
|
|
203
|
+
.map((capability) => capability.domain));
|
|
204
|
+
const missingBaselineDomains = REQUIRED_PROFESSIONAL_CAPABILITY_DOMAINS.filter((domain) => !baselineDomains.includes(domain));
|
|
205
|
+
const latestEvidence = capabilityEvidenceFromTestRuns(testRuns.map((run) => run.payload));
|
|
206
|
+
const acceptedProfessionalEvidence = latestEvidence.filter((item) => item.source === 'professional_capability' && item.class === 'accepted');
|
|
207
|
+
const activeDomains = uniqueSorted(acceptedProfessionalEvidence
|
|
208
|
+
.map((item) => item.domainOrSourceId));
|
|
209
|
+
const activePacks = uniqueSorted(catalog.materialPacks
|
|
210
|
+
.filter((pack) => pack.domains.some((domain) => activeDomains.includes(domain)))
|
|
211
|
+
.map((pack) => pack.id));
|
|
212
|
+
const sources = runtimeValidation.inspection.capabilitySources;
|
|
213
|
+
const blocked = missingBaselineDomains.length > 0 || !runtimeValidation.valid;
|
|
214
|
+
const noEvidence = latestRunId !== null && latestEvidence.length === 0;
|
|
215
|
+
const releaseCriticalGaps = releaseCriticalCapabilityGaps(tasks, acceptedProfessionalEvidence);
|
|
216
|
+
const warnings = [
|
|
217
|
+
...missingBaselineDomains.map((domain) => `missing baseline professional domain ${domain}`),
|
|
218
|
+
...runtimeValidation.issues.map((issue) => issue.message),
|
|
219
|
+
...noCapabilityEvidenceWarnings(noEvidence),
|
|
220
|
+
...releaseCriticalGaps.map((domain) => `release-critical capability gap ${domain}`)
|
|
221
|
+
];
|
|
222
|
+
return {
|
|
223
|
+
status: blocked ? 'blocked' : warnings.length > 0 ? 'warn' : 'pass',
|
|
224
|
+
requiredProfessionalDomains: [...REQUIRED_PROFESSIONAL_CAPABILITY_DOMAINS],
|
|
225
|
+
baselineDomains,
|
|
226
|
+
missingBaselineDomains,
|
|
227
|
+
materialPacks: catalog.materialPacks.length,
|
|
228
|
+
activeDomains,
|
|
229
|
+
activePacks,
|
|
230
|
+
sources: {
|
|
231
|
+
total: sources.length,
|
|
232
|
+
quarantined: sources.filter((source) => source.quarantineRequired || source.quarantineStatus === 'quarantined').length,
|
|
233
|
+
denied: sources.filter((source) => source.quarantineStatus === 'denied').length,
|
|
234
|
+
futureAdapters: sources.filter((source) => source.hostCompatibility.some((item) => item.includes('future_adapter'))).length
|
|
235
|
+
},
|
|
236
|
+
evidence: capabilityEvidenceCounts(latestEvidence),
|
|
237
|
+
releaseCriticalGaps,
|
|
238
|
+
warnings: uniqueSorted(warnings),
|
|
239
|
+
reasons: capabilityHealthReasons(latestRunId, latestEvidence.length, blocked, warnings.length)
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
catch (error) {
|
|
243
|
+
return {
|
|
244
|
+
status: 'absent',
|
|
245
|
+
requiredProfessionalDomains: [...REQUIRED_PROFESSIONAL_CAPABILITY_DOMAINS],
|
|
246
|
+
baselineDomains: [],
|
|
247
|
+
missingBaselineDomains: [],
|
|
248
|
+
materialPacks: 0,
|
|
249
|
+
activeDomains: [],
|
|
250
|
+
activePacks: [],
|
|
251
|
+
sources: { total: 0, quarantined: 0, denied: 0, futureAdapters: 0 },
|
|
252
|
+
evidence: { accepted: 0, candidate: 0, quarantined: 0, diagnostic: 0, blocked: 0 },
|
|
253
|
+
warnings: [],
|
|
254
|
+
releaseCriticalGaps: [],
|
|
255
|
+
reasons: [`capability health unavailable: ${error instanceof Error ? error.message : String(error)}`]
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
function capabilityEvidenceFromTestRuns(payloads) {
|
|
260
|
+
return payloads.flatMap((payload) => isRecord(payload) && Array.isArray(payload.capabilityEvidence)
|
|
261
|
+
? payload.capabilityEvidence.filter(isCapabilityEvidenceClassification)
|
|
262
|
+
: []);
|
|
263
|
+
}
|
|
264
|
+
function isCapabilityEvidenceClassification(value) {
|
|
265
|
+
return isRecord(value)
|
|
266
|
+
&& (value.class === 'accepted' || value.class === 'candidate' || value.class === 'quarantined' || value.class === 'diagnostic' || value.class === 'blocked')
|
|
267
|
+
&& (value.source === 'professional_capability' || value.source === 'external_source' || value.source === 'runtime_diagnostic')
|
|
268
|
+
&& typeof value.domainOrSourceId === 'string';
|
|
269
|
+
}
|
|
270
|
+
function capabilityEvidenceCounts(evidence) {
|
|
271
|
+
return {
|
|
272
|
+
accepted: evidence.filter((item) => item.class === 'accepted').length,
|
|
273
|
+
candidate: evidence.filter((item) => item.class === 'candidate').length,
|
|
274
|
+
quarantined: evidence.filter((item) => item.class === 'quarantined').length,
|
|
275
|
+
diagnostic: evidence.filter((item) => item.class === 'diagnostic').length,
|
|
276
|
+
blocked: evidence.filter((item) => item.class === 'blocked').length
|
|
277
|
+
};
|
|
278
|
+
}
|
|
279
|
+
function releaseCriticalCapabilityGaps(tasks, acceptedProfessionalEvidence) {
|
|
280
|
+
const required = releaseCriticalDomainsForTasks(tasks);
|
|
281
|
+
const acceptedEvidenceDomains = new Set(acceptedProfessionalEvidence.map((item) => item.domainOrSourceId));
|
|
282
|
+
return required.filter((domain) => !acceptedEvidenceDomains.has(domain));
|
|
283
|
+
}
|
|
284
|
+
function releaseCriticalDomainsForTasks(tasks) {
|
|
285
|
+
const domains = new Set();
|
|
286
|
+
for (const task of tasks) {
|
|
287
|
+
const text = [task.title ?? '', ...task.risk, ...task.affectedFiles, ...task.validation, ...task.acceptance, task.boundary ?? ''].join('\n').toLowerCase();
|
|
288
|
+
if (/security|auth|permission|secret|token|安全/.test(text)) {
|
|
289
|
+
domains.add('security-engineering');
|
|
290
|
+
}
|
|
291
|
+
if (/performance|latency|throughput|benchmark|capacity|性能/.test(text)) {
|
|
292
|
+
domains.add('performance-engineering');
|
|
293
|
+
}
|
|
294
|
+
if (/observability|logging|metrics|tracing|diagnostic|可观测/.test(text)) {
|
|
295
|
+
domains.add('observability-engineering');
|
|
296
|
+
}
|
|
297
|
+
if (/release|deploy|rollback|ci|ship|发布/.test(text)) {
|
|
298
|
+
domains.add('release-engineering');
|
|
299
|
+
}
|
|
300
|
+
if (/database|schema|migration|query|data|db|数据/.test(text)) {
|
|
301
|
+
domains.add('db-data-engineering');
|
|
302
|
+
}
|
|
303
|
+
if (/ui|ux|frontend|browser|figma|accessibility|交互|前端/.test(text)) {
|
|
304
|
+
domains.add(text.includes('frontend') || text.includes('browser') || text.includes('前端') ? 'frontend-engineering' : 'ui-ux-product-design');
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
return [...domains].sort((left, right) => left.localeCompare(right));
|
|
308
|
+
}
|
|
309
|
+
function noCapabilityEvidenceWarnings(noEvidence) {
|
|
310
|
+
return noEvidence ? ['latest run has no capability evidence classification'] : [];
|
|
311
|
+
}
|
|
312
|
+
function capabilityHealthReasons(latestRunId, evidenceCount, blocked, warnings) {
|
|
313
|
+
if (blocked) {
|
|
314
|
+
return ['Capability catalog or runtime source validation has blocking issues.'];
|
|
315
|
+
}
|
|
316
|
+
if (latestRunId !== null && evidenceCount === 0) {
|
|
317
|
+
return ['Latest run has no recorded capability evidence classification.'];
|
|
318
|
+
}
|
|
319
|
+
if (warnings > 0) {
|
|
320
|
+
return ['Capability health has warnings; inspect status JSON for exact missing evidence or release-critical gaps.'];
|
|
321
|
+
}
|
|
322
|
+
return ['Professional capability baseline and source policy are visible.'];
|
|
323
|
+
}
|
|
324
|
+
function isRecord(value) {
|
|
325
|
+
return Boolean(value) && typeof value === 'object';
|
|
326
|
+
}
|
|
327
|
+
function uniqueSorted(values) {
|
|
328
|
+
return [...new Set(values)].sort((left, right) => left.localeCompare(right));
|
|
329
|
+
}
|
|
330
|
+
async function inspectTokenRuntimeProjection(projectRoot) {
|
|
331
|
+
const projections = await listRuntimeProjections(projectRoot, ['context_build', 'team_runtime_decision']);
|
|
332
|
+
const contextPackages = projections.filter((projection) => projection.projectionType === 'context_build');
|
|
333
|
+
const teamRuntimeDecisions = projections.filter((projection) => projection.projectionType === 'team_runtime_decision');
|
|
334
|
+
const contextTokenEstimates = contextPackages.map((projection) => tokenEstimateFromContextBuildPayload(projection.payload)).filter((value) => value !== null);
|
|
335
|
+
const teamTokenEstimates = teamRuntimeDecisions.map((projection) => tokenEstimateFromTeamRuntimePayload(projection.payload)).filter((value) => value !== null);
|
|
336
|
+
const estimatedTokens = [...contextTokenEstimates, ...teamTokenEstimates].reduce((total, value) => total + value, 0);
|
|
337
|
+
const pressureReasons = [
|
|
338
|
+
...contextPackages.map((projection) => contextPressureReason(projection.payload)).filter((value) => value !== null),
|
|
339
|
+
...teamRuntimeDecisions.map((projection) => teamPressureReason(projection.payload)).filter((value) => value !== null)
|
|
340
|
+
];
|
|
341
|
+
return {
|
|
342
|
+
health: projections.length === 0 ? 'unknown' : pressureReasons.length > 0 ? 'pressure' : 'nominal',
|
|
343
|
+
estimatedTokens: projections.length === 0 ? null : estimatedTokens,
|
|
344
|
+
contextPackages: contextPackages.length,
|
|
345
|
+
teamRuntimeDecisions: teamRuntimeDecisions.length,
|
|
346
|
+
pressureReasons
|
|
347
|
+
};
|
|
348
|
+
}
|
|
349
|
+
function tokenEstimateFromContextBuildPayload(payload) {
|
|
350
|
+
if (!payload || typeof payload !== 'object') {
|
|
351
|
+
return null;
|
|
352
|
+
}
|
|
353
|
+
const budget = payload.budget;
|
|
354
|
+
return typeof budget?.estimatedTokens === 'number' ? budget.estimatedTokens : null;
|
|
355
|
+
}
|
|
356
|
+
function tokenEstimateFromTeamRuntimePayload(payload) {
|
|
357
|
+
if (!payload || typeof payload !== 'object') {
|
|
358
|
+
return null;
|
|
359
|
+
}
|
|
360
|
+
const decision = payload;
|
|
361
|
+
const roleCount = Array.isArray(decision.roleIds) ? decision.roleIds.length : 0;
|
|
362
|
+
const contextBudget = decision.telemetryPolicy?.contextBudget;
|
|
363
|
+
const perRole = contextBudget === 'medium' ? 3000 : contextBudget === 'small' ? 1200 : 600;
|
|
364
|
+
return roleCount * perRole;
|
|
365
|
+
}
|
|
366
|
+
function contextPressureReason(payload) {
|
|
367
|
+
if (!payload || typeof payload !== 'object') {
|
|
368
|
+
return null;
|
|
369
|
+
}
|
|
370
|
+
const contextPackage = payload;
|
|
371
|
+
const estimatedBytes = contextPackage.budget?.estimatedBytes;
|
|
372
|
+
const maxBytes = contextPackage.budget?.maxBytes;
|
|
373
|
+
if (contextPackage.profile === 'brief') {
|
|
374
|
+
return null;
|
|
375
|
+
}
|
|
376
|
+
if (typeof estimatedBytes === 'number' && typeof maxBytes === 'number' && estimatedBytes >= maxBytes * 0.85) {
|
|
377
|
+
return `context_budget_pressure:${String(contextPackage.taskId ?? 'unknown')}`;
|
|
378
|
+
}
|
|
379
|
+
return null;
|
|
380
|
+
}
|
|
381
|
+
function teamPressureReason(payload) {
|
|
382
|
+
if (!payload || typeof payload !== 'object') {
|
|
383
|
+
return null;
|
|
384
|
+
}
|
|
385
|
+
const decision = payload;
|
|
386
|
+
const roleCount = Array.isArray(decision.roleIds) ? decision.roleIds.length : 0;
|
|
387
|
+
if (decision.mode === 'team-required' || roleCount > 2) {
|
|
388
|
+
return `team_runtime_pressure:${String(decision.command ?? 'unknown')}`;
|
|
389
|
+
}
|
|
390
|
+
return null;
|
|
391
|
+
}
|
|
392
|
+
async function inspectRunEvidenceSummary(projectRoot, runId) {
|
|
393
|
+
const [state, events, agentExecutions, teamSessions, workerRuntimeList] = await Promise.all([
|
|
394
|
+
readRunState(projectRoot, runId),
|
|
395
|
+
readRunEvents(projectRoot, runId),
|
|
396
|
+
listAgentExecutionRecords(projectRoot, runId),
|
|
397
|
+
listTeamSessionRecords(projectRoot, runId),
|
|
398
|
+
listResidentWorkerRuntimes(projectRoot, { runId })
|
|
399
|
+
]);
|
|
400
|
+
return {
|
|
401
|
+
agentExecutions: agentExecutions.length,
|
|
402
|
+
teamSessions: teamSessions.length,
|
|
403
|
+
artifactIngestions: Object.keys(state.artifactIngestions ?? {}).length,
|
|
404
|
+
workerRuntimes: workerRuntimeList.runtimes.length,
|
|
405
|
+
staleWorkerRuntimes: workerRuntimeList.staleRuntimes,
|
|
406
|
+
routePreflight: events.some((event) => event.event === 'agent_router_preflight'),
|
|
407
|
+
tasksChangedAfterRun: false,
|
|
408
|
+
tasksUpdatedAt: null,
|
|
409
|
+
runUpdatedAt: state.updatedAt ?? null
|
|
410
|
+
};
|
|
411
|
+
}
|
|
412
|
+
async function addTaskDocumentStalenessToRunEvidence(tasksPath, latestRun, evidence) {
|
|
413
|
+
try {
|
|
414
|
+
const tasksStat = await stat(tasksPath);
|
|
415
|
+
const runUpdatedAtMs = Date.parse(latestRun.updatedAt);
|
|
416
|
+
if (Number.isNaN(runUpdatedAtMs)) {
|
|
417
|
+
return { ...evidence, runUpdatedAt: latestRun.updatedAt };
|
|
418
|
+
}
|
|
419
|
+
return {
|
|
420
|
+
...evidence,
|
|
421
|
+
tasksChangedAfterRun: tasksStat.mtimeMs > runUpdatedAtMs,
|
|
422
|
+
tasksUpdatedAt: tasksStat.mtime.toISOString(),
|
|
423
|
+
runUpdatedAt: latestRun.updatedAt
|
|
424
|
+
};
|
|
425
|
+
}
|
|
426
|
+
catch {
|
|
427
|
+
return { ...evidence, runUpdatedAt: latestRun.updatedAt };
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
async function getGitRoot(projectRoot) {
|
|
431
|
+
try {
|
|
432
|
+
const result = await execFileAsync('git', ['-C', projectRoot, 'rev-parse', '--show-toplevel']);
|
|
433
|
+
return result.stdout.trim();
|
|
434
|
+
}
|
|
435
|
+
catch {
|
|
436
|
+
return null;
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
//# sourceMappingURL=project-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-status.js","sourceRoot":"","sources":["../../src/status/project-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,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