agentic-qe 3.14.2 → 3.14.4
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/.claude/agents/v3/qe-coverage-specialist.md +1 -1
- package/.claude/agents/v3/qe-fleet-commander.md +1 -1
- package/.claude/agents/v3/qe-pentest-validator.md +1 -1
- package/.claude/agents/v3/qe-queen-coordinator.md +1 -1
- package/.claude/agents/v3/qe-risk-assessor.md +1 -1
- package/.claude/agents/v3/qe-root-cause-analyzer.md +1 -1
- package/.claude/agents/v3/qe-security-auditor.md +1 -1
- package/.claude/agents/v3/qe-test-architect.md +1 -1
- package/.claude/commands/aqe-costs.md +10 -10
- package/.claude/helpers/advisor-call.cjs +3 -3
- package/.claude/helpers/v3/advisor-call.cjs +3 -3
- package/.claude/skills/.validation/examples/chaos-engineering-output.example.json +1 -1
- package/.claude/skills/.validation/examples/performance-testing-output.example.json +1 -1
- package/.claude/skills/.validation/examples/security-testing-output.example.json +1 -1
- package/.claude/skills/.validation/examples/testability-scoring-output.example.json +1 -1
- package/.claude/skills/.validation/schemas/skill-eval.schema.json +4 -1
- package/.claude/skills/.validation/schemas/skill-frontmatter.schema.json +1 -1
- package/.claude/skills/.validation/schemas/skill-output.template.json +1 -1
- package/.claude/skills/.validation/templates/eval.template.yaml +1 -1
- package/.claude/skills/.validation/templates/security-testing-eval.template.yaml +1 -1
- package/.claude/skills/.validation/templates/skill-frontmatter.example.yaml +1 -1
- package/.claude/skills/.validation/test-data/sample-output.json +1 -1
- package/.claude/skills/a11y-ally/SKILL.md +1 -1
- package/.claude/skills/a11y-ally/evals/a11y-ally.yaml +1 -1
- package/.claude/skills/accessibility-testing/evals/accessibility-testing.yaml +1 -1
- package/.claude/skills/api-testing-patterns/evals/api-testing-patterns.yaml +1 -1
- package/.claude/skills/chaos-engineering-resilience/evals/chaos-engineering-resilience.yaml +1 -1
- package/.claude/skills/cicd-pipeline-qe-orchestrator/evals/cicd-pipeline-qe-orchestrator.yaml +1 -1
- package/.claude/skills/compatibility-testing/evals/compatibility-testing.yaml +1 -1
- package/.claude/skills/compliance-testing/evals/compliance-testing.yaml +1 -1
- package/.claude/skills/contract-testing/evals/contract-testing.yaml +1 -1
- package/.claude/skills/database-testing/evals/database-testing.yaml +1 -1
- package/.claude/skills/enterprise-integration-testing/evals/enterprise-integration-testing.yaml +1 -1
- package/.claude/skills/localization-testing/evals/localization-testing.yaml +1 -1
- package/.claude/skills/middleware-testing-patterns/evals/middleware-testing-patterns.yaml +1 -1
- package/.claude/skills/mobile-testing/evals/mobile-testing.yaml +1 -1
- package/.claude/skills/mutation-testing/evals/mutation-testing.yaml +1 -1
- package/.claude/skills/mutation-testing/test-data/sample-output.json +1 -1
- package/.claude/skills/n8n-expression-testing/evals/n8n-expression-testing.yaml +1 -1
- package/.claude/skills/n8n-integration-testing-patterns/evals/n8n-integration-testing-patterns.yaml +1 -1
- package/.claude/skills/n8n-security-testing/evals/n8n-security-testing.yaml +1 -1
- package/.claude/skills/n8n-trigger-testing-strategies/evals/n8n-trigger-testing-strategies.yaml +1 -1
- package/.claude/skills/n8n-workflow-testing-fundamentals/evals/n8n-workflow-testing-fundamentals.yaml +1 -1
- package/.claude/skills/observability-testing-patterns/evals/observability-testing-patterns.yaml +1 -1
- package/.claude/skills/pentest-validation/evals/pentest-validation.yaml +1 -1
- package/.claude/skills/performance-testing/evals/performance-testing.yaml +1 -1
- package/.claude/skills/qcsd-cicd-swarm/evals/qcsd-cicd-swarm.yaml +1 -1
- package/.claude/skills/qcsd-development-swarm/evals/qcsd-development-swarm.yaml +1 -1
- package/.claude/skills/qcsd-ideation-swarm/evals/qcsd-ideation-swarm.yaml +1 -1
- package/.claude/skills/qcsd-production-swarm/evals/qcsd-production-swarm.yaml +1 -1
- package/.claude/skills/qcsd-refinement-swarm/evals/qcsd-refinement-swarm.yaml +1 -1
- package/.claude/skills/qe-browser/evals/qe-browser.yaml +1 -1
- package/.claude/skills/qe-chaos-resilience/evals/qe-chaos-resilience.yaml +1 -1
- package/.claude/skills/qe-code-intelligence/evals/qe-code-intelligence.yaml +1 -1
- package/.claude/skills/qe-coverage-analysis/evals/qe-coverage-analysis.yaml +1 -1
- package/.claude/skills/qe-defect-intelligence/evals/qe-defect-intelligence.yaml +1 -1
- package/.claude/skills/qe-learning-optimization/evals/qe-learning-optimization.yaml +2 -2
- package/.claude/skills/qe-quality-assessment/evals/qe-quality-assessment.yaml +1 -1
- package/.claude/skills/qe-requirements-validation/evals/qe-requirements-validation.yaml +1 -1
- package/.claude/skills/qe-test-execution/evals/qe-test-execution.yaml +1 -1
- package/.claude/skills/qe-test-generation/evals/qe-test-generation.yaml +1 -1
- package/.claude/skills/qe-visual-accessibility/evals/qe-visual-accessibility.yaml +1 -1
- package/.claude/skills/quality-metrics/evals/quality-metrics.yaml +1 -1
- package/.claude/skills/regression-testing/evals/regression-testing.yaml +1 -1
- package/.claude/skills/risk-based-testing/evals/risk-based-testing.yaml +1 -1
- package/.claude/skills/security-testing/evals/security-testing.yaml +1 -1
- package/.claude/skills/security-visual-testing/evals/security-visual-testing.yaml +1 -1
- package/.claude/skills/shift-left-testing/evals/shift-left-testing.yaml +1 -1
- package/.claude/skills/shift-right-testing/evals/shift-right-testing.yaml +1 -1
- package/.claude/skills/skills-manifest.json +1 -1
- package/.claude/skills/test-automation-strategy/evals/test-automation-strategy.yaml +1 -1
- package/.claude/skills/test-data-management/evals/test-data-management.yaml +1 -1
- package/.claude/skills/test-design-techniques/evals/test-design-techniques.yaml +1 -1
- package/.claude/skills/test-reporting-analytics/evals/test-reporting-analytics.yaml +1 -1
- package/.claude/skills/testability-scoring/evals/testability-scoring.yaml +1 -1
- package/.claude/skills/validation-pipeline/evals/validation-pipeline.yaml +1 -1
- package/.claude/skills/verification-quality/evals/verification-quality.yaml +1 -1
- package/.claude/skills/visual-testing-advanced/evals/visual-testing-advanced.yaml +1 -1
- package/.claude/skills/wms-testing-patterns/evals/wms-testing-patterns.yaml +1 -1
- package/.opencode/agents/collective-intelligence-coordinator.yaml +1 -1
- package/.opencode/agents/ddd-domain-expert.yaml +1 -1
- package/.opencode/agents/memory-specialist.yaml +1 -1
- package/.opencode/agents/performance-engineer.yaml +1 -1
- package/.opencode/agents/qe-accessibility-auditor.yaml +1 -1
- package/.opencode/agents/qe-api-contract-validator.yaml +1 -1
- package/.opencode/agents/qe-bdd-generator.yaml +1 -1
- package/.opencode/agents/qe-chaos-engineer.yaml +1 -1
- package/.opencode/agents/qe-code-complexity.yaml +1 -1
- package/.opencode/agents/qe-code-intelligence.yaml +1 -1
- package/.opencode/agents/qe-coverage-analyzer.yaml +1 -1
- package/.opencode/agents/qe-defect-predictor.yaml +1 -1
- package/.opencode/agents/qe-dependency-mapper.yaml +1 -1
- package/.opencode/agents/qe-deployment-advisor.yaml +1 -1
- package/.opencode/agents/qe-devils-advocate.yaml +1 -1
- package/.opencode/agents/qe-flaky-hunter.yaml +1 -1
- package/.opencode/agents/qe-fleet-commander.yaml +1 -1
- package/.opencode/agents/qe-gap-detector.yaml +1 -1
- package/.opencode/agents/qe-graphql-tester.yaml +1 -1
- package/.opencode/agents/qe-impact-analyzer.yaml +1 -1
- package/.opencode/agents/qe-integration-architect.yaml +1 -1
- package/.opencode/agents/qe-integration-tester.yaml +1 -1
- package/.opencode/agents/qe-kg-builder.yaml +1 -1
- package/.opencode/agents/qe-learning-coordinator.yaml +1 -1
- package/.opencode/agents/qe-load-tester.yaml +1 -1
- package/.opencode/agents/qe-message-broker-tester.yaml +1 -1
- package/.opencode/agents/qe-metrics-optimizer.yaml +1 -1
- package/.opencode/agents/qe-middleware-validator.yaml +1 -1
- package/.opencode/agents/qe-mutation-tester.yaml +1 -1
- package/.opencode/agents/qe-odata-contract-tester.yaml +1 -1
- package/.opencode/agents/qe-parallel-executor.yaml +1 -1
- package/.opencode/agents/qe-pattern-learner.yaml +1 -1
- package/.opencode/agents/qe-pentest-validator.yaml +1 -1
- package/.opencode/agents/qe-performance-tester.yaml +1 -1
- package/.opencode/agents/qe-product-factors-assessor.yaml +1 -1
- package/.opencode/agents/qe-property-tester.yaml +1 -1
- package/.opencode/agents/qe-quality-criteria-recommender.yaml +1 -1
- package/.opencode/agents/qe-quality-gate.yaml +1 -1
- package/.opencode/agents/qe-queen-coordinator.yaml +1 -1
- package/.opencode/agents/qe-qx-partner.yaml +1 -1
- package/.opencode/agents/qe-regression-analyzer.yaml +1 -1
- package/.opencode/agents/qe-requirements-validator.yaml +1 -1
- package/.opencode/agents/qe-responsive-tester.yaml +1 -1
- package/.opencode/agents/qe-retry-handler.yaml +1 -1
- package/.opencode/agents/qe-risk-assessor.yaml +1 -1
- package/.opencode/agents/qe-root-cause-analyzer.yaml +1 -1
- package/.opencode/agents/qe-sap-idoc-tester.yaml +1 -1
- package/.opencode/agents/qe-sap-rfc-tester.yaml +1 -1
- package/.opencode/agents/qe-security-auditor.yaml +1 -1
- package/.opencode/agents/qe-security-scanner.yaml +1 -1
- package/.opencode/agents/qe-soap-tester.yaml +1 -1
- package/.opencode/agents/qe-sod-analyzer.yaml +1 -1
- package/.opencode/agents/qe-tdd-specialist.yaml +1 -1
- package/.opencode/agents/qe-test-generator.yaml +1 -1
- package/.opencode/agents/qe-test-idea-rewriter.yaml +1 -1
- package/.opencode/agents/qe-transfer-specialist.yaml +1 -1
- package/.opencode/agents/qe-visual-tester.yaml +1 -1
- package/.opencode/agents/security-architect.yaml +1 -1
- package/.opencode/agents/security-auditor.yaml +1 -1
- package/CHANGELOG.md +183 -0
- package/README.md +7 -2
- package/assets/agents/v3/helpers/advisor-call.cjs +3 -3
- package/assets/agents/v3/qe-coverage-specialist.md +1 -1
- package/assets/agents/v3/qe-fleet-commander.md +1 -1
- package/assets/agents/v3/qe-pentest-validator.md +1 -1
- package/assets/agents/v3/qe-queen-coordinator.md +1 -1
- package/assets/agents/v3/qe-risk-assessor.md +1 -1
- package/assets/agents/v3/qe-root-cause-analyzer.md +1 -1
- package/assets/agents/v3/qe-security-auditor.md +1 -1
- package/assets/agents/v3/qe-test-architect.md +1 -1
- package/assets/skills/.validation/examples/chaos-engineering-output.example.json +1 -1
- package/assets/skills/.validation/examples/performance-testing-output.example.json +1 -1
- package/assets/skills/.validation/examples/security-testing-output.example.json +1 -1
- package/assets/skills/.validation/examples/testability-scoring-output.example.json +1 -1
- package/assets/skills/.validation/schemas/skill-eval.schema.json +4 -1
- package/assets/skills/.validation/schemas/skill-frontmatter.schema.json +1 -1
- package/assets/skills/.validation/schemas/skill-output.template.json +1 -1
- package/assets/skills/.validation/templates/eval.template.yaml +1 -1
- package/assets/skills/.validation/templates/security-testing-eval.template.yaml +1 -1
- package/assets/skills/.validation/templates/skill-frontmatter.example.yaml +1 -1
- package/assets/skills/.validation/test-data/sample-output.json +1 -1
- package/assets/skills/a11y-ally/SKILL.md +1 -1
- package/assets/skills/a11y-ally/evals/a11y-ally.yaml +1 -1
- package/assets/skills/accessibility-testing/evals/accessibility-testing.yaml +1 -1
- package/assets/skills/api-testing-patterns/evals/api-testing-patterns.yaml +1 -1
- package/assets/skills/chaos-engineering-resilience/evals/chaos-engineering-resilience.yaml +1 -1
- package/assets/skills/cicd-pipeline-qe-orchestrator/evals/cicd-pipeline-qe-orchestrator.yaml +1 -1
- package/assets/skills/compatibility-testing/evals/compatibility-testing.yaml +1 -1
- package/assets/skills/compliance-testing/evals/compliance-testing.yaml +1 -1
- package/assets/skills/contract-testing/evals/contract-testing.yaml +1 -1
- package/assets/skills/database-testing/evals/database-testing.yaml +1 -1
- package/assets/skills/enterprise-integration-testing/evals/enterprise-integration-testing.yaml +1 -1
- package/assets/skills/localization-testing/evals/localization-testing.yaml +1 -1
- package/assets/skills/middleware-testing-patterns/evals/middleware-testing-patterns.yaml +1 -1
- package/assets/skills/mobile-testing/evals/mobile-testing.yaml +1 -1
- package/assets/skills/mutation-testing/evals/mutation-testing.yaml +1 -1
- package/assets/skills/mutation-testing/test-data/sample-output.json +1 -1
- package/assets/skills/n8n-expression-testing/evals/n8n-expression-testing.yaml +1 -1
- package/assets/skills/n8n-integration-testing-patterns/evals/n8n-integration-testing-patterns.yaml +1 -1
- package/assets/skills/n8n-security-testing/evals/n8n-security-testing.yaml +1 -1
- package/assets/skills/n8n-trigger-testing-strategies/evals/n8n-trigger-testing-strategies.yaml +1 -1
- package/assets/skills/n8n-workflow-testing-fundamentals/evals/n8n-workflow-testing-fundamentals.yaml +1 -1
- package/assets/skills/observability-testing-patterns/evals/observability-testing-patterns.yaml +1 -1
- package/assets/skills/pentest-validation/evals/pentest-validation.yaml +1 -1
- package/assets/skills/performance-testing/evals/performance-testing.yaml +1 -1
- package/assets/skills/qcsd-cicd-swarm/evals/qcsd-cicd-swarm.yaml +1 -1
- package/assets/skills/qcsd-development-swarm/evals/qcsd-development-swarm.yaml +1 -1
- package/assets/skills/qcsd-ideation-swarm/evals/qcsd-ideation-swarm.yaml +1 -1
- package/assets/skills/qcsd-production-swarm/evals/qcsd-production-swarm.yaml +1 -1
- package/assets/skills/qcsd-refinement-swarm/evals/qcsd-refinement-swarm.yaml +1 -1
- package/assets/skills/qe-browser/evals/qe-browser.yaml +1 -1
- package/assets/skills/qe-chaos-resilience/evals/qe-chaos-resilience.yaml +1 -1
- package/assets/skills/qe-code-intelligence/evals/qe-code-intelligence.yaml +1 -1
- package/assets/skills/qe-coverage-analysis/evals/qe-coverage-analysis.yaml +1 -1
- package/assets/skills/qe-defect-intelligence/evals/qe-defect-intelligence.yaml +1 -1
- package/assets/skills/qe-learning-optimization/evals/qe-learning-optimization.yaml +2 -2
- package/assets/skills/qe-quality-assessment/evals/qe-quality-assessment.yaml +1 -1
- package/assets/skills/qe-requirements-validation/evals/qe-requirements-validation.yaml +1 -1
- package/assets/skills/qe-test-execution/evals/qe-test-execution.yaml +1 -1
- package/assets/skills/qe-test-generation/evals/qe-test-generation.yaml +1 -1
- package/assets/skills/qe-visual-accessibility/evals/qe-visual-accessibility.yaml +1 -1
- package/assets/skills/quality-metrics/evals/quality-metrics.yaml +1 -1
- package/assets/skills/regression-testing/evals/regression-testing.yaml +1 -1
- package/assets/skills/risk-based-testing/evals/risk-based-testing.yaml +1 -1
- package/assets/skills/security-testing/evals/security-testing.yaml +1 -1
- package/assets/skills/security-visual-testing/evals/security-visual-testing.yaml +1 -1
- package/assets/skills/shift-left-testing/evals/shift-left-testing.yaml +1 -1
- package/assets/skills/shift-right-testing/evals/shift-right-testing.yaml +1 -1
- package/assets/skills/skills-manifest.json +1 -1
- package/assets/skills/test-automation-strategy/evals/test-automation-strategy.yaml +1 -1
- package/assets/skills/test-data-management/evals/test-data-management.yaml +1 -1
- package/assets/skills/test-design-techniques/evals/test-design-techniques.yaml +1 -1
- package/assets/skills/test-reporting-analytics/evals/test-reporting-analytics.yaml +1 -1
- package/assets/skills/testability-scoring/evals/testability-scoring.yaml +1 -1
- package/assets/skills/validation-pipeline/evals/validation-pipeline.yaml +1 -1
- package/assets/skills/verification-quality/evals/verification-quality.yaml +1 -1
- package/assets/skills/visual-testing-advanced/evals/visual-testing-advanced.yaml +1 -1
- package/assets/skills/wms-testing-patterns/evals/wms-testing-patterns.yaml +1 -1
- package/dist/cli/bundle.js +7 -7
- package/dist/cli/chunks/adapter-TNNNJRDG.js +2 -0
- package/dist/cli/chunks/{agent-booster-wasm-SD5N32MX.js → agent-booster-wasm-5PC7D2FW.js} +2 -2
- package/dist/cli/chunks/{agent-handler-OZRSJM7F.js → agent-handler-RDNTK4CA.js} +2 -2
- package/dist/cli/chunks/{agent-memory-branch-NYTRANRN.js → agent-memory-branch-NAAMBWIR.js} +2 -2
- package/dist/cli/chunks/aqe-learning-engine-5ZRMYJLB.js +2 -0
- package/dist/cli/chunks/{arena-EX3SC2DP.js → arena-HXTWJ5YY.js} +4 -4
- package/dist/cli/chunks/{arena-FOTVSRK4.js → arena-KXFHRWX4.js} +2 -2
- package/dist/cli/chunks/{audit-Q5GHSUQY.js → audit-YSGA7UWT.js} +3 -3
- package/dist/cli/chunks/base-KWZHOPSH.js +2 -0
- package/dist/cli/chunks/{better-sqlite3-S7M5R2HS.js → better-sqlite3-UICJZIDG.js} +2 -2
- package/dist/cli/chunks/brain-handler-ET6YAP4B.js +90 -0
- package/dist/cli/chunks/{branch-enumerator-RWAXTGEU.js → branch-enumerator-SS7UNVIA.js} +2 -2
- package/dist/cli/chunks/{browser-IGDESJGF.js → browser-77GI6KBE.js} +2 -2
- package/dist/cli/chunks/browser-workflow-2FZTKDUL.js +2 -0
- package/dist/cli/chunks/{chunk-U54OOA24.js → chunk-2JW3BCGG.js} +1 -1
- package/dist/cli/chunks/{chunk-LML5VTFK.js → chunk-33YYYWBQ.js} +1 -1
- package/dist/cli/chunks/{chunk-P64DMQ2C.js → chunk-34WO57CW.js} +1 -1
- package/dist/cli/chunks/{chunk-57TNBR2P.js → chunk-3QHGWY7T.js} +2 -2
- package/dist/cli/chunks/chunk-3TW5W5LX.js +2 -0
- package/dist/cli/chunks/{chunk-S4MR6RTE.js → chunk-3UPAMMCB.js} +1 -1
- package/dist/cli/chunks/{chunk-5WJUNRTY.js → chunk-3VOQRIQM.js} +2 -2
- package/dist/cli/chunks/{chunk-4RT7I7PI.js → chunk-3X3DJZJJ.js} +1 -1
- package/dist/cli/chunks/{chunk-RFNEHNJV.js → chunk-4MHXCAG2.js} +1 -1
- package/dist/cli/chunks/{chunk-PMUBG2RU.js → chunk-4OYFXLBK.js} +2 -2
- package/dist/cli/chunks/{chunk-W2FLULF4.js → chunk-55RWDRJD.js} +3 -3
- package/dist/cli/chunks/chunk-5R3QL7WN.js +14 -0
- package/dist/cli/chunks/{chunk-RHJVDCLV.js → chunk-5SJHQ2CO.js} +2 -2
- package/dist/cli/chunks/{chunk-HBTC4L53.js → chunk-5YPYDPBJ.js} +2 -2
- package/dist/cli/chunks/chunk-5Z6XZV7K.js +65 -0
- package/dist/cli/chunks/{chunk-6EHN7Q2Q.js → chunk-64PFWE2F.js} +2 -2
- package/dist/cli/chunks/{chunk-KFXZDQ5J.js → chunk-6CQN24ZK.js} +1 -1
- package/dist/cli/chunks/{chunk-WVY22NHZ.js → chunk-6J62K3SW.js} +2 -2
- package/dist/cli/chunks/{chunk-TLPL3EQY.js → chunk-6KJABXAR.js} +2 -2
- package/dist/cli/chunks/{chunk-PZKZY6PB.js → chunk-6QYNWR7U.js} +2 -2
- package/dist/cli/chunks/{chunk-A7N3YUDJ.js → chunk-6TPKK7LD.js} +2 -2
- package/dist/cli/chunks/{chunk-RYJHREYS.js → chunk-6UWGMOND.js} +2 -2
- package/dist/cli/chunks/{chunk-XPLSLHRB.js → chunk-6VRA2QGL.js} +1 -1
- package/dist/cli/chunks/{chunk-Q3JHS3UD.js → chunk-7D777LTF.js} +2 -2
- package/dist/cli/chunks/chunk-7ZIOFPL3.js +2 -0
- package/dist/cli/chunks/chunk-A4FYONNU.js +2 -0
- package/dist/cli/chunks/{chunk-7AFBNU6K.js → chunk-AIHDEEJO.js} +2 -2
- package/dist/cli/chunks/{chunk-L2F7FVIU.js → chunk-AUXFKCQL.js} +2 -2
- package/dist/cli/chunks/{chunk-67A6PEZM.js → chunk-AWWNB2T7.js} +2 -2
- package/dist/cli/chunks/{chunk-DVHWLAEO.js → chunk-BDESSCVR.js} +3 -3
- package/dist/cli/chunks/{chunk-JQ2ZD3WO.js → chunk-BFP7KO7P.js} +2 -2
- package/dist/cli/chunks/{chunk-N5ZRUOMR.js → chunk-BGE6FOLM.js} +2 -2
- package/dist/cli/chunks/{chunk-BWRHOIYC.js → chunk-BOARZKU3.js} +2 -2
- package/dist/cli/chunks/{chunk-CTCQOYBS.js → chunk-BOZZYWCR.js} +1 -1
- package/dist/cli/chunks/{chunk-NHHWLJQF.js → chunk-C2WU3533.js} +1 -1
- package/dist/cli/chunks/{chunk-5EHLGOWW.js → chunk-CDHQFHRP.js} +2 -2
- package/dist/cli/chunks/chunk-CDKG6EI7.js +16 -0
- package/dist/cli/chunks/{chunk-RGH3WGWD.js → chunk-CIKSHTEQ.js} +3 -3
- package/dist/cli/chunks/{chunk-K574FLVB.js → chunk-CIZ5JPDC.js} +2 -2
- package/dist/cli/chunks/{chunk-LWUJQGCS.js → chunk-CLTMDCSE.js} +2 -2
- package/dist/cli/chunks/{chunk-GHQ5PUOV.js → chunk-CNG6GQEZ.js} +2 -2
- package/dist/cli/chunks/{chunk-3C2K4YMS.js → chunk-CSU5NYOX.js} +3 -3
- package/dist/cli/chunks/chunk-CU46J64M.js +4 -0
- package/dist/cli/chunks/{chunk-EH5OCHAJ.js → chunk-CXQPR5MY.js} +1 -1
- package/dist/cli/chunks/chunk-DA5K5754.js +96 -0
- package/dist/cli/chunks/{chunk-FVGTINVR.js → chunk-DAEFDCJ4.js} +81 -65
- package/dist/cli/chunks/{chunk-MH73D5TN.js → chunk-DEYLEDJN.js} +2 -2
- package/dist/cli/chunks/{chunk-7FWP7CZY.js → chunk-DFZCKIGY.js} +3 -3
- package/dist/cli/chunks/{chunk-QXTW7XCS.js → chunk-DHJPWQBR.js} +2 -2
- package/dist/cli/chunks/{chunk-NAZVPZJS.js → chunk-DOTK76IJ.js} +2 -2
- package/dist/cli/chunks/{chunk-RCI64RIJ.js → chunk-DPFRKBOG.js} +2 -2
- package/dist/cli/chunks/{chunk-WMW47QMR.js → chunk-EDJ3O7RH.js} +2 -2
- package/dist/cli/chunks/{chunk-4K27ESCA.js → chunk-EKQ673SA.js} +1 -1
- package/dist/cli/chunks/chunk-F3SBRQC6.js +2 -0
- package/dist/cli/chunks/{chunk-4N44UJGI.js → chunk-FGYMFUE2.js} +2 -2
- package/dist/cli/chunks/chunk-FLYOJOKN.js +2 -0
- package/dist/cli/chunks/{chunk-W4OQYLYO.js → chunk-FRH6VAUS.js} +1 -1
- package/dist/cli/chunks/{chunk-VOYJJ3KA.js → chunk-FWGOHAAB.js} +2 -2
- package/dist/cli/chunks/{chunk-D4RCV4LY.js → chunk-G6T45OIC.js} +2 -2
- package/dist/cli/chunks/{chunk-2EHFEMRU.js → chunk-GPLQ6DOK.js} +2 -2
- package/dist/cli/chunks/{chunk-RVCWSAXI.js → chunk-HDSAM2RE.js} +2 -2
- package/dist/cli/chunks/chunk-HIVA55CJ.js +2 -0
- package/dist/cli/chunks/{chunk-6F4WHN7D.js → chunk-HIYXCDEP.js} +1 -1
- package/dist/cli/chunks/{chunk-NRR23SJV.js → chunk-HUWNIPZ5.js} +1 -1
- package/dist/cli/chunks/{chunk-4M6A3PVJ.js → chunk-HV2J7KKQ.js} +2 -2
- package/dist/cli/chunks/{chunk-CJHVOBJY.js → chunk-IFCLB7FJ.js} +1 -1
- package/dist/cli/chunks/{chunk-Q335R4MR.js → chunk-IPR4QP3H.js} +2 -2
- package/dist/cli/chunks/{chunk-HZMLNM2T.js → chunk-ISDMD6EU.js} +178 -175
- package/dist/cli/chunks/chunk-J6GNQS62.js +5 -0
- package/dist/cli/chunks/{chunk-3DFFFXXO.js → chunk-JBNEE5UH.js} +2 -2
- package/dist/cli/chunks/chunk-JZ3ORVZ3.js +54 -0
- package/dist/cli/chunks/{chunk-T4C56HBW.js → chunk-KCZR45PA.js} +2 -2
- package/dist/cli/chunks/chunk-KGT36Z42.js +14 -0
- package/dist/cli/chunks/{chunk-JIUF6NV6.js → chunk-KHFNNVJA.js} +2 -2
- package/dist/cli/chunks/{chunk-7SK6IMGZ.js → chunk-KPA7MZ6C.js} +2 -2
- package/dist/cli/chunks/{chunk-G2CLZVYI.js → chunk-KSKEF7LZ.js} +3 -3
- package/dist/cli/chunks/{chunk-6LMLN5R2.js → chunk-M2JBBZQB.js} +2 -2
- package/dist/cli/chunks/{chunk-UHTAI4ZB.js → chunk-M4WJKGVK.js} +1 -1
- package/dist/cli/chunks/{chunk-KZOBLLXW.js → chunk-M5QUBZY6.js} +2 -2
- package/dist/cli/chunks/{chunk-42WUDDUU.js → chunk-MCUJEZT6.js} +2 -2
- package/dist/cli/chunks/{chunk-ZFGND4QK.js → chunk-MDWCE7YW.js} +1 -1
- package/dist/cli/chunks/{chunk-TYVQNYXX.js → chunk-MEGDYJPV.js} +7 -7
- package/dist/cli/chunks/chunk-MIQTXNBG.js +4 -0
- package/dist/cli/chunks/{chunk-PFXX5Q32.js → chunk-MNW6QGNJ.js} +2 -2
- package/dist/cli/chunks/{chunk-IVGVOGIZ.js → chunk-MOBNBMFW.js} +1 -1
- package/dist/cli/chunks/{chunk-NWFIJNEB.js → chunk-MTZH7AHC.js} +1 -1
- package/dist/cli/chunks/chunk-MVNP7GIR.js +2 -0
- package/dist/cli/chunks/chunk-MVPCNSPY.js +2 -0
- package/dist/cli/chunks/chunk-NA7B2QYB.js +2 -0
- package/dist/cli/chunks/{chunk-E3Q7WNJD.js → chunk-NDPFGIMJ.js} +3 -3
- package/dist/cli/chunks/{chunk-GHUPID5E.js → chunk-NJBGXDQ7.js} +1 -1
- package/dist/cli/chunks/chunk-OBAP2TXZ.js +2 -0
- package/dist/cli/chunks/{chunk-OBCKP3G4.js → chunk-OCWWP5PL.js} +4 -4
- package/dist/cli/chunks/{chunk-CJCT452S.js → chunk-ODKLFVYC.js} +2 -2
- package/dist/cli/chunks/{chunk-YN6W2XIT.js → chunk-ONII3572.js} +4 -4
- package/dist/cli/chunks/{chunk-QW4LN5NK.js → chunk-OSLYSG3B.js} +2 -2
- package/dist/cli/chunks/{chunk-HZ6NEJMO.js → chunk-OULHKEVH.js} +2 -2
- package/dist/cli/chunks/{chunk-CG2MUD7U.js → chunk-PAWXJ73E.js} +1 -1
- package/dist/cli/chunks/chunk-PEPFCPES.js +2 -0
- package/dist/cli/chunks/{chunk-UIGEUEBT.js → chunk-PFR4G3DJ.js} +2 -2
- package/dist/cli/chunks/chunk-PO3IXGMQ.js +2 -0
- package/dist/cli/chunks/{chunk-6SZKLWZT.js → chunk-PZJOPURC.js} +5 -5
- package/dist/cli/chunks/{chunk-ARMZYHYL.js → chunk-Q5DO24IJ.js} +2 -2
- package/dist/cli/chunks/chunk-QGIU2WRL.js +2 -0
- package/dist/cli/chunks/{chunk-N3RN4QTC.js → chunk-R4VL6E65.js} +2 -2
- package/dist/cli/chunks/{chunk-MWQTACNA.js → chunk-R5NE6B2M.js} +2 -2
- package/dist/cli/chunks/{chunk-T46LOLW3.js → chunk-RJCYCLZV.js} +2 -2
- package/dist/cli/chunks/{chunk-CH2TQCV5.js → chunk-SGYJ4NFZ.js} +1 -1
- package/dist/cli/chunks/{chunk-NG2UVPTW.js → chunk-SRKETSFF.js} +1 -1
- package/dist/cli/chunks/{chunk-QFUX7ELG.js → chunk-STJCATGN.js} +2 -2
- package/dist/cli/chunks/{chunk-CIESXO73.js → chunk-STM3UDNO.js} +1 -1
- package/dist/cli/chunks/{chunk-C7AXRI7E.js → chunk-T6BVLVI5.js} +1 -1
- package/dist/cli/chunks/{chunk-HSJ5FQCF.js → chunk-TDZ53WO2.js} +2 -2
- package/dist/cli/chunks/{chunk-YF5OP6CR.js → chunk-TPGED2IF.js} +2 -2
- package/dist/cli/chunks/{chunk-2TG24LYQ.js → chunk-TSRSV3LD.js} +1 -1
- package/dist/cli/chunks/{chunk-6VKJAMZY.js → chunk-TT23RRB7.js} +1 -1
- package/dist/cli/chunks/{chunk-WXMSRBQF.js → chunk-TWAWHOP7.js} +2 -2
- package/dist/cli/chunks/{chunk-ZCDXJ27H.js → chunk-U5K45TFH.js} +1 -1
- package/dist/cli/chunks/{chunk-3WV4H33V.js → chunk-UDHKLT4C.js} +1 -1
- package/dist/cli/chunks/{chunk-VNAKBHJI.js → chunk-UEM7ZF5K.js} +2 -2
- package/dist/cli/chunks/{chunk-4ZUZDFAA.js → chunk-UGVHCMUN.js} +6 -6
- package/dist/cli/chunks/{chunk-NNOMDM4N.js → chunk-V3QLFNA2.js} +2 -2
- package/dist/cli/chunks/{chunk-S7N4BKI3.js → chunk-VD6QRULW.js} +2 -2
- package/dist/cli/chunks/{chunk-WBH4C4BG.js → chunk-VIHTL3U2.js} +2 -2
- package/dist/cli/chunks/chunk-W7BWUTVV.js +2 -0
- package/dist/cli/chunks/{chunk-IWFL6EFI.js → chunk-WLG5AJ4N.js} +2 -2
- package/dist/cli/chunks/{chunk-KEEBUVGV.js → chunk-XC7DYDSY.js} +8 -8
- package/dist/cli/chunks/{chunk-F2KRT2II.js → chunk-XJ7QNVI5.js} +3 -3
- package/dist/cli/chunks/chunk-XRT2WRMS.js +2 -0
- package/dist/cli/chunks/{chunk-ADK7DF3G.js → chunk-XRYF6JV7.js} +2 -2
- package/dist/cli/chunks/{chunk-PWEIDHT7.js → chunk-XWMZ6D6N.js} +2 -2
- package/dist/cli/chunks/{chunk-ICKLBATY.js → chunk-Y3MW3YBC.js} +2 -2
- package/dist/cli/chunks/chunk-YNXS6CGV.js +2 -0
- package/dist/cli/chunks/{chunk-PVHO6KLB.js → chunk-Z3RHREWF.js} +1 -1
- package/dist/cli/chunks/{chunk-EAJK25IS.js → chunk-ZBAKA4YB.js} +1 -1
- package/dist/cli/chunks/chunk-ZBJ4XOOV.js +180 -0
- package/dist/cli/chunks/chunk-ZBQY5GLF.js +11 -0
- package/dist/cli/chunks/{chunk-R5RNOLHI.js → chunk-ZJ26AQA5.js} +1 -1
- package/dist/cli/chunks/{chunk-KPFG4OIM.js → chunk-ZNEMGX5O.js} +1 -1
- package/dist/cli/chunks/{chunk-2H5YJ5ZK.js → chunk-ZNPKDCZR.js} +2 -2
- package/dist/cli/chunks/{chunk-DW6ZMNMR.js → chunk-ZZDIMOOV.js} +2 -2
- package/dist/cli/chunks/ci-464KPQNP.js +81 -0
- package/dist/cli/chunks/ci-output-I7FX2RSO.js +2 -0
- package/dist/cli/chunks/{circuit-breaker-4WST3QSA.js → circuit-breaker-3FW237WW.js} +2 -2
- package/dist/cli/chunks/{claude-flow-setup-KB4TKMYI.js → claude-flow-setup-6JKMBPGU.js} +2 -2
- package/dist/cli/chunks/client-7E4LM2WW.js +2 -0
- package/dist/cli/chunks/{cline-installer-W2ZHQ6WM.js → cline-installer-UWFHT6VY.js} +2 -2
- package/dist/cli/chunks/{code-TF2AVR5D.js → code-KQSUT3FS.js} +29 -29
- package/dist/cli/chunks/{code-index-extractor-RMDRUVQJ.js → code-index-extractor-PABBNUSC.js} +2 -2
- package/dist/cli/chunks/{codex-installer-VSTRHJHV.js → codex-installer-CQ24DTP5.js} +2 -2
- package/dist/cli/chunks/{completions-3Q37QVFR.js → completions-7RWHAUAR.js} +2 -2
- package/dist/cli/chunks/complexity-analyzer-XPOAF33E.js +2 -0
- package/dist/cli/chunks/{continuedev-installer-VTEXM455.js → continuedev-installer-V4F2FIZP.js} +2 -2
- package/dist/cli/chunks/{copilot-installer-AGY7DQUS.js → copilot-installer-JMICURQB.js} +2 -2
- package/dist/cli/chunks/core-handlers-IFG3757P.js +2 -0
- package/dist/cli/chunks/cost-tracker-5OFHEYFJ.js +2 -0
- package/dist/cli/chunks/{coverage-TT64IOS4.js → coverage-QKN57JDS.js} +3 -3
- package/dist/cli/chunks/cross-domain-router-EK7W4PGP.js +2 -0
- package/dist/cli/chunks/{cursor-installer-OVOJIOHN.js → cursor-installer-GBJ7YXSM.js} +2 -2
- package/dist/cli/chunks/{daemon-DMFZMXKA.js → daemon-GKP7CMEK.js} +3 -3
- package/dist/cli/chunks/{daemon-XCULEHWY.js → daemon-IAVSO6HK.js} +4 -4
- package/dist/cli/chunks/{dag-attention-scheduler-WW2RX4B5.js → dag-attention-scheduler-S225TCI7.js} +2 -2
- package/dist/cli/chunks/{detect-QNWIM232.js → detect-IUYH422U.js} +2 -2
- package/dist/cli/chunks/{dist-node-6GQIY3CG.js → dist-node-2YRE6A7C.js} +2 -2
- package/dist/cli/chunks/{domain-handler-6RJPDELX.js → domain-handler-PL2TZC6H.js} +2 -2
- package/dist/cli/chunks/domain-plugins-HCGLXKIT.js +2 -0
- package/dist/cli/chunks/{domain-transfer-WK524LBS.js → domain-transfer-KQJRUPXA.js} +2 -2
- package/dist/cli/chunks/dream-NFSCSLY7.js +2 -0
- package/dist/cli/chunks/{embed-and-insert-pattern-SO6GWJW7.js → embed-and-insert-pattern-ZPAG7235.js} +2 -2
- package/dist/cli/chunks/eval-WCK7KNFN.js +17 -0
- package/dist/cli/chunks/{experience-capture-middleware-BCCJ35OX.js → experience-capture-middleware-2MSQWSAR.js} +3 -3
- package/dist/cli/chunks/{fast-paths-CATDDBEU.js → fast-paths-VYOSIBKF.js} +2 -2
- package/dist/cli/chunks/{feature-flags-BUXNAORY.js → feature-flags-UJRHFBRX.js} +2 -2
- package/dist/cli/chunks/{feature-flags-KNNWWP5G.js → feature-flags-WCFUKHNQ.js} +2 -2
- package/dist/cli/chunks/{file-discovery-S4HF3O7D.js → file-discovery-JDGL4ZWS.js} +2 -2
- package/dist/cli/chunks/fleet-ROXVMZ2F.js +43 -0
- package/dist/cli/chunks/{gnn-wrapper-G7ABZUG7.js → gnn-wrapper-NIO4ZCO3.js} +2 -2
- package/dist/cli/chunks/{heartbeat-handler-UFMELIWT.js → heartbeat-handler-PI42WD3C.js} +4 -4
- package/dist/cli/chunks/heartbeat-scheduler-ZATCDJDK.js +2 -0
- package/dist/cli/chunks/hnsw-adapter-WXQABRCA.js +2 -0
- package/dist/cli/chunks/hnsw-index-TPSWLEA5.js +2 -0
- package/dist/cli/chunks/{hnsw-legacy-bridge-YIILSRXI.js → hnsw-legacy-bridge-YLC7SPK2.js} +2 -2
- package/dist/cli/chunks/{hnswlib-node-TSVRMXDH.js → hnswlib-node-LG6OS3B7.js} +2 -2
- package/dist/cli/chunks/{hooks-OHQPNK74.js → hooks-WVALP5GX.js} +10 -10
- package/dist/cli/chunks/{hypergraph-engine-LY7PJDSL.js → hypergraph-engine-GJEMW3EG.js} +2 -2
- package/dist/cli/chunks/{hypergraph-handler-YGDYZO6H.js → hypergraph-handler-BLF6LXEV.js} +3 -3
- package/dist/cli/chunks/impact-analyzer-HNIU45P5.js +2 -0
- package/dist/cli/chunks/{init-handler-MTK65LI3.js → init-handler-K25RWRYY.js} +6 -6
- package/dist/cli/chunks/init-wizard-JUIPBMHG.js +2 -0
- package/dist/cli/chunks/kernel-5BOZQ754.js +2 -0
- package/dist/cli/chunks/{kilocode-installer-3IICU4RS.js → kilocode-installer-BXN6WZ7G.js} +2 -2
- package/dist/cli/chunks/{kiro-installer-MXOVQYQA.js → kiro-installer-PM362DLN.js} +12 -12
- package/dist/cli/chunks/knowledge-graph-EWDAENWM.js +2 -0
- package/dist/cli/chunks/learning-CPERDDRG.js +122 -0
- package/dist/cli/chunks/llm-router-GOAV5FPI.js +37 -0
- package/dist/cli/chunks/llm-router-service-3YT7JGBS.js +2 -0
- package/dist/cli/chunks/{load-F4PVAMXQ.js → load-2BG6SHAK.js} +2 -2
- package/dist/cli/chunks/load-test-BP2CPLIV.js +2 -0
- package/dist/cli/chunks/{mcp-DUYJUEME.js → mcp-5TTB37DC.js} +2 -2
- package/dist/cli/chunks/{memory-XTTYORAS.js → memory-4NHBYT6S.js} +5 -5
- package/dist/cli/chunks/memory-backend-4PYQBPRM.js +2 -0
- package/dist/cli/chunks/memory-handlers-2B27NITS.js +2 -0
- package/dist/cli/chunks/multi-model-executor-KCWSGCDT.js +14 -0
- package/dist/cli/chunks/{opencode-installer-33ULBU2F.js → opencode-installer-ATZLLK74.js} +2 -2
- package/dist/cli/chunks/{orchestrator-34ZJEKTJ.js → orchestrator-RKB7XJRG.js} +19 -19
- package/dist/cli/chunks/pattern-null-store-OYOQOV2O.js +2 -0
- package/dist/cli/chunks/{pattern-usage-recorder-GZ2M3F2E.js → pattern-usage-recorder-7VE4XDAI.js} +2 -2
- package/dist/cli/chunks/pipeline-LQZSNDD2.js +19 -0
- package/dist/cli/chunks/{platform-VKJFJIAW.js → platform-OD5H5U6G.js} +2 -2
- package/dist/cli/chunks/{plugin-5C5UBQUQ.js → plugin-EJ6K2MGU.js} +2 -2
- package/dist/cli/chunks/{prime-radiant-advanced-wasm-KO2PQI3D.js → prime-radiant-advanced-wasm-OIHTKJMN.js} +2 -2
- package/dist/cli/chunks/protocol-executor-3ATJTXWG.js +2 -0
- package/dist/cli/chunks/{protocol-handler-ZF74NIKA.js → protocol-handler-NRBROAU7.js} +2 -2
- package/dist/cli/chunks/{prove-MO5TQQU4.js → prove-EJOGEGD3.js} +2 -2
- package/dist/cli/chunks/qe-reasoning-bank-LLMYZT4X.js +2 -0
- package/dist/cli/chunks/{quality-EYIN6AER.js → quality-E55UC73D.js} +2 -2
- package/dist/cli/chunks/{quality-gate-V6OQM57O.js → quality-gate-OIQATNT3.js} +3 -3
- package/dist/cli/chunks/queen-coordinator-RN7L6KG5.js +2 -0
- package/dist/cli/chunks/{real-embeddings-AR7TZX7U.js → real-embeddings-FPFFNOSZ.js} +2 -2
- package/dist/cli/chunks/ref-validation-OPO6J7OL.js +2 -0
- package/dist/cli/chunks/{roocode-installer-46E626VZ.js → roocode-installer-ODY5KRWU.js} +2 -2
- package/dist/cli/chunks/router-MDHITQ2V.js +2 -0
- package/dist/cli/chunks/routing-feedback-5XLNJ3Y3.js +2 -0
- package/dist/cli/chunks/{routing-handler-ZNRVW6QW.js → routing-handler-KQM6VWLC.js} +4 -4
- package/dist/cli/chunks/{ruvector-commands-4L2CQMWS.js → ruvector-commands-U2GVV6PF.js} +2 -2
- package/dist/cli/chunks/rvf-dual-writer-JBW4O3II.js +2 -0
- package/dist/cli/chunks/rvf-migration-adapter-BPPQL4XJ.js +2 -0
- package/dist/cli/chunks/{rvf-migration-coordinator-H4RVGBIA.js → rvf-migration-coordinator-V2GHCJKN.js} +2 -2
- package/dist/cli/chunks/rvf-native-adapter-S4562CG5.js +2 -0
- package/dist/cli/chunks/rvf-store-integrity-KMIHD3LP.js +2 -0
- package/dist/cli/chunks/safe-db-FIRHSXVF.js +2 -0
- package/dist/cli/chunks/schedule-RVXFB4HK.js +2 -0
- package/dist/cli/chunks/scheduler-IKKAMAOO.js +2 -0
- package/dist/cli/chunks/security-P5NM353C.js +13 -0
- package/dist/cli/chunks/{shared-rvf-adapter-M6NNIZ5W.js → shared-rvf-adapter-LVIUOO4S.js} +2 -2
- package/dist/cli/chunks/{shared-rvf-dual-writer-LHMFCYVE.js → shared-rvf-dual-writer-2CSG7C4W.js} +2 -2
- package/dist/cli/chunks/sqlite-persistence-SQ3HCUQ7.js +2 -0
- package/dist/cli/chunks/{status-handler-GMIOXQIE.js → status-handler-6TU6O37R.js} +2 -2
- package/dist/cli/chunks/{structural-health-YZXHVHM6.js → structural-health-KBIJSTXJ.js} +2 -2
- package/dist/cli/chunks/{sync-GMPCPV5L.js → sync-LNHI5SB7.js} +2 -2
- package/dist/cli/chunks/{sync-N56UQGCS.js → sync-UHOX6RJW.js} +2 -2
- package/dist/cli/chunks/task-handler-AVDHMLGI.js +49 -0
- package/dist/cli/chunks/task-handlers-KYK4VTRA.js +9 -0
- package/dist/cli/chunks/{test-GQNCKRSP.js → test-DHAAI3DU.js} +11 -11
- package/dist/cli/chunks/test-scheduling-XDBZ3QC2.js +15 -0
- package/dist/cli/chunks/{token-bootstrap-76SRNXGG.js → token-bootstrap-GUTTLPZX.js} +2 -2
- package/dist/cli/chunks/{token-usage-O7CZDP5Q.js → token-usage-Q2YG5YQN.js} +2 -2
- package/dist/cli/chunks/{transformers-LTU4LSSC.js → transformers-F5UQTQCY.js} +2 -2
- package/dist/cli/chunks/{tree-sitter-wasm-parser-NQSQCMBM.js → tree-sitter-wasm-parser-DEGOHS6F.js} +2 -2
- package/dist/cli/chunks/types-JQ7EQO5Q.js +2 -0
- package/dist/cli/chunks/unified-memory-CXHLHB5I.js +2 -0
- package/dist/cli/chunks/unified-memory-hnsw-I7WAE54M.js +2 -0
- package/dist/cli/chunks/unified-persistence-6CPF65WI.js +2 -0
- package/dist/cli/chunks/{upgrade-OQWRBZ3R.js → upgrade-TJRVGHGD.js} +2 -2
- package/dist/cli/chunks/{validate-TH5SRP3E.js → validate-BWPCVHBN.js} +2 -2
- package/dist/cli/chunks/{validate-swarm-UITL2JUS.js → validate-swarm-QVVKCQLP.js} +2 -2
- package/dist/cli/chunks/{vibium-O6PRAG4J.js → vibium-ZFATIWHO.js} +2 -2
- package/dist/cli/chunks/visual-security-GNPHME5H.js +2 -0
- package/dist/cli/chunks/{web-tree-sitter-XBFBY4OF.js → web-tree-sitter-KPLY7ONR.js} +2 -2
- package/dist/cli/chunks/{windsurf-installer-DVT5NRNY.js → windsurf-installer-H7XM7ISA.js} +2 -2
- package/dist/cli/chunks/{witness-chain-VRSH2F36.js → witness-chain-RRN6NDCH.js} +2 -2
- package/dist/cli/chunks/witness-chain-VT4UHHBR.js +2 -0
- package/dist/cli/chunks/{witness-key-manager-GFHRDKQ4.js → witness-key-manager-DFRL42GE.js} +2 -2
- package/dist/cli/chunks/workflow-2ZQO6WYI.js +51 -0
- package/dist/cli/chunks/workflow-orchestrator-DB3HIECD.js +2 -0
- package/dist/cli/chunks/{wrappers-5LLLT7GM.js → wrappers-SUS6XEJD.js} +2 -2
- package/dist/cli/commands/ci.js +54 -28
- package/dist/cli/commands/code.js +6 -0
- package/dist/cli/commands/eval.js +3 -2
- package/dist/cli/commands/fleet.js +35 -16
- package/dist/cli/commands/learning-snapshot.d.ts +38 -0
- package/dist/cli/commands/learning-snapshot.js +171 -0
- package/dist/cli/commands/learning.js +16 -64
- package/dist/cli/commands/llm-router.js +13 -12
- package/dist/cli/commands/pipeline.js +9 -0
- package/dist/cli/commands/security.js +167 -100
- package/dist/cli/commands/test.js +1 -0
- package/dist/cli/commands/workflow.js +9 -1
- package/dist/cli/handlers/task-handler.js +19 -9
- package/dist/cli/helpers/domain-plugins.d.ts +5 -0
- package/dist/cli/helpers/domain-plugins.js +11 -0
- package/dist/cli/index.js +17 -8
- package/dist/cli/utils/ci-config.d.ts +3 -0
- package/dist/cli/utils/ci-output.d.ts +17 -0
- package/dist/cli/utils/ci-output.js +34 -2
- package/dist/context/sources/git-source.d.ts +2 -0
- package/dist/context/sources/git-source.js +9 -2
- package/dist/coordination/cancelled-task-settlement.d.ts +11 -0
- package/dist/coordination/cancelled-task-settlement.js +15 -0
- package/dist/coordination/consensus/providers/claude-provider.d.ts +2 -2
- package/dist/coordination/consensus/providers/claude-provider.js +18 -25
- package/dist/coordination/consensus/providers/gemini-provider.d.ts +14 -4
- package/dist/coordination/consensus/providers/gemini-provider.js +39 -36
- package/dist/coordination/consensus/providers/ollama-provider.d.ts +8 -7
- package/dist/coordination/consensus/providers/ollama-provider.js +16 -18
- package/dist/coordination/consensus/providers/openai-provider.d.ts +14 -4
- package/dist/coordination/consensus/providers/openai-provider.js +36 -34
- package/dist/coordination/consensus/providers/openrouter-provider.d.ts +5 -5
- package/dist/coordination/consensus/providers/openrouter-provider.js +64 -37
- package/dist/coordination/handlers/handler-types.d.ts +3 -0
- package/dist/coordination/handlers/quality-handlers.js +10 -0
- package/dist/coordination/handlers/security-handlers.js +168 -72
- package/dist/coordination/handlers/test-execution-handlers.js +39 -43
- package/dist/coordination/interfaces.d.ts +2 -2
- package/dist/coordination/protocol-executor.js +68 -9
- package/dist/coordination/protocols/security-audit.d.ts +3 -0
- package/dist/coordination/protocols/security-audit.js +61 -39
- package/dist/coordination/queen-coordinator.js +10 -4
- package/dist/coordination/queen-event-handlers.js +17 -0
- package/dist/coordination/queen-task-management.js +25 -0
- package/dist/coordination/queen-types.d.ts +2 -0
- package/dist/coordination/result-saver.js +36 -5
- package/dist/coordination/task-executor.d.ts +3 -1
- package/dist/coordination/task-executor.js +8 -8
- package/dist/coordination/workflow-composition.d.ts +19 -0
- package/dist/coordination/workflow-composition.js +114 -0
- package/dist/coordination/workflow-orchestrator.d.ts +3 -2
- package/dist/coordination/workflow-orchestrator.js +219 -85
- package/dist/coordination/workflow-types.d.ts +30 -1
- package/dist/coordination/yaml-pipeline-loader.js +9 -5
- package/dist/domains/chaos-resilience/services/chaos-engineer.js +2 -7
- package/dist/domains/code-intelligence/services/knowledge-graph.js +2 -7
- package/dist/domains/code-intelligence/services/metric-collector/test-counter.js +9 -40
- package/dist/domains/constants.d.ts +1 -6
- package/dist/domains/constants.js +2 -6
- package/dist/domains/contract-testing/services/contract-validator.js +2 -7
- package/dist/domains/coverage-analysis/services/coverage-analyzer.js +2 -12
- package/dist/domains/coverage-analysis/services/gap-detector.js +2 -7
- package/dist/domains/defect-intelligence/services/defect-predictor.js +2 -12
- package/dist/domains/defect-intelligence/services/root-cause-analyzer.js +2 -7
- package/dist/domains/learning-optimization/services/learning-coordinator.js +2 -7
- package/dist/domains/quality-assessment/services/deployment-advisor.js +2 -7
- package/dist/domains/quality-assessment/services/quality-analyzer.js +2 -7
- package/dist/domains/requirements-validation/services/requirements-validator.js +2 -7
- package/dist/domains/security-compliance/interfaces.d.ts +5 -0
- package/dist/domains/security-compliance/interfaces.js +0 -6
- package/dist/domains/security-compliance/scan-discovery.d.ts +12 -0
- package/dist/domains/security-compliance/scan-discovery.js +105 -0
- package/dist/domains/security-compliance/scan-evidence.d.ts +57 -0
- package/dist/domains/security-compliance/scan-evidence.js +2 -0
- package/dist/domains/security-compliance/services/scanners/sast-scanner.d.ts +3 -2
- package/dist/domains/security-compliance/services/scanners/sast-scanner.js +112 -72
- package/dist/domains/security-compliance/services/semgrep-integration.d.ts +9 -2
- package/dist/domains/security-compliance/services/semgrep-integration.js +68 -20
- package/dist/domains/test-execution/services/flaky-detector.js +46 -5
- package/dist/domains/test-execution/services/retry-handler.js +38 -20
- package/dist/domains/test-execution/services/test-executor.js +84 -29
- package/dist/domains/test-generation/services/test-generator.js +2 -7
- package/dist/domains/visual-accessibility/services/visual-tester.js +2 -7
- package/dist/init/init-wizard-hooks.js +2 -2
- package/dist/init/init-wizard-steps.js +1 -1
- package/dist/init/kiro-installer.js +9 -8
- package/dist/init/opencode-installer.js +1 -1
- package/dist/init/phases/07-hooks.js +4 -2
- package/dist/init/phases/12-verification.js +1 -1
- package/dist/init/settings-merge.d.ts +10 -3
- package/dist/init/settings-merge.js +40 -9
- package/dist/integrations/agentic-flow/model-router/types.js +6 -8
- package/dist/integrations/agentic-flow/reasoning-bank/index.js +3 -20
- package/dist/integrations/coherence/engines/cohomology-adapter.js +100 -30
- package/dist/integrations/ruvector/brain-exporter.js +9 -15
- package/dist/integrations/ruvector/brain-rvf-exporter.js +17 -30
- package/dist/integrations/ruvector/brain-shared.d.ts +5 -1
- package/dist/integrations/ruvector/brain-shared.js +70 -4
- package/dist/integrations/ruvector/rvf-dual-writer.js +36 -15
- package/dist/integrations/ruvector/rvf-store-integrity.d.ts +14 -9
- package/dist/integrations/ruvector/rvf-store-integrity.js +39 -9
- package/dist/integrations/ruvector/shared-rvf-adapter.js +20 -23
- package/dist/kernel/memory-factory.js +14 -4
- package/dist/kernel/project-root.js +10 -8
- package/dist/kernel/unified-memory.js +1 -1
- package/dist/learning/local-judge-client.d.ts +6 -5
- package/dist/learning/local-judge-client.js +7 -6
- package/dist/learning/pattern-store.js +29 -11
- package/dist/mcp/bundle.js +548 -527
- package/dist/mcp/handlers/domain-handler-configs.d.ts +22 -1
- package/dist/mcp/handlers/domain-handler-configs.js +50 -19
- package/dist/mcp/handlers/domain-handlers.d.ts +7 -5
- package/dist/mcp/handlers/domain-handlers.js +7 -5
- package/dist/mcp/handlers/index.d.ts +1 -1
- package/dist/mcp/handlers/index.js +1 -1
- package/dist/mcp/handlers/pipeline-handlers.d.ts +31 -1
- package/dist/mcp/handlers/pipeline-handlers.js +63 -0
- package/dist/mcp/handlers/task-handlers.d.ts +1 -0
- package/dist/mcp/handlers/task-handlers.js +12 -4
- package/dist/mcp/protocol-server.d.ts +2 -0
- package/dist/mcp/protocol-server.js +112 -53
- package/dist/mcp/security/sampling-server.js +2 -1
- package/dist/mcp/tool-annotations.js +1 -1
- package/dist/mcp/tools/test-execution/schedule.js +7 -0
- package/dist/mcp/types.d.ts +10 -1
- package/dist/optimization/session-cache.d.ts +5 -0
- package/dist/optimization/session-cache.js +23 -0
- package/dist/routing/advisor/multi-model-executor.d.ts +4 -1
- package/dist/routing/advisor/multi-model-executor.js +8 -1
- package/dist/routing/free-tier/ladder.d.ts +2 -1
- package/dist/routing/free-tier/ladder.js +3 -2
- package/dist/routing/security/cyber-pin.d.ts +35 -11
- package/dist/routing/security/cyber-pin.js +76 -14
- package/dist/routing/value-score.js +1 -1
- package/dist/shared/git/index.d.ts +1 -0
- package/dist/shared/git/index.js +1 -0
- package/dist/shared/git/ref-validation.d.ts +20 -0
- package/dist/shared/git/ref-validation.js +43 -0
- package/dist/shared/llm/anthropic-params.d.ts +40 -0
- package/dist/shared/llm/anthropic-params.js +51 -0
- package/dist/shared/llm/cost-tracker.d.ts +15 -2
- package/dist/shared/llm/cost-tracker.js +62 -10
- package/dist/shared/llm/index.d.ts +2 -2
- package/dist/shared/llm/index.js +2 -2
- package/dist/shared/llm/interfaces.d.ts +1 -1
- package/dist/shared/llm/metrics/cost-metrics.js +5 -4
- package/dist/shared/llm/model-mapping.js +131 -0
- package/dist/shared/llm/model-registry.d.ts +37 -11
- package/dist/shared/llm/model-registry.js +393 -18
- package/dist/shared/llm/openai-params.d.ts +35 -0
- package/dist/shared/llm/openai-params.js +54 -0
- package/dist/shared/llm/provider-manager.js +4 -3
- package/dist/shared/llm/providers/azure-openai.d.ts +11 -0
- package/dist/shared/llm/providers/azure-openai.js +26 -15
- package/dist/shared/llm/providers/bedrock.js +11 -19
- package/dist/shared/llm/providers/claude.js +6 -29
- package/dist/shared/llm/providers/codex.js +4 -3
- package/dist/shared/llm/providers/gemini.d.ts +3 -2
- package/dist/shared/llm/providers/gemini.js +19 -10
- package/dist/shared/llm/providers/ollama.d.ts +2 -0
- package/dist/shared/llm/providers/ollama.js +30 -20
- package/dist/shared/llm/providers/openai.js +10 -17
- package/dist/shared/llm/providers/openrouter.d.ts +1 -1
- package/dist/shared/llm/providers/openrouter.js +57 -21
- package/dist/shared/llm/router/agent-router-config.js +33 -32
- package/dist/shared/llm/router/hybrid-router.d.ts +4 -0
- package/dist/shared/llm/router/hybrid-router.js +95 -35
- package/dist/shared/llm/router/routing-rules.js +9 -8
- package/dist/shared/llm/router/types.d.ts +9 -2
- package/dist/shared/llm/router/types.js +81 -13
- package/dist/shared/llm/translation/message-formatter.js +4 -23
- package/dist/shared/test-runner-verdict.d.ts +29 -0
- package/dist/shared/test-runner-verdict.js +43 -0
- package/dist/shared/vitest-json-report.d.ts +45 -0
- package/dist/shared/vitest-json-report.js +80 -0
- package/dist/test-scheduling/executors/vitest-executor.d.ts +7 -2
- package/dist/test-scheduling/executors/vitest-executor.js +174 -52
- package/dist/test-scheduling/git-aware/test-selector.js +3 -0
- package/dist/test-scheduling/phase-scheduler.d.ts +1 -0
- package/dist/test-scheduling/phase-scheduler.js +23 -1
- package/dist/validation/frontier-judge.d.ts +7 -4
- package/dist/validation/frontier-judge.js +11 -6
- package/package.json +6 -6
- package/dist/cli/chunks/adapter-OJF6LAJV.js +0 -2
- package/dist/cli/chunks/aqe-learning-engine-FGT474XB.js +0 -2
- package/dist/cli/chunks/base-HH765JFV.js +0 -2
- package/dist/cli/chunks/brain-handler-5FSA46R5.js +0 -90
- package/dist/cli/chunks/browser-workflow-NPM4FUPI.js +0 -2
- package/dist/cli/chunks/chunk-2LKAMMMI.js +0 -2
- package/dist/cli/chunks/chunk-4AKGBUYD.js +0 -4
- package/dist/cli/chunks/chunk-4MH22236.js +0 -2
- package/dist/cli/chunks/chunk-4PH7O5ZH.js +0 -2
- package/dist/cli/chunks/chunk-4UCMTYFQ.js +0 -65
- package/dist/cli/chunks/chunk-DRO5NJZA.js +0 -11
- package/dist/cli/chunks/chunk-FPHPP5TQ.js +0 -2
- package/dist/cli/chunks/chunk-FREF6Y4L.js +0 -14
- package/dist/cli/chunks/chunk-G6AV2HGY.js +0 -54
- package/dist/cli/chunks/chunk-GJAWEUIN.js +0 -16
- package/dist/cli/chunks/chunk-IUNMW454.js +0 -2
- package/dist/cli/chunks/chunk-JDXLCNKV.js +0 -2
- package/dist/cli/chunks/chunk-OC2CKU7I.js +0 -2
- package/dist/cli/chunks/chunk-OX6T26CD.js +0 -180
- package/dist/cli/chunks/chunk-PHHXHG2W.js +0 -2
- package/dist/cli/chunks/chunk-SEHCX4NH.js +0 -2
- package/dist/cli/chunks/chunk-TENYL5TI.js +0 -14
- package/dist/cli/chunks/chunk-U2AY57XZ.js +0 -5
- package/dist/cli/chunks/chunk-UYTWDS2R.js +0 -2
- package/dist/cli/chunks/chunk-VSYBMNIR.js +0 -2
- package/dist/cli/chunks/chunk-WBMRADQP.js +0 -81
- package/dist/cli/chunks/chunk-ZWRQ5VAU.js +0 -2
- package/dist/cli/chunks/chunk-ZYLSOBOR.js +0 -2
- package/dist/cli/chunks/ci-NTRH7PAW.js +0 -81
- package/dist/cli/chunks/ci-output-F57RSD35.js +0 -2
- package/dist/cli/chunks/client-GPZEC54E.js +0 -2
- package/dist/cli/chunks/complexity-analyzer-3FNFLACD.js +0 -2
- package/dist/cli/chunks/core-handlers-YMGHYIBR.js +0 -2
- package/dist/cli/chunks/cost-tracker-LTZAQBX7.js +0 -2
- package/dist/cli/chunks/cross-domain-router-ECBNTGYJ.js +0 -2
- package/dist/cli/chunks/dream-EHGKCFWH.js +0 -2
- package/dist/cli/chunks/eval-GL544IPO.js +0 -17
- package/dist/cli/chunks/fleet-DQVQQONW.js +0 -43
- package/dist/cli/chunks/heartbeat-scheduler-UFEL2CBW.js +0 -2
- package/dist/cli/chunks/hnsw-adapter-BLSD45CX.js +0 -2
- package/dist/cli/chunks/hnsw-index-A3RZODEN.js +0 -2
- package/dist/cli/chunks/impact-analyzer-OXHD3FOH.js +0 -2
- package/dist/cli/chunks/init-wizard-PKZL7QBU.js +0 -2
- package/dist/cli/chunks/kernel-XWPM72UJ.js +0 -2
- package/dist/cli/chunks/knowledge-graph-FRKR5XWI.js +0 -2
- package/dist/cli/chunks/learning-EV5LSOOM.js +0 -122
- package/dist/cli/chunks/llm-router-7LYDJUOT.js +0 -37
- package/dist/cli/chunks/llm-router-service-R7A5HHDM.js +0 -2
- package/dist/cli/chunks/load-test-5IKDWSYL.js +0 -2
- package/dist/cli/chunks/memory-backend-7VW5QCMO.js +0 -2
- package/dist/cli/chunks/memory-handlers-VZH3R2TQ.js +0 -2
- package/dist/cli/chunks/multi-model-executor-R6XCTMCF.js +0 -14
- package/dist/cli/chunks/pattern-null-store-BU6LCB2W.js +0 -2
- package/dist/cli/chunks/pipeline-SR5OTY45.js +0 -19
- package/dist/cli/chunks/protocol-executor-BSP5LWJN.js +0 -2
- package/dist/cli/chunks/qe-reasoning-bank-J2RC7P25.js +0 -2
- package/dist/cli/chunks/queen-coordinator-XI5AJV2V.js +0 -2
- package/dist/cli/chunks/router-VXQYYA3D.js +0 -2
- package/dist/cli/chunks/routing-feedback-HZQTASFF.js +0 -2
- package/dist/cli/chunks/rvf-dual-writer-BDTLLJER.js +0 -2
- package/dist/cli/chunks/rvf-migration-adapter-IB343MDN.js +0 -2
- package/dist/cli/chunks/rvf-native-adapter-Y7SN7LHU.js +0 -2
- package/dist/cli/chunks/rvf-store-integrity-OJGWWPLL.js +0 -2
- package/dist/cli/chunks/safe-db-2VTKKBJU.js +0 -2
- package/dist/cli/chunks/schedule-QJ4CFGJY.js +0 -2
- package/dist/cli/chunks/scheduler-2NHDQPC3.js +0 -2
- package/dist/cli/chunks/security-JF3BVNRO.js +0 -14
- package/dist/cli/chunks/sqlite-persistence-NVVAPZN3.js +0 -2
- package/dist/cli/chunks/task-handler-VTNRGAXP.js +0 -49
- package/dist/cli/chunks/task-handlers-FYSDH55N.js +0 -9
- package/dist/cli/chunks/test-scheduling-GPRXSIRP.js +0 -15
- package/dist/cli/chunks/types-OP6IWE6N.js +0 -2
- package/dist/cli/chunks/unified-memory-DSTIEDSH.js +0 -2
- package/dist/cli/chunks/unified-memory-hnsw-KBV3P4OS.js +0 -2
- package/dist/cli/chunks/unified-persistence-XKCOUBKY.js +0 -2
- package/dist/cli/chunks/visual-security-TTWSPZTZ.js +0 -2
- package/dist/cli/chunks/witness-chain-2KY73HPN.js +0 -2
- package/dist/cli/chunks/workflow-HAZ6YKOG.js +0 -51
- package/dist/cli/chunks/workflow-orchestrator-UK56AVOT.js +0 -2
|
@@ -13,6 +13,7 @@ import { createEvent } from '../shared/events/domain-events.js';
|
|
|
13
13
|
import { toError, toErrorMessage } from '../shared/error-utils.js';
|
|
14
14
|
export { WorkflowEvents, DEFAULT_WORKFLOW_CONFIG, } from './workflow-types.js';
|
|
15
15
|
import { WorkflowEvents, DEFAULT_WORKFLOW_CONFIG } from './workflow-types.js';
|
|
16
|
+
import { hashWorkflowValue, parallelOutputConflicts, parallelUndeclaredReads, parallelWritePaths, } from './workflow-composition.js';
|
|
16
17
|
// Import deterministic actions
|
|
17
18
|
import { findDeterministicAction } from './deterministic-actions.js';
|
|
18
19
|
// Import built-in workflows
|
|
@@ -105,13 +106,13 @@ export class WorkflowOrchestrator {
|
|
|
105
106
|
executionId, workflowId, workflowName: workflow.name,
|
|
106
107
|
status: 'running', startedAt, progress: 0,
|
|
107
108
|
currentSteps: [], completedSteps: [], failedSteps: [], skippedSteps: [],
|
|
108
|
-
context, stepResults: new Map(),
|
|
109
|
+
context, stepResults: new Map(), parallelCompositionReceipts: [],
|
|
109
110
|
};
|
|
110
111
|
this.executions.set(executionId, execution);
|
|
111
112
|
await this.publishWorkflowStarted(execution, workflow);
|
|
112
113
|
this.runWorkflow(workflow, execution).catch(async (error) => {
|
|
113
114
|
execution.status = 'failed';
|
|
114
|
-
execution.error =
|
|
115
|
+
execution.error = toErrorMessage(error);
|
|
115
116
|
execution.completedAt = new Date();
|
|
116
117
|
execution.duration = execution.completedAt.getTime() - startedAt.getTime();
|
|
117
118
|
await this.publishWorkflowFailed(execution, 'unknown', String(error));
|
|
@@ -131,13 +132,7 @@ export class WorkflowOrchestrator {
|
|
|
131
132
|
execution.status = 'cancelled';
|
|
132
133
|
execution.completedAt = new Date();
|
|
133
134
|
execution.duration = execution.completedAt.getTime() - execution.startedAt.getTime();
|
|
134
|
-
|
|
135
|
-
for (const [key, gate] of this.approvalGates.entries()) {
|
|
136
|
-
if (key.startsWith(`${executionId}:`)) {
|
|
137
|
-
gate.resolve({ approved: false, reason: 'Workflow cancelled' });
|
|
138
|
-
this.approvalGates.delete(key);
|
|
139
|
-
}
|
|
140
|
-
}
|
|
135
|
+
this.closeApprovalGates(executionId, 'Workflow cancelled');
|
|
141
136
|
await this.publishEvent(WorkflowEvents.WorkflowCancelled, {
|
|
142
137
|
executionId, workflowId: execution.workflowId, workflowName: execution.workflowName,
|
|
143
138
|
}, execution.context.metadata.correlationId);
|
|
@@ -164,7 +159,7 @@ export class WorkflowOrchestrator {
|
|
|
164
159
|
execution.status = 'running';
|
|
165
160
|
this.runWorkflow(workflow, execution).catch(async (error) => {
|
|
166
161
|
execution.status = 'failed';
|
|
167
|
-
execution.error =
|
|
162
|
+
execution.error = toErrorMessage(error);
|
|
168
163
|
});
|
|
169
164
|
return ok(undefined);
|
|
170
165
|
}
|
|
@@ -296,8 +291,9 @@ export class WorkflowOrchestrator {
|
|
|
296
291
|
// ============================================================================
|
|
297
292
|
async runWorkflow(workflow, execution) {
|
|
298
293
|
const timeout = workflow.timeout || this.config.defaultWorkflowTimeout;
|
|
294
|
+
let workflowTimer;
|
|
299
295
|
const timeoutPromise = new Promise((_, reject) => {
|
|
300
|
-
setTimeout(() => reject(new Error(`Workflow timeout after ${timeout}ms`)), timeout);
|
|
296
|
+
workflowTimer = setTimeout(() => reject(new Error(`Workflow timeout after ${timeout}ms`)), timeout);
|
|
301
297
|
});
|
|
302
298
|
try {
|
|
303
299
|
await Promise.race([this.executeSteps(workflow, execution), timeoutPromise]);
|
|
@@ -312,13 +308,19 @@ export class WorkflowOrchestrator {
|
|
|
312
308
|
catch (error) {
|
|
313
309
|
if (execution.status === 'running') {
|
|
314
310
|
execution.status = 'failed';
|
|
315
|
-
execution.error =
|
|
311
|
+
execution.error = toErrorMessage(error);
|
|
312
|
+
this.closeApprovalGates(execution.executionId, 'Workflow failed');
|
|
316
313
|
execution.completedAt = new Date();
|
|
317
314
|
execution.duration = execution.completedAt.getTime() - execution.startedAt.getTime();
|
|
318
315
|
const failedStep = execution.currentSteps[0] || 'unknown';
|
|
319
|
-
|
|
316
|
+
execution.currentSteps = [];
|
|
317
|
+
await this.publishWorkflowFailed(execution, failedStep, toErrorMessage(error));
|
|
320
318
|
}
|
|
321
319
|
}
|
|
320
|
+
finally {
|
|
321
|
+
if (workflowTimer)
|
|
322
|
+
clearTimeout(workflowTimer);
|
|
323
|
+
}
|
|
322
324
|
if (this.config.persistExecutions)
|
|
323
325
|
await this.persistExecution(execution);
|
|
324
326
|
}
|
|
@@ -337,45 +339,131 @@ export class WorkflowOrchestrator {
|
|
|
337
339
|
break;
|
|
338
340
|
const parallelSteps = readySteps.filter((s) => !s.dependsOn?.length);
|
|
339
341
|
const sequentialSteps = readySteps.filter((s) => s.dependsOn?.length);
|
|
340
|
-
|
|
342
|
+
// A lone root has no concurrent siblings and needs no clone/barrier.
|
|
343
|
+
if (parallelSteps.length === 1)
|
|
344
|
+
sequentialSteps.unshift(parallelSteps[0]);
|
|
345
|
+
if (parallelSteps.length > 1) {
|
|
341
346
|
execution.currentSteps = parallelSteps.map((s) => s.id);
|
|
342
|
-
const
|
|
347
|
+
const receipt = {
|
|
348
|
+
version: 1, workflowId: workflow.id,
|
|
349
|
+
workflowRevision: `${workflow.version}:${hashWorkflowValue(workflow)}`,
|
|
350
|
+
executionId: execution.executionId,
|
|
351
|
+
groupId: parallelSteps.map(step => step.id).join('|'),
|
|
352
|
+
steps: [], conflicts: [], strategy: 'rejected', disposition: 'invalid',
|
|
353
|
+
};
|
|
354
|
+
execution.parallelCompositionReceipts ??= [];
|
|
355
|
+
execution.parallelCompositionReceipts.push(receipt);
|
|
356
|
+
try {
|
|
357
|
+
receipt.steps = parallelSteps.map(step => ({
|
|
358
|
+
stepId: step.id, disposition: 'not_started',
|
|
359
|
+
writes: parallelWritePaths(step).map(write => write.path),
|
|
360
|
+
}));
|
|
361
|
+
receipt.conflicts = parallelOutputConflicts(parallelSteps);
|
|
362
|
+
}
|
|
363
|
+
catch (error) {
|
|
364
|
+
throw new Error(`parallel_output_invalid_path: ${toErrorMessage(error)}`);
|
|
365
|
+
}
|
|
366
|
+
if (receipt.conflicts.length > 0) {
|
|
367
|
+
receipt.disposition = 'conflict';
|
|
368
|
+
throw new Error(`parallel_output_conflict: ${receipt.conflicts.map(c => `${c.stepA}.${c.pathA} ↔ ${c.stepB}.${c.pathB}`).join(', ')}`);
|
|
369
|
+
}
|
|
370
|
+
const undeclaredReads = parallelUndeclaredReads(parallelSteps);
|
|
371
|
+
if (undeclaredReads.length > 0) {
|
|
372
|
+
throw new Error(`parallel_dependency_error: ${undeclaredReads.map(read => `${read.stepId} reads ${read.sourcePath} from concurrent step ${read.otherStepId}`).join(', ')}`);
|
|
373
|
+
}
|
|
374
|
+
// Every action observes the same pre-group state. Its own mutations to
|
|
375
|
+
// the supplied context cannot leak into a sibling's input or the
|
|
376
|
+
// shared workflow context.
|
|
377
|
+
let groupContext;
|
|
378
|
+
let contexts;
|
|
379
|
+
let baseResultsHash;
|
|
380
|
+
try {
|
|
381
|
+
groupContext = structuredClone(execution.context);
|
|
382
|
+
baseResultsHash = hashWorkflowValue(groupContext.results);
|
|
383
|
+
contexts = parallelSteps.map(() => structuredClone(groupContext));
|
|
384
|
+
}
|
|
385
|
+
catch (error) {
|
|
386
|
+
throw new Error(`parallel_context_uncloneable: ${toErrorMessage(error)}`);
|
|
387
|
+
}
|
|
388
|
+
const results = await Promise.allSettled(parallelSteps.map((step, index) => this.executeStep(step, execution, workflow, contexts[index], true)));
|
|
389
|
+
let hardFailure;
|
|
343
390
|
for (let i = 0; i < parallelSteps.length; i++) {
|
|
344
391
|
const step = parallelSteps[i];
|
|
345
392
|
const result = results[i];
|
|
346
393
|
if (result.status === 'fulfilled') {
|
|
347
394
|
const stepResult = result.value;
|
|
395
|
+
execution.stepResults.set(step.id, stepResult);
|
|
348
396
|
if (stepResult.status === 'completed') {
|
|
349
397
|
completedSteps.add(step.id);
|
|
350
398
|
execution.completedSteps.push(step.id);
|
|
399
|
+
receipt.steps[i].disposition = 'succeeded';
|
|
400
|
+
try {
|
|
401
|
+
receipt.steps[i].outputHash = hashWorkflowValue(stepResult.output);
|
|
402
|
+
}
|
|
403
|
+
catch (error) {
|
|
404
|
+
throw new Error(`parallel_output_unhashable: ${toErrorMessage(error)}`);
|
|
405
|
+
}
|
|
351
406
|
}
|
|
352
407
|
else if (stepResult.status === 'skipped') {
|
|
353
408
|
skippedSteps.add(step.id);
|
|
354
409
|
execution.skippedSteps.push(step.id);
|
|
410
|
+
receipt.steps[i].disposition = 'skipped';
|
|
355
411
|
}
|
|
356
412
|
else if (stepResult.status === 'failed') {
|
|
357
413
|
failedSteps.add(step.id);
|
|
358
414
|
execution.failedSteps.push(step.id);
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
return;
|
|
363
|
-
}
|
|
415
|
+
receipt.steps[i].disposition = 'failed';
|
|
416
|
+
if (!step.continueOnFailure)
|
|
417
|
+
hardFailure ??= stepResult.error ?? 'Unknown error';
|
|
364
418
|
}
|
|
365
419
|
}
|
|
366
420
|
else {
|
|
367
421
|
failedSteps.add(step.id);
|
|
368
422
|
execution.failedSteps.push(step.id);
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
return;
|
|
373
|
-
}
|
|
423
|
+
receipt.steps[i].disposition = 'failed';
|
|
424
|
+
if (!step.continueOnFailure)
|
|
425
|
+
hardFailure ??= toErrorMessage(result.reason);
|
|
374
426
|
}
|
|
375
427
|
const pendingIndex = pendingSteps.indexOf(step);
|
|
376
428
|
if (pendingIndex !== -1)
|
|
377
429
|
pendingSteps.splice(pendingIndex, 1);
|
|
378
430
|
}
|
|
431
|
+
if (execution.status !== 'running' || hardFailure !== undefined) {
|
|
432
|
+
receipt.disposition = 'partial';
|
|
433
|
+
if (hardFailure !== undefined)
|
|
434
|
+
throw new Error(hardFailure);
|
|
435
|
+
if (execution.status !== 'running')
|
|
436
|
+
return;
|
|
437
|
+
}
|
|
438
|
+
else {
|
|
439
|
+
try {
|
|
440
|
+
const stagedContext = {
|
|
441
|
+
...groupContext, results: structuredClone(groupContext.results),
|
|
442
|
+
};
|
|
443
|
+
for (let i = 0; i < parallelSteps.length; i++) {
|
|
444
|
+
const result = results[i];
|
|
445
|
+
if (result.status === 'fulfilled' && result.value.status === 'completed') {
|
|
446
|
+
this.mapStepOutput(parallelSteps[i], result.value.output, stagedContext);
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
const combinedStateHash = hashWorkflowValue(stagedContext.results);
|
|
450
|
+
if (execution.status !== 'running') {
|
|
451
|
+
receipt.disposition = 'partial';
|
|
452
|
+
return;
|
|
453
|
+
}
|
|
454
|
+
if (hashWorkflowValue(execution.context.results) !== baseResultsHash) {
|
|
455
|
+
throw new Error('parallel_context_changed: shared results changed before composition');
|
|
456
|
+
}
|
|
457
|
+
execution.context.results = stagedContext.results;
|
|
458
|
+
receipt.combinedStateHash = combinedStateHash;
|
|
459
|
+
receipt.strategy = 'disjoint';
|
|
460
|
+
receipt.disposition = 'composed';
|
|
461
|
+
}
|
|
462
|
+
catch (error) {
|
|
463
|
+
receipt.disposition = 'invalid';
|
|
464
|
+
throw new Error(`parallel_output_invalid: ${toErrorMessage(error)}`);
|
|
465
|
+
}
|
|
466
|
+
}
|
|
379
467
|
}
|
|
380
468
|
for (const step of sequentialSteps) {
|
|
381
469
|
if (execution.status !== 'running')
|
|
@@ -409,29 +497,47 @@ export class WorkflowOrchestrator {
|
|
|
409
497
|
}
|
|
410
498
|
execution.currentSteps = [];
|
|
411
499
|
}
|
|
412
|
-
async executeStep(step, execution, _workflow) {
|
|
500
|
+
async executeStep(step, execution, _workflow, context = execution.context, deferOutput = false) {
|
|
413
501
|
const startedAt = new Date();
|
|
414
502
|
const result = { stepId: step.id, status: 'pending', startedAt };
|
|
415
503
|
try {
|
|
416
|
-
if (step.skipCondition && this.evaluateCondition(step.skipCondition,
|
|
504
|
+
if (step.skipCondition && this.evaluateCondition(step.skipCondition, context)) {
|
|
417
505
|
result.status = 'skipped';
|
|
418
506
|
result.completedAt = new Date();
|
|
419
507
|
result.duration = result.completedAt.getTime() - startedAt.getTime();
|
|
420
|
-
|
|
508
|
+
if (!deferOutput)
|
|
509
|
+
execution.stepResults.set(step.id, result);
|
|
421
510
|
await this.publishStepSkipped(execution, step);
|
|
422
511
|
return result;
|
|
423
512
|
}
|
|
424
|
-
if (step.condition && !this.evaluateCondition(step.condition,
|
|
513
|
+
if (step.condition && !this.evaluateCondition(step.condition, context)) {
|
|
425
514
|
result.status = 'skipped';
|
|
426
515
|
result.completedAt = new Date();
|
|
427
516
|
result.duration = result.completedAt.getTime() - startedAt.getTime();
|
|
428
|
-
|
|
517
|
+
if (!deferOutput)
|
|
518
|
+
execution.stepResults.set(step.id, result);
|
|
429
519
|
await this.publishStepSkipped(execution, step);
|
|
430
520
|
return result;
|
|
431
521
|
}
|
|
432
522
|
result.status = 'running';
|
|
433
523
|
await this.publishStepStarted(execution, step);
|
|
434
|
-
const input = this.buildStepInput(step,
|
|
524
|
+
const input = this.buildStepInput(step, context);
|
|
525
|
+
// Approval must precede the action and any output mapping. Otherwise a
|
|
526
|
+
// rejected or expired gate cannot prevent the side effect it protects.
|
|
527
|
+
if (step.approval) {
|
|
528
|
+
result.status = 'awaiting_approval';
|
|
529
|
+
execution.stepResults.set(step.id, result);
|
|
530
|
+
const approvalResult = await this.waitForApproval(step, execution);
|
|
531
|
+
if (!approvalResult.approved || execution.status !== 'running') {
|
|
532
|
+
result.status = 'failed';
|
|
533
|
+
result.error = approvalResult.reason || 'Step rejected at approval gate';
|
|
534
|
+
result.completedAt = new Date();
|
|
535
|
+
result.duration = result.completedAt.getTime() - startedAt.getTime();
|
|
536
|
+
await this.publishStepFailed(execution, step, result.error);
|
|
537
|
+
return result;
|
|
538
|
+
}
|
|
539
|
+
result.status = 'running';
|
|
540
|
+
}
|
|
435
541
|
let lastError;
|
|
436
542
|
const maxAttempts = step.retry?.maxAttempts || 1;
|
|
437
543
|
let backoffMs = step.retry?.backoffMs || 1000;
|
|
@@ -440,32 +546,31 @@ export class WorkflowOrchestrator {
|
|
|
440
546
|
result.retryCount = attempt - 1;
|
|
441
547
|
try {
|
|
442
548
|
const stepTimeout = step.timeout || this.config.defaultStepTimeout;
|
|
443
|
-
const output = await this.executeStepAction(step, input,
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
result.completedAt = new Date();
|
|
453
|
-
result.duration = result.completedAt.getTime() - startedAt.getTime();
|
|
454
|
-
execution.stepResults.set(step.id, result);
|
|
455
|
-
await this.publishStepFailed(execution, step, result.error);
|
|
456
|
-
return result;
|
|
457
|
-
}
|
|
549
|
+
const output = await this.executeStepAction(step, input, context, stepTimeout);
|
|
550
|
+
if (!deferOutput)
|
|
551
|
+
this.mapStepOutput(step, output, context);
|
|
552
|
+
let capturedOutput;
|
|
553
|
+
try {
|
|
554
|
+
capturedOutput = deferOutput ? structuredClone(output) : output;
|
|
555
|
+
}
|
|
556
|
+
catch (error) {
|
|
557
|
+
throw new Error(`parallel_output_uncloneable: ${toErrorMessage(error)}`);
|
|
458
558
|
}
|
|
459
559
|
result.status = 'completed';
|
|
460
|
-
result.output =
|
|
560
|
+
result.output = capturedOutput;
|
|
461
561
|
result.completedAt = new Date();
|
|
462
562
|
result.duration = result.completedAt.getTime() - startedAt.getTime();
|
|
463
|
-
|
|
563
|
+
if (!deferOutput)
|
|
564
|
+
execution.stepResults.set(step.id, result);
|
|
464
565
|
await this.publishStepCompleted(execution, step, result);
|
|
465
566
|
return result;
|
|
466
567
|
}
|
|
467
568
|
catch (error) {
|
|
468
569
|
lastError = toError(error);
|
|
570
|
+
// Retrying an already-successful external action because its output
|
|
571
|
+
// could not be snapshotted could duplicate effects.
|
|
572
|
+
if (lastError.message.startsWith('parallel_output_uncloneable:'))
|
|
573
|
+
break;
|
|
469
574
|
if (attempt < maxAttempts) {
|
|
470
575
|
await this.delay(backoffMs);
|
|
471
576
|
backoffMs *= backoffMultiplier;
|
|
@@ -476,9 +581,10 @@ export class WorkflowOrchestrator {
|
|
|
476
581
|
result.error = lastError?.message || 'Unknown error';
|
|
477
582
|
result.completedAt = new Date();
|
|
478
583
|
result.duration = result.completedAt.getTime() - startedAt.getTime();
|
|
479
|
-
|
|
584
|
+
if (!deferOutput)
|
|
585
|
+
execution.stepResults.set(step.id, result);
|
|
480
586
|
if (step.rollback)
|
|
481
|
-
await this.executeRollback(step.rollback,
|
|
587
|
+
await this.executeRollback(step.rollback, context);
|
|
482
588
|
await this.publishStepFailed(execution, step, result.error);
|
|
483
589
|
return result;
|
|
484
590
|
}
|
|
@@ -487,7 +593,8 @@ export class WorkflowOrchestrator {
|
|
|
487
593
|
result.error = toErrorMessage(error);
|
|
488
594
|
result.completedAt = new Date();
|
|
489
595
|
result.duration = result.completedAt.getTime() - startedAt.getTime();
|
|
490
|
-
|
|
596
|
+
if (!deferOutput)
|
|
597
|
+
execution.stepResults.set(step.id, result);
|
|
491
598
|
await this.publishStepFailed(execution, step, result.error);
|
|
492
599
|
return result;
|
|
493
600
|
}
|
|
@@ -545,7 +652,9 @@ export class WorkflowOrchestrator {
|
|
|
545
652
|
return input;
|
|
546
653
|
}
|
|
547
654
|
mapStepOutput(step, output, context) {
|
|
548
|
-
context.results
|
|
655
|
+
Object.defineProperty(context.results, step.id, {
|
|
656
|
+
value: output, writable: true, enumerable: true, configurable: true,
|
|
657
|
+
});
|
|
549
658
|
if (step.outputMapping && typeof output === 'object' && output !== null) {
|
|
550
659
|
for (const [sourcePath, targetPath] of Object.entries(step.outputMapping)) {
|
|
551
660
|
const value = this.getValueByPath(output, sourcePath);
|
|
@@ -681,6 +790,16 @@ export class WorkflowOrchestrator {
|
|
|
681
790
|
return err(new Error(`Invalid domain for step ${step.id}: ${step.domain}`));
|
|
682
791
|
if (!step.action)
|
|
683
792
|
return err(new Error(`Step ${step.id} must have an action`));
|
|
793
|
+
if (step.approval && typeof step.approval === 'object') {
|
|
794
|
+
const { expiresAfter, autoApproveAfter } = step.approval;
|
|
795
|
+
if (expiresAfter !== undefined && autoApproveAfter !== undefined) {
|
|
796
|
+
return err(new Error(`Step ${step.id} sets both approval expiry fields`));
|
|
797
|
+
}
|
|
798
|
+
const expiry = expiresAfter ?? autoApproveAfter;
|
|
799
|
+
if (expiry !== undefined && (!Number.isSafeInteger(expiry) || expiry < 0 || expiry > 2_147_483_647)) {
|
|
800
|
+
return err(new Error(`Step ${step.id} has an invalid approval expiry`));
|
|
801
|
+
}
|
|
802
|
+
}
|
|
684
803
|
if (step.dependsOn) {
|
|
685
804
|
for (const dep of step.dependsOn) {
|
|
686
805
|
if (!definition.steps.some((s) => s.id === dep)) {
|
|
@@ -816,49 +935,64 @@ export class WorkflowOrchestrator {
|
|
|
816
935
|
// ============================================================================
|
|
817
936
|
// Private Methods - Approval Gates
|
|
818
937
|
// ============================================================================
|
|
938
|
+
closeApprovalGates(executionId, reason) {
|
|
939
|
+
for (const [key, gate] of this.approvalGates.entries()) {
|
|
940
|
+
if (key.startsWith(`${executionId}:`)) {
|
|
941
|
+
gate.resolve({ approved: false, reason });
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
}
|
|
819
945
|
/**
|
|
820
|
-
* Wait for external approval
|
|
946
|
+
* Wait for external approval. An unanswered gate expires without approval.
|
|
821
947
|
* Returns an object with approved status and optional rejection reason.
|
|
822
948
|
*/
|
|
823
949
|
async waitForApproval(step, execution) {
|
|
950
|
+
// Cancellation may arrive while publishing StepStarted, before this gate
|
|
951
|
+
// exists. Do not register an indefinite approval for a terminal workflow.
|
|
952
|
+
if (execution.status !== 'running') {
|
|
953
|
+
return { approved: false, reason: `Workflow is ${execution.status}` };
|
|
954
|
+
}
|
|
824
955
|
const approvalConfig = typeof step.approval === 'object' ? step.approval : {};
|
|
825
|
-
const
|
|
956
|
+
const expiresAfter = approvalConfig.expiresAfter ?? approvalConfig.autoApproveAfter ?? 300000;
|
|
826
957
|
const message = approvalConfig.message ?? `Awaiting approval for step: ${step.name}`;
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
stepResult.status = 'awaiting_approval';
|
|
831
|
-
// Emit StepAwaitingApproval event
|
|
832
|
-
await this.publishEvent(WorkflowEvents.StepAwaitingApproval, {
|
|
833
|
-
executionId: execution.executionId,
|
|
834
|
-
workflowId: execution.workflowId,
|
|
835
|
-
stepId: step.id,
|
|
836
|
-
stepName: step.name,
|
|
837
|
-
domain: step.domain,
|
|
838
|
-
message,
|
|
839
|
-
autoApproveAfter: autoApproveAfter > 0 ? autoApproveAfter : undefined,
|
|
840
|
-
}, execution.context.metadata.correlationId);
|
|
958
|
+
if (!Number.isSafeInteger(expiresAfter) || expiresAfter < 0 || expiresAfter > 2_147_483_647) {
|
|
959
|
+
return { approved: false, reason: 'Invalid approval expiry' };
|
|
960
|
+
}
|
|
841
961
|
const key = `${execution.executionId}:${step.id}`;
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
962
|
+
let timer;
|
|
963
|
+
const approval = new Promise((resolve) => {
|
|
964
|
+
// Register before publishing: a synchronous event consumer can approve.
|
|
965
|
+
const gate = { resolve: (result) => {
|
|
966
|
+
if (this.approvalGates.get(key) !== gate)
|
|
967
|
+
return;
|
|
968
|
+
this.approvalGates.delete(key);
|
|
969
|
+
if (timer)
|
|
970
|
+
clearTimeout(timer);
|
|
971
|
+
resolve(result);
|
|
972
|
+
} };
|
|
845
973
|
this.approvalGates.set(key, gate);
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
this.approvalGates.delete(key);
|
|
851
|
-
resolve({ approved: true }); // auto-approve on timeout
|
|
852
|
-
}
|
|
853
|
-
}, autoApproveAfter);
|
|
854
|
-
// Wrap resolve to also clear the timer
|
|
855
|
-
const originalResolve = gate.resolve;
|
|
856
|
-
gate.resolve = (result) => {
|
|
857
|
-
clearTimeout(timer);
|
|
858
|
-
originalResolve(result);
|
|
859
|
-
};
|
|
974
|
+
if (expiresAfter > 0) {
|
|
975
|
+
timer = setTimeout(() => {
|
|
976
|
+
gate.resolve({ approved: false, reason: 'Approval expired' });
|
|
977
|
+
}, expiresAfter);
|
|
860
978
|
}
|
|
861
979
|
});
|
|
980
|
+
try {
|
|
981
|
+
await this.publishEvent(WorkflowEvents.StepAwaitingApproval, {
|
|
982
|
+
executionId: execution.executionId,
|
|
983
|
+
workflowId: execution.workflowId,
|
|
984
|
+
stepId: step.id,
|
|
985
|
+
stepName: step.name,
|
|
986
|
+
domain: step.domain,
|
|
987
|
+
message,
|
|
988
|
+
expiresAfter: expiresAfter > 0 ? expiresAfter : undefined,
|
|
989
|
+
}, execution.context.metadata.correlationId);
|
|
990
|
+
}
|
|
991
|
+
catch (error) {
|
|
992
|
+
this.approvalGates.get(key)?.resolve({ approved: false, reason: 'Approval event failed' });
|
|
993
|
+
throw error;
|
|
994
|
+
}
|
|
995
|
+
return approval;
|
|
862
996
|
}
|
|
863
997
|
// ============================================================================
|
|
864
998
|
// Private Methods - Utilities
|
|
@@ -72,7 +72,9 @@ export interface WorkflowStepDefinition {
|
|
|
72
72
|
continueOnFailure?: boolean;
|
|
73
73
|
/** Approval gate configuration */
|
|
74
74
|
approval?: boolean | {
|
|
75
|
-
/**
|
|
75
|
+
/** Expire an unanswered approval after this many ms (0 = wait indefinitely; default 5 min) */
|
|
76
|
+
expiresAfter?: number;
|
|
77
|
+
/** @deprecated Legacy alias for expiresAfter; never grants approval on timeout */
|
|
76
78
|
autoApproveAfter?: number;
|
|
77
79
|
/** Approval prompt message */
|
|
78
80
|
message?: string;
|
|
@@ -144,6 +146,30 @@ export interface WorkflowContext {
|
|
|
144
146
|
triggeredBy?: string;
|
|
145
147
|
};
|
|
146
148
|
}
|
|
149
|
+
/** Evidence for one parallel group, without retaining raw step output. */
|
|
150
|
+
export interface ParallelCompositionReceipt {
|
|
151
|
+
version: 1;
|
|
152
|
+
workflowId: string;
|
|
153
|
+
workflowRevision: string;
|
|
154
|
+
executionId: string;
|
|
155
|
+
groupId: string;
|
|
156
|
+
steps: Array<{
|
|
157
|
+
stepId: string;
|
|
158
|
+
disposition: 'succeeded' | 'failed' | 'skipped' | 'cancelled' | 'not_started';
|
|
159
|
+
outputHash?: string;
|
|
160
|
+
writes: string[];
|
|
161
|
+
}>;
|
|
162
|
+
conflicts: Array<{
|
|
163
|
+
pathA: string;
|
|
164
|
+
stepA: string;
|
|
165
|
+
pathB: string;
|
|
166
|
+
stepB: string;
|
|
167
|
+
kind: 'exact' | 'ancestor-descendant';
|
|
168
|
+
}>;
|
|
169
|
+
strategy: 'disjoint' | 'rejected';
|
|
170
|
+
combinedStateHash?: string;
|
|
171
|
+
disposition: 'composed' | 'conflict' | 'partial' | 'invalid';
|
|
172
|
+
}
|
|
147
173
|
/**
|
|
148
174
|
* Workflow execution status
|
|
149
175
|
*/
|
|
@@ -162,6 +188,7 @@ export interface WorkflowExecutionStatus {
|
|
|
162
188
|
skippedSteps: string[];
|
|
163
189
|
context: WorkflowContext;
|
|
164
190
|
stepResults: Map<string, StepExecutionResult>;
|
|
191
|
+
parallelCompositionReceipts?: ParallelCompositionReceipt[];
|
|
165
192
|
error?: string;
|
|
166
193
|
}
|
|
167
194
|
/**
|
|
@@ -219,6 +246,8 @@ export interface StepEventPayload {
|
|
|
219
246
|
}
|
|
220
247
|
export interface StepAwaitingApprovalPayload extends StepEventPayload {
|
|
221
248
|
message?: string;
|
|
249
|
+
expiresAfter?: number;
|
|
250
|
+
/** @deprecated No longer emitted; read expiresAfter instead */
|
|
222
251
|
autoApproveAfter?: number;
|
|
223
252
|
}
|
|
224
253
|
export interface IWorkflowOrchestrator {
|
|
@@ -339,17 +339,21 @@ export class YamlPipelineLoader {
|
|
|
339
339
|
if (typeof raw === 'boolean') {
|
|
340
340
|
return ok(raw);
|
|
341
341
|
}
|
|
342
|
-
// Object form: approval: {
|
|
342
|
+
// Object form: approval: { expiresAfter, message }
|
|
343
343
|
if (!raw || typeof raw !== 'object' || Array.isArray(raw)) {
|
|
344
344
|
return err(new Error(`Step '${stepId}': 'approval' must be a boolean or object`));
|
|
345
345
|
}
|
|
346
346
|
const a = raw;
|
|
347
347
|
const result = {};
|
|
348
|
-
if (a.autoApproveAfter !== undefined) {
|
|
349
|
-
|
|
350
|
-
|
|
348
|
+
if (a.expiresAfter !== undefined && a.autoApproveAfter !== undefined) {
|
|
349
|
+
return err(new Error(`Step '${stepId}': set only one approval expiry field`));
|
|
350
|
+
}
|
|
351
|
+
const expiry = a.expiresAfter ?? a.autoApproveAfter;
|
|
352
|
+
if (expiry !== undefined) {
|
|
353
|
+
if (typeof expiry !== 'number' || !Number.isSafeInteger(expiry) || expiry < 0 || expiry > 2_147_483_647) {
|
|
354
|
+
return err(new Error(`Step '${stepId}': approval expiry must be an integer from 0 to 2147483647 milliseconds`));
|
|
351
355
|
}
|
|
352
|
-
result.
|
|
356
|
+
result.expiresAfter = expiry;
|
|
353
357
|
}
|
|
354
358
|
if (a.message !== undefined) {
|
|
355
359
|
if (typeof a.message !== 'string') {
|
|
@@ -12,6 +12,7 @@ import { validateCommand } from '../../../shared/security/command-validator.js';
|
|
|
12
12
|
import { toErrorMessage, toError } from '../../../shared/error-utils.js';
|
|
13
13
|
import { safeJsonParse } from '../../../shared/safe-json.js';
|
|
14
14
|
import { secureRandom } from '../../../shared/utils/crypto-random.js';
|
|
15
|
+
import { getClaudeModelForTier } from '../../../shared/llm/model-registry.js';
|
|
15
16
|
const DEFAULT_CONFIG = {
|
|
16
17
|
defaultTimeout: 60000, // 60 seconds
|
|
17
18
|
maxConcurrentFaults: 3,
|
|
@@ -289,13 +290,7 @@ export class ChaosEngineerService {
|
|
|
289
290
|
* ADR-051: Get model name for tier
|
|
290
291
|
*/
|
|
291
292
|
getModelForTier(tier) {
|
|
292
|
-
|
|
293
|
-
1: 'claude-haiku-4-5',
|
|
294
|
-
2: 'claude-sonnet-4-6',
|
|
295
|
-
3: 'claude-sonnet-4-6',
|
|
296
|
-
4: 'claude-opus-4-7',
|
|
297
|
-
};
|
|
298
|
-
return models[tier] || models[2];
|
|
293
|
+
return getClaudeModelForTier(tier);
|
|
299
294
|
}
|
|
300
295
|
/**
|
|
301
296
|
* ADR-051: LLM-powered experiment hypothesis analysis
|
|
@@ -12,6 +12,7 @@ import { safeJsonParse } from '../../../shared/safe-json.js';
|
|
|
12
12
|
import { existsSync, statSync } from 'fs';
|
|
13
13
|
import { dirname, resolve as resolvePath, join as joinPath } from 'path';
|
|
14
14
|
import { extractTsJs } from '../../../shared/parsers/treesitter-ts-extractor.js';
|
|
15
|
+
import { getClaudeModelForTier } from '../../../shared/llm/model-registry.js';
|
|
15
16
|
const DEFAULT_CONFIG = {
|
|
16
17
|
maxNodes: 100000,
|
|
17
18
|
maxEdgesPerNode: 500,
|
|
@@ -333,13 +334,7 @@ export class KnowledgeGraphService {
|
|
|
333
334
|
* @param tier - Model tier (1=Haiku, 2=Sonnet, 3=Sonnet, 4=Opus)
|
|
334
335
|
*/
|
|
335
336
|
getModelForTier(tier) {
|
|
336
|
-
|
|
337
|
-
case 1: return 'claude-haiku-4-5-20251001';
|
|
338
|
-
case 2: return 'claude-sonnet-4-6';
|
|
339
|
-
case 3: return 'claude-sonnet-4-6';
|
|
340
|
-
case 4: return 'claude-opus-4-7';
|
|
341
|
-
default: return 'claude-sonnet-4-6';
|
|
342
|
-
}
|
|
337
|
+
return getClaudeModelForTier(tier);
|
|
343
338
|
}
|
|
344
339
|
/**
|
|
345
340
|
* Extract semantic relationships from code using LLM
|