sdd-agent-platform 0.4.1 → 0.4.2
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 +30 -28
- package/node_modules/@sdd-agent-platform/core/dist/ai-tools.js +67 -69
- package/node_modules/@sdd-agent-platform/core/dist/ai-tools.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/ingestion.js +64 -9
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/ingestion.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/sdd-evidence.js +0 -1
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/sdd-evidence.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/sdd-result.js +26 -17
- package/node_modules/@sdd-agent-platform/core/dist/artifacts/sdd-result.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/config/init-project.d.ts +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/config/init-project.js +12 -9
- package/node_modules/@sdd-agent-platform/core/dist/config/init-project.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/config/project-config.d.ts +3 -1
- package/node_modules/@sdd-agent-platform/core/dist/config/project-config.js +7 -3
- package/node_modules/@sdd-agent-platform/core/dist/config/project-config.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/config/starter-documents.d.ts +4 -4
- package/node_modules/@sdd-agent-platform/core/dist/config/starter-documents.js +12 -25
- package/node_modules/@sdd-agent-platform/core/dist/config/starter-documents.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/context/build-package.d.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/context/build-package.js +1 -7
- package/node_modules/@sdd-agent-platform/core/dist/context/build-package.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/context/evidence-summary.js +26 -8
- package/node_modules/@sdd-agent-platform/core/dist/context/evidence-summary.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/context/log-worker.js +2 -2
- package/node_modules/@sdd-agent-platform/core/dist/context/log-worker.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/context-offload/contracts.d.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/contracts.d.ts +2 -1
- package/node_modules/@sdd-agent-platform/core/dist/contracts.js +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/contracts.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/delegation/model.d.ts +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/validation.d.ts +3 -0
- package/node_modules/@sdd-agent-platform/core/dist/delegation/validation.js +7 -4
- package/node_modules/@sdd-agent-platform/core/dist/delegation/validation.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/document-chain.js +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/document-chain.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/project.js +8 -8
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/project.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/registries.js +0 -1
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/registries.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/run-evidence.js +4 -4
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/run-evidence.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/run-trust.js +0 -24
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/run-trust.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/runtime-contracts.js +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/doctor/checks/runtime-contracts.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/doctor/doctor.js +178 -58
- package/node_modules/@sdd-agent-platform/core/dist/doctor/doctor.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/evidence/lookup.js +14 -7
- package/node_modules/@sdd-agent-platform/core/dist/evidence/lookup.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/evidence-runtime/contracts.d.ts +0 -1
- package/node_modules/@sdd-agent-platform/core/dist/execution/background-executor.js +4 -4
- package/node_modules/@sdd-agent-platform/core/dist/execution/background-executor.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/execution/foreground-subagents.js +3 -3
- package/node_modules/@sdd-agent-platform/core/dist/execution/foreground-subagents.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/execution/host-invocation.js +5 -4
- package/node_modules/@sdd-agent-platform/core/dist/execution/host-invocation.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/execution/resident-worker.js +3 -2
- package/node_modules/@sdd-agent-platform/core/dist/execution/resident-worker.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/execution/stage-team-runtime.js +2 -2
- package/node_modules/@sdd-agent-platform/core/dist/execution/stage-team-runtime.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/governance/policy.d.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/governance/policy.js +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/governance/policy.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/instructions.d.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/instructions.js +54 -61
- package/node_modules/@sdd-agent-platform/core/dist/instructions.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/decision-gate.js +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/decision-gate.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/ship.d.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/ship.js +24 -8
- package/node_modules/@sdd-agent-platform/core/dist/lifecycle/ship.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/orchestration/contracts.d.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/orchestration/runtime.d.ts +12 -2
- package/node_modules/@sdd-agent-platform/core/dist/orchestration/runtime.js +62 -21
- package/node_modules/@sdd-agent-platform/core/dist/orchestration/runtime.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-capability-catalog.d.ts +5 -2
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-capability-catalog.js +69 -27
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-capability-catalog.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-registry.js +15 -15
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-registry.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-runtime-static.js +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/registries/agent-runtime-static.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/registries/capability-sources.js +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/registries/command-team-runtime.d.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/registries/command-team-runtime.js +9 -9
- package/node_modules/@sdd-agent-platform/core/dist/registries/command-team-runtime.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/registries/eval-learning-context.js +4 -4
- package/node_modules/@sdd-agent-platform/core/dist/registries/eval-learning-context.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/registries/query-status.js +2 -2
- package/node_modules/@sdd-agent-platform/core/dist/registries/query-status.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/registries/tool-capabilities.js +3 -3
- package/node_modules/@sdd-agent-platform/core/dist/registries/tool-capabilities.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/registries/tool-plugins.js +2 -2
- package/node_modules/@sdd-agent-platform/core/dist/registries/tool-plugins.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/registries/worker-adapters.js +11 -11
- package/node_modules/@sdd-agent-platform/core/dist/registries/worker-adapters.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/registries/workflow-gates.js +12 -12
- package/node_modules/@sdd-agent-platform/core/dist/registries/workflow-gates.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/risk/contracts.d.ts +2 -2
- package/node_modules/@sdd-agent-platform/core/dist/risk/kernel.js +4 -4
- package/node_modules/@sdd-agent-platform/core/dist/risk/kernel.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/risk/legacy-adapters.js +4 -7
- package/node_modules/@sdd-agent-platform/core/dist/risk/legacy-adapters.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/risk/workflow-gates.d.ts +2 -2
- package/node_modules/@sdd-agent-platform/core/dist/risk/workflow-gates.js +19 -17
- package/node_modules/@sdd-agent-platform/core/dist/risk/workflow-gates.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/router/agent-runtime-config.js +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/router/agent-runtime-config.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/router/agent-runtime.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/route-projection.js +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/router/route-projection.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/router/routing.js +45 -15
- package/node_modules/@sdd-agent-platform/core/dist/router/routing.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/router/runtime-import.d.ts +28 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/runtime-import.js +373 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/runtime-import.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/runtime-validation.js +2 -2
- package/node_modules/@sdd-agent-platform/core/dist/router/runtime-validation.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/router/stage-route-binding.d.ts +37 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/stage-route-binding.js +235 -0
- package/node_modules/@sdd-agent-platform/core/dist/router/stage-route-binding.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/router.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/router.js +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/router.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/run-state/artifacts.d.ts +16 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/artifacts.js +126 -9
- package/node_modules/@sdd-agent-platform/core/dist/run-state/artifacts.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/run-state/inspect-run.d.ts +0 -2
- package/node_modules/@sdd-agent-platform/core/dist/run-state/inspect-run.js +7 -5
- package/node_modules/@sdd-agent-platform/core/dist/run-state/inspect-run.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/run-state/model.d.ts +28 -8
- package/node_modules/@sdd-agent-platform/core/dist/run-state/run-index.d.ts +0 -2
- package/node_modules/@sdd-agent-platform/core/dist/run-state/run-index.js +1 -3
- package/node_modules/@sdd-agent-platform/core/dist/run-state/run-index.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/run-state/run-state.js +37 -27
- package/node_modules/@sdd-agent-platform/core/dist/run-state/run-state.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/run-state/task-evidence.d.ts +5 -2
- package/node_modules/@sdd-agent-platform/core/dist/run-state/task-evidence.js +53 -14
- package/node_modules/@sdd-agent-platform/core/dist/run-state/task-evidence.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/run-state/timing.d.ts +8 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/timing.js +131 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state/timing.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state.d.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state.js +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/run-state.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis/build.js +0 -3
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis/build.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis/findings.js +5 -44
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis/findings.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/runtime-analysis/model.d.ts +1 -17
- package/node_modules/@sdd-agent-platform/core/dist/runtime-paths.d.ts +10 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-paths.js +65 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-paths.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/runtime-projection-p0.d.ts +64 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-projection-p0.js +200 -0
- package/node_modules/@sdd-agent-platform/core/dist/runtime-projection-p0.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/document-hashes.d.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/document-hashes.js +97 -10
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/document-hashes.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/run-binding.d.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/run-binding.js +8 -6
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/run-binding.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/task-parser.d.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/task-parser.js +55 -34
- package/node_modules/@sdd-agent-platform/core/dist/sdd-docs/task-parser.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/stage-artifacts.d.ts +55 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-artifacts.js +322 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-artifacts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-collaboration-contracts.d.ts +55 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-collaboration-contracts.js +241 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-collaboration-contracts.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-collaboration.d.ts +888 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-collaboration.js +3870 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-collaboration.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/stage-runtime/runtime.js +8 -1
- package/node_modules/@sdd-agent-platform/core/dist/stage-runtime/runtime.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/status/project-status.d.ts +44 -1
- package/node_modules/@sdd-agent-platform/core/dist/status/project-status.js +170 -23
- package/node_modules/@sdd-agent-platform/core/dist/status/project-status.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/storage/runtime-store.d.ts +170 -18
- package/node_modules/@sdd-agent-platform/core/dist/storage/runtime-store.js +544 -32
- package/node_modules/@sdd-agent-platform/core/dist/storage/runtime-store.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/subagents/contracts.d.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/subagents/runtime.js +7 -7
- package/node_modules/@sdd-agent-platform/core/dist/subagents/runtime.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/test-support/fixtures.js +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/test-support/run-state.d.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/test-support/run-state.js +8 -23
- package/node_modules/@sdd-agent-platform/core/dist/test-support/run-state.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/truth-reconciliation.d.ts +44 -0
- package/node_modules/@sdd-agent-platform/core/dist/truth-reconciliation.js +138 -0
- package/node_modules/@sdd-agent-platform/core/dist/truth-reconciliation.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/verification/goal-verify.d.ts +0 -1
- package/node_modules/@sdd-agent-platform/core/dist/verification/goal-verify.js +28 -53
- package/node_modules/@sdd-agent-platform/core/dist/verification/goal-verify.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/verification/rendering.d.ts +0 -2
- package/node_modules/@sdd-agent-platform/core/dist/verification/rendering.js +10 -50
- package/node_modules/@sdd-agent-platform/core/dist/verification/rendering.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/verification/single-task-loop.d.ts +0 -1
- package/node_modules/@sdd-agent-platform/core/dist/verification/single-task-loop.js +159 -150
- package/node_modules/@sdd-agent-platform/core/dist/verification/single-task-loop.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/verification/test-runtime.d.ts +12 -2
- package/node_modules/@sdd-agent-platform/core/dist/verification/test-runtime.js +238 -103
- package/node_modules/@sdd-agent-platform/core/dist/verification/test-runtime.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/verification/validation-cache.d.ts +26 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/validation-cache.js +73 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/validation-cache.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/validation-wave.d.ts +18 -0
- package/node_modules/@sdd-agent-platform/core/dist/verification/validation-wave.js +27 -5
- package/node_modules/@sdd-agent-platform/core/dist/verification/validation-wave.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/verification/verify-contract.d.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/verification/verify-contract.js +9 -32
- package/node_modules/@sdd-agent-platform/core/dist/verification/verify-contract.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/work-units/contracts.d.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/evidence-packet.js +228 -15
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/evidence-packet.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/hard-checks.js +49 -15
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/hard-checks.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/policy.js +42 -6
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/policy.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/workflow-gate/types.d.ts +4 -5
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/affected-file-conflicts.d.ts +0 -1
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/affected-file-conflicts.js +1 -2
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/affected-file-conflicts.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/dependencies.js +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/latest-eligible-run.d.ts +0 -1
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/latest-eligible-run.js +72 -6
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/latest-eligible-run.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/migration-recovery.d.ts +40 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/migration-recovery.js +110 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/migration-recovery.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/repair-contract.d.ts +12 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/repair-contract.js +63 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/repair-contract.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/resolve-task-run.d.ts +21 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/resolve-task-run.js +95 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/resolve-task-run.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/resolve.d.ts +55 -5
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/resolve.js +538 -34
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/resolve.js.map +1 -1
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/runtime-projections.d.ts +228 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/runtime-projections.js +452 -0
- package/node_modules/@sdd-agent-platform/core/dist/workflow-state/runtime-projections.js.map +1 -0
- package/node_modules/@sdd-agent-platform/core/package.json +3 -3
- package/node_modules/@sdd-agent-platform/core/src/ai-tools.test.ts +49 -1
- package/node_modules/@sdd-agent-platform/core/src/ai-tools.ts +67 -69
- package/node_modules/@sdd-agent-platform/core/src/artifacts/ingestion.test.ts +38 -0
- package/node_modules/@sdd-agent-platform/core/src/artifacts/ingestion.ts +65 -9
- package/node_modules/@sdd-agent-platform/core/src/artifacts/sdd-evidence.ts +0 -1
- package/node_modules/@sdd-agent-platform/core/src/artifacts/sdd-result.test.ts +2 -2
- package/node_modules/@sdd-agent-platform/core/src/artifacts/sdd-result.ts +26 -17
- package/node_modules/@sdd-agent-platform/core/src/config/init-project.test.ts +43 -31
- package/node_modules/@sdd-agent-platform/core/src/config/init-project.ts +14 -11
- package/node_modules/@sdd-agent-platform/core/src/config/project-config.ts +10 -4
- package/node_modules/@sdd-agent-platform/core/src/config/starter-documents.ts +12 -25
- package/node_modules/@sdd-agent-platform/core/src/context/build-package.ts +2 -8
- package/node_modules/@sdd-agent-platform/core/src/context/context-build.test.ts +3 -2
- package/node_modules/@sdd-agent-platform/core/src/context/evidence-summary.ts +27 -8
- package/node_modules/@sdd-agent-platform/core/src/context/log-worker.ts +2 -2
- package/node_modules/@sdd-agent-platform/core/src/context-offload/contracts.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/contracts.ts +2 -1
- package/node_modules/@sdd-agent-platform/core/src/delegation/model.ts +3 -0
- package/node_modules/@sdd-agent-platform/core/src/delegation/validation.ts +8 -5
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/document-chain.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/project.ts +8 -8
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/registries.ts +0 -1
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/run-evidence.ts +4 -4
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/run-trust.ts +0 -21
- package/node_modules/@sdd-agent-platform/core/src/doctor/checks/runtime-contracts.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/doctor/doctor.test.ts +143 -45
- package/node_modules/@sdd-agent-platform/core/src/doctor/doctor.ts +193 -58
- package/node_modules/@sdd-agent-platform/core/src/evidence/lookup.ts +15 -7
- package/node_modules/@sdd-agent-platform/core/src/evidence-runtime/contracts.ts +0 -1
- package/node_modules/@sdd-agent-platform/core/src/execution/background-executor.test.ts +50 -2
- package/node_modules/@sdd-agent-platform/core/src/execution/background-executor.ts +4 -4
- package/node_modules/@sdd-agent-platform/core/src/execution/foreground-subagents.test.ts +11 -2
- package/node_modules/@sdd-agent-platform/core/src/execution/foreground-subagents.ts +3 -3
- package/node_modules/@sdd-agent-platform/core/src/execution/host-invocation.ts +5 -4
- package/node_modules/@sdd-agent-platform/core/src/execution/resident-worker.test.ts +12 -1
- package/node_modules/@sdd-agent-platform/core/src/execution/resident-worker.ts +3 -2
- package/node_modules/@sdd-agent-platform/core/src/execution/stage-team-runtime.test.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/execution/stage-team-runtime.ts +2 -2
- package/node_modules/@sdd-agent-platform/core/src/execution/wave-executor.test.ts +10 -0
- package/node_modules/@sdd-agent-platform/core/src/governance/policy.test.ts +8 -0
- package/node_modules/@sdd-agent-platform/core/src/governance/policy.ts +2 -2
- package/node_modules/@sdd-agent-platform/core/src/instructions.test.ts +33 -18
- package/node_modules/@sdd-agent-platform/core/src/instructions.ts +55 -62
- package/node_modules/@sdd-agent-platform/core/src/lifecycle/decision-gate.test.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/lifecycle/decision-gate.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/lifecycle/ship.test.ts +47 -0
- package/node_modules/@sdd-agent-platform/core/src/lifecycle/ship.ts +25 -8
- package/node_modules/@sdd-agent-platform/core/src/orchestration/contracts.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/orchestration/runtime.ts +74 -22
- package/node_modules/@sdd-agent-platform/core/src/phase8-contracts.test.ts +2 -3
- package/node_modules/@sdd-agent-platform/core/src/phase8-risk-kernel.test.ts +3 -3
- package/node_modules/@sdd-agent-platform/core/src/registries/agent-capability-catalog.ts +82 -35
- package/node_modules/@sdd-agent-platform/core/src/registries/agent-registry.ts +15 -15
- package/node_modules/@sdd-agent-platform/core/src/registries/agent-runtime-static.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/registries/capability-sources.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/registries/command-team-runtime.ts +10 -10
- package/node_modules/@sdd-agent-platform/core/src/registries/eval-learning-context.ts +4 -4
- package/node_modules/@sdd-agent-platform/core/src/registries/query-status.ts +2 -2
- package/node_modules/@sdd-agent-platform/core/src/registries/registries.test.ts +18 -2
- package/node_modules/@sdd-agent-platform/core/src/registries/tool-capabilities.ts +3 -3
- package/node_modules/@sdd-agent-platform/core/src/registries/tool-plugins.ts +2 -2
- package/node_modules/@sdd-agent-platform/core/src/registries/worker-adapters.ts +11 -11
- package/node_modules/@sdd-agent-platform/core/src/registries/workflow-gates.ts +12 -12
- package/node_modules/@sdd-agent-platform/core/src/risk/contracts.ts +2 -2
- package/node_modules/@sdd-agent-platform/core/src/risk/kernel.ts +4 -4
- package/node_modules/@sdd-agent-platform/core/src/risk/legacy-adapters.ts +4 -7
- package/node_modules/@sdd-agent-platform/core/src/risk/workflow-gates.ts +20 -18
- package/node_modules/@sdd-agent-platform/core/src/router/agent-runtime-config.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/router/agent-runtime.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/src/router/route-projection.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/router/route-sdd-task.test.ts +241 -4
- package/node_modules/@sdd-agent-platform/core/src/router/routing.ts +47 -15
- package/node_modules/@sdd-agent-platform/core/src/router/runtime-import.ts +453 -0
- package/node_modules/@sdd-agent-platform/core/src/router/runtime-validation.ts +2 -2
- package/node_modules/@sdd-agent-platform/core/src/router/stage-route-binding.ts +279 -0
- package/node_modules/@sdd-agent-platform/core/src/router.ts +2 -0
- package/node_modules/@sdd-agent-platform/core/src/run-state/artifacts.ts +132 -10
- package/node_modules/@sdd-agent-platform/core/src/run-state/inspect-run.ts +7 -7
- package/node_modules/@sdd-agent-platform/core/src/run-state/model.ts +31 -8
- package/node_modules/@sdd-agent-platform/core/src/run-state/run-index.ts +1 -5
- package/node_modules/@sdd-agent-platform/core/src/run-state/run-state.test.ts +50 -2
- package/node_modules/@sdd-agent-platform/core/src/run-state/run-state.ts +39 -29
- package/node_modules/@sdd-agent-platform/core/src/run-state/task-evidence.ts +62 -16
- package/node_modules/@sdd-agent-platform/core/src/run-state/timing.ts +146 -0
- package/node_modules/@sdd-agent-platform/core/src/run-state.ts +1 -0
- package/node_modules/@sdd-agent-platform/core/src/runtime-analysis/build.ts +0 -3
- package/node_modules/@sdd-agent-platform/core/src/runtime-analysis/findings.ts +6 -46
- package/node_modules/@sdd-agent-platform/core/src/runtime-analysis/model.ts +1 -13
- package/node_modules/@sdd-agent-platform/core/src/runtime-analysis.test.ts +0 -2
- package/node_modules/@sdd-agent-platform/core/src/runtime-paths.ts +77 -0
- package/node_modules/@sdd-agent-platform/core/src/runtime-projection-p0.test.ts +96 -0
- package/node_modules/@sdd-agent-platform/core/src/runtime-projection-p0.ts +292 -0
- package/node_modules/@sdd-agent-platform/core/src/sdd-docs/document-hashes.ts +109 -10
- package/node_modules/@sdd-agent-platform/core/src/sdd-docs/run-binding.ts +8 -6
- package/node_modules/@sdd-agent-platform/core/src/sdd-docs/task-parser.test.ts +123 -1
- package/node_modules/@sdd-agent-platform/core/src/sdd-docs/task-parser.ts +58 -43
- package/node_modules/@sdd-agent-platform/core/src/stage-artifacts.ts +450 -0
- package/node_modules/@sdd-agent-platform/core/src/stage-collaboration-contracts.ts +322 -0
- package/node_modules/@sdd-agent-platform/core/src/stage-collaboration.test.ts +2903 -0
- package/node_modules/@sdd-agent-platform/core/src/stage-collaboration.ts +5831 -0
- package/node_modules/@sdd-agent-platform/core/src/stage-runtime/runtime.test.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/stage-runtime/runtime.ts +9 -1
- package/node_modules/@sdd-agent-platform/core/src/status/project-status.test.ts +239 -16
- package/node_modules/@sdd-agent-platform/core/src/status/project-status.ts +249 -23
- package/node_modules/@sdd-agent-platform/core/src/storage/runtime-store.test.ts +196 -4
- package/node_modules/@sdd-agent-platform/core/src/storage/runtime-store.ts +860 -54
- package/node_modules/@sdd-agent-platform/core/src/subagents/contracts.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/subagents/runtime.test.ts +3 -3
- package/node_modules/@sdd-agent-platform/core/src/subagents/runtime.ts +7 -7
- package/node_modules/@sdd-agent-platform/core/src/test-support/fixtures.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/test-support/run-state.ts +9 -23
- package/node_modules/@sdd-agent-platform/core/src/truth-reconciliation.test.ts +72 -0
- package/node_modules/@sdd-agent-platform/core/src/truth-reconciliation.ts +177 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/goal-verify.test.ts +13 -87
- package/node_modules/@sdd-agent-platform/core/src/verification/goal-verify.ts +27 -56
- package/node_modules/@sdd-agent-platform/core/src/verification/rendering.ts +10 -54
- package/node_modules/@sdd-agent-platform/core/src/verification/review-gate.test.ts +8 -1
- package/node_modules/@sdd-agent-platform/core/src/verification/single-task-loop.test.ts +93 -79
- package/node_modules/@sdd-agent-platform/core/src/verification/single-task-loop.ts +166 -154
- package/node_modules/@sdd-agent-platform/core/src/verification/test-runtime.test.ts +100 -47
- package/node_modules/@sdd-agent-platform/core/src/verification/test-runtime.ts +265 -107
- package/node_modules/@sdd-agent-platform/core/src/verification/validation-cache.ts +106 -0
- package/node_modules/@sdd-agent-platform/core/src/verification/validation-wave.test.ts +47 -5
- package/node_modules/@sdd-agent-platform/core/src/verification/validation-wave.ts +48 -5
- package/node_modules/@sdd-agent-platform/core/src/verification/verify-contract.test.ts +15 -31
- package/node_modules/@sdd-agent-platform/core/src/verification/verify-contract.ts +9 -33
- package/node_modules/@sdd-agent-platform/core/src/work-units/contracts.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/workflow-gate/evidence-packet.ts +246 -17
- package/node_modules/@sdd-agent-platform/core/src/workflow-gate/hard-checks.test.ts +339 -3
- package/node_modules/@sdd-agent-platform/core/src/workflow-gate/hard-checks.ts +53 -14
- package/node_modules/@sdd-agent-platform/core/src/workflow-gate/policy.test.ts +45 -8
- package/node_modules/@sdd-agent-platform/core/src/workflow-gate/policy.ts +45 -6
- package/node_modules/@sdd-agent-platform/core/src/workflow-gate/types.ts +6 -5
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/affected-file-conflicts.ts +1 -3
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/dependencies.ts +1 -1
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/latest-eligible-run.ts +75 -7
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/migration-recovery.ts +158 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/repair-contract.ts +77 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/resolve-task-run.ts +114 -0
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/resolve.test.ts +518 -25
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/resolve.ts +670 -41
- package/node_modules/@sdd-agent-platform/core/src/workflow-state/runtime-projections.ts +712 -0
- package/package.json +1 -1
- package/packages/cli/dist/args.js +2 -2
- package/packages/cli/dist/args.js.map +1 -1
- package/packages/cli/dist/commands/ai-tools.js +13 -2
- package/packages/cli/dist/commands/ai-tools.js.map +1 -1
- package/packages/cli/dist/commands/context.js +1 -1
- package/packages/cli/dist/commands/context.js.map +1 -1
- package/packages/cli/dist/commands/execution.js +49 -1
- package/packages/cli/dist/commands/execution.js.map +1 -1
- package/packages/cli/dist/commands/governance.js +1 -1
- package/packages/cli/dist/commands/governance.js.map +1 -1
- package/packages/cli/dist/commands/init.js +6 -1
- package/packages/cli/dist/commands/init.js.map +1 -1
- package/packages/cli/dist/commands/lifecycle.js +15 -2
- package/packages/cli/dist/commands/lifecycle.js.map +1 -1
- package/packages/cli/dist/commands/registry/runtime.js +48 -2
- package/packages/cli/dist/commands/registry/runtime.js.map +1 -1
- package/packages/cli/dist/commands/run.js +52 -2
- package/packages/cli/dist/commands/run.js.map +1 -1
- package/packages/cli/dist/commands/stage-close.d.ts +6 -0
- package/packages/cli/dist/commands/stage-close.js +295 -0
- package/packages/cli/dist/commands/stage-close.js.map +1 -0
- package/packages/cli/dist/commands/status.js +68 -2
- package/packages/cli/dist/commands/status.js.map +1 -1
- package/packages/cli/dist/commands/test.js +180 -2
- package/packages/cli/dist/commands/test.js.map +1 -1
- package/packages/cli/dist/commands/verifies.js +7 -5
- package/packages/cli/dist/commands/verifies.js.map +1 -1
- package/packages/cli/dist/commands/verify.js +222 -26
- package/packages/cli/dist/commands/verify.js.map +1 -1
- package/packages/cli/dist/dispatch.js +4 -9
- package/packages/cli/dist/dispatch.js.map +1 -1
- package/packages/cli/dist/help.js +27 -26
- package/packages/cli/dist/help.js.map +1 -1
- package/packages/cli/dist/renderers/doctor.js +1 -1
- package/packages/cli/dist/renderers/doctor.js.map +1 -1
- package/packages/cli/dist/renderers/execution.js +1 -1
- package/packages/cli/dist/renderers/execution.js.map +1 -1
- package/packages/cli/dist/renderers/json.d.ts +1 -0
- package/packages/cli/dist/renderers/json.js +3 -0
- package/packages/cli/dist/renderers/json.js.map +1 -1
- package/packages/cli/dist/renderers/registry-runtime.d.ts +2 -1
- package/packages/cli/dist/renderers/registry-runtime.js +20 -0
- package/packages/cli/dist/renderers/registry-runtime.js.map +1 -1
- package/packages/cli/dist/renderers/router.js +1 -1
- package/packages/cli/dist/renderers/router.js.map +1 -1
- package/packages/cli/dist/renderers/workflow.d.ts +0 -4
- package/packages/cli/dist/renderers/workflow.js +30 -89
- package/packages/cli/dist/renderers/workflow.js.map +1 -1
- package/packages/cli/dist/skill-import-args.d.ts +10 -0
- package/packages/cli/dist/skill-import-args.js +47 -0
- package/packages/cli/dist/skill-import-args.js.map +1 -0
- package/packages/cli/dist/tsconfig.tsbuildinfo +1 -1
- package/packages/cli/package.json +2 -2
- package/packages/core/dist/ai-tools.js +67 -69
- package/packages/core/dist/ai-tools.js.map +1 -1
- package/packages/core/dist/artifacts/ingestion.js +64 -9
- package/packages/core/dist/artifacts/ingestion.js.map +1 -1
- package/packages/core/dist/artifacts/sdd-evidence.js +0 -1
- package/packages/core/dist/artifacts/sdd-evidence.js.map +1 -1
- package/packages/core/dist/artifacts/sdd-result.js +26 -17
- package/packages/core/dist/artifacts/sdd-result.js.map +1 -1
- package/packages/core/dist/config/init-project.d.ts +3 -0
- package/packages/core/dist/config/init-project.js +12 -9
- package/packages/core/dist/config/init-project.js.map +1 -1
- package/packages/core/dist/config/project-config.d.ts +3 -1
- package/packages/core/dist/config/project-config.js +7 -3
- package/packages/core/dist/config/project-config.js.map +1 -1
- package/packages/core/dist/config/starter-documents.d.ts +4 -4
- package/packages/core/dist/config/starter-documents.js +12 -25
- package/packages/core/dist/config/starter-documents.js.map +1 -1
- package/packages/core/dist/context/build-package.d.ts +1 -1
- package/packages/core/dist/context/build-package.js +1 -7
- package/packages/core/dist/context/build-package.js.map +1 -1
- package/packages/core/dist/context/evidence-summary.js +26 -8
- package/packages/core/dist/context/evidence-summary.js.map +1 -1
- package/packages/core/dist/context/log-worker.js +2 -2
- package/packages/core/dist/context/log-worker.js.map +1 -1
- package/packages/core/dist/context-offload/contracts.d.ts +1 -1
- package/packages/core/dist/contracts.d.ts +2 -1
- package/packages/core/dist/contracts.js +1 -0
- package/packages/core/dist/contracts.js.map +1 -1
- package/packages/core/dist/delegation/model.d.ts +3 -0
- package/packages/core/dist/delegation/validation.d.ts +3 -0
- package/packages/core/dist/delegation/validation.js +7 -4
- package/packages/core/dist/delegation/validation.js.map +1 -1
- package/packages/core/dist/doctor/checks/document-chain.js +1 -1
- package/packages/core/dist/doctor/checks/document-chain.js.map +1 -1
- package/packages/core/dist/doctor/checks/project.js +8 -8
- package/packages/core/dist/doctor/checks/project.js.map +1 -1
- package/packages/core/dist/doctor/checks/registries.js +0 -1
- package/packages/core/dist/doctor/checks/registries.js.map +1 -1
- package/packages/core/dist/doctor/checks/run-evidence.js +4 -4
- package/packages/core/dist/doctor/checks/run-evidence.js.map +1 -1
- package/packages/core/dist/doctor/checks/run-trust.js +0 -24
- package/packages/core/dist/doctor/checks/run-trust.js.map +1 -1
- package/packages/core/dist/doctor/checks/runtime-contracts.js +1 -1
- package/packages/core/dist/doctor/checks/runtime-contracts.js.map +1 -1
- package/packages/core/dist/doctor/doctor.js +178 -58
- package/packages/core/dist/doctor/doctor.js.map +1 -1
- package/packages/core/dist/evidence/lookup.js +14 -7
- package/packages/core/dist/evidence/lookup.js.map +1 -1
- package/packages/core/dist/evidence-runtime/contracts.d.ts +0 -1
- package/packages/core/dist/execution/background-executor.js +4 -4
- package/packages/core/dist/execution/background-executor.js.map +1 -1
- package/packages/core/dist/execution/foreground-subagents.js +3 -3
- package/packages/core/dist/execution/foreground-subagents.js.map +1 -1
- package/packages/core/dist/execution/host-invocation.js +5 -4
- package/packages/core/dist/execution/host-invocation.js.map +1 -1
- package/packages/core/dist/execution/resident-worker.js +3 -2
- package/packages/core/dist/execution/resident-worker.js.map +1 -1
- package/packages/core/dist/execution/stage-team-runtime.js +2 -2
- package/packages/core/dist/execution/stage-team-runtime.js.map +1 -1
- package/packages/core/dist/governance/policy.d.ts +1 -1
- package/packages/core/dist/governance/policy.js +1 -1
- package/packages/core/dist/governance/policy.js.map +1 -1
- package/packages/core/dist/instructions.d.ts +1 -1
- package/packages/core/dist/instructions.js +54 -61
- package/packages/core/dist/instructions.js.map +1 -1
- package/packages/core/dist/lifecycle/decision-gate.js +1 -1
- package/packages/core/dist/lifecycle/decision-gate.js.map +1 -1
- package/packages/core/dist/lifecycle/ship.d.ts +1 -0
- package/packages/core/dist/lifecycle/ship.js +24 -8
- package/packages/core/dist/lifecycle/ship.js.map +1 -1
- package/packages/core/dist/orchestration/contracts.d.ts +1 -1
- package/packages/core/dist/orchestration/runtime.d.ts +12 -2
- package/packages/core/dist/orchestration/runtime.js +62 -21
- package/packages/core/dist/orchestration/runtime.js.map +1 -1
- package/packages/core/dist/registries/agent-capability-catalog.d.ts +5 -2
- package/packages/core/dist/registries/agent-capability-catalog.js +69 -27
- package/packages/core/dist/registries/agent-capability-catalog.js.map +1 -1
- package/packages/core/dist/registries/agent-registry.js +15 -15
- package/packages/core/dist/registries/agent-registry.js.map +1 -1
- package/packages/core/dist/registries/agent-runtime-static.js +1 -1
- package/packages/core/dist/registries/agent-runtime-static.js.map +1 -1
- package/packages/core/dist/registries/capability-sources.js +1 -1
- package/packages/core/dist/registries/command-team-runtime.d.ts +1 -1
- package/packages/core/dist/registries/command-team-runtime.js +9 -9
- package/packages/core/dist/registries/command-team-runtime.js.map +1 -1
- package/packages/core/dist/registries/eval-learning-context.js +4 -4
- package/packages/core/dist/registries/eval-learning-context.js.map +1 -1
- package/packages/core/dist/registries/query-status.js +2 -2
- package/packages/core/dist/registries/query-status.js.map +1 -1
- package/packages/core/dist/registries/tool-capabilities.js +3 -3
- package/packages/core/dist/registries/tool-capabilities.js.map +1 -1
- package/packages/core/dist/registries/tool-plugins.js +2 -2
- package/packages/core/dist/registries/tool-plugins.js.map +1 -1
- package/packages/core/dist/registries/worker-adapters.js +11 -11
- package/packages/core/dist/registries/worker-adapters.js.map +1 -1
- package/packages/core/dist/registries/workflow-gates.js +12 -12
- package/packages/core/dist/registries/workflow-gates.js.map +1 -1
- package/packages/core/dist/risk/contracts.d.ts +2 -2
- package/packages/core/dist/risk/kernel.js +4 -4
- package/packages/core/dist/risk/kernel.js.map +1 -1
- package/packages/core/dist/risk/legacy-adapters.js +4 -7
- package/packages/core/dist/risk/legacy-adapters.js.map +1 -1
- package/packages/core/dist/risk/workflow-gates.d.ts +2 -2
- package/packages/core/dist/risk/workflow-gates.js +19 -17
- package/packages/core/dist/risk/workflow-gates.js.map +1 -1
- package/packages/core/dist/router/agent-runtime-config.js +1 -1
- package/packages/core/dist/router/agent-runtime-config.js.map +1 -1
- package/packages/core/dist/router/agent-runtime.d.ts +2 -0
- package/packages/core/dist/router/route-projection.js +1 -1
- package/packages/core/dist/router/route-projection.js.map +1 -1
- package/packages/core/dist/router/routing.js +45 -15
- package/packages/core/dist/router/routing.js.map +1 -1
- package/packages/core/dist/router/runtime-import.d.ts +28 -0
- package/packages/core/dist/router/runtime-import.js +373 -0
- package/packages/core/dist/router/runtime-import.js.map +1 -0
- package/packages/core/dist/router/runtime-validation.js +2 -2
- package/packages/core/dist/router/runtime-validation.js.map +1 -1
- package/packages/core/dist/router/stage-route-binding.d.ts +37 -0
- package/packages/core/dist/router/stage-route-binding.js +235 -0
- package/packages/core/dist/router/stage-route-binding.js.map +1 -0
- package/packages/core/dist/router.d.ts +2 -0
- package/packages/core/dist/router.js +2 -0
- package/packages/core/dist/router.js.map +1 -1
- package/packages/core/dist/run-state/artifacts.d.ts +16 -0
- package/packages/core/dist/run-state/artifacts.js +126 -9
- package/packages/core/dist/run-state/artifacts.js.map +1 -1
- package/packages/core/dist/run-state/inspect-run.d.ts +0 -2
- package/packages/core/dist/run-state/inspect-run.js +7 -5
- package/packages/core/dist/run-state/inspect-run.js.map +1 -1
- package/packages/core/dist/run-state/model.d.ts +28 -8
- package/packages/core/dist/run-state/run-index.d.ts +0 -2
- package/packages/core/dist/run-state/run-index.js +1 -3
- package/packages/core/dist/run-state/run-index.js.map +1 -1
- package/packages/core/dist/run-state/run-state.js +37 -27
- package/packages/core/dist/run-state/run-state.js.map +1 -1
- package/packages/core/dist/run-state/task-evidence.d.ts +5 -2
- package/packages/core/dist/run-state/task-evidence.js +53 -14
- package/packages/core/dist/run-state/task-evidence.js.map +1 -1
- package/packages/core/dist/run-state/timing.d.ts +8 -0
- package/packages/core/dist/run-state/timing.js +131 -0
- package/packages/core/dist/run-state/timing.js.map +1 -0
- package/packages/core/dist/run-state.d.ts +1 -0
- package/packages/core/dist/run-state.js +1 -0
- package/packages/core/dist/run-state.js.map +1 -1
- package/packages/core/dist/runtime-analysis/build.js +0 -3
- package/packages/core/dist/runtime-analysis/build.js.map +1 -1
- package/packages/core/dist/runtime-analysis/findings.js +5 -44
- package/packages/core/dist/runtime-analysis/findings.js.map +1 -1
- package/packages/core/dist/runtime-analysis/model.d.ts +1 -17
- package/packages/core/dist/runtime-paths.d.ts +10 -0
- package/packages/core/dist/runtime-paths.js +65 -0
- package/packages/core/dist/runtime-paths.js.map +1 -1
- package/packages/core/dist/runtime-projection-p0.d.ts +64 -0
- package/packages/core/dist/runtime-projection-p0.js +200 -0
- package/packages/core/dist/runtime-projection-p0.js.map +1 -0
- package/packages/core/dist/sdd-docs/document-hashes.d.ts +2 -0
- package/packages/core/dist/sdd-docs/document-hashes.js +97 -10
- package/packages/core/dist/sdd-docs/document-hashes.js.map +1 -1
- package/packages/core/dist/sdd-docs/run-binding.d.ts +1 -1
- package/packages/core/dist/sdd-docs/run-binding.js +8 -6
- package/packages/core/dist/sdd-docs/run-binding.js.map +1 -1
- package/packages/core/dist/sdd-docs/task-parser.d.ts +1 -0
- package/packages/core/dist/sdd-docs/task-parser.js +55 -34
- package/packages/core/dist/sdd-docs/task-parser.js.map +1 -1
- package/packages/core/dist/stage-artifacts.d.ts +55 -0
- package/packages/core/dist/stage-artifacts.js +322 -0
- package/packages/core/dist/stage-artifacts.js.map +1 -0
- package/packages/core/dist/stage-collaboration-contracts.d.ts +55 -0
- package/packages/core/dist/stage-collaboration-contracts.js +241 -0
- package/packages/core/dist/stage-collaboration-contracts.js.map +1 -0
- package/packages/core/dist/stage-collaboration.d.ts +888 -0
- package/packages/core/dist/stage-collaboration.js +3870 -0
- package/packages/core/dist/stage-collaboration.js.map +1 -0
- package/packages/core/dist/stage-runtime/runtime.js +8 -1
- package/packages/core/dist/stage-runtime/runtime.js.map +1 -1
- package/packages/core/dist/status/project-status.d.ts +44 -1
- package/packages/core/dist/status/project-status.js +170 -23
- package/packages/core/dist/status/project-status.js.map +1 -1
- package/packages/core/dist/storage/runtime-store.d.ts +170 -18
- package/packages/core/dist/storage/runtime-store.js +544 -32
- package/packages/core/dist/storage/runtime-store.js.map +1 -1
- package/packages/core/dist/subagents/contracts.d.ts +1 -1
- package/packages/core/dist/subagents/runtime.js +7 -7
- package/packages/core/dist/subagents/runtime.js.map +1 -1
- package/packages/core/dist/test-support/fixtures.js +1 -1
- package/packages/core/dist/test-support/run-state.d.ts +1 -1
- package/packages/core/dist/test-support/run-state.js +8 -23
- package/packages/core/dist/test-support/run-state.js.map +1 -1
- package/packages/core/dist/truth-reconciliation.d.ts +44 -0
- package/packages/core/dist/truth-reconciliation.js +138 -0
- package/packages/core/dist/truth-reconciliation.js.map +1 -0
- package/packages/core/dist/tsconfig.tsbuildinfo +1 -1
- package/packages/core/dist/verification/goal-verify.d.ts +0 -1
- package/packages/core/dist/verification/goal-verify.js +28 -53
- package/packages/core/dist/verification/goal-verify.js.map +1 -1
- package/packages/core/dist/verification/rendering.d.ts +0 -2
- package/packages/core/dist/verification/rendering.js +10 -50
- package/packages/core/dist/verification/rendering.js.map +1 -1
- package/packages/core/dist/verification/single-task-loop.d.ts +0 -1
- package/packages/core/dist/verification/single-task-loop.js +159 -150
- package/packages/core/dist/verification/single-task-loop.js.map +1 -1
- package/packages/core/dist/verification/test-runtime.d.ts +12 -2
- package/packages/core/dist/verification/test-runtime.js +238 -103
- package/packages/core/dist/verification/test-runtime.js.map +1 -1
- package/packages/core/dist/verification/validation-cache.d.ts +26 -0
- package/packages/core/dist/verification/validation-cache.js +73 -0
- package/packages/core/dist/verification/validation-cache.js.map +1 -0
- package/packages/core/dist/verification/validation-wave.d.ts +18 -0
- package/packages/core/dist/verification/validation-wave.js +27 -5
- package/packages/core/dist/verification/validation-wave.js.map +1 -1
- package/packages/core/dist/verification/verify-contract.d.ts +1 -1
- package/packages/core/dist/verification/verify-contract.js +9 -32
- package/packages/core/dist/verification/verify-contract.js.map +1 -1
- package/packages/core/dist/work-units/contracts.d.ts +1 -1
- package/packages/core/dist/workflow-gate/evidence-packet.js +228 -15
- package/packages/core/dist/workflow-gate/evidence-packet.js.map +1 -1
- package/packages/core/dist/workflow-gate/hard-checks.js +49 -15
- package/packages/core/dist/workflow-gate/hard-checks.js.map +1 -1
- package/packages/core/dist/workflow-gate/policy.js +42 -6
- package/packages/core/dist/workflow-gate/policy.js.map +1 -1
- package/packages/core/dist/workflow-gate/types.d.ts +4 -5
- package/packages/core/dist/workflow-state/affected-file-conflicts.d.ts +0 -1
- package/packages/core/dist/workflow-state/affected-file-conflicts.js +1 -2
- package/packages/core/dist/workflow-state/affected-file-conflicts.js.map +1 -1
- package/packages/core/dist/workflow-state/dependencies.js +1 -1
- package/packages/core/dist/workflow-state/latest-eligible-run.d.ts +0 -1
- package/packages/core/dist/workflow-state/latest-eligible-run.js +72 -6
- package/packages/core/dist/workflow-state/latest-eligible-run.js.map +1 -1
- package/packages/core/dist/workflow-state/migration-recovery.d.ts +40 -0
- package/packages/core/dist/workflow-state/migration-recovery.js +110 -0
- package/packages/core/dist/workflow-state/migration-recovery.js.map +1 -0
- package/packages/core/dist/workflow-state/repair-contract.d.ts +12 -0
- package/packages/core/dist/workflow-state/repair-contract.js +63 -0
- package/packages/core/dist/workflow-state/repair-contract.js.map +1 -0
- package/packages/core/dist/workflow-state/resolve-task-run.d.ts +21 -0
- package/packages/core/dist/workflow-state/resolve-task-run.js +95 -0
- package/packages/core/dist/workflow-state/resolve-task-run.js.map +1 -0
- package/packages/core/dist/workflow-state/resolve.d.ts +55 -5
- package/packages/core/dist/workflow-state/resolve.js +538 -34
- package/packages/core/dist/workflow-state/resolve.js.map +1 -1
- package/packages/core/dist/workflow-state/runtime-projections.d.ts +228 -0
- package/packages/core/dist/workflow-state/runtime-projections.js +452 -0
- package/packages/core/dist/workflow-state/runtime-projections.js.map +1 -0
- package/packages/core/package.json +3 -3
- package/node_modules/@sdd-agent-platform/core/dist/doctor/render.d.ts +0 -2
- package/node_modules/@sdd-agent-platform/core/dist/doctor/render.js +0 -44
- package/node_modules/@sdd-agent-platform/core/dist/doctor/render.js.map +0 -1
- package/node_modules/@sdd-agent-platform/core/dist/sync-back/apply.d.ts +0 -17
- package/node_modules/@sdd-agent-platform/core/dist/sync-back/apply.js +0 -243
- package/node_modules/@sdd-agent-platform/core/dist/sync-back/apply.js.map +0 -1
- package/node_modules/@sdd-agent-platform/core/dist/sync-back/inspect.d.ts +0 -110
- package/node_modules/@sdd-agent-platform/core/dist/sync-back/inspect.js +0 -497
- package/node_modules/@sdd-agent-platform/core/dist/sync-back/inspect.js.map +0 -1
- package/node_modules/@sdd-agent-platform/core/dist/sync-back.d.ts +0 -2
- package/node_modules/@sdd-agent-platform/core/dist/sync-back.js +0 -3
- package/node_modules/@sdd-agent-platform/core/dist/sync-back.js.map +0 -1
- package/node_modules/@sdd-agent-platform/core/src/sync-back/apply.ts +0 -270
- package/node_modules/@sdd-agent-platform/core/src/sync-back/inspect.ts +0 -655
- package/node_modules/@sdd-agent-platform/core/src/sync-back/sync-back.test.ts +0 -569
- package/node_modules/@sdd-agent-platform/core/src/sync-back.ts +0 -2
- package/packages/cli/dist/commands/artifact.d.ts +0 -6
- package/packages/cli/dist/commands/artifact.js +0 -168
- package/packages/cli/dist/commands/artifact.js.map +0 -1
- package/packages/cli/dist/commands/sync-back.d.ts +0 -6
- package/packages/cli/dist/commands/sync-back.js +0 -82
- package/packages/cli/dist/commands/sync-back.js.map +0 -1
- package/packages/cli/dist/renderers/artifacts.d.ts +0 -5
- package/packages/cli/dist/renderers/artifacts.js +0 -43
- package/packages/cli/dist/renderers/artifacts.js.map +0 -1
- package/packages/core/dist/doctor/render.d.ts +0 -2
- package/packages/core/dist/doctor/render.js +0 -44
- package/packages/core/dist/doctor/render.js.map +0 -1
- package/packages/core/dist/sync-back/apply.d.ts +0 -17
- package/packages/core/dist/sync-back/apply.js +0 -243
- package/packages/core/dist/sync-back/apply.js.map +0 -1
- package/packages/core/dist/sync-back/inspect.d.ts +0 -110
- package/packages/core/dist/sync-back/inspect.js +0 -497
- package/packages/core/dist/sync-back/inspect.js.map +0 -1
- package/packages/core/dist/sync-back.d.ts +0 -2
- package/packages/core/dist/sync-back.js +0 -3
- package/packages/core/dist/sync-back.js.map +0 -1
|
@@ -13,30 +13,25 @@ Common workflow:
|
|
|
13
13
|
sdd statusline [--branch <branch>] [--json|--compact-json]
|
|
14
14
|
sdd tasks inspect <task_id> [--branch <branch>] [--json|--compact-json]
|
|
15
15
|
sdd tasks route <task_id> [--branch <branch>] [--approved] [--json|--compact-json]
|
|
16
|
-
sdd do task <task_id> [--approved] [options]
|
|
16
|
+
sdd do task <task_id-or-task-text> [--approved] [options]
|
|
17
|
+
sdd test <validation_unit_id-or-validation_text> [--branch <branch>] [--approved] [--timeout-ms <ms>] [--json|--compact-json]
|
|
17
18
|
sdd test task <task_id> [--branch <branch>] [--run <run_id>] [--command <command>] [--timeout-ms <ms>] [--json|--compact-json]
|
|
18
|
-
sdd test wave [--branch <branch>] [--wave <n>] [--task <task_id>]... [--approved] [--json|--compact-json]
|
|
19
|
-
sdd test batch <batch_id> [--branch <branch>] [--approved] [--json|--compact-json]
|
|
20
19
|
sdd subagents run <task_id> [--agent <agent>]... [--branch <branch>] [--run <run_id>] [--timeout-seconds <n>] [--approved] [--json|--compact-json]
|
|
21
|
-
sdd ship [--branch <branch>] [--
|
|
20
|
+
sdd ship close [--branch <branch>] [--json|--compact-json]
|
|
22
21
|
sdd doctor [fast|deep] [--latest-only] [--all-runs] [--json|--compact-json]
|
|
23
22
|
sdd doctor recover [--branch <branch>] [--json|--compact-json]
|
|
24
23
|
|
|
25
|
-
|
|
24
|
+
Low-level diagnostics:
|
|
26
25
|
sdd verifies write [--branch <branch>] [--force] [--json|--compact-json]
|
|
27
26
|
sdd verify task <task_id> [--branch <branch>] [--run <run_id>] [--json|--compact-json]
|
|
28
|
-
sdd sync-back inspect [<run_id>] [--task <task_id>] [--branch <branch>] [--json|--compact-json]
|
|
29
|
-
sdd sync-back apply [<run_id>] [--task <task_id>] [--branch <branch>] [--approved] [--json|--compact-json]
|
|
30
27
|
|
|
31
28
|
Evidence helpers:
|
|
32
29
|
sdd run create
|
|
33
30
|
sdd run list [--json]
|
|
34
31
|
sdd run inspect <run_id> [--json|--compact-json]
|
|
35
32
|
sdd run index rebuild|inspect|query [options] [--json|--compact-json]
|
|
36
|
-
sdd artifact template <path> --task <task_id> --agent <agent> [--run <run_id> --write]
|
|
37
|
-
sdd artifact validate <run_id> <path> [--task <task_id>] [--agent <agent>] [--json|--compact-json]
|
|
38
33
|
sdd evidence summary <run_id> [--task <task_id>] [--json|--compact-json]
|
|
39
|
-
sdd context build --task <task_id> --mode do|verify|
|
|
34
|
+
sdd context build --task <task_id> --mode do|verify|doctor [--agent <agent>] [--branch <branch>] [--profile brief|normal|forensic] [--json|--compact-json]
|
|
40
35
|
|
|
41
36
|
Generated AI entries:
|
|
42
37
|
sdd update [--check] [--force] [--ai <mode>]
|
|
@@ -57,21 +52,26 @@ export function workflowHelpText() {
|
|
|
57
52
|
Core path:
|
|
58
53
|
1. sdd spec --branch <branch>
|
|
59
54
|
2. sdd plan --branch <branch>
|
|
60
|
-
3. sdd
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
55
|
+
3. /sdd:tasks bundle
|
|
56
|
+
- sdd tasks close --branch <branch>
|
|
57
|
+
- sdd tasks close --branch <branch> --target verifies
|
|
58
|
+
4. sdd do task <task_id-or-task-text> [--branch <branch>] # sequential implementation evidence
|
|
59
|
+
5. /sdd:test bundle
|
|
60
|
+
- sdd test <validation_unit_id-or-validation_text> [--branch <branch>] # verify.md validation unit
|
|
61
|
+
- sdd test close --branch <branch>
|
|
62
|
+
- sdd test close --branch <branch> --target goal-verify
|
|
63
|
+
6. decision card if workflow policy requires human review
|
|
64
|
+
7. sdd ship close --branch <branch>
|
|
65
|
+
|
|
66
|
+
Low-level diagnostics:
|
|
69
67
|
sdd verifies write --branch <branch> [--force]
|
|
70
68
|
sdd verify task <task_id> [--branch <branch>] [--run <run_id>]
|
|
71
|
-
sdd
|
|
69
|
+
sdd test task <task_id> [--branch <branch>] [--run <run_id>]
|
|
70
|
+
sdd test batch <batch_id> [--branch <branch>]
|
|
71
|
+
sdd test wave [--branch <branch>] [--wave <n>]
|
|
72
72
|
|
|
73
73
|
JSON:
|
|
74
|
-
--json prints readable JSON; --compact-json prints one-line JSON for
|
|
74
|
+
--json prints full readable JSON; --compact-json prints bounded one-line JSON for heavy inspection commands.
|
|
75
75
|
`;
|
|
76
76
|
}
|
|
77
77
|
export function advancedHelpText() {
|
|
@@ -82,6 +82,7 @@ Runtime/catalog:
|
|
|
82
82
|
sdd agent-capabilities list|validate [--json]
|
|
83
83
|
sdd command-team inspect|validate|decide [--json]
|
|
84
84
|
sdd skill-capabilities list|inspect [--json]
|
|
85
|
+
sdd skill-capabilities import <id> --source project|user-global|external --source-ref <ref> --domain <d>... --stage <s>... [--dry-run] [--force] [--json|--compact-json]
|
|
85
86
|
sdd capability-sources list|inspect [--json]
|
|
86
87
|
sdd external-packs inspect <source_id> [--json]
|
|
87
88
|
sdd team-mode inspect [--task <id>] [--team-mode [auto|force|off]] [--no-team-mode] [--json]
|
|
@@ -111,7 +112,7 @@ Execution/isolation:
|
|
|
111
112
|
sdd worktree create|inspect|keep|remove [options]
|
|
112
113
|
|
|
113
114
|
Foreground subagents:
|
|
114
|
-
Runs synchronously and collects non-authoritative evidence artifacts only; it does not approve
|
|
115
|
+
Runs synchronously and collects non-authoritative evidence artifacts only; it does not approve or ship.
|
|
115
116
|
|
|
116
117
|
Legacy init partition option:
|
|
117
118
|
sdd init --branch <branch> creates starter docs for that branch, but normal workflow partitioning belongs to sdd status --branch plus the spec/plan/tasks stages.
|
|
@@ -155,11 +156,11 @@ allowed_agents:
|
|
|
155
156
|
- reviewer
|
|
156
157
|
- validator
|
|
157
158
|
required_artifacts:
|
|
158
|
-
-
|
|
159
|
-
-
|
|
159
|
+
- .sdd/runs/<branch>/do/code-review-vN.md
|
|
160
|
+
- .sdd/runs/<branch>/test/validation-vN.md
|
|
160
161
|
\`\`\`
|
|
161
162
|
|
|
162
|
-
Put contract metadata inside the fenced block: acceptance_refs, plan_refs, affected_files, change_surface, implementation_wave, validation_batch, validation_timing, requires_verify_before_next, agent_fit, verification_availability, autonomy, allowed_agents, and required_artifacts. Companion sections such as #### Boundary, #### Acceptance, and #### Implementation Notes must stay outside the fenced sdd-task metadata block. Frontend-only tasks must not declare Maven/Gradle backend build validation; batch_end and wave_end validation require validation_batch.
|
|
163
|
+
Put contract metadata inside the fenced block: acceptance_refs, plan_refs, affected_files, change_surface, implementation_wave, validation_batch, validation_timing, requires_verify_before_next, agent_fit, verification_availability, autonomy, allowed_agents, and required_artifacts. Companion sections such as #### Boundary, #### Acceptance, and #### Implementation Notes must stay outside the fenced sdd-task metadata block. Frontend-only tasks must not declare Maven/Gradle backend build validation; batch_end and wave_end validation require validation_batch. Required evidence refs should point at accepted stage evidence under .sdd/runs/<branch>/<stage>/*.md, not legacy generic artifact-directory refs.
|
|
163
164
|
|
|
164
165
|
#### Boundary
|
|
165
166
|
|
|
@@ -171,7 +172,7 @@ Allowed implementation scope. Explicitly list forbidden scope when relevant.
|
|
|
171
172
|
|
|
172
173
|
#### Implementation Notes
|
|
173
174
|
|
|
174
|
-
Reserved for
|
|
175
|
+
Reserved for implementation notes and artifact links.
|
|
175
176
|
`;
|
|
176
177
|
}
|
|
177
178
|
//# sourceMappingURL=help.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"help.js","sourceRoot":"","sources":["../src/help.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,QAAQ,CAAC,KAAc;IACrC,IAAI,KAAK,KAAK,UAAU,EAAE,CAAC;QACzB,OAAO,gBAAgB,EAAE,CAAC;IAC5B,CAAC;IACD,IAAI,KAAK,KAAK,UAAU,EAAE,CAAC;QACzB,OAAO,gBAAgB,EAAE,CAAC;IAC5B,CAAC;IACD,OAAO
|
|
1
|
+
{"version":3,"file":"help.js","sourceRoot":"","sources":["../src/help.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,QAAQ,CAAC,KAAc;IACrC,IAAI,KAAK,KAAK,UAAU,EAAE,CAAC;QACzB,OAAO,gBAAgB,EAAE,CAAC;IAC5B,CAAC;IACD,IAAI,KAAK,KAAK,UAAU,EAAE,CAAC;QACzB,OAAO,gBAAgB,EAAE,CAAC;IAC5B,CAAC;IACD,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCR,CAAC;AACF,CAAC;AAED,MAAM,UAAU,gBAAgB;IAC9B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;CAyBR,CAAC;AACF,CAAC;AAED,MAAM,UAAU,gBAAgB;IAC9B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCR,CAAC;AACF,CAAC;AAED,MAAM,UAAU,cAAc;IAC5B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDR,CAAC;AACF,CAAC"}
|
|
@@ -19,7 +19,7 @@ function doctorNextActions(failures, warnings, options) {
|
|
|
19
19
|
return [
|
|
20
20
|
primary ?? 'sdd status',
|
|
21
21
|
'sdd run index rebuild',
|
|
22
|
-
'sdd
|
|
22
|
+
'sdd status --branch <branch>',
|
|
23
23
|
'sdd doctor fast --branch <branch>'
|
|
24
24
|
].filter((item, index, items) => items.indexOf(item) === index);
|
|
25
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doctor.js","sourceRoot":"","sources":["../../src/renderers/doctor.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,kBAAkB,CAAC,MAAoB,EAAE,UAAyD,EAAE;IAClH,MAAM,QAAQ,GAAG,MAAM,C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CAAC,CAAC;IACf,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACpB,KAAK,CAAC,IAAI,CAAC,KAAK,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;IACrE,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC;AAED,SAAS,iBAAiB,CAAC,QAAgC,EAAE,QAAgC,EAAE,OAAsD;IACnJ,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,IAAI,QAAQ,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC;IAC3D,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;QACpB,OAAO;YACL,OAAO,IAAI,YAAY;YACvB,uBAAuB;YACvB,8BAA8B;YAC9B,mCAAmC;SACpC,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,KAAK,CAAC,CAAC;IAClE,CAAC;IACD,IAAI,OAAO,EAAE,CAAC;QACZ,OAAO,CAAC,OAAO,EAAE,qEAAqE,CAAC,CAAC;IAC1F,CAAC;IACD,OAAO,CAAC,OAAO,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,mCAAmC,CAAC,CAAC;AACxF,CAAC"}
|
|
@@ -35,7 +35,7 @@ export function renderForegroundSubagentRunResult(result) {
|
|
|
35
35
|
}
|
|
36
36
|
renderIssues(lines, agent.issues.map((issue) => ({ field: `${agent.agent}.${issue.field}`, message: issue.message, recommendation: issue.recommendation })));
|
|
37
37
|
}
|
|
38
|
-
lines.push('note=foreground subagents collect non-authoritative evidence only; they do not approve
|
|
38
|
+
lines.push('note=foreground subagents collect non-authoritative evidence only; they do not approve or ship.');
|
|
39
39
|
return lines.join('\n');
|
|
40
40
|
}
|
|
41
41
|
export function renderBackgroundExecutorInspection(inspection) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution.js","sourceRoot":"","sources":["../../src/renderers/execution.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,UAAU,8BAA8B,CAAC,MAAgC;IAC7E,MAAM,KAAK,GAAG,CAAC,uBAAuB,MAAM,CAAC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;IAC5E,KAAK,CAAC,IAAI,CAAC,WAAW,MAAM,CAAC,OAAO,EAAE,CAAC,CAAC;IACxC,KAAK,CAAC,IAAI,CAAC,OAAO,MAAM,CAAC,KAAK,eAAe,MAAM,CAAC,YAAY,IAAI,KAAK,UAAU,MAAM,CAAC,WAAW,IAAI,KAAK,WAAW,MAAM,CAAC,eAAe,EAAE,CAAC,CAAC;IACnJ,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,YAAY,IAAI,SAAS,EAAE,CAAC,CAAC;IAC3D,IAAI,MAAM,CAAC,cAAc,EAAE,CAAC;QAC1B,KAAK,CAAC,IAAI,CAAC,aAAa,MAAM,CAAC,cAAc,CAAC,QAAQ,IAAI,MAAM,cAAc,MAAM,CAAC,cAAc,CAAC,QAAQ,iBAAiB,MAAM,CAAC,cAAc,CAAC,WAAW,iBAAiB,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,CAAC,CAAC;IACtN,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC3B,YAAY,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;IACnC,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC;AAED,MAAM,UAAU,iCAAiC,CAAC,MAAmC;IACnF,MAAM,KAAK,GAAG,CAAC,wBAAwB,MAAM,CAAC,MAAM,QAAQ,MAAM,CAAC,MAAM,EAA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iB,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,QAAQ,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC;IAClG,KAAK,CAAC,IAAI,CAAC,WAAW,UAAU,CAAC,OAAO,EAAE,CAAC,CAAC;IAC5C,KAAK,CAAC,IAAI,CAAC,UAAU,UAAU,CAAC,UAAU,CAAC,MAAM,gBAAgB,UAAU,CAAC,UAAU,CAAC,WAAW,CAAC,MAAM,aAAa,UAAU,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAC,CAAC;IACnK,KAAK,MAAM,KAAK,IAAI,UAAU,CAAC,UAAU,EAAE,CAAC;QAC1C,KAAK,CAAC,IAAI,CAAC,KAAK,KAAK,CAAC,KAAK,KAAK,KAAK,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC,CAAC;IACzD,CAAC;IACD,YAAY,CAAC,KAAK,EAAE,UAAU,CAAC,MAAM,CAAC,CAAC;IACvC,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare function wantsJson(args: string[]): boolean;
|
|
2
2
|
export declare function jsonOutput(value: unknown, args: string[]): string;
|
|
3
|
+
export declare function isCompactJson(args: string[]): boolean;
|
|
3
4
|
export declare function renderTextOrJson<T>(args: string[], value: T, renderText: (value: T) => string): string;
|
|
@@ -4,6 +4,9 @@ export function wantsJson(args) {
|
|
|
4
4
|
export function jsonOutput(value, args) {
|
|
5
5
|
return JSON.stringify(value, null, args.includes('--compact-json') ? 0 : 2);
|
|
6
6
|
}
|
|
7
|
+
export function isCompactJson(args) {
|
|
8
|
+
return args.includes('--compact-json');
|
|
9
|
+
}
|
|
7
10
|
export function renderTextOrJson(args, value, renderText) {
|
|
8
11
|
return wantsJson(args) ? jsonOutput(value, args) : renderText(value);
|
|
9
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"json.js","sourceRoot":"","sources":["../../src/renderers/json.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,SAAS,CAAC,IAAc;IACtC,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,KAAc,EAAE,IAAc;IACvD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9E,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAI,IAAc,EAAE,KAAQ,EAAE,UAAgC;IAC5F,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;AACvE,CAAC"}
|
|
1
|
+
{"version":3,"file":"json.js","sourceRoot":"","sources":["../../src/renderers/json.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,SAAS,CAAC,IAAc;IACtC,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;AACpE,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,KAAc,EAAE,IAAc;IACvD,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC9E,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,IAAc;IAC1C,OAAO,IAAI,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;AACzC,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAI,IAAc,EAAE,KAAQ,EAAE,UAAgC;IAC5F,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AgentCapabilityCatalog, AgentCapabilityCatalogValidation, CommandTeamRuntimeDecision, CommandTeamRuntimeInspection, CommandTeamRuntimeValidation } from '@sdd-agent-platform/core/registries';
|
|
2
|
-
import type { AgentSkillTeamRuntimeInspection, CapabilitySourceCatalogEntry, ExternalAgentPackImportInspection, RuntimeRegistryEntrySource, SkillCapabilityContract, TeamModePolicy } from '@sdd-agent-platform/core/router';
|
|
2
|
+
import type { AgentSkillTeamRuntimeInspection, CapabilitySourceCatalogEntry, ExternalAgentPackImportInspection, RuntimeRegistryEntrySource, RuntimeSkillImportResult, SkillCapabilityContract, TeamModePolicy } from '@sdd-agent-platform/core/router';
|
|
3
3
|
import type { AgentSkillTeamRuntimeValidation } from '@sdd-agent-platform/core/router';
|
|
4
4
|
export declare function renderAgentCapabilityCatalog(catalog: AgentCapabilityCatalog): string;
|
|
5
5
|
export declare function renderAgentCapabilityCatalogValidation(validation: AgentCapabilityCatalogValidation): string;
|
|
@@ -10,6 +10,7 @@ export declare function renderAgentSkillTeamRuntimeInspection(inspection: AgentS
|
|
|
10
10
|
export declare function renderAgentSkillTeamRuntimeValidation(result: AgentSkillTeamRuntimeValidation): string;
|
|
11
11
|
export declare function renderSkillCapabilityList(capabilities: SkillCapabilityContract[], registrySources?: RuntimeRegistryEntrySource[]): string;
|
|
12
12
|
export declare function renderSkillCapabilityInspect(capability: SkillCapabilityContract): string;
|
|
13
|
+
export declare function renderRuntimeSkillImportResult(result: RuntimeSkillImportResult): string;
|
|
13
14
|
export declare function renderCapabilitySourceList(sources: CapabilitySourceCatalogEntry[], registrySources?: RuntimeRegistryEntrySource[]): string;
|
|
14
15
|
export declare function renderCapabilitySourceInspect(source: CapabilitySourceCatalogEntry): string;
|
|
15
16
|
export declare function renderExternalAgentPackImportInspection(inspection: ExternalAgentPackImportInspection): string;
|
|
@@ -149,6 +149,26 @@ export function renderSkillCapabilityInspect(capability) {
|
|
|
149
149
|
}
|
|
150
150
|
return lines.join('\n');
|
|
151
151
|
}
|
|
152
|
+
export function renderRuntimeSkillImportResult(result) {
|
|
153
|
+
const lines = [`Skill capability import ${result.capabilityId}`];
|
|
154
|
+
lines.push(`status=${result.status} written=${result.written} source=${result.source} source_id=${result.sourceId}`);
|
|
155
|
+
lines.push(`config=${result.configPath}`);
|
|
156
|
+
if (result.issues.length > 0) {
|
|
157
|
+
lines.push('issues');
|
|
158
|
+
for (const issue of result.issues) {
|
|
159
|
+
lines.push(`- ${issue}`);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
if (result.preview) {
|
|
163
|
+
lines.push('preview');
|
|
164
|
+
lines.push(result.preview.trimEnd());
|
|
165
|
+
}
|
|
166
|
+
lines.push('next');
|
|
167
|
+
for (const command of result.nextCommands) {
|
|
168
|
+
lines.push(`- ${command}`);
|
|
169
|
+
}
|
|
170
|
+
return lines.join('\n');
|
|
171
|
+
}
|
|
152
172
|
export function renderCapabilitySourceList(sources, registrySources) {
|
|
153
173
|
const lines = ['SDD capability sources'];
|
|
154
174
|
lines.push(`registry_origins=${renderRegistryOriginCounts(registrySources)}`);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry-runtime.js","sourceRoot":"","sources":["../../src/renderers/registry-runtime.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAE/E,MAAM,UAAU,4BAA4B,CAAC,OAA+B;IAC1E,MAAM,KAAK,GAAG,CAAC,8BAA8B,CAAC,CAAC;IAC/C,KAAK,CAAC,IAAI,CAAC,WAAW,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;IACzC,KAAK,CA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|
29
|
-
if (decision.lifecycleGate === 'review-before-
|
|
29
|
+
if (decision.lifecycleGate === 'review-before-ship') {
|
|
30
30
|
return 'Routed; validation can run and release readiness may need review.';
|
|
31
31
|
}
|
|
32
32
|
return 'Routed with a lifecycle checkpoint.';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.js","sourceRoot":"","sources":["../../src/renderers/router.ts"],"names":[],"mappings":"AAEA,MAAM,UAAU,yBAAyB,CAAC,QAA6B;IACrE,MAAM,aAAa,GAAG,QAAQ,CAAC,kBAAkB,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC;IACjH,MAAM,WAAW,GAAG,QAAQ,CAAC,kBAAkB,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC;IACzG,OAAO;QACL,aAAa,QAAQ,CAAC,MAAM,EAAE;QAC9B,EAAE;QACF,sBAAsB,CAAC,QAAQ,CAAC;QAChC,EAAE;QACF,MAAM;QACN,KAAK,QAAQ,CAAC,aAAa,EAAE;QAC7B,wBAAwB,aAAa,WAAW,WAAW,eAAe,QAAQ,CAAC,kBAAkB,CAAC,SAAS,EAAE,EAAC,EAAE;QACpH,OAAO;QACP,KAAK,QAAQ,CAAC,UAAU,EAAE;KAC3B,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACf,CAAC;AAED,SAAS,sBAAsB,CAAC,QAA6B;IAC3D,IAAI,QAAQ,CAAC,aAAa,EAAE,CAAC;QAC3B,IAAI,QAAQ,CAAC,aAAa,KAAK,gCAAgC,EAAE,CAAC;YAChE,OAAO,qDAAqD,CAAC;QAC/D,CAAC;QACD,IAAI,QAAQ,CAAC,aAAa,KAAK,wBAAwB,EAAE,CA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a,KAAK,wBAAwB,EAAE,CAAC;YACxD,OAAO,yBAAyB,CAAC;QACnC,CAAC;QACD,OAAO,4BAA4B,CAAC;IACtC,CAAC;IACD,IAAI,QAAQ,CAAC,aAAa,KAAK,QAAQ,EAAE,CAAC;QACxC,OAAO,qCAAqC,CAAC;IAC/C,CAAC;IACD,IAAI,QAAQ,CAAC,aAAa,KAAK,oBAAoB,EAAE,CAAC;QACpD,OAAO,mEAAmE,CAAC;IAC7E,CAAC;IACD,OAAO,qCAAqC,CAAC;AAC/C,CAAC"}
|
|
@@ -4,8 +4,6 @@ import type { StatuslineProjection } from '@sdd-agent-platform/core/status';
|
|
|
4
4
|
import type { RunSummary } from '@sdd-agent-platform/core/run-state';
|
|
5
5
|
import type { RunInspection } from '@sdd-agent-platform/core/run-state';
|
|
6
6
|
import type { LocalRunIndex, LocalRunIndexInspection } from '@sdd-agent-platform/core/run-state';
|
|
7
|
-
import type { SyncBackApplyResult } from '@sdd-agent-platform/core/sync-back';
|
|
8
|
-
import type { SyncBackInspection } from '@sdd-agent-platform/core/sync-back';
|
|
9
7
|
import type { ShipResult } from '@sdd-agent-platform/core/lifecycle';
|
|
10
8
|
export declare function renderInitResult(result: InitProjectResult): string;
|
|
11
9
|
export declare function renderProjectStatus(status: ProjectStatus): string;
|
|
@@ -14,6 +12,4 @@ export declare function renderRunList(runs: RunSummary[]): string;
|
|
|
14
12
|
export declare function renderLocalRunIndex(index: LocalRunIndex): string;
|
|
15
13
|
export declare function renderLocalRunIndexInspection(inspection: LocalRunIndexInspection): string;
|
|
16
14
|
export declare function renderRunInspection(inspection: RunInspection): string;
|
|
17
|
-
export declare function renderSyncBackInspection(inspection: SyncBackInspection): string;
|
|
18
|
-
export declare function renderSyncBackApplyResult(result: SyncBackApplyResult): string;
|
|
19
15
|
export declare function renderShipResult(result: ShipResult): string;
|
|
@@ -6,11 +6,17 @@ export function renderInitResult(result) {
|
|
|
6
6
|
aiCounts.set(entry.status, (aiCounts.get(entry.status) ?? 0) + 1);
|
|
7
7
|
}
|
|
8
8
|
const aiSummary = Array.from(aiCounts.entries()).map(([status, count]) => `${status}=${count}`).join(' ') || 'none';
|
|
9
|
+
const skillImportCounts = new Map();
|
|
10
|
+
for (const entry of result.skillImports) {
|
|
11
|
+
skillImportCounts.set(entry.status, (skillImportCounts.get(entry.status) ?? 0) + 1);
|
|
12
|
+
}
|
|
13
|
+
const skillImportSummary = Array.from(skillImportCounts.entries()).map(([status, count]) => `${status}=${count}`).join(' ') || 'none';
|
|
9
14
|
const scaffoldedDocuments = result.documents.documents.filter((document) => document.status !== 'skipped');
|
|
10
15
|
const lines = ['SDD init', 'changed'];
|
|
11
16
|
lines.push(`- config ${result.created ? 'created/updated' : 'unchanged'} at ${result.configPath}`);
|
|
12
17
|
lines.push(`- semantic docs ${scaffoldedDocuments.map((document) => `${document.status}:${document.relativePath}`).join(', ') || 'none'}`);
|
|
13
18
|
lines.push(`- ai entries ${aiSummary}`);
|
|
19
|
+
lines.push(`- skill imports ${skillImportSummary}`);
|
|
14
20
|
lines.push('decision');
|
|
15
21
|
if (scaffoldedDocuments.length > 0) {
|
|
16
22
|
lines.push(`- legacy_scaffold_branch=${result.documents.branch}`);
|
|
@@ -27,16 +33,23 @@ export function renderInitResult(result) {
|
|
|
27
33
|
else {
|
|
28
34
|
lines.push(`- ${aiEntries.length} managed AI entry projection(s) checked/applied`);
|
|
29
35
|
}
|
|
36
|
+
if (result.skillImports.length > 0) {
|
|
37
|
+
lines.push(`- ${result.skillImports.length} external skill import request(s) checked/applied`);
|
|
38
|
+
}
|
|
30
39
|
lines.push('- doctor checks git repository health; run git init first in fresh temporary projects before relying on doctor/run-index checks');
|
|
31
40
|
lines.push('gaps');
|
|
32
41
|
const driftEntries = aiEntries.filter((entry) => entry.status === 'drifted' || entry.status === 'user-modified' || entry.status === 'foreign' || entry.status === 'conflict');
|
|
33
|
-
|
|
42
|
+
const blockedSkillImports = result.skillImports.filter((entry) => entry.status === 'blocked');
|
|
43
|
+
if (driftEntries.length === 0 && blockedSkillImports.length === 0) {
|
|
34
44
|
lines.push('- none');
|
|
35
45
|
}
|
|
36
46
|
else {
|
|
37
47
|
for (const entry of driftEntries) {
|
|
38
48
|
lines.push(`- [${entry.status}] ${entry.relativePath}: ${entry.action ?? entry.message}`);
|
|
39
49
|
}
|
|
50
|
+
for (const entry of blockedSkillImports) {
|
|
51
|
+
lines.push(`- [blocked] ${entry.capabilityId}: ${entry.issues.join('; ') || 'skill import blocked'}`);
|
|
52
|
+
}
|
|
40
53
|
}
|
|
41
54
|
lines.push('next');
|
|
42
55
|
lines.push('- sdd status');
|
|
@@ -52,24 +65,25 @@ export function renderProjectStatus(status) {
|
|
|
52
65
|
const hasDocumentHashes = Boolean(status.documents.specHash
|
|
53
66
|
|| status.documents.planHash
|
|
54
67
|
|| status.documents.tasksHash
|
|
55
|
-
|| status.documents.
|
|
56
|
-
|| status.documents.tasksBasedOnPlanHash
|
|
57
|
-
|| status.documents.verifyHash
|
|
58
|
-
|| status.documents.verifyBasedOnTasksHash);
|
|
68
|
+
|| status.documents.verifyHash);
|
|
59
69
|
lines.push('decision');
|
|
60
70
|
lines.push(`- workflow_status=${status.workflowStatus}`);
|
|
61
|
-
lines.push(`- next_intent stage=${status.nextIntent.stage} intent=${status.nextIntent.intent} semantics=${status.nextIntent.commandSemantics} canonical="${status.nextIntent.canonicalCommand}" hosts=${status.nextIntent.hostProjections.map((projection) => `${projection.host}:${projection.status}${projection.entry ? `:${projection.entry}` : ''}`).join(',')}`);
|
|
71
|
+
lines.push(`- next_intent bundle=${status.nextIntent.bundle} target=${status.nextIntent.targetRuntimeStage} resume=${status.nextIntent.resumeMode} stage=${status.nextIntent.stage} intent=${status.nextIntent.intent} semantics=${status.nextIntent.commandSemantics} canonical="${status.nextIntent.canonicalCommand}" display="${status.nextIntent.displayCommand}" hosts=${status.nextIntent.hostProjections.map((projection) => `${projection.host}:${projection.status}${projection.entry ? `:${projection.entry}` : ''}`).join(',')}`);
|
|
62
72
|
lines.push(`- context raw_branch=${status.context.rawBranch} partition=${status.context.partition} source=${status.context.branchSource} spec_dir=${status.context.specDir}`);
|
|
63
73
|
lines.push(`- git current_branch=${status.context.currentGitBranch ?? 'none'} working_tree_matched=${status.context.workingTreeMatched ?? 'unknown'}`);
|
|
64
74
|
lines.push(`- documents spec=${status.documents.specExists} plan=${status.documents.planExists} tasks=${status.documents.tasksExists} verify=${status.documents.verifyExists} stale=${staleDocuments.join(',') || 'none'}`);
|
|
65
75
|
if (hasDocumentHashes) {
|
|
66
|
-
lines.push(`- document_hashes spec=${status.documents.specHash ?? 'none'} plan=${status.documents.planHash ?? 'none'} tasks=${status.documents.tasksHash ?? 'none'} verify=${status.documents.verifyHash ?? 'none'}
|
|
76
|
+
lines.push(`- document_hashes spec=${status.documents.specHash ?? 'none'} plan=${status.documents.planHash ?? 'none'} tasks=${status.documents.tasksHash ?? 'none'} verify=${status.documents.verifyHash ?? 'none'}`);
|
|
67
77
|
}
|
|
68
78
|
lines.push(`- tasks total=${status.tasks.total} pending=${status.tasks.pending} in_progress=${status.tasks.inProgress} completed=${status.tasks.completed} blocked=${status.tasks.blocked} deferred=${status.tasks.deferred} unknown=${status.tasks.unknown} gaps=${status.tasks.gaps}`);
|
|
69
79
|
lines.push(`- task_risk high=${status.taskRisk.highRiskTasks.join(',') || 'none'} medium=${status.taskRisk.mediumRiskTasks.join(',') || 'none'} source_boundary=${status.taskRisk.sourceBoundaryTasks.join(',') || 'none'} context=${status.taskRisk.contextRiskTasks.join(',') || 'none'} token=${status.taskRisk.tokenRiskTasks.join(',') || 'none'} performance=${status.taskRisk.performanceRiskTasks.join(',') || 'none'}`);
|
|
70
80
|
lines.push(`- lifecycle_risk status=${status.lifecycleRisk.status} profile=${status.lifecycleRisk.profile ?? 'none'} approval=${status.lifecycleRisk.approvalPolicy ?? 'none'} input=${status.lifecycleRisk.inputHash ?? 'none'} expected=${status.lifecycleRisk.expectedInputHash}`);
|
|
71
81
|
lines.push(`- capability_health status=${status.capabilityHealth.status} domains=${status.capabilityHealth.baselineDomains.length}/${status.capabilityHealth.requiredProfessionalDomains.length} active=${status.capabilityHealth.activeDomains.join(',') || 'none'} packs=${status.capabilityHealth.activePacks.join(',') || 'none'} sources_quarantined=${status.capabilityHealth.sources.quarantined} sources_denied=${status.capabilityHealth.sources.denied} evidence_candidate=${status.capabilityHealth.evidence.candidate} evidence_quarantined=${status.capabilityHealth.evidence.quarantined} evidence_blocked=${status.capabilityHealth.evidence.blocked}`);
|
|
72
82
|
lines.push(`- workflow_handoff status=${status.workflowHandoff.status} active_stage=${status.workflowHandoff.activeStage?.stage ?? 'none'} latest_stage=${status.workflowHandoff.latestStageRun?.stage ?? 'none'} latest_handoff=${status.workflowHandoff.latestHandoff ? `${status.workflowHandoff.latestHandoff.fromStage}->${status.workflowHandoff.latestHandoff.toStage}:${status.workflowHandoff.latestHandoff.status}` : 'none'} stage_projections=${status.workflowHandoff.projectionCounts.stageRuns} handoff_projections=${status.workflowHandoff.projectionCounts.handoffs}`);
|
|
83
|
+
lines.push(`- full_stage_chain status=${status.fullStageChain.status} completed=${status.fullStageChain.projectionCounts.completedStages}/${status.fullStageChain.stages.length} contracts=${status.fullStageChain.projectionCounts.validatedCollaborationContracts}/${status.fullStageChain.stages.length} adjudications=${status.fullStageChain.projectionCounts.adjudications} handoffs=${status.fullStageChain.projectionCounts.handoffs} final=${status.fullStageChain.finalHealth ?? 'none'}`);
|
|
84
|
+
lines.push(`- runtime_projection_p0 status=${status.runtimeProjectionP0.status} inventory=${status.runtimeProjectionP0.inventory.length} ref_hash_registry=${status.runtimeProjectionP0.refHashRegistry.status} registry_staleness=${status.runtimeProjectionP0.refHashRegistry.envelopeStaleness} stale_refs=${status.runtimeProjectionP0.refHashRegistry.staleRefs.length}`);
|
|
85
|
+
lines.push(`- gate_evidence source=${status.workflowGateHealth.evidenceSelection.source} pointer=${status.workflowGateHealth.evidenceSelection.selectionPointerRef ?? 'none'} evidence_set=${status.workflowGateHealth.evidenceSelection.acceptedEvidenceSetRef ?? 'none'} selected=${status.workflowGateHealth.evidenceSelection.selectedRefs.length} ignored=${status.workflowGateHealth.evidenceSelection.ignoredRefs.length} ignored_rejected=${status.workflowGateHealth.evidenceSelection.ignoredCounts.rejected} ignored_superseded=${status.workflowGateHealth.evidenceSelection.ignoredCounts.superseded} ignored_quarantined=${status.workflowGateHealth.evidenceSelection.ignoredCounts.quarantined} ignored_stale=${status.workflowGateHealth.evidenceSelection.ignoredCounts.stale} reasons=${status.workflowGateHealth.evidenceSelection.selectionReasons.join('|') || 'none'}`);
|
|
86
|
+
lines.push(status.truthReconciliation ? `- truth_reconciliation change=${status.truthReconciliation.changeKind} impact=${status.truthReconciliation.semanticImpact} owner=${status.truthReconciliation.ownerStage}-manager frontier=${status.truthReconciliation.minimalFrontier.join('>') || 'none'} preserves=${status.truthReconciliation.preservesEvidenceRefs.length} supersedes=${status.truthReconciliation.supersedesEvidenceRefs.length} next="${status.truthReconciliation.nextIntent.canonicalCommand}" reasons=${status.truthReconciliation.reasons.join('|') || 'none'}` : '- truth_reconciliation none');
|
|
73
87
|
lines.push(`- context_offload level=${status.contextRuntime.level} action=${status.contextRuntime.action} load_signals=${status.contextRuntime.loadSignals} offload_decisions=${status.contextRuntime.offloadDecisions} dispatch_refs=${status.contextRuntime.dispatchRefs}`);
|
|
74
88
|
lines.push(`- subagent_dispatch status=${status.subagentDispatches.status} dispatches=${status.subagentDispatches.dispatches} blocking_open=${status.subagentDispatches.blockingOpen} failed=${status.subagentDispatches.failed} stale=${status.subagentDispatches.stale} completed=${status.subagentDispatches.completed} archived=${status.subagentDispatches.archived} superseded=${status.subagentDispatches.superseded}`);
|
|
75
89
|
if (status.latestEligibleRunsByTask.length > 0) {
|
|
@@ -79,15 +93,12 @@ export function renderProjectStatus(status) {
|
|
|
79
93
|
}
|
|
80
94
|
}
|
|
81
95
|
if (status.latestRun) {
|
|
82
|
-
lines.push(`- latest_run ${status.latestRun.runId} status=${status.latestRun.status} phase=${status.latestRun.phase ?? 'n/a'} task=${status.latestRun.currentTask ?? 'n/a'} validation=${status.latestRun.validationStatus}
|
|
96
|
+
lines.push(`- latest_run ${status.latestRun.runId} status=${status.latestRun.status} phase=${status.latestRun.phase ?? 'n/a'} task=${status.latestRun.currentTask ?? 'n/a'} validation=${status.latestRun.validationStatus} elapsed_ms=${status.latestRun.durationBreakdown.elapsedDurationMs} slow_reason=${status.latestRun.durationBreakdown.slowReason}`);
|
|
83
97
|
if (status.latestRunEvidence) {
|
|
84
98
|
lines.push(`- latest_run_evidence route_preflight=${status.latestRunEvidence.routePreflight} agent_executions=${status.latestRunEvidence.agentExecutions} team_sessions=${status.latestRunEvidence.teamSessions} worker_runtimes=${status.latestRunEvidence.workerRuntimes} stale_worker_runtimes=${status.latestRunEvidence.staleWorkerRuntimes} artifact_ingestions=${status.latestRunEvidence.artifactIngestions}`);
|
|
85
|
-
if (status.latestRunEvidence.tasksChangedAfterRun
|
|
99
|
+
if (status.latestRunEvidence.tasksChangedAfterRun) {
|
|
86
100
|
lines.push('- latest_run_evidence may be stale: tasks.md changed after the latest run; inspect the task or rerun before relying on this run.');
|
|
87
101
|
}
|
|
88
|
-
else if (status.latestRunEvidence.tasksChangedAfterRun) {
|
|
89
|
-
lines.push('- latest_run_evidence tasks.md changed after sync-back apply; task completion state is already recorded.');
|
|
90
|
-
}
|
|
91
102
|
}
|
|
92
103
|
}
|
|
93
104
|
else {
|
|
@@ -126,7 +137,7 @@ export function renderRunList(runs) {
|
|
|
126
137
|
}
|
|
127
138
|
const lines = ['SDD runs'];
|
|
128
139
|
for (const run of runs) {
|
|
129
|
-
lines.push(`${run.runId}\t${run.status}\tphase=${run.phase ?? 'n/a'}\ttask=${run.currentTask ?? 'n/a'}\tvalidation=${run.validationStatus}\
|
|
140
|
+
lines.push(`${run.runId}\t${run.status}\tphase=${run.phase ?? 'n/a'}\ttask=${run.currentTask ?? 'n/a'}\tvalidation=${run.validationStatus}\tupdated=${run.updatedAt}`);
|
|
130
141
|
}
|
|
131
142
|
return lines.join('\n');
|
|
132
143
|
}
|
|
@@ -150,13 +161,16 @@ export function renderLocalRunIndexInspection(inspection) {
|
|
|
150
161
|
export function renderRunInspection(inspection) {
|
|
151
162
|
const lines = [`SDD run ${inspection.summary.runId}`];
|
|
152
163
|
lines.push(`status=${inspection.summary.status} phase=${inspection.summary.phase ?? 'n/a'} task=${inspection.summary.currentTask ?? 'n/a'} updated=${inspection.summary.updatedAt}`);
|
|
164
|
+
lines.push(`duration elapsed_ms=${inspection.summary.durationBreakdown.elapsedDurationMs} active_ms=${inspection.summary.durationBreakdown.activeRuntimeDurationMs} validation_ms=${inspection.summary.durationBreakdown.validationDurationMs} waiting_ms=${inspection.summary.durationBreakdown.waitingDurationMs} blocked_ms=${inspection.summary.durationBreakdown.blockedDurationMs} slow_reason=${inspection.summary.durationBreakdown.slowReason}`);
|
|
165
|
+
for (const contributor of inspection.summary.durationBreakdown.topContributors) {
|
|
166
|
+
lines.push(`- duration ${contributor.kind} ${contributor.durationMs}ms ${contributor.reason}`);
|
|
167
|
+
}
|
|
153
168
|
lines.push(`validation=${inspection.validation.status} evidence=${inspection.validation.evidence.join(',') || 'none'}`);
|
|
154
|
-
lines.push(`
|
|
155
|
-
lines.push(`task_run_evidence=${inspection.taskRunEvidence.version} gaps=${inspection.taskRunEvidence.gaps.length} sync_back=${inspection.taskRunEvidence.syncBackProposal ?? 'none'}`);
|
|
169
|
+
lines.push(`task_run_evidence=${inspection.taskRunEvidence.version} gaps=${inspection.taskRunEvidence.gaps.length}`);
|
|
156
170
|
if (inspection.taskEvidenceView) {
|
|
157
171
|
const evidence = inspection.taskEvidenceView;
|
|
158
172
|
lines.push(`task_evidence_view=${evidence.contract} source=${evidence.source} latest_eligible=${evidence.latestEligibleRun?.runId ?? 'none'} compatibility=${evidence.compatibility ?? 'none'} candidates=${evidence.candidates.length} rejected=${evidence.rejected.length}`);
|
|
159
|
-
lines.push(`task_evidence_payloads active=${evidence.payloads.active.length} candidate=${evidence.payloads.candidate.length} rejected=${evidence.payloads.rejected.length} superseded=${evidence.payloads.superseded.length}`);
|
|
173
|
+
lines.push(`task_evidence_payloads active=${evidence.payloads.active.length} candidate=${evidence.payloads.candidate.length} partial=${evidence.payloads.partial.length} active_attempt=${evidence.payloads.active_attempt.length} rejected=${evidence.payloads.rejected.length} superseded=${evidence.payloads.superseded.length} quarantined=${evidence.payloads.quarantined.length} stale=${evidence.payloads.stale.length}`);
|
|
160
174
|
}
|
|
161
175
|
lines.push(`artifacts=${inspection.artifacts.length}`);
|
|
162
176
|
for (const artifact of inspection.artifacts) {
|
|
@@ -184,79 +198,6 @@ export function renderRunInspection(inspection) {
|
|
|
184
198
|
}
|
|
185
199
|
return lines.join('\n');
|
|
186
200
|
}
|
|
187
|
-
export function renderSyncBackInspection(inspection) {
|
|
188
|
-
const taskId = inspection.taskId ?? 'n/a';
|
|
189
|
-
const lines = [`SDD sync-back ${taskId}`];
|
|
190
|
-
lines.push('');
|
|
191
|
-
lines.push(syncBackResultSentence(inspection));
|
|
192
|
-
lines.push('');
|
|
193
|
-
lines.push('Why:');
|
|
194
|
-
lines.push(`- ${primarySyncBackReason(inspection)}`);
|
|
195
|
-
lines.push(`- capability_readiness=${syncBackCapabilitySummary(inspection)}`);
|
|
196
|
-
lines.push(`- task_evidence source=${inspection.taskEvidenceView.source} latest_eligible=${inspection.taskEvidenceView.latestEligibleRun?.runId ?? 'none'} compatibility=${inspection.taskEvidenceView.compatibility ?? 'none'} candidates=${inspection.taskEvidenceView.candidates.length} rejected=${inspection.taskEvidenceView.rejected.length} payloads=active:${inspection.taskEvidenceView.payloads.active.length},candidate:${inspection.taskEvidenceView.payloads.candidate.length},rejected:${inspection.taskEvidenceView.payloads.rejected.length},superseded:${inspection.taskEvidenceView.payloads.superseded.length}`);
|
|
197
|
-
lines.push('');
|
|
198
|
-
lines.push('Next:');
|
|
199
|
-
lines.push(`- ${nextSyncBackAction(inspection)}`);
|
|
200
|
-
return lines.join('\n');
|
|
201
|
-
}
|
|
202
|
-
export function renderSyncBackApplyResult(result) {
|
|
203
|
-
const inspection = result.inspection;
|
|
204
|
-
const taskId = inspection.taskId ?? result.taskId;
|
|
205
|
-
const lines = [`SDD sync-back apply ${taskId}`];
|
|
206
|
-
lines.push('');
|
|
207
|
-
lines.push(result.applied ? 'Sync-back applied.' : 'Sync-back was not applied.');
|
|
208
|
-
lines.push('');
|
|
209
|
-
lines.push('Why:');
|
|
210
|
-
lines.push(`- ${result.applied ? `Task status and sync-back note were written to ${result.tasksPath}.` : result.message}`);
|
|
211
|
-
lines.push('');
|
|
212
|
-
lines.push('Next:');
|
|
213
|
-
lines.push(`- ${result.applied ? `Run sdd status --branch ${inspection.branch} to inspect the next workflow intent.` : nextSyncBackAction(inspection)}`);
|
|
214
|
-
return lines.join('\n');
|
|
215
|
-
}
|
|
216
|
-
function syncBackResultSentence(inspection) {
|
|
217
|
-
if (inspection.status === 'blocked') {
|
|
218
|
-
return 'Diagnostic sync-back is blocked before recovery/replay apply.';
|
|
219
|
-
}
|
|
220
|
-
if (inspection.applyPolicy.requiresApproval) {
|
|
221
|
-
return 'Diagnostic sync-back recovery is available and needs review before apply.';
|
|
222
|
-
}
|
|
223
|
-
return 'Diagnostic sync-back recovery is available for explicit apply.';
|
|
224
|
-
}
|
|
225
|
-
function primarySyncBackReason(inspection) {
|
|
226
|
-
if (inspection.reasons.length > 0) {
|
|
227
|
-
return inspection.reasons[0];
|
|
228
|
-
}
|
|
229
|
-
if (inspection.staleVerifyRecoveryCommand) {
|
|
230
|
-
return `verify.md is stale for ${inspection.taskId ?? inspection.runId}.`;
|
|
231
|
-
}
|
|
232
|
-
if (inspection.gaps.length > 0) {
|
|
233
|
-
return inspection.gaps[0].message;
|
|
234
|
-
}
|
|
235
|
-
if (inspection.applyPolicy.reasons.length > 0) {
|
|
236
|
-
return inspection.applyPolicy.reasons[0];
|
|
237
|
-
}
|
|
238
|
-
if (inspection.applyPolicy.requiresApproval) {
|
|
239
|
-
return 'This diagnostic recovery can write tasks.md, but the apply policy requires review first.';
|
|
240
|
-
}
|
|
241
|
-
return 'Validation evidence and sync-back proposal are available for explicit diagnostic recovery.';
|
|
242
|
-
}
|
|
243
|
-
function syncBackCapabilitySummary(inspection) {
|
|
244
|
-
const readiness = inspection.capabilityReadiness;
|
|
245
|
-
return `status=${readiness.status}; required=${readiness.requiredDomains.join(',') || 'none'}; accepted=${readiness.accepted.length}; candidate=${readiness.candidate.length}; quarantined=${readiness.quarantined.length}; blocked=${readiness.blocked.length}; authoritative=${readiness.authoritativeForApply}`;
|
|
246
|
-
}
|
|
247
|
-
function nextSyncBackAction(inspection) {
|
|
248
|
-
if (inspection.staleVerifyRecoveryCommand) {
|
|
249
|
-
return `${inspection.staleVerifyRecoveryCommand} only if you are intentionally repairing stale verify.md after reviewed task-contract changes.`;
|
|
250
|
-
}
|
|
251
|
-
if (inspection.status === 'ready') {
|
|
252
|
-
const approvedFlag = inspection.applyPolicy.requiresApproval ? ' --approved' : '';
|
|
253
|
-
const command = `sdd sync-back apply ${inspection.runId} --branch ${inspection.branch} --task ${inspection.taskId ?? 'TASK'}${approvedFlag}`;
|
|
254
|
-
return inspection.applyPolicy.requiresApproval
|
|
255
|
-
? `For diagnostic/recovery replay only: review ${inspection.proposalPath ?? 'the sync-back proposal'} and apply policy, then run ${command}.`
|
|
256
|
-
: `For diagnostic/recovery replay only, run ${command}.`;
|
|
257
|
-
}
|
|
258
|
-
return inspection.approvalCard.nextAction;
|
|
259
|
-
}
|
|
260
201
|
export function renderShipResult(result) {
|
|
261
202
|
const blockedCheck = result.checks.find((check) => check.status === 'BLOCKED');
|
|
262
203
|
const lines = [`SDD ship ${result.branch}`];
|