agentic-qe 3.6.7 → 3.6.9
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/skills/README.md +1 -1
- package/.claude/skills/skills-manifest.json +1 -1
- package/package.json +5 -2
- package/scripts/benchmark-aqe-baseline.ts +614 -0
- package/v3/CHANGELOG.md +33 -0
- package/v3/dist/adapters/a2a/agent-cards/generator.d.ts.map +1 -1
- package/v3/dist/adapters/a2a/agent-cards/generator.js +2 -1
- package/v3/dist/adapters/a2a/agent-cards/generator.js.map +1 -1
- package/v3/dist/adapters/a2a/auth/jwt-utils.d.ts.map +1 -1
- package/v3/dist/adapters/a2a/auth/jwt-utils.js +3 -2
- package/v3/dist/adapters/a2a/auth/jwt-utils.js.map +1 -1
- package/v3/dist/adapters/a2a/auth/middleware.d.ts.map +1 -1
- package/v3/dist/adapters/a2a/auth/middleware.js +3 -0
- package/v3/dist/adapters/a2a/auth/middleware.js.map +1 -1
- package/v3/dist/adapters/a2a/discovery/agent-health.d.ts.map +1 -1
- package/v3/dist/adapters/a2a/discovery/agent-health.js +4 -3
- package/v3/dist/adapters/a2a/discovery/agent-health.js.map +1 -1
- package/v3/dist/adapters/a2a/discovery/file-watcher.d.ts.map +1 -1
- package/v3/dist/adapters/a2a/discovery/file-watcher.js +3 -2
- package/v3/dist/adapters/a2a/discovery/file-watcher.js.map +1 -1
- package/v3/dist/adapters/a2a/discovery/hot-reload-service.d.ts.map +1 -1
- package/v3/dist/adapters/a2a/discovery/hot-reload-service.js +6 -5
- package/v3/dist/adapters/a2a/discovery/hot-reload-service.js.map +1 -1
- package/v3/dist/adapters/a2a/jsonrpc/envelope.d.ts.map +1 -1
- package/v3/dist/adapters/a2a/jsonrpc/envelope.js +5 -4
- package/v3/dist/adapters/a2a/jsonrpc/envelope.js.map +1 -1
- package/v3/dist/adapters/ag-ui/event-adapter.d.ts.map +1 -1
- package/v3/dist/adapters/ag-ui/event-adapter.js +2 -1
- package/v3/dist/adapters/ag-ui/event-adapter.js.map +1 -1
- package/v3/dist/adapters/ag-ui/event-batcher.d.ts.map +1 -1
- package/v3/dist/adapters/ag-ui/event-batcher.js +2 -1
- package/v3/dist/adapters/ag-ui/event-batcher.js.map +1 -1
- package/v3/dist/adapters/ag-ui/json-patch-utils.d.ts.map +1 -1
- package/v3/dist/adapters/ag-ui/json-patch-utils.js +2 -1
- package/v3/dist/adapters/ag-ui/json-patch-utils.js.map +1 -1
- package/v3/dist/adapters/ag-ui/json-patch.d.ts +1 -1
- package/v3/dist/adapters/ag-ui/json-patch.d.ts.map +1 -1
- package/v3/dist/adapters/ag-ui/json-patch.js +4 -6
- package/v3/dist/adapters/ag-ui/json-patch.js.map +1 -1
- package/v3/dist/adapters/ag-ui/stream-controller.d.ts.map +1 -1
- package/v3/dist/adapters/ag-ui/stream-controller.js +3 -0
- package/v3/dist/adapters/ag-ui/stream-controller.js.map +1 -1
- package/v3/dist/adapters/claude-flow/detect.d.ts.map +1 -1
- package/v3/dist/adapters/claude-flow/detect.js +4 -3
- package/v3/dist/adapters/claude-flow/detect.js.map +1 -1
- package/v3/dist/adapters/claude-flow/pretrain-bridge.d.ts.map +1 -1
- package/v3/dist/adapters/claude-flow/pretrain-bridge.js +7 -5
- package/v3/dist/adapters/claude-flow/pretrain-bridge.js.map +1 -1
- package/v3/dist/adapters/claude-flow/trajectory-bridge.d.ts.map +1 -1
- package/v3/dist/adapters/claude-flow/trajectory-bridge.js +2 -14
- package/v3/dist/adapters/claude-flow/trajectory-bridge.js.map +1 -1
- package/v3/dist/adapters/trajectory-adapter.d.ts.map +1 -1
- package/v3/dist/adapters/trajectory-adapter.js +5 -3
- package/v3/dist/adapters/trajectory-adapter.js.map +1 -1
- package/v3/dist/agents/claim-verifier/verifiers/test-verifier.d.ts.map +1 -1
- package/v3/dist/agents/claim-verifier/verifiers/test-verifier.js +2 -1
- package/v3/dist/agents/claim-verifier/verifiers/test-verifier.js.map +1 -1
- package/v3/dist/benchmarks/performance-benchmarks.d.ts.map +1 -1
- package/v3/dist/benchmarks/performance-benchmarks.js +4 -3
- package/v3/dist/benchmarks/performance-benchmarks.js.map +1 -1
- package/v3/dist/benchmarks/run-benchmarks.js +27 -45
- package/v3/dist/benchmarks/run-benchmarks.js.map +1 -1
- package/v3/dist/cli/bundle.js +13395 -14755
- package/v3/dist/cli/commands/claude-flow-setup.d.ts.map +1 -1
- package/v3/dist/cli/commands/claude-flow-setup.js +7 -5
- package/v3/dist/cli/commands/claude-flow-setup.js.map +1 -1
- package/v3/dist/cli/commands/hooks.d.ts.map +1 -1
- package/v3/dist/cli/commands/hooks.js +2 -1
- package/v3/dist/cli/commands/hooks.js.map +1 -1
- package/v3/dist/cli/commands/init.d.ts.map +1 -1
- package/v3/dist/cli/commands/init.js +2 -1
- package/v3/dist/cli/commands/init.js.map +1 -1
- package/v3/dist/cli/commands/learning-helpers.d.ts +101 -0
- package/v3/dist/cli/commands/learning-helpers.d.ts.map +1 -0
- package/v3/dist/cli/commands/learning-helpers.js +294 -0
- package/v3/dist/cli/commands/learning-helpers.js.map +1 -0
- package/v3/dist/cli/commands/learning.d.ts +1 -6
- package/v3/dist/cli/commands/learning.d.ts.map +1 -1
- package/v3/dist/cli/commands/learning.js +230 -839
- package/v3/dist/cli/commands/learning.js.map +1 -1
- package/v3/dist/cli/commands/qe-tools.d.ts.map +1 -1
- package/v3/dist/cli/commands/qe-tools.js +2 -1
- package/v3/dist/cli/commands/qe-tools.js.map +1 -1
- package/v3/dist/cli/commands/sync.d.ts.map +1 -1
- package/v3/dist/cli/commands/sync.js +5 -4
- package/v3/dist/cli/commands/sync.js.map +1 -1
- package/v3/dist/cli/commands/token-usage.d.ts.map +1 -1
- package/v3/dist/cli/commands/token-usage.js +2 -1
- package/v3/dist/cli/commands/token-usage.js.map +1 -1
- package/v3/dist/cli/commands/validate.d.ts.map +1 -1
- package/v3/dist/cli/commands/validate.js +3 -2
- package/v3/dist/cli/commands/validate.js.map +1 -1
- package/v3/dist/cli/config/cli-config.d.ts.map +1 -1
- package/v3/dist/cli/config/cli-config.js +2 -1
- package/v3/dist/cli/config/cli-config.js.map +1 -1
- package/v3/dist/cli/handlers/init-handler.d.ts.map +1 -1
- package/v3/dist/cli/handlers/init-handler.js +3 -2
- package/v3/dist/cli/handlers/init-handler.js.map +1 -1
- package/v3/dist/cli/helpers/safe-json.d.ts +4 -48
- package/v3/dist/cli/helpers/safe-json.d.ts.map +1 -1
- package/v3/dist/cli/helpers/safe-json.js +4 -68
- package/v3/dist/cli/helpers/safe-json.js.map +1 -1
- package/v3/dist/cli/index.js +3 -2
- package/v3/dist/cli/index.js.map +1 -1
- package/v3/dist/cli/scheduler/persistent-scheduler.d.ts.map +1 -1
- package/v3/dist/cli/scheduler/persistent-scheduler.js +4 -2
- package/v3/dist/cli/scheduler/persistent-scheduler.js.map +1 -1
- package/v3/dist/cli/wizards/test-wizard.d.ts.map +1 -1
- package/v3/dist/cli/wizards/test-wizard.js +2 -1
- package/v3/dist/cli/wizards/test-wizard.js.map +1 -1
- package/v3/dist/coordination/agent-teams/tracing.d.ts.map +1 -1
- package/v3/dist/coordination/agent-teams/tracing.js +2 -1
- package/v3/dist/coordination/agent-teams/tracing.js.map +1 -1
- package/v3/dist/coordination/circuit-breaker/breaker-registry.d.ts.map +1 -1
- package/v3/dist/coordination/circuit-breaker/breaker-registry.js +3 -2
- package/v3/dist/coordination/circuit-breaker/breaker-registry.js.map +1 -1
- package/v3/dist/coordination/circuit-breaker/domain-circuit-breaker.d.ts.map +1 -1
- package/v3/dist/coordination/circuit-breaker/domain-circuit-breaker.js +3 -2
- package/v3/dist/coordination/circuit-breaker/domain-circuit-breaker.js.map +1 -1
- package/v3/dist/coordination/consensus/consensus-engine.d.ts.map +1 -1
- package/v3/dist/coordination/consensus/consensus-engine.js +7 -6
- package/v3/dist/coordination/consensus/consensus-engine.js.map +1 -1
- package/v3/dist/coordination/consensus/model-provider.d.ts.map +1 -1
- package/v3/dist/coordination/consensus/model-provider.js +2 -1
- package/v3/dist/coordination/consensus/model-provider.js.map +1 -1
- package/v3/dist/coordination/consensus/providers/claude-provider.d.ts.map +1 -1
- package/v3/dist/coordination/consensus/providers/claude-provider.js +13 -12
- package/v3/dist/coordination/consensus/providers/claude-provider.js.map +1 -1
- package/v3/dist/coordination/consensus/providers/gemini-provider.d.ts.map +1 -1
- package/v3/dist/coordination/consensus/providers/gemini-provider.js +13 -12
- package/v3/dist/coordination/consensus/providers/gemini-provider.js.map +1 -1
- package/v3/dist/coordination/consensus/providers/native-learning-provider.d.ts.map +1 -1
- package/v3/dist/coordination/consensus/providers/native-learning-provider.js +3 -2
- package/v3/dist/coordination/consensus/providers/native-learning-provider.js.map +1 -1
- package/v3/dist/coordination/consensus/providers/ollama-provider.d.ts.map +1 -1
- package/v3/dist/coordination/consensus/providers/ollama-provider.js +3 -2
- package/v3/dist/coordination/consensus/providers/ollama-provider.js.map +1 -1
- package/v3/dist/coordination/consensus/providers/openai-provider.d.ts.map +1 -1
- package/v3/dist/coordination/consensus/providers/openai-provider.js +3 -2
- package/v3/dist/coordination/consensus/providers/openai-provider.js.map +1 -1
- package/v3/dist/coordination/consensus/providers/openrouter-provider.d.ts.map +1 -1
- package/v3/dist/coordination/consensus/providers/openrouter-provider.js +3 -2
- package/v3/dist/coordination/consensus/providers/openrouter-provider.js.map +1 -1
- package/v3/dist/coordination/dynamic-scaling/dynamic-scaler.d.ts.map +1 -1
- package/v3/dist/coordination/dynamic-scaling/dynamic-scaler.js +5 -4
- package/v3/dist/coordination/dynamic-scaling/dynamic-scaler.js.map +1 -1
- package/v3/dist/coordination/mincut/dream-integration.d.ts.map +1 -1
- package/v3/dist/coordination/mincut/dream-integration.js.map +1 -1
- package/v3/dist/coordination/mincut/mincut-health-monitor.d.ts +4 -2
- package/v3/dist/coordination/mincut/mincut-health-monitor.d.ts.map +1 -1
- package/v3/dist/coordination/mincut/mincut-health-monitor.js +13 -3
- package/v3/dist/coordination/mincut/mincut-health-monitor.js.map +1 -1
- package/v3/dist/coordination/mincut/mincut-persistence.d.ts.map +1 -1
- package/v3/dist/coordination/mincut/mincut-persistence.js +5 -4
- package/v3/dist/coordination/mincut/mincut-persistence.js.map +1 -1
- package/v3/dist/coordination/mincut/neural-goap.d.ts.map +1 -1
- package/v3/dist/coordination/mincut/neural-goap.js +2 -1
- package/v3/dist/coordination/mincut/neural-goap.js.map +1 -1
- package/v3/dist/coordination/mincut/queen-integration.d.ts.map +1 -1
- package/v3/dist/coordination/mincut/queen-integration.js +7 -2
- package/v3/dist/coordination/mincut/queen-integration.js.map +1 -1
- package/v3/dist/coordination/mincut/strange-loop.d.ts.map +1 -1
- package/v3/dist/coordination/mincut/strange-loop.js +10 -2
- package/v3/dist/coordination/mincut/strange-loop.js.map +1 -1
- package/v3/dist/coordination/mincut/time-crystal.d.ts.map +1 -1
- package/v3/dist/coordination/mincut/time-crystal.js +2 -1
- package/v3/dist/coordination/mincut/time-crystal.js.map +1 -1
- package/v3/dist/coordination/mixins/consensus-enabled-domain.d.ts +19 -3
- package/v3/dist/coordination/mixins/consensus-enabled-domain.d.ts.map +1 -1
- package/v3/dist/coordination/mixins/consensus-enabled-domain.js +6 -2
- package/v3/dist/coordination/mixins/consensus-enabled-domain.js.map +1 -1
- package/v3/dist/coordination/plugin.d.ts +1 -1
- package/v3/dist/coordination/plugin.d.ts.map +1 -1
- package/v3/dist/coordination/plugin.js +1 -1
- package/v3/dist/coordination/plugin.js.map +1 -1
- package/v3/dist/coordination/protocol-executor.d.ts.map +1 -1
- package/v3/dist/coordination/protocol-executor.js +4 -3
- package/v3/dist/coordination/protocol-executor.js.map +1 -1
- package/v3/dist/coordination/protocols/code-intelligence-index.d.ts +1 -1
- package/v3/dist/coordination/protocols/code-intelligence-index.d.ts.map +1 -1
- package/v3/dist/coordination/protocols/code-intelligence-index.js +22 -10
- package/v3/dist/coordination/protocols/code-intelligence-index.js.map +1 -1
- package/v3/dist/coordination/protocols/defect-investigation.d.ts +2 -2
- package/v3/dist/coordination/protocols/defect-investigation.d.ts.map +1 -1
- package/v3/dist/coordination/protocols/defect-investigation.js +16 -7
- package/v3/dist/coordination/protocols/defect-investigation.js.map +1 -1
- package/v3/dist/coordination/protocols/learning-consolidation.d.ts +1 -1
- package/v3/dist/coordination/protocols/learning-consolidation.d.ts.map +1 -1
- package/v3/dist/coordination/protocols/learning-consolidation.js +6 -5
- package/v3/dist/coordination/protocols/learning-consolidation.js.map +1 -1
- package/v3/dist/coordination/protocols/morning-sync.d.ts.map +1 -1
- package/v3/dist/coordination/protocols/morning-sync.js +2 -1
- package/v3/dist/coordination/protocols/morning-sync.js.map +1 -1
- package/v3/dist/coordination/protocols/quality-gate.d.ts.map +1 -1
- package/v3/dist/coordination/protocols/quality-gate.js +6 -5
- package/v3/dist/coordination/protocols/quality-gate.js.map +1 -1
- package/v3/dist/coordination/protocols/security-audit.d.ts +1 -1
- package/v3/dist/coordination/protocols/security-audit.d.ts.map +1 -1
- package/v3/dist/coordination/protocols/security-audit.js +35 -13
- package/v3/dist/coordination/protocols/security-audit.js.map +1 -1
- package/v3/dist/coordination/queen-coordinator.d.ts +26 -257
- package/v3/dist/coordination/queen-coordinator.d.ts.map +1 -1
- package/v3/dist/coordination/queen-coordinator.js +282 -1175
- package/v3/dist/coordination/queen-coordinator.js.map +1 -1
- package/v3/dist/coordination/queen-event-handlers.d.ts +61 -0
- package/v3/dist/coordination/queen-event-handlers.d.ts.map +1 -0
- package/v3/dist/coordination/queen-event-handlers.js +311 -0
- package/v3/dist/coordination/queen-event-handlers.js.map +1 -0
- package/v3/dist/coordination/queen-lifecycle.d.ts +61 -0
- package/v3/dist/coordination/queen-lifecycle.d.ts.map +1 -0
- package/v3/dist/coordination/queen-lifecycle.js +162 -0
- package/v3/dist/coordination/queen-lifecycle.js.map +1 -0
- package/v3/dist/coordination/queen-task-management.d.ts +84 -0
- package/v3/dist/coordination/queen-task-management.d.ts.map +1 -0
- package/v3/dist/coordination/queen-task-management.js +333 -0
- package/v3/dist/coordination/queen-task-management.js.map +1 -0
- package/v3/dist/coordination/queen-types.d.ts +175 -0
- package/v3/dist/coordination/queen-types.d.ts.map +1 -0
- package/v3/dist/coordination/queen-types.js +80 -0
- package/v3/dist/coordination/queen-types.js.map +1 -0
- package/v3/dist/coordination/queen-work-stealing.d.ts +33 -0
- package/v3/dist/coordination/queen-work-stealing.d.ts.map +1 -0
- package/v3/dist/coordination/queen-work-stealing.js +78 -0
- package/v3/dist/coordination/queen-work-stealing.js.map +1 -0
- package/v3/dist/coordination/result-saver.d.ts.map +1 -1
- package/v3/dist/coordination/result-saver.js +2 -1
- package/v3/dist/coordination/result-saver.js.map +1 -1
- package/v3/dist/coordination/task-executor.d.ts +45 -2
- package/v3/dist/coordination/task-executor.d.ts.map +1 -1
- package/v3/dist/coordination/task-executor.js +643 -570
- package/v3/dist/coordination/task-executor.js.map +1 -1
- package/v3/dist/coordination/workflow-builtin.d.ts +17 -0
- package/v3/dist/coordination/workflow-builtin.d.ts.map +1 -0
- package/v3/dist/coordination/workflow-builtin.js +648 -0
- package/v3/dist/coordination/workflow-builtin.js.map +1 -0
- package/v3/dist/coordination/workflow-orchestrator.d.ts +13 -300
- package/v3/dist/coordination/workflow-orchestrator.d.ts.map +1 -1
- package/v3/dist/coordination/workflow-orchestrator.js +142 -1009
- package/v3/dist/coordination/workflow-orchestrator.js.map +1 -1
- package/v3/dist/coordination/workflow-types.d.ts +250 -0
- package/v3/dist/coordination/workflow-types.d.ts.map +1 -0
- package/v3/dist/coordination/workflow-types.js +27 -0
- package/v3/dist/coordination/workflow-types.js.map +1 -0
- package/v3/dist/domains/base-domain-coordinator.d.ts +119 -0
- package/v3/dist/domains/base-domain-coordinator.d.ts.map +1 -0
- package/v3/dist/domains/base-domain-coordinator.js +200 -0
- package/v3/dist/domains/base-domain-coordinator.js.map +1 -0
- package/v3/dist/domains/chaos-resilience/coordinator.d.ts +12 -70
- package/v3/dist/domains/chaos-resilience/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/chaos-resilience/coordinator.js +25 -181
- package/v3/dist/domains/chaos-resilience/coordinator.js.map +1 -1
- package/v3/dist/domains/chaos-resilience/plugin.d.ts.map +1 -1
- package/v3/dist/domains/chaos-resilience/plugin.js +2 -1
- package/v3/dist/domains/chaos-resilience/plugin.js.map +1 -1
- package/v3/dist/domains/chaos-resilience/services/chaos-engineer.d.ts.map +1 -1
- package/v3/dist/domains/chaos-resilience/services/chaos-engineer.js +15 -13
- package/v3/dist/domains/chaos-resilience/services/chaos-engineer.js.map +1 -1
- package/v3/dist/domains/chaos-resilience/services/load-tester.d.ts.map +1 -1
- package/v3/dist/domains/chaos-resilience/services/load-tester.js +8 -7
- package/v3/dist/domains/chaos-resilience/services/load-tester.js.map +1 -1
- package/v3/dist/domains/chaos-resilience/services/performance-profiler.d.ts.map +1 -1
- package/v3/dist/domains/chaos-resilience/services/performance-profiler.js +7 -5
- package/v3/dist/domains/chaos-resilience/services/performance-profiler.js.map +1 -1
- package/v3/dist/domains/code-intelligence/coordinator-consensus.d.ts +33 -0
- package/v3/dist/domains/code-intelligence/coordinator-consensus.d.ts.map +1 -0
- package/v3/dist/domains/code-intelligence/coordinator-consensus.js +81 -0
- package/v3/dist/domains/code-intelligence/coordinator-consensus.js.map +1 -0
- package/v3/dist/domains/code-intelligence/coordinator-gnn.d.ts +44 -0
- package/v3/dist/domains/code-intelligence/coordinator-gnn.d.ts.map +1 -0
- package/v3/dist/domains/code-intelligence/coordinator-gnn.js +183 -0
- package/v3/dist/domains/code-intelligence/coordinator-gnn.js.map +1 -0
- package/v3/dist/domains/code-intelligence/coordinator-hypergraph.d.ts +40 -0
- package/v3/dist/domains/code-intelligence/coordinator-hypergraph.d.ts.map +1 -0
- package/v3/dist/domains/code-intelligence/coordinator-hypergraph.js +191 -0
- package/v3/dist/domains/code-intelligence/coordinator-hypergraph.js.map +1 -0
- package/v3/dist/domains/code-intelligence/coordinator.d.ts +17 -93
- package/v3/dist/domains/code-intelligence/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/code-intelligence/coordinator.js +46 -565
- package/v3/dist/domains/code-intelligence/coordinator.js.map +1 -1
- package/v3/dist/domains/code-intelligence/index.d.ts.map +1 -1
- package/v3/dist/domains/code-intelligence/index.js +10 -0
- package/v3/dist/domains/code-intelligence/index.js.map +1 -1
- package/v3/dist/domains/code-intelligence/plugin.d.ts.map +1 -1
- package/v3/dist/domains/code-intelligence/plugin.js +2 -1
- package/v3/dist/domains/code-intelligence/plugin.js.map +1 -1
- package/v3/dist/domains/code-intelligence/services/c4-model/index.d.ts +3 -3
- package/v3/dist/domains/code-intelligence/services/c4-model/index.d.ts.map +1 -1
- package/v3/dist/domains/code-intelligence/services/c4-model/index.js +2 -2
- package/v3/dist/domains/code-intelligence/services/c4-model/index.js.map +1 -1
- package/v3/dist/domains/code-intelligence/services/c4-model/types.d.ts +1 -1
- package/v3/dist/domains/code-intelligence/services/c4-model/types.d.ts.map +1 -1
- package/v3/dist/domains/code-intelligence/services/impact-analyzer.d.ts.map +1 -1
- package/v3/dist/domains/code-intelligence/services/impact-analyzer.js +3 -2
- package/v3/dist/domains/code-intelligence/services/impact-analyzer.js.map +1 -1
- package/v3/dist/domains/code-intelligence/services/knowledge-graph.d.ts.map +1 -1
- package/v3/dist/domains/code-intelligence/services/knowledge-graph.js +8 -6
- package/v3/dist/domains/code-intelligence/services/knowledge-graph.js.map +1 -1
- package/v3/dist/domains/code-intelligence/services/metric-collector/loc-counter.d.ts.map +1 -1
- package/v3/dist/domains/code-intelligence/services/metric-collector/loc-counter.js +3 -2
- package/v3/dist/domains/code-intelligence/services/metric-collector/loc-counter.js.map +1 -1
- package/v3/dist/domains/code-intelligence/services/metric-collector/test-counter.d.ts.map +1 -1
- package/v3/dist/domains/code-intelligence/services/metric-collector/test-counter.js +3 -2
- package/v3/dist/domains/code-intelligence/services/metric-collector/test-counter.js.map +1 -1
- package/v3/dist/domains/code-intelligence/services/product-factors-bridge.d.ts.map +1 -1
- package/v3/dist/domains/code-intelligence/services/product-factors-bridge.js +8 -6
- package/v3/dist/domains/code-intelligence/services/product-factors-bridge.js.map +1 -1
- package/v3/dist/domains/code-intelligence/services/semantic-analyzer.d.ts.map +1 -1
- package/v3/dist/domains/code-intelligence/services/semantic-analyzer.js +5 -4
- package/v3/dist/domains/code-intelligence/services/semantic-analyzer.js.map +1 -1
- package/v3/dist/domains/contract-testing/coordinator.d.ts +13 -89
- package/v3/dist/domains/contract-testing/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/contract-testing/coordinator.js +43 -215
- package/v3/dist/domains/contract-testing/coordinator.js.map +1 -1
- package/v3/dist/domains/contract-testing/plugin.d.ts.map +1 -1
- package/v3/dist/domains/contract-testing/plugin.js +5 -4
- package/v3/dist/domains/contract-testing/plugin.js.map +1 -1
- package/v3/dist/domains/contract-testing/services/api-compatibility.d.ts.map +1 -1
- package/v3/dist/domains/contract-testing/services/api-compatibility.js +7 -5
- package/v3/dist/domains/contract-testing/services/api-compatibility.js.map +1 -1
- package/v3/dist/domains/contract-testing/services/contract-validator.d.ts.map +1 -1
- package/v3/dist/domains/contract-testing/services/contract-validator.js +10 -8
- package/v3/dist/domains/contract-testing/services/contract-validator.js.map +1 -1
- package/v3/dist/domains/contract-testing/services/schema-validator.d.ts.map +1 -1
- package/v3/dist/domains/contract-testing/services/schema-validator.js +10 -8
- package/v3/dist/domains/contract-testing/services/schema-validator.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/coordinator.d.ts +8 -59
- package/v3/dist/domains/coverage-analysis/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/coordinator.js +30 -138
- package/v3/dist/domains/coverage-analysis/coordinator.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/index.js +7 -0
- package/v3/dist/domains/coverage-analysis/index.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/coverage-analyzer.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/coverage-analyzer.js +5 -3
- package/v3/dist/domains/coverage-analysis/services/coverage-analyzer.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/coverage-parser.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/coverage-parser.js +2 -1
- package/v3/dist/domains/coverage-analysis/services/coverage-parser.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/gap-detector.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/gap-detector.js +6 -4
- package/v3/dist/domains/coverage-analysis/services/gap-detector.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.js +5 -4
- package/v3/dist/domains/coverage-analysis/services/ghost-coverage-analyzer.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/risk-scorer.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/risk-scorer.js +3 -2
- package/v3/dist/domains/coverage-analysis/services/risk-scorer.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/sublinear-analyzer.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/services/sublinear-analyzer.js +4 -3
- package/v3/dist/domains/coverage-analysis/services/sublinear-analyzer.js.map +1 -1
- package/v3/dist/domains/defect-intelligence/coordinator.d.ts +10 -58
- package/v3/dist/domains/defect-intelligence/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/defect-intelligence/coordinator.js +50 -171
- package/v3/dist/domains/defect-intelligence/coordinator.js.map +1 -1
- package/v3/dist/domains/defect-intelligence/plugin.d.ts.map +1 -1
- package/v3/dist/domains/defect-intelligence/plugin.js +2 -1
- package/v3/dist/domains/defect-intelligence/plugin.js.map +1 -1
- package/v3/dist/domains/defect-intelligence/services/causal-root-cause-analyzer.d.ts.map +1 -1
- package/v3/dist/domains/defect-intelligence/services/causal-root-cause-analyzer.js +4 -3
- package/v3/dist/domains/defect-intelligence/services/causal-root-cause-analyzer.js.map +1 -1
- package/v3/dist/domains/defect-intelligence/services/defect-predictor.d.ts.map +1 -1
- package/v3/dist/domains/defect-intelligence/services/defect-predictor.js +6 -4
- package/v3/dist/domains/defect-intelligence/services/defect-predictor.js.map +1 -1
- package/v3/dist/domains/defect-intelligence/services/pattern-learner.d.ts.map +1 -1
- package/v3/dist/domains/defect-intelligence/services/pattern-learner.js +4 -3
- package/v3/dist/domains/defect-intelligence/services/pattern-learner.js.map +1 -1
- package/v3/dist/domains/defect-intelligence/services/root-cause-analyzer.d.ts.map +1 -1
- package/v3/dist/domains/defect-intelligence/services/root-cause-analyzer.js +6 -4
- package/v3/dist/domains/defect-intelligence/services/root-cause-analyzer.js.map +1 -1
- package/v3/dist/domains/domain-interface.d.ts +6 -219
- package/v3/dist/domains/domain-interface.d.ts.map +1 -1
- package/v3/dist/domains/domain-interface.js +6 -312
- package/v3/dist/domains/domain-interface.js.map +1 -1
- package/v3/dist/domains/enterprise-integration/coordinator.d.ts +11 -37
- package/v3/dist/domains/enterprise-integration/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/enterprise-integration/coordinator.js +39 -148
- package/v3/dist/domains/enterprise-integration/coordinator.js.map +1 -1
- package/v3/dist/domains/enterprise-integration/plugin.d.ts.map +1 -1
- package/v3/dist/domains/enterprise-integration/plugin.js +2 -1
- package/v3/dist/domains/enterprise-integration/plugin.js.map +1 -1
- package/v3/dist/domains/enterprise-integration/services/esb-middleware-service.d.ts.map +1 -1
- package/v3/dist/domains/enterprise-integration/services/esb-middleware-service.js +7 -5
- package/v3/dist/domains/enterprise-integration/services/esb-middleware-service.js.map +1 -1
- package/v3/dist/domains/enterprise-integration/services/message-broker-service.d.ts.map +1 -1
- package/v3/dist/domains/enterprise-integration/services/message-broker-service.js +11 -9
- package/v3/dist/domains/enterprise-integration/services/message-broker-service.js.map +1 -1
- package/v3/dist/domains/enterprise-integration/services/odata-service.d.ts.map +1 -1
- package/v3/dist/domains/enterprise-integration/services/odata-service.js +4 -3
- package/v3/dist/domains/enterprise-integration/services/odata-service.js.map +1 -1
- package/v3/dist/domains/enterprise-integration/services/sap-integration-service.d.ts.map +1 -1
- package/v3/dist/domains/enterprise-integration/services/sap-integration-service.js +5 -3
- package/v3/dist/domains/enterprise-integration/services/sap-integration-service.js.map +1 -1
- package/v3/dist/domains/enterprise-integration/services/soap-wsdl-service.d.ts.map +1 -1
- package/v3/dist/domains/enterprise-integration/services/soap-wsdl-service.js +4 -3
- package/v3/dist/domains/enterprise-integration/services/soap-wsdl-service.js.map +1 -1
- package/v3/dist/domains/enterprise-integration/services/sod-analysis-service.d.ts.map +1 -1
- package/v3/dist/domains/enterprise-integration/services/sod-analysis-service.js +3 -2
- package/v3/dist/domains/enterprise-integration/services/sod-analysis-service.js.map +1 -1
- package/v3/dist/domains/learning-optimization/coordinator-consensus.d.ts +37 -0
- package/v3/dist/domains/learning-optimization/coordinator-consensus.d.ts.map +1 -0
- package/v3/dist/domains/learning-optimization/coordinator-consensus.js +82 -0
- package/v3/dist/domains/learning-optimization/coordinator-consensus.js.map +1 -0
- package/v3/dist/domains/learning-optimization/coordinator-dream.d.ts +32 -0
- package/v3/dist/domains/learning-optimization/coordinator-dream.d.ts.map +1 -0
- package/v3/dist/domains/learning-optimization/coordinator-dream.js +43 -0
- package/v3/dist/domains/learning-optimization/coordinator-dream.js.map +1 -0
- package/v3/dist/domains/learning-optimization/coordinator-helpers.d.ts +56 -0
- package/v3/dist/domains/learning-optimization/coordinator-helpers.d.ts.map +1 -0
- package/v3/dist/domains/learning-optimization/coordinator-helpers.js +142 -0
- package/v3/dist/domains/learning-optimization/coordinator-helpers.js.map +1 -0
- package/v3/dist/domains/learning-optimization/coordinator-sona-methods.d.ts +64 -0
- package/v3/dist/domains/learning-optimization/coordinator-sona-methods.d.ts.map +1 -0
- package/v3/dist/domains/learning-optimization/coordinator-sona-methods.js +73 -0
- package/v3/dist/domains/learning-optimization/coordinator-sona-methods.js.map +1 -0
- package/v3/dist/domains/learning-optimization/coordinator.d.ts +17 -82
- package/v3/dist/domains/learning-optimization/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/learning-optimization/coordinator.js +36 -320
- package/v3/dist/domains/learning-optimization/coordinator.js.map +1 -1
- package/v3/dist/domains/learning-optimization/plugin.d.ts.map +1 -1
- package/v3/dist/domains/learning-optimization/plugin.js +2 -1
- package/v3/dist/domains/learning-optimization/plugin.js.map +1 -1
- package/v3/dist/domains/learning-optimization/services/learning-coordinator.d.ts.map +1 -1
- package/v3/dist/domains/learning-optimization/services/learning-coordinator.js +11 -10
- package/v3/dist/domains/learning-optimization/services/learning-coordinator.js.map +1 -1
- package/v3/dist/domains/learning-optimization/services/metrics-optimizer.d.ts.map +1 -1
- package/v3/dist/domains/learning-optimization/services/metrics-optimizer.js +8 -7
- package/v3/dist/domains/learning-optimization/services/metrics-optimizer.js.map +1 -1
- package/v3/dist/domains/learning-optimization/services/production-intel.d.ts.map +1 -1
- package/v3/dist/domains/learning-optimization/services/production-intel.js +11 -10
- package/v3/dist/domains/learning-optimization/services/production-intel.js.map +1 -1
- package/v3/dist/domains/learning-optimization/services/transfer-specialist.d.ts.map +1 -1
- package/v3/dist/domains/learning-optimization/services/transfer-specialist.js +8 -7
- package/v3/dist/domains/learning-optimization/services/transfer-specialist.js.map +1 -1
- package/v3/dist/domains/quality-assessment/coordinator-claim-verifier.d.ts +41 -0
- package/v3/dist/domains/quality-assessment/coordinator-claim-verifier.d.ts.map +1 -0
- package/v3/dist/domains/quality-assessment/coordinator-claim-verifier.js +157 -0
- package/v3/dist/domains/quality-assessment/coordinator-claim-verifier.js.map +1 -0
- package/v3/dist/domains/quality-assessment/coordinator-gate-evaluation.d.ts +26 -0
- package/v3/dist/domains/quality-assessment/coordinator-gate-evaluation.d.ts.map +1 -0
- package/v3/dist/domains/quality-assessment/coordinator-gate-evaluation.js +135 -0
- package/v3/dist/domains/quality-assessment/coordinator-gate-evaluation.js.map +1 -0
- package/v3/dist/domains/quality-assessment/coordinator-reports.d.ts +90 -0
- package/v3/dist/domains/quality-assessment/coordinator-reports.d.ts.map +1 -0
- package/v3/dist/domains/quality-assessment/coordinator-reports.js +265 -0
- package/v3/dist/domains/quality-assessment/coordinator-reports.js.map +1 -0
- package/v3/dist/domains/quality-assessment/coordinator-rl-integration.d.ts +92 -0
- package/v3/dist/domains/quality-assessment/coordinator-rl-integration.d.ts.map +1 -0
- package/v3/dist/domains/quality-assessment/coordinator-rl-integration.js +321 -0
- package/v3/dist/domains/quality-assessment/coordinator-rl-integration.js.map +1 -0
- package/v3/dist/domains/quality-assessment/coordinator.d.ts +18 -127
- package/v3/dist/domains/quality-assessment/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/quality-assessment/coordinator.js +58 -1022
- package/v3/dist/domains/quality-assessment/coordinator.js.map +1 -1
- package/v3/dist/domains/quality-assessment/index.d.ts.map +1 -1
- package/v3/dist/domains/quality-assessment/index.js +10 -0
- package/v3/dist/domains/quality-assessment/index.js.map +1 -1
- package/v3/dist/domains/quality-assessment/plugin.d.ts.map +1 -1
- package/v3/dist/domains/quality-assessment/plugin.js +2 -1
- package/v3/dist/domains/quality-assessment/plugin.js.map +1 -1
- package/v3/dist/domains/quality-assessment/services/coherence-gate.d.ts.map +1 -1
- package/v3/dist/domains/quality-assessment/services/coherence-gate.js +2 -1
- package/v3/dist/domains/quality-assessment/services/coherence-gate.js.map +1 -1
- package/v3/dist/domains/quality-assessment/services/deployment-advisor.d.ts.map +1 -1
- package/v3/dist/domains/quality-assessment/services/deployment-advisor.js +5 -3
- package/v3/dist/domains/quality-assessment/services/deployment-advisor.js.map +1 -1
- package/v3/dist/domains/quality-assessment/services/quality-analyzer.d.ts.map +1 -1
- package/v3/dist/domains/quality-assessment/services/quality-analyzer.js +6 -4
- package/v3/dist/domains/quality-assessment/services/quality-analyzer.js.map +1 -1
- package/v3/dist/domains/quality-assessment/services/quality-gate.d.ts.map +1 -1
- package/v3/dist/domains/quality-assessment/services/quality-gate.js +3 -2
- package/v3/dist/domains/quality-assessment/services/quality-gate.js.map +1 -1
- package/v3/dist/domains/requirements-validation/coordinator.d.ts +17 -61
- package/v3/dist/domains/requirements-validation/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/requirements-validation/coordinator.js +25 -175
- package/v3/dist/domains/requirements-validation/coordinator.js.map +1 -1
- package/v3/dist/domains/requirements-validation/plugin.d.ts.map +1 -1
- package/v3/dist/domains/requirements-validation/plugin.js +2 -1
- package/v3/dist/domains/requirements-validation/plugin.js.map +1 -1
- package/v3/dist/domains/requirements-validation/qcsd-ideation-plugin.d.ts.map +1 -1
- package/v3/dist/domains/requirements-validation/qcsd-ideation-plugin.js +12 -11
- package/v3/dist/domains/requirements-validation/qcsd-ideation-plugin.js.map +1 -1
- package/v3/dist/domains/requirements-validation/qcsd-refinement-plugin.d.ts.map +1 -1
- package/v3/dist/domains/requirements-validation/qcsd-refinement-plugin.js +11 -10
- package/v3/dist/domains/requirements-validation/qcsd-refinement-plugin.js.map +1 -1
- package/v3/dist/domains/requirements-validation/services/bdd-scenario-writer.d.ts.map +1 -1
- package/v3/dist/domains/requirements-validation/services/bdd-scenario-writer.js +4 -3
- package/v3/dist/domains/requirements-validation/services/bdd-scenario-writer.js.map +1 -1
- package/v3/dist/domains/requirements-validation/services/product-factors-assessment/code-intelligence/codebase-analyzer.d.ts.map +1 -1
- package/v3/dist/domains/requirements-validation/services/product-factors-assessment/code-intelligence/codebase-analyzer.js +3 -2
- package/v3/dist/domains/requirements-validation/services/product-factors-assessment/code-intelligence/codebase-analyzer.js.map +1 -1
- package/v3/dist/domains/requirements-validation/services/requirements-validator.d.ts.map +1 -1
- package/v3/dist/domains/requirements-validation/services/requirements-validator.js +7 -5
- package/v3/dist/domains/requirements-validation/services/requirements-validator.js.map +1 -1
- package/v3/dist/domains/requirements-validation/services/testability-scorer.d.ts.map +1 -1
- package/v3/dist/domains/requirements-validation/services/testability-scorer.js +4 -3
- package/v3/dist/domains/requirements-validation/services/testability-scorer.js.map +1 -1
- package/v3/dist/domains/security-compliance/coordinator.d.ts +12 -58
- package/v3/dist/domains/security-compliance/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/coordinator.js +22 -164
- package/v3/dist/domains/security-compliance/coordinator.js.map +1 -1
- package/v3/dist/domains/security-compliance/index.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/index.js +14 -0
- package/v3/dist/domains/security-compliance/index.js.map +1 -1
- package/v3/dist/domains/security-compliance/plugin.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/plugin.js +2 -1
- package/v3/dist/domains/security-compliance/plugin.js.map +1 -1
- package/v3/dist/domains/security-compliance/services/compliance-validator.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/services/compliance-validator.js +6 -5
- package/v3/dist/domains/security-compliance/services/compliance-validator.js.map +1 -1
- package/v3/dist/domains/security-compliance/services/scanners/dast-helpers.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/services/scanners/dast-helpers.js +2 -1
- package/v3/dist/domains/security-compliance/services/scanners/dast-helpers.js.map +1 -1
- package/v3/dist/domains/security-compliance/services/scanners/dast-scanner.d.ts +1 -1
- package/v3/dist/domains/security-compliance/services/scanners/dast-scanner.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/services/scanners/dast-scanner.js +4 -3
- package/v3/dist/domains/security-compliance/services/scanners/dast-scanner.js.map +1 -1
- package/v3/dist/domains/security-compliance/services/scanners/dependency-scanner.d.ts +1 -1
- package/v3/dist/domains/security-compliance/services/scanners/dependency-scanner.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/services/scanners/dependency-scanner.js +7 -5
- package/v3/dist/domains/security-compliance/services/scanners/dependency-scanner.js.map +1 -1
- package/v3/dist/domains/security-compliance/services/scanners/sast-scanner.d.ts +2 -2
- package/v3/dist/domains/security-compliance/services/scanners/sast-scanner.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/services/scanners/sast-scanner.js +6 -4
- package/v3/dist/domains/security-compliance/services/scanners/sast-scanner.js.map +1 -1
- package/v3/dist/domains/security-compliance/services/scanners/scanner-orchestrator.d.ts +2 -2
- package/v3/dist/domains/security-compliance/services/scanners/scanner-orchestrator.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/services/scanners/scanner-orchestrator.js +3 -2
- package/v3/dist/domains/security-compliance/services/scanners/scanner-orchestrator.js.map +1 -1
- package/v3/dist/domains/security-compliance/services/scanners/scanner-types.d.ts +2 -2
- package/v3/dist/domains/security-compliance/services/scanners/scanner-types.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/services/security-auditor-dast.d.ts +11 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-dast.d.ts.map +1 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-dast.js +284 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-dast.js.map +1 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-reports.d.ts +44 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-reports.d.ts.map +1 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-reports.js +193 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-reports.js.map +1 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-sast.d.ts +27 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-sast.d.ts.map +1 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-sast.js +279 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-sast.js.map +1 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-secrets.d.ts +34 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-secrets.d.ts.map +1 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-secrets.js +236 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-secrets.js.map +1 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-types.d.ts +93 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-types.d.ts.map +1 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-types.js +50 -0
- package/v3/dist/domains/security-compliance/services/security-auditor-types.js.map +1 -0
- package/v3/dist/domains/security-compliance/services/security-auditor.d.ts +12 -132
- package/v3/dist/domains/security-compliance/services/security-auditor.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/services/security-auditor.js +71 -1188
- package/v3/dist/domains/security-compliance/services/security-auditor.js.map +1 -1
- package/v3/dist/domains/security-compliance/services/semgrep-integration.d.ts.map +1 -1
- package/v3/dist/domains/security-compliance/services/semgrep-integration.js +4 -2
- package/v3/dist/domains/security-compliance/services/semgrep-integration.js.map +1 -1
- package/v3/dist/domains/test-execution/coordinator.d.ts +8 -60
- package/v3/dist/domains/test-execution/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/coordinator.js +19 -132
- package/v3/dist/domains/test-execution/coordinator.js.map +1 -1
- package/v3/dist/domains/test-execution/services/auth-state-manager.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/auth-state-manager.js +2 -1
- package/v3/dist/domains/test-execution/services/auth-state-manager.js.map +1 -1
- package/v3/dist/domains/test-execution/services/e2e/assertion-handlers.d.ts +2 -2
- package/v3/dist/domains/test-execution/services/e2e/assertion-handlers.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/e2e/browser-orchestrator.d.ts +2 -2
- package/v3/dist/domains/test-execution/services/e2e/browser-orchestrator.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/e2e/browser-orchestrator.js +2 -1
- package/v3/dist/domains/test-execution/services/e2e/browser-orchestrator.js.map +1 -1
- package/v3/dist/domains/test-execution/services/e2e/e2e-coordinator.d.ts +2 -2
- package/v3/dist/domains/test-execution/services/e2e/e2e-coordinator.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/e2e/e2e-coordinator.js +3 -2
- package/v3/dist/domains/test-execution/services/e2e/e2e-coordinator.js.map +1 -1
- package/v3/dist/domains/test-execution/services/e2e/result-collector.d.ts +1 -1
- package/v3/dist/domains/test-execution/services/e2e/result-collector.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/e2e/step-executors.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/e2e/step-executors.js +2 -1
- package/v3/dist/domains/test-execution/services/e2e/step-executors.js.map +1 -1
- package/v3/dist/domains/test-execution/services/e2e/step-retry-handler.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/e2e/step-retry-handler.js +3 -2
- package/v3/dist/domains/test-execution/services/e2e/step-retry-handler.js.map +1 -1
- package/v3/dist/domains/test-execution/services/e2e/types.d.ts +2 -2
- package/v3/dist/domains/test-execution/services/e2e/types.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/e2e/wait-condition-handler.d.ts +1 -1
- package/v3/dist/domains/test-execution/services/e2e/wait-condition-handler.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/flaky-detector.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/flaky-detector.js +7 -5
- package/v3/dist/domains/test-execution/services/flaky-detector.js.map +1 -1
- package/v3/dist/domains/test-execution/services/retry-handler.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/retry-handler.js +8 -6
- package/v3/dist/domains/test-execution/services/retry-handler.js.map +1 -1
- package/v3/dist/domains/test-execution/services/test-executor.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/test-executor.js +8 -6
- package/v3/dist/domains/test-execution/services/test-executor.js.map +1 -1
- package/v3/dist/domains/test-execution/services/test-prioritizer.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/test-prioritizer.js +2 -1
- package/v3/dist/domains/test-execution/services/test-prioritizer.js.map +1 -1
- package/v3/dist/domains/test-execution/services/user-flow-generator.d.ts +28 -0
- package/v3/dist/domains/test-execution/services/user-flow-generator.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/services/user-flow-generator.js +156 -189
- package/v3/dist/domains/test-execution/services/user-flow-generator.js.map +1 -1
- package/v3/dist/domains/test-generation/coordinator.d.ts +14 -78
- package/v3/dist/domains/test-generation/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/coordinator.js +58 -202
- package/v3/dist/domains/test-generation/coordinator.js.map +1 -1
- package/v3/dist/domains/test-generation/generators/base-test-generator.d.ts +10 -0
- package/v3/dist/domains/test-generation/generators/base-test-generator.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/generators/base-test-generator.js +37 -30
- package/v3/dist/domains/test-generation/generators/base-test-generator.js.map +1 -1
- package/v3/dist/domains/test-generation/index.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/index.js +10 -0
- package/v3/dist/domains/test-generation/index.js.map +1 -1
- package/v3/dist/domains/test-generation/plugin.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/plugin.js +2 -1
- package/v3/dist/domains/test-generation/plugin.js.map +1 -1
- package/v3/dist/domains/test-generation/services/code-transform-integration.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/services/code-transform-integration.js +2 -1
- package/v3/dist/domains/test-generation/services/code-transform-integration.js.map +1 -1
- package/v3/dist/domains/test-generation/services/pattern-matcher.d.ts +10 -0
- package/v3/dist/domains/test-generation/services/pattern-matcher.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/services/pattern-matcher.js +43 -41
- package/v3/dist/domains/test-generation/services/pattern-matcher.js.map +1 -1
- package/v3/dist/domains/test-generation/services/test-generator.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/services/test-generator.js +47 -17
- package/v3/dist/domains/test-generation/services/test-generator.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/coordinator.d.ts +17 -60
- package/v3/dist/domains/visual-accessibility/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/coordinator.js +32 -183
- package/v3/dist/domains/visual-accessibility/coordinator.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/plugin.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/plugin.js +4 -3
- package/v3/dist/domains/visual-accessibility/plugin.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester-browser.d.ts +114 -0
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester-browser.d.ts.map +1 -0
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester-browser.js +578 -0
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester-browser.js.map +1 -0
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester-heuristics.d.ts +54 -0
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester-heuristics.d.ts.map +1 -0
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester-heuristics.js +403 -0
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester-heuristics.js.map +1 -0
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester.d.ts +1 -314
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester.js +79 -1467
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/axe-core-audit.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/axe-core-audit.js +2 -1
- package/v3/dist/domains/visual-accessibility/services/axe-core-audit.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/axe-core-integration.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/axe-core-integration.js +5 -4
- package/v3/dist/domains/visual-accessibility/services/axe-core-integration.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/browser-security-scanner.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/browser-security-scanner.js +5 -4
- package/v3/dist/domains/visual-accessibility/services/browser-security-scanner.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/browser-swarm-coordinator.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/browser-swarm-coordinator.js +8 -7
- package/v3/dist/domains/visual-accessibility/services/browser-swarm-coordinator.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/eu-compliance.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/eu-compliance.js +2 -1
- package/v3/dist/domains/visual-accessibility/services/eu-compliance.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/responsive-tester.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/responsive-tester.js +5 -4
- package/v3/dist/domains/visual-accessibility/services/responsive-tester.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/viewport-capture.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/viewport-capture.js +7 -6
- package/v3/dist/domains/visual-accessibility/services/viewport-capture.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/visual-regression.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/visual-regression.js +11 -10
- package/v3/dist/domains/visual-accessibility/services/visual-regression.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/visual-tester.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/visual-tester.js +7 -6
- package/v3/dist/domains/visual-accessibility/services/visual-tester.js.map +1 -1
- package/v3/dist/early-exit/early-exit-controller.d.ts.map +1 -1
- package/v3/dist/early-exit/early-exit-controller.js +4 -3
- package/v3/dist/early-exit/early-exit-controller.js.map +1 -1
- package/v3/dist/feedback/coverage-learner.d.ts.map +1 -1
- package/v3/dist/feedback/coverage-learner.js +7 -5
- package/v3/dist/feedback/coverage-learner.js.map +1 -1
- package/v3/dist/feedback/test-outcome-tracker.d.ts.map +1 -1
- package/v3/dist/feedback/test-outcome-tracker.js +6 -4
- package/v3/dist/feedback/test-outcome-tracker.js.map +1 -1
- package/v3/dist/governance/adversarial-defense-integration.d.ts +0 -18
- package/v3/dist/governance/adversarial-defense-integration.d.ts.map +1 -1
- package/v3/dist/governance/adversarial-defense-integration.js +2 -1
- package/v3/dist/governance/adversarial-defense-integration.js.map +1 -1
- package/v3/dist/governance/compliance-reporter.d.ts +0 -16
- package/v3/dist/governance/compliance-reporter.d.ts.map +1 -1
- package/v3/dist/governance/compliance-reporter.js +6 -8
- package/v3/dist/governance/compliance-reporter.js.map +1 -1
- package/v3/dist/governance/continue-gate-integration.d.ts.map +1 -1
- package/v3/dist/governance/continue-gate-integration.js +3 -2
- package/v3/dist/governance/continue-gate-integration.js.map +1 -1
- package/v3/dist/governance/evolution-pipeline-integration.d.ts.map +1 -1
- package/v3/dist/governance/evolution-pipeline-integration.js +3 -2
- package/v3/dist/governance/evolution-pipeline-integration.js.map +1 -1
- package/v3/dist/governance/proof-envelope-integration.d.ts.map +1 -1
- package/v3/dist/governance/proof-envelope-integration.js +4 -4
- package/v3/dist/governance/proof-envelope-integration.js.map +1 -1
- package/v3/dist/governance/shard-embeddings.d.ts.map +1 -1
- package/v3/dist/governance/shard-embeddings.js +16 -2
- package/v3/dist/governance/shard-embeddings.js.map +1 -1
- package/v3/dist/governance/shard-retriever-integration.d.ts.map +1 -1
- package/v3/dist/governance/shard-retriever-integration.js +4 -3
- package/v3/dist/governance/shard-retriever-integration.js.map +1 -1
- package/v3/dist/governance/wasm-kernel-integration.d.ts.map +1 -1
- package/v3/dist/governance/wasm-kernel-integration.js +4 -2
- package/v3/dist/governance/wasm-kernel-integration.js.map +1 -1
- package/v3/dist/hooks/reasoning-bank-pattern-store.d.ts.map +1 -1
- package/v3/dist/hooks/reasoning-bank-pattern-store.js +3 -2
- package/v3/dist/hooks/reasoning-bank-pattern-store.js.map +1 -1
- package/v3/dist/hooks/task-completed-hook.d.ts.map +1 -1
- package/v3/dist/hooks/task-completed-hook.js +3 -2
- package/v3/dist/hooks/task-completed-hook.js.map +1 -1
- package/v3/dist/init/agents-installer.d.ts.map +1 -1
- package/v3/dist/init/agents-installer.js +2 -1
- package/v3/dist/init/agents-installer.js.map +1 -1
- package/v3/dist/init/enhancements/claude-flow-adapter.d.ts.map +1 -1
- package/v3/dist/init/enhancements/claude-flow-adapter.js +3 -2
- package/v3/dist/init/enhancements/claude-flow-adapter.js.map +1 -1
- package/v3/dist/init/fleet-integration.d.ts.map +1 -1
- package/v3/dist/init/fleet-integration.js +2 -1
- package/v3/dist/init/fleet-integration.js.map +1 -1
- package/v3/dist/init/governance-installer.d.ts.map +1 -1
- package/v3/dist/init/governance-installer.js +5 -4
- package/v3/dist/init/governance-installer.js.map +1 -1
- package/v3/dist/init/init-wizard-hooks.d.ts +26 -0
- package/v3/dist/init/init-wizard-hooks.d.ts.map +1 -0
- package/v3/dist/init/init-wizard-hooks.js +555 -0
- package/v3/dist/init/init-wizard-hooks.js.map +1 -0
- package/v3/dist/init/init-wizard-migration.d.ts +52 -0
- package/v3/dist/init/init-wizard-migration.d.ts.map +1 -0
- package/v3/dist/init/init-wizard-migration.js +349 -0
- package/v3/dist/init/init-wizard-migration.js.map +1 -0
- package/v3/dist/init/init-wizard-steps.d.ts +68 -0
- package/v3/dist/init/init-wizard-steps.d.ts.map +1 -0
- package/v3/dist/init/init-wizard-steps.js +457 -0
- package/v3/dist/init/init-wizard-steps.js.map +1 -0
- package/v3/dist/init/init-wizard.d.ts +8 -130
- package/v3/dist/init/init-wizard.d.ts.map +1 -1
- package/v3/dist/init/init-wizard.js +108 -1528
- package/v3/dist/init/init-wizard.js.map +1 -1
- package/v3/dist/init/migration/config-migrator.d.ts.map +1 -1
- package/v3/dist/init/migration/config-migrator.js +2 -1
- package/v3/dist/init/migration/config-migrator.js.map +1 -1
- package/v3/dist/init/migration/data-migrator.d.ts.map +1 -1
- package/v3/dist/init/migration/data-migrator.js +10 -9
- package/v3/dist/init/migration/data-migrator.js.map +1 -1
- package/v3/dist/init/migration/detector.d.ts.map +1 -1
- package/v3/dist/init/migration/detector.js +2 -1
- package/v3/dist/init/migration/detector.js.map +1 -1
- package/v3/dist/init/n8n-installer.d.ts.map +1 -1
- package/v3/dist/init/n8n-installer.js +4 -3
- package/v3/dist/init/n8n-installer.js.map +1 -1
- package/v3/dist/init/orchestrator.d.ts.map +1 -1
- package/v3/dist/init/orchestrator.js +2 -1
- package/v3/dist/init/orchestrator.js.map +1 -1
- package/v3/dist/init/phases/01-detection.d.ts.map +1 -1
- package/v3/dist/init/phases/01-detection.js +2 -1
- package/v3/dist/init/phases/01-detection.js.map +1 -1
- package/v3/dist/init/phases/06-code-intelligence.d.ts.map +1 -1
- package/v3/dist/init/phases/06-code-intelligence.js +2 -1
- package/v3/dist/init/phases/06-code-intelligence.js.map +1 -1
- package/v3/dist/init/phases/07-hooks.d.ts.map +1 -1
- package/v3/dist/init/phases/07-hooks.js +2 -1
- package/v3/dist/init/phases/07-hooks.js.map +1 -1
- package/v3/dist/init/phases/08-mcp.d.ts.map +1 -1
- package/v3/dist/init/phases/08-mcp.js +3 -2
- package/v3/dist/init/phases/08-mcp.js.map +1 -1
- package/v3/dist/init/phases/phase-interface.d.ts.map +1 -1
- package/v3/dist/init/phases/phase-interface.js +3 -2
- package/v3/dist/init/phases/phase-interface.js.map +1 -1
- package/v3/dist/init/project-analyzer.d.ts.map +1 -1
- package/v3/dist/init/project-analyzer.js +3 -2
- package/v3/dist/init/project-analyzer.js.map +1 -1
- package/v3/dist/init/skills-installer.d.ts.map +1 -1
- package/v3/dist/init/skills-installer.js +2 -1
- package/v3/dist/init/skills-installer.js.map +1 -1
- package/v3/dist/integrations/agent-booster-wasm/index.d.ts.map +1 -1
- package/v3/dist/integrations/agent-booster-wasm/index.js +4 -1
- package/v3/dist/integrations/agent-booster-wasm/index.js.map +1 -1
- package/v3/dist/integrations/agentic-flow/metrics/pattern-updater.d.ts.map +1 -1
- package/v3/dist/integrations/agentic-flow/metrics/pattern-updater.js +6 -4
- package/v3/dist/integrations/agentic-flow/metrics/pattern-updater.js.map +1 -1
- package/v3/dist/integrations/agentic-flow/onnx-embeddings/adapter.d.ts.map +1 -1
- package/v3/dist/integrations/agentic-flow/onnx-embeddings/adapter.js +10 -0
- package/v3/dist/integrations/agentic-flow/onnx-embeddings/adapter.js.map +1 -1
- package/v3/dist/integrations/agentic-flow/pattern-loader.d.ts.map +1 -1
- package/v3/dist/integrations/agentic-flow/pattern-loader.js +4 -2
- package/v3/dist/integrations/agentic-flow/pattern-loader.js.map +1 -1
- package/v3/dist/integrations/agentic-flow/reasoning-bank/experience-replay.d.ts +4 -2
- package/v3/dist/integrations/agentic-flow/reasoning-bank/experience-replay.d.ts.map +1 -1
- package/v3/dist/integrations/agentic-flow/reasoning-bank/experience-replay.js +70 -43
- package/v3/dist/integrations/agentic-flow/reasoning-bank/experience-replay.js.map +1 -1
- package/v3/dist/integrations/agentic-flow/reasoning-bank/index.d.ts.map +1 -1
- package/v3/dist/integrations/agentic-flow/reasoning-bank/index.js +2 -1
- package/v3/dist/integrations/agentic-flow/reasoning-bank/index.js.map +1 -1
- package/v3/dist/integrations/agentic-flow/reasoning-bank/pattern-evolution.d.ts.map +1 -1
- package/v3/dist/integrations/agentic-flow/reasoning-bank/pattern-evolution.js +6 -5
- package/v3/dist/integrations/agentic-flow/reasoning-bank/pattern-evolution.js.map +1 -1
- package/v3/dist/integrations/agentic-flow/reasoning-bank/trajectory-tracker.d.ts.map +1 -1
- package/v3/dist/integrations/agentic-flow/reasoning-bank/trajectory-tracker.js +7 -6
- package/v3/dist/integrations/agentic-flow/reasoning-bank/trajectory-tracker.js.map +1 -1
- package/v3/dist/integrations/browser/agent-browser/client.d.ts.map +1 -1
- package/v3/dist/integrations/browser/agent-browser/client.js +33 -31
- package/v3/dist/integrations/browser/agent-browser/client.js.map +1 -1
- package/v3/dist/integrations/browser/agent-browser/command-executor.d.ts.map +1 -1
- package/v3/dist/integrations/browser/agent-browser/command-executor.js +42 -22
- package/v3/dist/integrations/browser/agent-browser/command-executor.js.map +1 -1
- package/v3/dist/integrations/browser/agent-browser/snapshot-parser.d.ts.map +1 -1
- package/v3/dist/integrations/browser/agent-browser/snapshot-parser.js +2 -1
- package/v3/dist/integrations/browser/agent-browser/snapshot-parser.js.map +1 -1
- package/v3/dist/integrations/browser/web-content-fetcher.d.ts.map +1 -1
- package/v3/dist/integrations/browser/web-content-fetcher.js +4 -2
- package/v3/dist/integrations/browser/web-content-fetcher.js.map +1 -1
- package/v3/dist/integrations/coherence/coherence-service.d.ts.map +1 -1
- package/v3/dist/integrations/coherence/coherence-service.js +4 -3
- package/v3/dist/integrations/coherence/coherence-service.js.map +1 -1
- package/v3/dist/integrations/coherence/engines/spectral-adapter.d.ts.map +1 -1
- package/v3/dist/integrations/coherence/engines/spectral-adapter.js +4 -3
- package/v3/dist/integrations/coherence/engines/spectral-adapter.js.map +1 -1
- package/v3/dist/integrations/coherence/wasm-loader.d.ts.map +1 -1
- package/v3/dist/integrations/coherence/wasm-loader.js +4 -3
- package/v3/dist/integrations/coherence/wasm-loader.js.map +1 -1
- package/v3/dist/integrations/embeddings/cache/EmbeddingCache.d.ts +6 -0
- package/v3/dist/integrations/embeddings/cache/EmbeddingCache.d.ts.map +1 -1
- package/v3/dist/integrations/embeddings/cache/EmbeddingCache.js +35 -6
- package/v3/dist/integrations/embeddings/cache/EmbeddingCache.js.map +1 -1
- package/v3/dist/integrations/n8n/agent-factory.d.ts.map +1 -1
- package/v3/dist/integrations/n8n/agent-factory.js +2 -1
- package/v3/dist/integrations/n8n/agent-factory.js.map +1 -1
- package/v3/dist/integrations/rl-suite/base-algorithm.d.ts.map +1 -1
- package/v3/dist/integrations/rl-suite/base-algorithm.js +8 -3
- package/v3/dist/integrations/rl-suite/base-algorithm.js.map +1 -1
- package/v3/dist/integrations/rl-suite/persistence/q-value-store.d.ts.map +1 -1
- package/v3/dist/integrations/rl-suite/persistence/q-value-store.js +2 -1
- package/v3/dist/integrations/rl-suite/persistence/q-value-store.js.map +1 -1
- package/v3/dist/integrations/ruvector/ast-complexity.d.ts.map +1 -1
- package/v3/dist/integrations/ruvector/ast-complexity.js +3 -2
- package/v3/dist/integrations/ruvector/ast-complexity.js.map +1 -1
- package/v3/dist/integrations/ruvector/attention-wrapper.d.ts.map +1 -1
- package/v3/dist/integrations/ruvector/attention-wrapper.js +2 -1
- package/v3/dist/integrations/ruvector/attention-wrapper.js.map +1 -1
- package/v3/dist/integrations/ruvector/coverage-router.d.ts.map +1 -1
- package/v3/dist/integrations/ruvector/coverage-router.js +3 -2
- package/v3/dist/integrations/ruvector/coverage-router.js.map +1 -1
- package/v3/dist/integrations/ruvector/diff-risk-classifier.d.ts.map +1 -1
- package/v3/dist/integrations/ruvector/diff-risk-classifier.js +3 -2
- package/v3/dist/integrations/ruvector/diff-risk-classifier.js.map +1 -1
- package/v3/dist/integrations/ruvector/gnn-wrapper.d.ts.map +1 -1
- package/v3/dist/integrations/ruvector/gnn-wrapper.js +2 -1
- package/v3/dist/integrations/ruvector/gnn-wrapper.js.map +1 -1
- package/v3/dist/integrations/ruvector/graph-boundaries.d.ts.map +1 -1
- package/v3/dist/integrations/ruvector/graph-boundaries.js +3 -2
- package/v3/dist/integrations/ruvector/graph-boundaries.js.map +1 -1
- package/v3/dist/integrations/ruvector/hypergraph-engine.d.ts.map +1 -1
- package/v3/dist/integrations/ruvector/hypergraph-engine.js +68 -67
- package/v3/dist/integrations/ruvector/hypergraph-engine.js.map +1 -1
- package/v3/dist/integrations/ruvector/hypergraph-schema.d.ts.map +1 -1
- package/v3/dist/integrations/ruvector/hypergraph-schema.js +3 -2
- package/v3/dist/integrations/ruvector/hypergraph-schema.js.map +1 -1
- package/v3/dist/integrations/ruvector/persistent-q-router.d.ts.map +1 -1
- package/v3/dist/integrations/ruvector/persistent-q-router.js +35 -11
- package/v3/dist/integrations/ruvector/persistent-q-router.js.map +1 -1
- package/v3/dist/integrations/ruvector/q-learning-router.d.ts.map +1 -1
- package/v3/dist/integrations/ruvector/q-learning-router.js +3 -2
- package/v3/dist/integrations/ruvector/q-learning-router.js.map +1 -1
- package/v3/dist/integrations/ruvector/server-client.d.ts.map +1 -1
- package/v3/dist/integrations/ruvector/server-client.js +23 -10
- package/v3/dist/integrations/ruvector/server-client.js.map +1 -1
- package/v3/dist/integrations/ruvector/sona-persistence.d.ts.map +1 -1
- package/v3/dist/integrations/ruvector/sona-persistence.js +11 -6
- package/v3/dist/integrations/ruvector/sona-persistence.js.map +1 -1
- package/v3/dist/integrations/vibium/client.d.ts.map +1 -1
- package/v3/dist/integrations/vibium/client.js +11 -10
- package/v3/dist/integrations/vibium/client.js.map +1 -1
- package/v3/dist/kernel/anti-drift-middleware.d.ts.map +1 -1
- package/v3/dist/kernel/anti-drift-middleware.js +8 -3
- package/v3/dist/kernel/anti-drift-middleware.js.map +1 -1
- package/v3/dist/kernel/hybrid-backend.d.ts.map +1 -1
- package/v3/dist/kernel/hybrid-backend.js +4 -0
- package/v3/dist/kernel/hybrid-backend.js.map +1 -1
- package/v3/dist/kernel/index.d.ts +1 -1
- package/v3/dist/kernel/index.d.ts.map +1 -1
- package/v3/dist/kernel/index.js +1 -1
- package/v3/dist/kernel/index.js.map +1 -1
- package/v3/dist/kernel/kernel.d.ts +5 -0
- package/v3/dist/kernel/kernel.d.ts.map +1 -1
- package/v3/dist/kernel/kernel.js +43 -22
- package/v3/dist/kernel/kernel.js.map +1 -1
- package/v3/dist/kernel/memory-factory.d.ts.map +1 -1
- package/v3/dist/kernel/memory-factory.js +12 -4
- package/v3/dist/kernel/memory-factory.js.map +1 -1
- package/v3/dist/kernel/plugin-loader.d.ts.map +1 -1
- package/v3/dist/kernel/plugin-loader.js +4 -1
- package/v3/dist/kernel/plugin-loader.js.map +1 -1
- package/v3/dist/kernel/unified-memory-hnsw.d.ts +101 -0
- package/v3/dist/kernel/unified-memory-hnsw.d.ts.map +1 -0
- package/v3/dist/kernel/unified-memory-hnsw.js +411 -0
- package/v3/dist/kernel/unified-memory-hnsw.js.map +1 -0
- package/v3/dist/kernel/unified-memory-migration.d.ts.map +1 -1
- package/v3/dist/kernel/unified-memory-migration.js +14 -15
- package/v3/dist/kernel/unified-memory-migration.js.map +1 -1
- package/v3/dist/kernel/unified-memory-schemas.d.ts +21 -0
- package/v3/dist/kernel/unified-memory-schemas.d.ts.map +1 -0
- package/v3/dist/kernel/unified-memory-schemas.js +581 -0
- package/v3/dist/kernel/unified-memory-schemas.js.map +1 -0
- package/v3/dist/kernel/unified-memory.d.ts +13 -197
- package/v3/dist/kernel/unified-memory.d.ts.map +1 -1
- package/v3/dist/kernel/unified-memory.js +117 -1379
- package/v3/dist/kernel/unified-memory.js.map +1 -1
- package/v3/dist/kernel/unified-persistence.d.ts.map +1 -1
- package/v3/dist/kernel/unified-persistence.js +6 -4
- package/v3/dist/kernel/unified-persistence.js.map +1 -1
- package/v3/dist/learning/aqe-learning-engine.d.ts.map +1 -1
- package/v3/dist/learning/aqe-learning-engine.js +11 -9
- package/v3/dist/learning/aqe-learning-engine.js.map +1 -1
- package/v3/dist/learning/dream/concept-graph.d.ts.map +1 -1
- package/v3/dist/learning/dream/concept-graph.js +6 -4
- package/v3/dist/learning/dream/concept-graph.js.map +1 -1
- package/v3/dist/learning/dream/dream-engine.d.ts +8 -0
- package/v3/dist/learning/dream/dream-engine.d.ts.map +1 -1
- package/v3/dist/learning/dream/dream-engine.js +35 -5
- package/v3/dist/learning/dream/dream-engine.js.map +1 -1
- package/v3/dist/learning/dream/dream-scheduler.d.ts.map +1 -1
- package/v3/dist/learning/dream/dream-scheduler.js +34 -22
- package/v3/dist/learning/dream/dream-scheduler.js.map +1 -1
- package/v3/dist/learning/experience-capture-middleware.d.ts.map +1 -1
- package/v3/dist/learning/experience-capture-middleware.js +2 -1
- package/v3/dist/learning/experience-capture-middleware.js.map +1 -1
- package/v3/dist/learning/experience-capture.d.ts.map +1 -1
- package/v3/dist/learning/experience-capture.js +4 -1
- package/v3/dist/learning/experience-capture.js.map +1 -1
- package/v3/dist/learning/memory-auditor.d.ts.map +1 -1
- package/v3/dist/learning/memory-auditor.js +3 -2
- package/v3/dist/learning/memory-auditor.js.map +1 -1
- package/v3/dist/learning/metrics-tracker.d.ts.map +1 -1
- package/v3/dist/learning/metrics-tracker.js +6 -2
- package/v3/dist/learning/metrics-tracker.js.map +1 -1
- package/v3/dist/learning/pattern-lifecycle.d.ts.map +1 -1
- package/v3/dist/learning/pattern-lifecycle.js +11 -5
- package/v3/dist/learning/pattern-lifecycle.js.map +1 -1
- package/v3/dist/learning/pattern-store.d.ts +7 -0
- package/v3/dist/learning/pattern-store.d.ts.map +1 -1
- package/v3/dist/learning/pattern-store.js +32 -4
- package/v3/dist/learning/pattern-store.js.map +1 -1
- package/v3/dist/learning/qe-hooks.d.ts.map +1 -1
- package/v3/dist/learning/qe-hooks.js +55 -10
- package/v3/dist/learning/qe-hooks.js.map +1 -1
- package/v3/dist/learning/qe-reasoning-bank.d.ts +13 -0
- package/v3/dist/learning/qe-reasoning-bank.d.ts.map +1 -1
- package/v3/dist/learning/qe-reasoning-bank.js +64 -24
- package/v3/dist/learning/qe-reasoning-bank.js.map +1 -1
- package/v3/dist/learning/qe-unified-memory.d.ts.map +1 -1
- package/v3/dist/learning/qe-unified-memory.js +31 -21
- package/v3/dist/learning/qe-unified-memory.js.map +1 -1
- package/v3/dist/learning/real-embeddings.d.ts.map +1 -1
- package/v3/dist/learning/real-embeddings.js +2 -1
- package/v3/dist/learning/real-embeddings.js.map +1 -1
- package/v3/dist/learning/real-qe-reasoning-bank.d.ts.map +1 -1
- package/v3/dist/learning/real-qe-reasoning-bank.js +47 -34
- package/v3/dist/learning/real-qe-reasoning-bank.js.map +1 -1
- package/v3/dist/learning/skill-validation-learner.d.ts.map +1 -1
- package/v3/dist/learning/skill-validation-learner.js +21 -12
- package/v3/dist/learning/skill-validation-learner.js.map +1 -1
- package/v3/dist/learning/sqlite-persistence.d.ts +9 -0
- package/v3/dist/learning/sqlite-persistence.d.ts.map +1 -1
- package/v3/dist/learning/sqlite-persistence.js +65 -6
- package/v3/dist/learning/sqlite-persistence.js.map +1 -1
- package/v3/dist/learning/token-tracker.d.ts.map +1 -1
- package/v3/dist/learning/token-tracker.js +4 -2
- package/v3/dist/learning/token-tracker.js.map +1 -1
- package/v3/dist/learning/v2-to-v3-migration.d.ts.map +1 -1
- package/v3/dist/learning/v2-to-v3-migration.js +9 -4
- package/v3/dist/learning/v2-to-v3-migration.js.map +1 -1
- package/v3/dist/mcp/bundle.js +15199 -13931
- package/v3/dist/mcp/entry.js +21 -1
- package/v3/dist/mcp/entry.js.map +1 -1
- package/v3/dist/mcp/handlers/agent-handlers.d.ts.map +1 -1
- package/v3/dist/mcp/handlers/agent-handlers.js +5 -4
- package/v3/dist/mcp/handlers/agent-handlers.js.map +1 -1
- package/v3/dist/mcp/handlers/core-handlers.d.ts.map +1 -1
- package/v3/dist/mcp/handlers/core-handlers.js +4 -3
- package/v3/dist/mcp/handlers/core-handlers.js.map +1 -1
- package/v3/dist/mcp/handlers/handler-factory.d.ts.map +1 -1
- package/v3/dist/mcp/handlers/handler-factory.js +12 -3
- package/v3/dist/mcp/handlers/handler-factory.js.map +1 -1
- package/v3/dist/mcp/handlers/memory-handlers.d.ts.map +1 -1
- package/v3/dist/mcp/handlers/memory-handlers.js +8 -8
- package/v3/dist/mcp/handlers/memory-handlers.js.map +1 -1
- package/v3/dist/mcp/handlers/task-handlers.d.ts.map +1 -1
- package/v3/dist/mcp/handlers/task-handlers.js +11 -10
- package/v3/dist/mcp/handlers/task-handlers.js.map +1 -1
- package/v3/dist/mcp/http-server.js +1 -1
- package/v3/dist/mcp/http-server.js.map +1 -1
- package/v3/dist/mcp/security/index.d.ts +2 -6
- package/v3/dist/mcp/security/index.d.ts.map +1 -1
- package/v3/dist/mcp/security/index.js +2 -2
- package/v3/dist/mcp/security/index.js.map +1 -1
- package/v3/dist/mcp/security/oauth21-provider.d.ts +7 -0
- package/v3/dist/mcp/security/oauth21-provider.d.ts.map +1 -1
- package/v3/dist/mcp/security/oauth21-provider.js +15 -3
- package/v3/dist/mcp/security/oauth21-provider.js.map +1 -1
- package/v3/dist/mcp/server.d.ts.map +1 -1
- package/v3/dist/mcp/server.js +10 -24
- package/v3/dist/mcp/server.js.map +1 -1
- package/v3/dist/mcp/tool-registry.d.ts.map +1 -1
- package/v3/dist/mcp/tool-registry.js +2 -1
- package/v3/dist/mcp/tool-registry.js.map +1 -1
- package/v3/dist/mcp/tools/analysis/token-usage.d.ts.map +1 -1
- package/v3/dist/mcp/tools/analysis/token-usage.js +2 -1
- package/v3/dist/mcp/tools/analysis/token-usage.js.map +1 -1
- package/v3/dist/mcp/tools/base.d.ts.map +1 -1
- package/v3/dist/mcp/tools/base.js +2 -1
- package/v3/dist/mcp/tools/base.js.map +1 -1
- package/v3/dist/mcp/tools/chaos-resilience/inject.d.ts.map +1 -1
- package/v3/dist/mcp/tools/chaos-resilience/inject.js +2 -1
- package/v3/dist/mcp/tools/chaos-resilience/inject.js.map +1 -1
- package/v3/dist/mcp/tools/code-intelligence/analyze.d.ts.map +1 -1
- package/v3/dist/mcp/tools/code-intelligence/analyze.js +2 -1
- package/v3/dist/mcp/tools/code-intelligence/analyze.js.map +1 -1
- package/v3/dist/mcp/tools/coherence/audit.d.ts.map +1 -1
- package/v3/dist/mcp/tools/coherence/audit.js +2 -1
- package/v3/dist/mcp/tools/coherence/audit.js.map +1 -1
- package/v3/dist/mcp/tools/coherence/check.d.ts.map +1 -1
- package/v3/dist/mcp/tools/coherence/check.js +2 -1
- package/v3/dist/mcp/tools/coherence/check.js.map +1 -1
- package/v3/dist/mcp/tools/coherence/collapse.d.ts.map +1 -1
- package/v3/dist/mcp/tools/coherence/collapse.js +2 -1
- package/v3/dist/mcp/tools/coherence/collapse.js.map +1 -1
- package/v3/dist/mcp/tools/coherence/consensus.d.ts.map +1 -1
- package/v3/dist/mcp/tools/coherence/consensus.js +2 -1
- package/v3/dist/mcp/tools/coherence/consensus.js.map +1 -1
- package/v3/dist/mcp/tools/contract-testing/validate.d.ts.map +1 -1
- package/v3/dist/mcp/tools/contract-testing/validate.js +4 -3
- package/v3/dist/mcp/tools/contract-testing/validate.js.map +1 -1
- package/v3/dist/mcp/tools/coverage-analysis/index.d.ts.map +1 -1
- package/v3/dist/mcp/tools/coverage-analysis/index.js +7 -6
- package/v3/dist/mcp/tools/coverage-analysis/index.js.map +1 -1
- package/v3/dist/mcp/tools/defect-intelligence/predict.d.ts.map +1 -1
- package/v3/dist/mcp/tools/defect-intelligence/predict.js +2 -1
- package/v3/dist/mcp/tools/defect-intelligence/predict.js.map +1 -1
- package/v3/dist/mcp/tools/embeddings/embedding.d.ts.map +1 -1
- package/v3/dist/mcp/tools/embeddings/embedding.js +6 -5
- package/v3/dist/mcp/tools/embeddings/embedding.js.map +1 -1
- package/v3/dist/mcp/tools/learning-optimization/dream.d.ts.map +1 -1
- package/v3/dist/mcp/tools/learning-optimization/dream.js +3 -2
- package/v3/dist/mcp/tools/learning-optimization/dream.js.map +1 -1
- package/v3/dist/mcp/tools/learning-optimization/optimize.d.ts.map +1 -1
- package/v3/dist/mcp/tools/learning-optimization/optimize.js +2 -1
- package/v3/dist/mcp/tools/learning-optimization/optimize.js.map +1 -1
- package/v3/dist/mcp/tools/planning/goap-execute.d.ts.map +1 -1
- package/v3/dist/mcp/tools/planning/goap-execute.js +2 -1
- package/v3/dist/mcp/tools/planning/goap-execute.js.map +1 -1
- package/v3/dist/mcp/tools/planning/goap-plan.d.ts.map +1 -1
- package/v3/dist/mcp/tools/planning/goap-plan.js +2 -1
- package/v3/dist/mcp/tools/planning/goap-plan.js.map +1 -1
- package/v3/dist/mcp/tools/planning/goap-status.d.ts.map +1 -1
- package/v3/dist/mcp/tools/planning/goap-status.js +2 -1
- package/v3/dist/mcp/tools/planning/goap-status.js.map +1 -1
- package/v3/dist/mcp/tools/quality-assessment/evaluate.d.ts.map +1 -1
- package/v3/dist/mcp/tools/quality-assessment/evaluate.js +2 -1
- package/v3/dist/mcp/tools/quality-assessment/evaluate.js.map +1 -1
- package/v3/dist/mcp/tools/qx-analysis/analyze.d.ts.map +1 -1
- package/v3/dist/mcp/tools/qx-analysis/analyze.js +2 -1
- package/v3/dist/mcp/tools/qx-analysis/analyze.js.map +1 -1
- package/v3/dist/mcp/tools/qx-analysis/impact-analyzer.d.ts +12 -0
- package/v3/dist/mcp/tools/qx-analysis/impact-analyzer.d.ts.map +1 -1
- package/v3/dist/mcp/tools/qx-analysis/impact-analyzer.js +158 -109
- package/v3/dist/mcp/tools/qx-analysis/impact-analyzer.js.map +1 -1
- package/v3/dist/mcp/tools/requirements-validation/quality-criteria.d.ts.map +1 -1
- package/v3/dist/mcp/tools/requirements-validation/quality-criteria.js +2 -1
- package/v3/dist/mcp/tools/requirements-validation/quality-criteria.js.map +1 -1
- package/v3/dist/mcp/tools/requirements-validation/validate.d.ts.map +1 -1
- package/v3/dist/mcp/tools/requirements-validation/validate.js +2 -1
- package/v3/dist/mcp/tools/requirements-validation/validate.js.map +1 -1
- package/v3/dist/mcp/tools/security-compliance/scan.d.ts.map +1 -1
- package/v3/dist/mcp/tools/security-compliance/scan.js +2 -1
- package/v3/dist/mcp/tools/security-compliance/scan.js.map +1 -1
- package/v3/dist/mcp/tools/test-execution/e2e-execute.d.ts.map +1 -1
- package/v3/dist/mcp/tools/test-execution/e2e-execute.js +2 -1
- package/v3/dist/mcp/tools/test-execution/e2e-execute.js.map +1 -1
- package/v3/dist/mcp/tools/test-execution/execute.d.ts.map +1 -1
- package/v3/dist/mcp/tools/test-execution/execute.js +2 -1
- package/v3/dist/mcp/tools/test-execution/execute.js.map +1 -1
- package/v3/dist/mcp/tools/test-generation/generate.d.ts.map +1 -1
- package/v3/dist/mcp/tools/test-generation/generate.js +2 -1
- package/v3/dist/mcp/tools/test-generation/generate.js.map +1 -1
- package/v3/dist/mcp/tools/visual-accessibility/index.d.ts.map +1 -1
- package/v3/dist/mcp/tools/visual-accessibility/index.js +3 -2
- package/v3/dist/mcp/tools/visual-accessibility/index.js.map +1 -1
- package/v3/dist/mcp/transport/sse/sse-transport.js +1 -1
- package/v3/dist/mcp/transport/sse/sse-transport.js.map +1 -1
- package/v3/dist/mcp/transport/stdio.js +1 -1
- package/v3/dist/mcp/transport/stdio.js.map +1 -1
- package/v3/dist/mcp/transport/websocket/websocket-transport.js +1 -1
- package/v3/dist/mcp/transport/websocket/websocket-transport.js.map +1 -1
- package/v3/dist/memory/crdt/or-set.d.ts.map +1 -1
- package/v3/dist/memory/crdt/or-set.js +2 -1
- package/v3/dist/memory/crdt/or-set.js.map +1 -1
- package/v3/dist/optimization/auto-tuner.d.ts.map +1 -1
- package/v3/dist/optimization/auto-tuner.js +2 -1
- package/v3/dist/optimization/auto-tuner.js.map +1 -1
- package/v3/dist/optimization/early-exit-token-optimizer.d.ts.map +1 -1
- package/v3/dist/optimization/early-exit-token-optimizer.js +2 -1
- package/v3/dist/optimization/early-exit-token-optimizer.js.map +1 -1
- package/v3/dist/optimization/qe-workers.d.ts.map +1 -1
- package/v3/dist/optimization/qe-workers.js +2 -1
- package/v3/dist/optimization/qe-workers.js.map +1 -1
- package/v3/dist/performance/benchmarks.d.ts.map +1 -1
- package/v3/dist/performance/benchmarks.js +2 -1
- package/v3/dist/performance/benchmarks.js.map +1 -1
- package/v3/dist/performance/optimizer.d.ts.map +1 -1
- package/v3/dist/performance/optimizer.js +119 -71
- package/v3/dist/performance/optimizer.js.map +1 -1
- package/v3/dist/performance/run-gates.js +2 -1
- package/v3/dist/performance/run-gates.js.map +1 -1
- package/v3/dist/planning/goap-planner.d.ts +4 -1
- package/v3/dist/planning/goap-planner.d.ts.map +1 -1
- package/v3/dist/planning/goap-planner.js +128 -46
- package/v3/dist/planning/goap-planner.js.map +1 -1
- package/v3/dist/planning/index.d.ts +1 -1
- package/v3/dist/planning/index.d.ts.map +1 -1
- package/v3/dist/planning/index.js.map +1 -1
- package/v3/dist/planning/plan-executor.d.ts.map +1 -1
- package/v3/dist/planning/plan-executor.js +7 -5
- package/v3/dist/planning/plan-executor.js.map +1 -1
- package/v3/dist/planning/types.d.ts +0 -16
- package/v3/dist/planning/types.d.ts.map +1 -1
- package/v3/dist/routing/routing-feedback.d.ts.map +1 -1
- package/v3/dist/routing/routing-feedback.js +7 -5
- package/v3/dist/routing/routing-feedback.js.map +1 -1
- package/v3/dist/shared/base-domain-plugin.d.ts +198 -0
- package/v3/dist/shared/base-domain-plugin.d.ts.map +1 -0
- package/v3/dist/shared/base-domain-plugin.js +292 -0
- package/v3/dist/shared/base-domain-plugin.js.map +1 -0
- package/v3/dist/shared/domain-service-registry.d.ts +70 -0
- package/v3/dist/shared/domain-service-registry.d.ts.map +1 -0
- package/v3/dist/shared/domain-service-registry.js +87 -0
- package/v3/dist/shared/domain-service-registry.js.map +1 -0
- package/v3/dist/shared/embeddings/nomic-embedder.d.ts.map +1 -1
- package/v3/dist/shared/embeddings/nomic-embedder.js +2 -1
- package/v3/dist/shared/embeddings/nomic-embedder.js.map +1 -1
- package/v3/dist/shared/embeddings/ollama-client.d.ts.map +1 -1
- package/v3/dist/shared/embeddings/ollama-client.js +2 -1
- package/v3/dist/shared/embeddings/ollama-client.js.map +1 -1
- package/v3/dist/shared/error-utils.d.ts +16 -0
- package/v3/dist/shared/error-utils.d.ts.map +1 -0
- package/v3/dist/shared/error-utils.js +20 -0
- package/v3/dist/shared/error-utils.js.map +1 -0
- package/v3/dist/shared/http/http-client.d.ts.map +1 -1
- package/v3/dist/shared/http/http-client.js +2 -1
- package/v3/dist/shared/http/http-client.js.map +1 -1
- package/v3/dist/shared/index.d.ts +3 -0
- package/v3/dist/shared/index.d.ts.map +1 -1
- package/v3/dist/shared/index.js +3 -0
- package/v3/dist/shared/index.js.map +1 -1
- package/v3/dist/shared/io/file-reader.d.ts.map +1 -1
- package/v3/dist/shared/io/file-reader.js +2 -1
- package/v3/dist/shared/io/file-reader.js.map +1 -1
- package/v3/dist/shared/llm/circuit-breaker.d.ts.map +1 -1
- package/v3/dist/shared/llm/circuit-breaker.js +2 -1
- package/v3/dist/shared/llm/circuit-breaker.js.map +1 -1
- package/v3/dist/shared/llm/metrics/cost-metrics.js.map +1 -1
- package/v3/dist/shared/llm/metrics/router-metrics.d.ts.map +1 -1
- package/v3/dist/shared/llm/metrics/router-metrics.js.map +1 -1
- package/v3/dist/shared/llm/provider-manager.d.ts.map +1 -1
- package/v3/dist/shared/llm/provider-manager.js +2 -1
- package/v3/dist/shared/llm/provider-manager.js.map +1 -1
- package/v3/dist/shared/llm/providers/azure-openai.d.ts.map +1 -1
- package/v3/dist/shared/llm/providers/azure-openai.js +2 -1
- package/v3/dist/shared/llm/providers/azure-openai.js.map +1 -1
- package/v3/dist/shared/llm/providers/bedrock.d.ts.map +1 -1
- package/v3/dist/shared/llm/providers/bedrock.js +2 -1
- package/v3/dist/shared/llm/providers/bedrock.js.map +1 -1
- package/v3/dist/shared/llm/providers/claude.d.ts.map +1 -1
- package/v3/dist/shared/llm/providers/claude.js +2 -1
- package/v3/dist/shared/llm/providers/claude.js.map +1 -1
- package/v3/dist/shared/llm/providers/gemini.d.ts.map +1 -1
- package/v3/dist/shared/llm/providers/gemini.js +4 -2
- package/v3/dist/shared/llm/providers/gemini.js.map +1 -1
- package/v3/dist/shared/llm/providers/openai.d.ts.map +1 -1
- package/v3/dist/shared/llm/providers/openai.js +2 -1
- package/v3/dist/shared/llm/providers/openai.js.map +1 -1
- package/v3/dist/shared/llm/providers/openrouter.d.ts.map +1 -1
- package/v3/dist/shared/llm/providers/openrouter.js +4 -2
- package/v3/dist/shared/llm/providers/openrouter.js.map +1 -1
- package/v3/dist/shared/llm/router/hybrid-router.d.ts.map +1 -1
- package/v3/dist/shared/llm/router/hybrid-router.js +2 -1
- package/v3/dist/shared/llm/router/hybrid-router.js.map +1 -1
- package/v3/dist/shared/llm/translation/prompt-translator.d.ts.map +1 -1
- package/v3/dist/shared/llm/translation/prompt-translator.js +2 -1
- package/v3/dist/shared/llm/translation/prompt-translator.js.map +1 -1
- package/v3/dist/shared/safe-json.d.ts +57 -0
- package/v3/dist/shared/safe-json.d.ts.map +1 -0
- package/v3/dist/shared/safe-json.js +78 -0
- package/v3/dist/shared/safe-json.js.map +1 -0
- package/v3/dist/shared/sql-safety.d.ts +9 -0
- package/v3/dist/shared/sql-safety.d.ts.map +1 -1
- package/v3/dist/shared/sql-safety.js +20 -1
- package/v3/dist/shared/sql-safety.js.map +1 -1
- package/v3/dist/shared/utils/circular-buffer.js +1 -1
- package/v3/dist/shared/utils/circular-buffer.js.map +1 -1
- package/v3/dist/skills/security-visual-testing/index.d.ts.map +1 -1
- package/v3/dist/skills/security-visual-testing/index.js +6 -5
- package/v3/dist/skills/security-visual-testing/index.js.map +1 -1
- package/v3/dist/strange-loop/strange-loop.d.ts +0 -9
- package/v3/dist/strange-loop/strange-loop.d.ts.map +1 -1
- package/v3/dist/strange-loop/strange-loop.js +23 -15
- package/v3/dist/strange-loop/strange-loop.js.map +1 -1
- package/v3/dist/sync/claude-flow-bridge.d.ts.map +1 -1
- package/v3/dist/sync/claude-flow-bridge.js +2 -1
- package/v3/dist/sync/claude-flow-bridge.js.map +1 -1
- package/v3/dist/sync/cloud/index.d.ts +1 -1
- package/v3/dist/sync/cloud/index.d.ts.map +1 -1
- package/v3/dist/sync/cloud/index.js +1 -1
- package/v3/dist/sync/cloud/index.js.map +1 -1
- package/v3/dist/sync/cloud/postgres-writer.d.ts.map +1 -1
- package/v3/dist/sync/cloud/postgres-writer.js +20 -9
- package/v3/dist/sync/cloud/postgres-writer.js.map +1 -1
- package/v3/dist/sync/cloud/tunnel-manager.d.ts +17 -1
- package/v3/dist/sync/cloud/tunnel-manager.d.ts.map +1 -1
- package/v3/dist/sync/cloud/tunnel-manager.js +36 -1
- package/v3/dist/sync/cloud/tunnel-manager.js.map +1 -1
- package/v3/dist/sync/embeddings/sync-embedding-generator.d.ts.map +1 -1
- package/v3/dist/sync/embeddings/sync-embedding-generator.js +11 -5
- package/v3/dist/sync/embeddings/sync-embedding-generator.js.map +1 -1
- package/v3/dist/sync/readers/json-reader.d.ts.map +1 -1
- package/v3/dist/sync/readers/json-reader.js +2 -1
- package/v3/dist/sync/readers/json-reader.js.map +1 -1
- package/v3/dist/sync/readers/sqlite-reader.d.ts.map +1 -1
- package/v3/dist/sync/readers/sqlite-reader.js +14 -6
- package/v3/dist/sync/readers/sqlite-reader.js.map +1 -1
- package/v3/dist/sync/sync-agent.d.ts.map +1 -1
- package/v3/dist/sync/sync-agent.js +10 -6
- package/v3/dist/sync/sync-agent.js.map +1 -1
- package/v3/dist/test-scheduling/executors/vitest-executor.d.ts.map +1 -1
- package/v3/dist/test-scheduling/executors/vitest-executor.js +3 -2
- package/v3/dist/test-scheduling/executors/vitest-executor.js.map +1 -1
- package/v3/dist/test-scheduling/flaky-tracking/flaky-tracker.d.ts.map +1 -1
- package/v3/dist/test-scheduling/flaky-tracking/flaky-tracker.js +2 -1
- package/v3/dist/test-scheduling/flaky-tracking/flaky-tracker.js.map +1 -1
- package/v3/dist/testing/load/agent-load-tester.d.ts.map +1 -1
- package/v3/dist/testing/load/agent-load-tester.js +2 -1
- package/v3/dist/testing/load/agent-load-tester.js.map +1 -1
- package/v3/dist/validation/parallel-eval-runner.d.ts.map +1 -1
- package/v3/dist/validation/parallel-eval-runner.js +83 -37
- package/v3/dist/validation/parallel-eval-runner.js.map +1 -1
- package/v3/dist/validation/swarm-skill-validator.d.ts.map +1 -1
- package/v3/dist/validation/swarm-skill-validator.js +2 -1
- package/v3/dist/validation/swarm-skill-validator.js.map +1 -1
- package/v3/dist/validation/validation-result-aggregator.d.ts.map +1 -1
- package/v3/dist/validation/validation-result-aggregator.js +2 -1
- package/v3/dist/validation/validation-result-aggregator.js.map +1 -1
- package/v3/dist/workers/base-worker.d.ts.map +1 -1
- package/v3/dist/workers/base-worker.js +2 -1
- package/v3/dist/workers/base-worker.js.map +1 -1
- package/v3/dist/workers/workers/cloud-sync.d.ts.map +1 -1
- package/v3/dist/workers/workers/cloud-sync.js +2 -1
- package/v3/dist/workers/workers/cloud-sync.js.map +1 -1
- package/v3/dist/workers/workers/learning-consolidation.d.ts.map +1 -1
- package/v3/dist/workers/workers/learning-consolidation.js +4 -3
- package/v3/dist/workers/workers/learning-consolidation.js.map +1 -1
- package/v3/dist/workers/workers/test-health.d.ts.map +1 -1
- package/v3/dist/workers/workers/test-health.js +2 -1
- package/v3/dist/workers/workers/test-health.js.map +1 -1
- package/v3/package.json +3 -2
|
@@ -14,27 +14,41 @@ import { v4 as uuidv4 } from 'uuid';
|
|
|
14
14
|
import * as fs from 'fs/promises';
|
|
15
15
|
import * as path from 'path';
|
|
16
16
|
import { ok, err } from '../shared/types';
|
|
17
|
+
import { toError, toErrorMessage } from '../shared/error-utils.js';
|
|
18
|
+
import { safeJsonParse } from '../shared/safe-json.js';
|
|
17
19
|
import { FilePath } from '../shared/value-objects/index.js';
|
|
18
20
|
import { createResultSaver } from './result-saver';
|
|
19
21
|
// ADR-051: Agent Booster integration for Tier 0 tasks
|
|
20
22
|
import { createAgentBoosterAdapter, } from '../integrations/agentic-flow/agent-booster';
|
|
21
23
|
// ADR-051: Task Router for outcome recording
|
|
22
24
|
import { getTaskRouter } from '../mcp/services/task-router';
|
|
23
|
-
//
|
|
24
|
-
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
//
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
25
|
+
// CQ-005: Use DomainServiceRegistry instead of dynamic imports from domains/
|
|
26
|
+
import { DomainServiceRegistry, ServiceKeys } from '../shared/domain-service-registry';
|
|
27
|
+
// ============================================================================
|
|
28
|
+
// CQ-005: Domain Service Resolution via Registry (no coordination -> domains imports)
|
|
29
|
+
// Domain modules register their factories in their index.ts files.
|
|
30
|
+
// Coordination resolves them from the shared registry at runtime.
|
|
31
|
+
// ============================================================================
|
|
32
|
+
function resolveCoverageAnalyzerService(memory) {
|
|
33
|
+
const factory = DomainServiceRegistry.resolve(ServiceKeys.CoverageAnalyzerService);
|
|
34
|
+
return factory(memory);
|
|
35
|
+
}
|
|
36
|
+
function resolveSecurityScannerService(memory) {
|
|
37
|
+
const factory = DomainServiceRegistry.resolve(ServiceKeys.SecurityScannerService);
|
|
38
|
+
return factory(memory);
|
|
39
|
+
}
|
|
40
|
+
function resolveTestGeneratorService(memory) {
|
|
41
|
+
const factory = DomainServiceRegistry.resolve(ServiceKeys.createTestGeneratorService);
|
|
42
|
+
return factory(memory);
|
|
43
|
+
}
|
|
44
|
+
function resolveKnowledgeGraphService(memory) {
|
|
45
|
+
const factory = DomainServiceRegistry.resolve(ServiceKeys.KnowledgeGraphService);
|
|
46
|
+
return factory(memory);
|
|
47
|
+
}
|
|
48
|
+
function resolveQualityAnalyzerService(memory) {
|
|
49
|
+
const factory = DomainServiceRegistry.resolve(ServiceKeys.QualityAnalyzerService);
|
|
50
|
+
return factory(memory);
|
|
51
|
+
}
|
|
38
52
|
// ============================================================================
|
|
39
53
|
// ADR-051: Model Routing Support
|
|
40
54
|
// ============================================================================
|
|
@@ -52,34 +66,6 @@ function getModelForTier(tier) {
|
|
|
52
66
|
default: return 'claude-sonnet-4-20250514';
|
|
53
67
|
}
|
|
54
68
|
}
|
|
55
|
-
/**
|
|
56
|
-
* Get or create Agent Booster adapter
|
|
57
|
-
*/
|
|
58
|
-
async function getAgentBooster() {
|
|
59
|
-
if (!agentBooster) {
|
|
60
|
-
agentBooster = await createAgentBoosterAdapter({
|
|
61
|
-
enabled: true,
|
|
62
|
-
fallbackToLLM: true,
|
|
63
|
-
confidenceThreshold: 0.7,
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
return agentBooster;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Get or create Task Router for outcome recording
|
|
70
|
-
*/
|
|
71
|
-
async function getTaskRouterInstance() {
|
|
72
|
-
if (!taskRouter) {
|
|
73
|
-
try {
|
|
74
|
-
taskRouter = await getTaskRouter();
|
|
75
|
-
}
|
|
76
|
-
catch {
|
|
77
|
-
// Task router not available - outcome recording will be skipped
|
|
78
|
-
return null;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
return taskRouter;
|
|
82
|
-
}
|
|
83
69
|
/**
|
|
84
70
|
* Map task type and code context to transform type for Agent Booster
|
|
85
71
|
* Returns null if no applicable transform is detected
|
|
@@ -109,499 +95,6 @@ function detectTransformType(task) {
|
|
|
109
95
|
// add-types is harder to detect without type analysis
|
|
110
96
|
return null;
|
|
111
97
|
}
|
|
112
|
-
// Helper to get or create services
|
|
113
|
-
function getCoverageAnalyzer(memory) {
|
|
114
|
-
if (!coverageAnalyzer) {
|
|
115
|
-
coverageAnalyzer = new CoverageAnalyzerService(memory);
|
|
116
|
-
}
|
|
117
|
-
return coverageAnalyzer;
|
|
118
|
-
}
|
|
119
|
-
function getSecurityScanner(memory) {
|
|
120
|
-
if (!securityScanner) {
|
|
121
|
-
securityScanner = new SecurityScannerService(memory);
|
|
122
|
-
}
|
|
123
|
-
return securityScanner;
|
|
124
|
-
}
|
|
125
|
-
function getTestGenerator(memory) {
|
|
126
|
-
if (!testGenerator) {
|
|
127
|
-
testGenerator = createTestGeneratorService(memory);
|
|
128
|
-
}
|
|
129
|
-
return testGenerator;
|
|
130
|
-
}
|
|
131
|
-
function getKnowledgeGraph(memory) {
|
|
132
|
-
if (!knowledgeGraph) {
|
|
133
|
-
knowledgeGraph = new KnowledgeGraphService(memory);
|
|
134
|
-
}
|
|
135
|
-
return knowledgeGraph;
|
|
136
|
-
}
|
|
137
|
-
function getQualityAnalyzer(memory) {
|
|
138
|
-
if (!qualityAnalyzer) {
|
|
139
|
-
qualityAnalyzer = new QualityAnalyzerService(memory);
|
|
140
|
-
}
|
|
141
|
-
return qualityAnalyzer;
|
|
142
|
-
}
|
|
143
|
-
// ============================================================================
|
|
144
|
-
// Task Handler Registry
|
|
145
|
-
// ============================================================================
|
|
146
|
-
const taskHandlers = new Map();
|
|
147
|
-
// Register test generation handler - REAL IMPLEMENTATION
|
|
148
|
-
taskHandlers.set('generate-tests', async (task, kernel) => {
|
|
149
|
-
const payload = task.payload;
|
|
150
|
-
try {
|
|
151
|
-
const generator = getTestGenerator(kernel.memory);
|
|
152
|
-
// Determine source files to analyze
|
|
153
|
-
let sourceFiles = [];
|
|
154
|
-
if (payload.sourceFiles && payload.sourceFiles.length > 0) {
|
|
155
|
-
sourceFiles = payload.sourceFiles;
|
|
156
|
-
}
|
|
157
|
-
else if (payload.filePath) {
|
|
158
|
-
sourceFiles = [payload.filePath];
|
|
159
|
-
}
|
|
160
|
-
else if (payload.sourceCode) {
|
|
161
|
-
// Write temporary file for analysis if only source code provided
|
|
162
|
-
const tempPath = `/tmp/aqe-temp-${uuidv4()}.ts`;
|
|
163
|
-
await fs.writeFile(tempPath, payload.sourceCode, 'utf-8');
|
|
164
|
-
sourceFiles = [tempPath];
|
|
165
|
-
}
|
|
166
|
-
if (sourceFiles.length === 0) {
|
|
167
|
-
// Return a graceful fallback with warning when no source files provided
|
|
168
|
-
return ok({
|
|
169
|
-
testsGenerated: 0,
|
|
170
|
-
coverageEstimate: 0,
|
|
171
|
-
tests: [],
|
|
172
|
-
patternsUsed: [],
|
|
173
|
-
warning: 'No source files or code provided for test generation. Provide sourceCode, filePath, or sourceFiles in the payload.',
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
// Use the real TestGeneratorService
|
|
177
|
-
const framework = (payload.framework || 'vitest');
|
|
178
|
-
const result = await generator.generateTests({
|
|
179
|
-
sourceFiles,
|
|
180
|
-
testType: payload.testType || 'unit',
|
|
181
|
-
framework,
|
|
182
|
-
coverageTarget: payload.coverageGoal || 80,
|
|
183
|
-
patterns: [],
|
|
184
|
-
});
|
|
185
|
-
if (!result.success) {
|
|
186
|
-
return result;
|
|
187
|
-
}
|
|
188
|
-
const generatedTests = result.value;
|
|
189
|
-
return ok({
|
|
190
|
-
testsGenerated: generatedTests.tests.length,
|
|
191
|
-
coverageEstimate: generatedTests.coverageEstimate,
|
|
192
|
-
tests: generatedTests.tests.map(t => ({
|
|
193
|
-
name: t.name,
|
|
194
|
-
file: t.testFile,
|
|
195
|
-
type: t.type,
|
|
196
|
-
sourceFile: t.sourceFile,
|
|
197
|
-
assertions: t.assertions,
|
|
198
|
-
})),
|
|
199
|
-
patternsUsed: generatedTests.patternsUsed,
|
|
200
|
-
});
|
|
201
|
-
}
|
|
202
|
-
catch (error) {
|
|
203
|
-
return err(error instanceof Error ? error : new Error(String(error)));
|
|
204
|
-
}
|
|
205
|
-
});
|
|
206
|
-
// Register coverage analysis handler - REAL IMPLEMENTATION
|
|
207
|
-
taskHandlers.set('analyze-coverage', async (task, kernel) => {
|
|
208
|
-
const payload = task.payload;
|
|
209
|
-
try {
|
|
210
|
-
const analyzer = getCoverageAnalyzer(kernel.memory);
|
|
211
|
-
const targetPath = payload.target || process.cwd();
|
|
212
|
-
const threshold = payload.threshold || 80;
|
|
213
|
-
// Try to find and read actual coverage files
|
|
214
|
-
const coverageData = await loadCoverageData(targetPath);
|
|
215
|
-
if (!coverageData) {
|
|
216
|
-
// No coverage data found - return informative error with fallback metrics
|
|
217
|
-
return ok({
|
|
218
|
-
lineCoverage: 0,
|
|
219
|
-
branchCoverage: 0,
|
|
220
|
-
functionCoverage: 0,
|
|
221
|
-
statementCoverage: 0,
|
|
222
|
-
totalFiles: 0,
|
|
223
|
-
gaps: [],
|
|
224
|
-
algorithm: 'sublinear-O(log n)',
|
|
225
|
-
warning: 'No coverage data found. Run tests with coverage first: npm test -- --coverage',
|
|
226
|
-
});
|
|
227
|
-
}
|
|
228
|
-
// Analyze coverage using the real CoverageAnalyzerService
|
|
229
|
-
const analysisResult = await analyzer.analyze({
|
|
230
|
-
coverageData,
|
|
231
|
-
threshold,
|
|
232
|
-
includeFileDetails: payload.detectGaps,
|
|
233
|
-
});
|
|
234
|
-
if (!analysisResult.success) {
|
|
235
|
-
return analysisResult;
|
|
236
|
-
}
|
|
237
|
-
const report = analysisResult.value;
|
|
238
|
-
// Find gaps if requested
|
|
239
|
-
let gaps = [];
|
|
240
|
-
if (payload.detectGaps) {
|
|
241
|
-
const gapsResult = await analyzer.findGaps(coverageData, threshold);
|
|
242
|
-
if (gapsResult.success) {
|
|
243
|
-
gaps = gapsResult.value.gaps.map(gap => ({
|
|
244
|
-
file: gap.file,
|
|
245
|
-
lines: gap.lines,
|
|
246
|
-
risk: gap.severity,
|
|
247
|
-
}));
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
return ok({
|
|
251
|
-
lineCoverage: Math.round(report.summary.line * 10) / 10,
|
|
252
|
-
branchCoverage: Math.round(report.summary.branch * 10) / 10,
|
|
253
|
-
functionCoverage: Math.round(report.summary.function * 10) / 10,
|
|
254
|
-
statementCoverage: Math.round(report.summary.statement * 10) / 10,
|
|
255
|
-
totalFiles: report.summary.files,
|
|
256
|
-
gaps,
|
|
257
|
-
meetsThreshold: report.meetsThreshold,
|
|
258
|
-
delta: report.delta,
|
|
259
|
-
recommendations: report.recommendations,
|
|
260
|
-
algorithm: 'sublinear-O(log n)',
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
|
-
catch (error) {
|
|
264
|
-
return err(error instanceof Error ? error : new Error(String(error)));
|
|
265
|
-
}
|
|
266
|
-
});
|
|
267
|
-
// Register security scan handler - REAL IMPLEMENTATION
|
|
268
|
-
taskHandlers.set('scan-security', async (task, kernel) => {
|
|
269
|
-
const payload = task.payload;
|
|
270
|
-
try {
|
|
271
|
-
const scanner = getSecurityScanner(kernel.memory);
|
|
272
|
-
const targetPath = payload.target || process.cwd();
|
|
273
|
-
// Discover files to scan
|
|
274
|
-
const filesToScan = await discoverSourceFiles(targetPath);
|
|
275
|
-
if (filesToScan.length === 0) {
|
|
276
|
-
return ok({
|
|
277
|
-
vulnerabilities: 0,
|
|
278
|
-
critical: 0,
|
|
279
|
-
high: 0,
|
|
280
|
-
medium: 0,
|
|
281
|
-
low: 0,
|
|
282
|
-
informational: 0,
|
|
283
|
-
topVulnerabilities: [],
|
|
284
|
-
recommendations: ['No source files found to scan'],
|
|
285
|
-
scanTypes: {
|
|
286
|
-
sast: payload.sast !== false,
|
|
287
|
-
dast: payload.dast || false,
|
|
288
|
-
},
|
|
289
|
-
warning: `No TypeScript/JavaScript files found in ${targetPath}`,
|
|
290
|
-
});
|
|
291
|
-
}
|
|
292
|
-
// Convert string paths to FilePath value objects
|
|
293
|
-
const filePathObjects = filesToScan.map(filePath => FilePath.create(filePath));
|
|
294
|
-
// Run SAST scan if requested
|
|
295
|
-
let sastResult = null;
|
|
296
|
-
if (payload.sast !== false) {
|
|
297
|
-
const result = await scanner.scanFiles(filePathObjects);
|
|
298
|
-
if (result.success) {
|
|
299
|
-
sastResult = result.value;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
// Run DAST scan if URL provided and dast is enabled
|
|
303
|
-
let dastResult = null;
|
|
304
|
-
if (payload.dast && payload.targetUrl) {
|
|
305
|
-
const result = await scanner.scanUrl(payload.targetUrl, {
|
|
306
|
-
activeScanning: true,
|
|
307
|
-
maxDepth: 3,
|
|
308
|
-
timeout: 30000,
|
|
309
|
-
});
|
|
310
|
-
if (result.success) {
|
|
311
|
-
dastResult = result.value;
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
// Combine results - create mutable copy
|
|
315
|
-
const summary = {
|
|
316
|
-
critical: (sastResult?.summary?.critical || 0) + (dastResult?.summary?.critical || 0),
|
|
317
|
-
high: (sastResult?.summary?.high || 0) + (dastResult?.summary?.high || 0),
|
|
318
|
-
medium: (sastResult?.summary?.medium || 0) + (dastResult?.summary?.medium || 0),
|
|
319
|
-
low: (sastResult?.summary?.low || 0) + (dastResult?.summary?.low || 0),
|
|
320
|
-
informational: (sastResult?.summary?.informational || 0) + (dastResult?.summary?.informational || 0),
|
|
321
|
-
};
|
|
322
|
-
// Extract top vulnerabilities
|
|
323
|
-
const allVulns = [
|
|
324
|
-
...(sastResult?.vulnerabilities || []),
|
|
325
|
-
...(dastResult?.vulnerabilities || []),
|
|
326
|
-
];
|
|
327
|
-
const topVulnerabilities = allVulns
|
|
328
|
-
.sort((a, b) => {
|
|
329
|
-
const severityOrder = { critical: 0, high: 1, medium: 2, low: 3, informational: 4 };
|
|
330
|
-
return severityOrder[a.severity] - severityOrder[b.severity];
|
|
331
|
-
})
|
|
332
|
-
.slice(0, 10)
|
|
333
|
-
.map(v => ({
|
|
334
|
-
type: v.title,
|
|
335
|
-
severity: v.severity,
|
|
336
|
-
file: v.location.file,
|
|
337
|
-
line: v.location.line,
|
|
338
|
-
description: v.description,
|
|
339
|
-
}));
|
|
340
|
-
// Generate recommendations based on findings
|
|
341
|
-
const recommendations = generateSecurityRecommendations(allVulns);
|
|
342
|
-
return ok({
|
|
343
|
-
vulnerabilities: allVulns.length,
|
|
344
|
-
critical: summary.critical,
|
|
345
|
-
high: summary.high,
|
|
346
|
-
medium: summary.medium,
|
|
347
|
-
low: summary.low,
|
|
348
|
-
informational: summary.informational,
|
|
349
|
-
topVulnerabilities,
|
|
350
|
-
recommendations,
|
|
351
|
-
scanTypes: {
|
|
352
|
-
sast: payload.sast !== false,
|
|
353
|
-
dast: payload.dast || false,
|
|
354
|
-
},
|
|
355
|
-
filesScanned: filesToScan.length,
|
|
356
|
-
coverage: sastResult?.coverage,
|
|
357
|
-
});
|
|
358
|
-
}
|
|
359
|
-
catch (error) {
|
|
360
|
-
return err(error instanceof Error ? error : new Error(String(error)));
|
|
361
|
-
}
|
|
362
|
-
});
|
|
363
|
-
// Register code indexing handler - REAL IMPLEMENTATION
|
|
364
|
-
taskHandlers.set('index-code', async (task, kernel) => {
|
|
365
|
-
const payload = task.payload;
|
|
366
|
-
try {
|
|
367
|
-
const kg = getKnowledgeGraph(kernel.memory);
|
|
368
|
-
const targetPath = payload.target || process.cwd();
|
|
369
|
-
const startTime = Date.now();
|
|
370
|
-
// Discover files to index
|
|
371
|
-
const filesToIndex = await discoverSourceFiles(targetPath, {
|
|
372
|
-
includeTests: payload.includeTests !== false,
|
|
373
|
-
languages: payload.languages,
|
|
374
|
-
});
|
|
375
|
-
if (filesToIndex.length === 0) {
|
|
376
|
-
return ok({
|
|
377
|
-
filesIndexed: 0,
|
|
378
|
-
nodesCreated: 0,
|
|
379
|
-
edgesCreated: 0,
|
|
380
|
-
target: targetPath,
|
|
381
|
-
incremental: payload.incremental || false,
|
|
382
|
-
languages: payload.languages || ['typescript', 'javascript'],
|
|
383
|
-
duration: Date.now() - startTime,
|
|
384
|
-
warning: `No source files found in ${targetPath}`,
|
|
385
|
-
});
|
|
386
|
-
}
|
|
387
|
-
// Use the real KnowledgeGraphService to index files
|
|
388
|
-
const result = await kg.index({
|
|
389
|
-
paths: filesToIndex,
|
|
390
|
-
incremental: payload.incremental || false,
|
|
391
|
-
includeTests: payload.includeTests !== false,
|
|
392
|
-
languages: payload.languages,
|
|
393
|
-
});
|
|
394
|
-
if (!result.success) {
|
|
395
|
-
return result;
|
|
396
|
-
}
|
|
397
|
-
const indexResult = result.value;
|
|
398
|
-
// Detect languages from files
|
|
399
|
-
const detectedLanguages = new Set();
|
|
400
|
-
for (const file of filesToIndex) {
|
|
401
|
-
const ext = path.extname(file).slice(1);
|
|
402
|
-
if (['ts', 'tsx'].includes(ext))
|
|
403
|
-
detectedLanguages.add('typescript');
|
|
404
|
-
if (['js', 'jsx', 'mjs', 'cjs'].includes(ext))
|
|
405
|
-
detectedLanguages.add('javascript');
|
|
406
|
-
if (ext === 'py')
|
|
407
|
-
detectedLanguages.add('python');
|
|
408
|
-
}
|
|
409
|
-
return ok({
|
|
410
|
-
filesIndexed: indexResult.filesIndexed,
|
|
411
|
-
nodesCreated: indexResult.nodesCreated,
|
|
412
|
-
edgesCreated: indexResult.edgesCreated,
|
|
413
|
-
target: targetPath,
|
|
414
|
-
incremental: payload.incremental || false,
|
|
415
|
-
languages: Array.from(detectedLanguages),
|
|
416
|
-
duration: indexResult.duration,
|
|
417
|
-
errors: indexResult.errors,
|
|
418
|
-
});
|
|
419
|
-
}
|
|
420
|
-
catch (error) {
|
|
421
|
-
return err(error instanceof Error ? error : new Error(String(error)));
|
|
422
|
-
}
|
|
423
|
-
});
|
|
424
|
-
// Register quality assessment handler - REAL IMPLEMENTATION
|
|
425
|
-
taskHandlers.set('assess-quality', async (task, kernel) => {
|
|
426
|
-
const payload = task.payload;
|
|
427
|
-
try {
|
|
428
|
-
const analyzer = getQualityAnalyzer(kernel.memory);
|
|
429
|
-
const threshold = payload.threshold || 80;
|
|
430
|
-
// Determine source files to analyze
|
|
431
|
-
let sourceFiles = [];
|
|
432
|
-
if (payload.sourceFiles && payload.sourceFiles.length > 0) {
|
|
433
|
-
sourceFiles = payload.sourceFiles;
|
|
434
|
-
}
|
|
435
|
-
else if (payload.target) {
|
|
436
|
-
sourceFiles = await discoverSourceFiles(payload.target, { includeTests: false });
|
|
437
|
-
}
|
|
438
|
-
else {
|
|
439
|
-
sourceFiles = await discoverSourceFiles(process.cwd(), { includeTests: false });
|
|
440
|
-
}
|
|
441
|
-
if (sourceFiles.length === 0) {
|
|
442
|
-
return ok({
|
|
443
|
-
qualityScore: 0,
|
|
444
|
-
passed: false,
|
|
445
|
-
threshold,
|
|
446
|
-
metrics: {
|
|
447
|
-
coverage: 0,
|
|
448
|
-
complexity: 0,
|
|
449
|
-
maintainability: 0,
|
|
450
|
-
testability: 0,
|
|
451
|
-
},
|
|
452
|
-
recommendations: ['No source files found for quality assessment'],
|
|
453
|
-
warning: 'No source files found',
|
|
454
|
-
});
|
|
455
|
-
}
|
|
456
|
-
// Use the real QualityAnalyzerService
|
|
457
|
-
const result = await analyzer.analyzeQuality({
|
|
458
|
-
sourceFiles,
|
|
459
|
-
includeMetrics: payload.metrics || ['coverage', 'complexity', 'maintainability', 'testability'],
|
|
460
|
-
});
|
|
461
|
-
if (!result.success) {
|
|
462
|
-
return result;
|
|
463
|
-
}
|
|
464
|
-
const report = result.value;
|
|
465
|
-
const passed = report.score.overall >= threshold;
|
|
466
|
-
// Convert metrics to the expected format
|
|
467
|
-
const metrics = {};
|
|
468
|
-
for (const metric of report.metrics) {
|
|
469
|
-
metrics[metric.name] = metric.value;
|
|
470
|
-
}
|
|
471
|
-
return ok({
|
|
472
|
-
qualityScore: report.score.overall,
|
|
473
|
-
passed,
|
|
474
|
-
threshold,
|
|
475
|
-
metrics: {
|
|
476
|
-
coverage: report.score.coverage,
|
|
477
|
-
complexity: report.score.complexity,
|
|
478
|
-
maintainability: report.score.maintainability,
|
|
479
|
-
security: report.score.security,
|
|
480
|
-
...metrics,
|
|
481
|
-
},
|
|
482
|
-
recommendations: report.recommendations.map(r => `[${r.type}] ${r.title}: ${r.description}`),
|
|
483
|
-
trends: report.trends.map(t => ({
|
|
484
|
-
metric: t.metric,
|
|
485
|
-
direction: t.direction,
|
|
486
|
-
dataPoints: t.dataPoints.length,
|
|
487
|
-
})),
|
|
488
|
-
filesAnalyzed: sourceFiles.length,
|
|
489
|
-
});
|
|
490
|
-
}
|
|
491
|
-
catch (error) {
|
|
492
|
-
return err(error instanceof Error ? error : new Error(String(error)));
|
|
493
|
-
}
|
|
494
|
-
});
|
|
495
|
-
// Register test execution handler
|
|
496
|
-
taskHandlers.set('execute-tests', async (task, _kernel) => {
|
|
497
|
-
const payload = task.payload;
|
|
498
|
-
// In production, would actually run tests via test runner
|
|
499
|
-
const testCount = payload.testFiles?.length || 10;
|
|
500
|
-
const passed = Math.floor(testCount * 0.9);
|
|
501
|
-
const failed = testCount - passed;
|
|
502
|
-
return ok({
|
|
503
|
-
total: testCount,
|
|
504
|
-
passed,
|
|
505
|
-
failed,
|
|
506
|
-
skipped: 0,
|
|
507
|
-
duration: testCount * 50, // ~50ms per test
|
|
508
|
-
coverage: 82.5,
|
|
509
|
-
failedTests: failed > 0 ? ['example.test.ts:42'] : [],
|
|
510
|
-
});
|
|
511
|
-
});
|
|
512
|
-
// Register defect prediction handler
|
|
513
|
-
taskHandlers.set('predict-defects', async (task, _kernel) => {
|
|
514
|
-
const payload = task.payload;
|
|
515
|
-
return ok({
|
|
516
|
-
predictedDefects: [
|
|
517
|
-
{
|
|
518
|
-
file: `${payload.target}/complex-module.ts`,
|
|
519
|
-
probability: 0.78,
|
|
520
|
-
reason: 'High cyclomatic complexity combined with low test coverage',
|
|
521
|
-
},
|
|
522
|
-
{
|
|
523
|
-
file: `${payload.target}/legacy-handler.ts`,
|
|
524
|
-
probability: 0.65,
|
|
525
|
-
reason: 'Frequent changes in recent commits with error-prone patterns',
|
|
526
|
-
},
|
|
527
|
-
],
|
|
528
|
-
riskScore: 42,
|
|
529
|
-
recommendations: [
|
|
530
|
-
'Add integration tests for complex-module.ts',
|
|
531
|
-
'Refactor legacy-handler.ts to reduce complexity',
|
|
532
|
-
],
|
|
533
|
-
});
|
|
534
|
-
});
|
|
535
|
-
// Register requirements validation handler
|
|
536
|
-
taskHandlers.set('validate-requirements', async (task, _kernel) => {
|
|
537
|
-
const payload = task.payload;
|
|
538
|
-
return ok({
|
|
539
|
-
requirementsAnalyzed: 15,
|
|
540
|
-
testable: 12,
|
|
541
|
-
ambiguous: 2,
|
|
542
|
-
untestable: 1,
|
|
543
|
-
coverage: 80,
|
|
544
|
-
bddScenarios: payload.generateBDD ? [
|
|
545
|
-
'Given a user is logged in, When they view the dashboard, Then they see their metrics',
|
|
546
|
-
'Given an API request fails, When the retry limit is exceeded, Then an error is returned',
|
|
547
|
-
] : [],
|
|
548
|
-
});
|
|
549
|
-
});
|
|
550
|
-
// Register contract validation handler
|
|
551
|
-
taskHandlers.set('validate-contracts', async (task, _kernel) => {
|
|
552
|
-
const payload = task.payload;
|
|
553
|
-
return ok({
|
|
554
|
-
contractPath: payload.contractPath,
|
|
555
|
-
valid: true,
|
|
556
|
-
breakingChanges: [],
|
|
557
|
-
warnings: [
|
|
558
|
-
'Deprecated field "legacyId" should be removed in next major version',
|
|
559
|
-
],
|
|
560
|
-
coverage: 95,
|
|
561
|
-
});
|
|
562
|
-
});
|
|
563
|
-
// Register accessibility test handler
|
|
564
|
-
taskHandlers.set('test-accessibility', async (task, _kernel) => {
|
|
565
|
-
const payload = task.payload;
|
|
566
|
-
return ok({
|
|
567
|
-
url: payload.url,
|
|
568
|
-
standard: payload.standard || 'wcag21-aa',
|
|
569
|
-
passed: true,
|
|
570
|
-
violations: [],
|
|
571
|
-
warnings: [
|
|
572
|
-
{ rule: 'color-contrast', impact: 'minor', element: 'nav > a' },
|
|
573
|
-
],
|
|
574
|
-
score: 94,
|
|
575
|
-
});
|
|
576
|
-
});
|
|
577
|
-
// Register chaos test handler
|
|
578
|
-
taskHandlers.set('run-chaos', async (task, _kernel) => {
|
|
579
|
-
const payload = task.payload;
|
|
580
|
-
return ok({
|
|
581
|
-
faultType: payload.faultType,
|
|
582
|
-
target: payload.target,
|
|
583
|
-
dryRun: payload.dryRun,
|
|
584
|
-
duration: payload.duration,
|
|
585
|
-
systemBehavior: payload.dryRun ? 'simulated' : 'tested',
|
|
586
|
-
resilience: {
|
|
587
|
-
recovered: true,
|
|
588
|
-
recoveryTime: 2500,
|
|
589
|
-
dataLoss: false,
|
|
590
|
-
},
|
|
591
|
-
});
|
|
592
|
-
});
|
|
593
|
-
// Register learning optimization handler
|
|
594
|
-
taskHandlers.set('optimize-learning', async (task, _kernel) => {
|
|
595
|
-
return ok({
|
|
596
|
-
patternsLearned: 12,
|
|
597
|
-
modelsUpdated: 3,
|
|
598
|
-
memoryConsolidated: true,
|
|
599
|
-
recommendations: [
|
|
600
|
-
'Pattern recognition improved for error handling',
|
|
601
|
-
'Test generation templates optimized',
|
|
602
|
-
],
|
|
603
|
-
});
|
|
604
|
-
});
|
|
605
98
|
// ============================================================================
|
|
606
99
|
// Helper Functions for Real Implementations
|
|
607
100
|
// ============================================================================
|
|
@@ -636,7 +129,7 @@ async function loadCoverageData(targetPath) {
|
|
|
636
129
|
* Parse Istanbul/nyc coverage-final.json format
|
|
637
130
|
*/
|
|
638
131
|
function parseCoverageJson(content) {
|
|
639
|
-
const data =
|
|
132
|
+
const data = safeJsonParse(content);
|
|
640
133
|
const files = [];
|
|
641
134
|
let totalLines = 0, coveredLines = 0;
|
|
642
135
|
let totalBranches = 0, coveredBranches = 0;
|
|
@@ -910,6 +403,19 @@ export class DomainTaskExecutor {
|
|
|
910
403
|
eventBus;
|
|
911
404
|
config;
|
|
912
405
|
resultSaver;
|
|
406
|
+
// Instance-level service caches to prevent cross-contamination between executor instances
|
|
407
|
+
coverageAnalyzer = null;
|
|
408
|
+
securityScanner = null;
|
|
409
|
+
testGenerator = null;
|
|
410
|
+
knowledgeGraph = null;
|
|
411
|
+
qualityAnalyzer = null;
|
|
412
|
+
// ADR-051: Lazy-initialized Agent Booster and Task Router (instance-level)
|
|
413
|
+
agentBooster = null;
|
|
414
|
+
taskRouter = null;
|
|
415
|
+
// ADR-023: Quality Feedback Loop for routing outcome recording
|
|
416
|
+
qualityFeedbackLoop = null;
|
|
417
|
+
// Instance-level task handler registry
|
|
418
|
+
taskHandlers = new Map();
|
|
913
419
|
constructor(kernel, eventBus, config) {
|
|
914
420
|
this.kernel = kernel;
|
|
915
421
|
this.eventBus = eventBus;
|
|
@@ -923,6 +429,535 @@ export class DomainTaskExecutor {
|
|
|
923
429
|
defaultFramework: config?.defaultFramework ?? 'vitest',
|
|
924
430
|
};
|
|
925
431
|
this.resultSaver = createResultSaver(this.config.resultsDir);
|
|
432
|
+
this.registerHandlers();
|
|
433
|
+
}
|
|
434
|
+
/** Connect QualityFeedbackLoop for routing outcome recording */
|
|
435
|
+
setQualityFeedbackLoop(loop) {
|
|
436
|
+
this.qualityFeedbackLoop = loop;
|
|
437
|
+
}
|
|
438
|
+
// ============================================================================
|
|
439
|
+
// Instance-level service getters (lazy initialization)
|
|
440
|
+
// ============================================================================
|
|
441
|
+
getCoverageAnalyzer() {
|
|
442
|
+
if (!this.coverageAnalyzer) {
|
|
443
|
+
this.coverageAnalyzer = resolveCoverageAnalyzerService(this.kernel.memory);
|
|
444
|
+
}
|
|
445
|
+
return this.coverageAnalyzer;
|
|
446
|
+
}
|
|
447
|
+
getSecurityScanner() {
|
|
448
|
+
if (!this.securityScanner) {
|
|
449
|
+
this.securityScanner = resolveSecurityScannerService(this.kernel.memory);
|
|
450
|
+
}
|
|
451
|
+
return this.securityScanner;
|
|
452
|
+
}
|
|
453
|
+
getTestGenerator() {
|
|
454
|
+
if (!this.testGenerator) {
|
|
455
|
+
this.testGenerator = resolveTestGeneratorService(this.kernel.memory);
|
|
456
|
+
}
|
|
457
|
+
return this.testGenerator;
|
|
458
|
+
}
|
|
459
|
+
getKnowledgeGraph() {
|
|
460
|
+
if (!this.knowledgeGraph) {
|
|
461
|
+
this.knowledgeGraph = resolveKnowledgeGraphService(this.kernel.memory);
|
|
462
|
+
}
|
|
463
|
+
return this.knowledgeGraph;
|
|
464
|
+
}
|
|
465
|
+
getQualityAnalyzer() {
|
|
466
|
+
if (!this.qualityAnalyzer) {
|
|
467
|
+
this.qualityAnalyzer = resolveQualityAnalyzerService(this.kernel.memory);
|
|
468
|
+
}
|
|
469
|
+
return this.qualityAnalyzer;
|
|
470
|
+
}
|
|
471
|
+
/**
|
|
472
|
+
* Get or create Agent Booster adapter (instance-level)
|
|
473
|
+
*/
|
|
474
|
+
async getAgentBooster() {
|
|
475
|
+
if (!this.agentBooster) {
|
|
476
|
+
this.agentBooster = await createAgentBoosterAdapter({
|
|
477
|
+
enabled: true,
|
|
478
|
+
fallbackToLLM: true,
|
|
479
|
+
confidenceThreshold: 0.7,
|
|
480
|
+
});
|
|
481
|
+
}
|
|
482
|
+
return this.agentBooster;
|
|
483
|
+
}
|
|
484
|
+
/**
|
|
485
|
+
* Get or create Task Router for outcome recording (instance-level)
|
|
486
|
+
*/
|
|
487
|
+
async getTaskRouterInstance() {
|
|
488
|
+
if (!this.taskRouter) {
|
|
489
|
+
try {
|
|
490
|
+
this.taskRouter = await getTaskRouter();
|
|
491
|
+
}
|
|
492
|
+
catch {
|
|
493
|
+
// Task router not available - outcome recording will be skipped
|
|
494
|
+
return null;
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
return this.taskRouter;
|
|
498
|
+
}
|
|
499
|
+
// ============================================================================
|
|
500
|
+
// Task Handler Registration (instance-level)
|
|
501
|
+
// ============================================================================
|
|
502
|
+
registerHandlers() {
|
|
503
|
+
// Register test generation handler - REAL IMPLEMENTATION
|
|
504
|
+
this.taskHandlers.set('generate-tests', async (task) => {
|
|
505
|
+
const payload = task.payload;
|
|
506
|
+
try {
|
|
507
|
+
const generator = this.getTestGenerator();
|
|
508
|
+
// Determine source files to analyze
|
|
509
|
+
let sourceFiles = [];
|
|
510
|
+
if (payload.sourceFiles && payload.sourceFiles.length > 0) {
|
|
511
|
+
sourceFiles = payload.sourceFiles;
|
|
512
|
+
}
|
|
513
|
+
else if (payload.filePath) {
|
|
514
|
+
sourceFiles = [payload.filePath];
|
|
515
|
+
}
|
|
516
|
+
else if (payload.sourceCode) {
|
|
517
|
+
// Write temporary file for analysis if only source code provided
|
|
518
|
+
const tempPath = `/tmp/aqe-temp-${uuidv4()}.ts`;
|
|
519
|
+
await fs.writeFile(tempPath, payload.sourceCode, 'utf-8');
|
|
520
|
+
sourceFiles = [tempPath];
|
|
521
|
+
}
|
|
522
|
+
if (sourceFiles.length === 0) {
|
|
523
|
+
// Return a graceful fallback with warning when no source files provided
|
|
524
|
+
return ok({
|
|
525
|
+
testsGenerated: 0,
|
|
526
|
+
coverageEstimate: 0,
|
|
527
|
+
tests: [],
|
|
528
|
+
patternsUsed: [],
|
|
529
|
+
warning: 'No source files or code provided for test generation. Provide sourceCode, filePath, or sourceFiles in the payload.',
|
|
530
|
+
});
|
|
531
|
+
}
|
|
532
|
+
// Use the real TestGeneratorService
|
|
533
|
+
const framework = (payload.framework || 'vitest');
|
|
534
|
+
const result = await generator.generateTests({
|
|
535
|
+
sourceFiles,
|
|
536
|
+
testType: payload.testType || 'unit',
|
|
537
|
+
framework,
|
|
538
|
+
coverageTarget: payload.coverageGoal || 80,
|
|
539
|
+
patterns: [],
|
|
540
|
+
});
|
|
541
|
+
if (!result.success) {
|
|
542
|
+
return result;
|
|
543
|
+
}
|
|
544
|
+
const generatedTests = result.value;
|
|
545
|
+
return ok({
|
|
546
|
+
testsGenerated: generatedTests.tests.length,
|
|
547
|
+
coverageEstimate: generatedTests.coverageEstimate,
|
|
548
|
+
tests: generatedTests.tests.map(t => ({
|
|
549
|
+
name: t.name,
|
|
550
|
+
file: t.testFile,
|
|
551
|
+
type: t.type,
|
|
552
|
+
sourceFile: t.sourceFile,
|
|
553
|
+
assertions: t.assertions,
|
|
554
|
+
})),
|
|
555
|
+
patternsUsed: generatedTests.patternsUsed,
|
|
556
|
+
});
|
|
557
|
+
}
|
|
558
|
+
catch (error) {
|
|
559
|
+
return err(toError(error));
|
|
560
|
+
}
|
|
561
|
+
});
|
|
562
|
+
// Register coverage analysis handler - REAL IMPLEMENTATION
|
|
563
|
+
this.taskHandlers.set('analyze-coverage', async (task) => {
|
|
564
|
+
const payload = task.payload;
|
|
565
|
+
try {
|
|
566
|
+
const analyzer = this.getCoverageAnalyzer();
|
|
567
|
+
const targetPath = payload.target || process.cwd();
|
|
568
|
+
const threshold = payload.threshold || 80;
|
|
569
|
+
// Try to find and read actual coverage files
|
|
570
|
+
const coverageData = await loadCoverageData(targetPath);
|
|
571
|
+
if (!coverageData) {
|
|
572
|
+
// No coverage data found - return informative error with fallback metrics
|
|
573
|
+
return ok({
|
|
574
|
+
lineCoverage: 0,
|
|
575
|
+
branchCoverage: 0,
|
|
576
|
+
functionCoverage: 0,
|
|
577
|
+
statementCoverage: 0,
|
|
578
|
+
totalFiles: 0,
|
|
579
|
+
gaps: [],
|
|
580
|
+
algorithm: 'sublinear-O(log n)',
|
|
581
|
+
warning: 'No coverage data found. Run tests with coverage first: npm test -- --coverage',
|
|
582
|
+
});
|
|
583
|
+
}
|
|
584
|
+
// Analyze coverage using the real CoverageAnalyzerService
|
|
585
|
+
const analysisResult = await analyzer.analyze({
|
|
586
|
+
coverageData,
|
|
587
|
+
threshold,
|
|
588
|
+
includeFileDetails: payload.detectGaps,
|
|
589
|
+
});
|
|
590
|
+
if (!analysisResult.success) {
|
|
591
|
+
return analysisResult;
|
|
592
|
+
}
|
|
593
|
+
const report = analysisResult.value;
|
|
594
|
+
// Find gaps if requested
|
|
595
|
+
let gaps = [];
|
|
596
|
+
if (payload.detectGaps) {
|
|
597
|
+
const gapsResult = await analyzer.findGaps(coverageData, threshold);
|
|
598
|
+
if (gapsResult.success) {
|
|
599
|
+
gaps = gapsResult.value.gaps.map(gap => ({
|
|
600
|
+
file: gap.file,
|
|
601
|
+
lines: gap.lines,
|
|
602
|
+
risk: gap.severity,
|
|
603
|
+
}));
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
return ok({
|
|
607
|
+
lineCoverage: Math.round(report.summary.line * 10) / 10,
|
|
608
|
+
branchCoverage: Math.round(report.summary.branch * 10) / 10,
|
|
609
|
+
functionCoverage: Math.round(report.summary.function * 10) / 10,
|
|
610
|
+
statementCoverage: Math.round(report.summary.statement * 10) / 10,
|
|
611
|
+
totalFiles: report.summary.files,
|
|
612
|
+
gaps,
|
|
613
|
+
meetsThreshold: report.meetsThreshold,
|
|
614
|
+
delta: report.delta,
|
|
615
|
+
recommendations: report.recommendations,
|
|
616
|
+
algorithm: 'sublinear-O(log n)',
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
catch (error) {
|
|
620
|
+
return err(toError(error));
|
|
621
|
+
}
|
|
622
|
+
});
|
|
623
|
+
// Register security scan handler - REAL IMPLEMENTATION
|
|
624
|
+
this.taskHandlers.set('scan-security', async (task) => {
|
|
625
|
+
const payload = task.payload;
|
|
626
|
+
try {
|
|
627
|
+
const scanner = this.getSecurityScanner();
|
|
628
|
+
const targetPath = payload.target || process.cwd();
|
|
629
|
+
// Discover files to scan
|
|
630
|
+
const filesToScan = await discoverSourceFiles(targetPath);
|
|
631
|
+
if (filesToScan.length === 0) {
|
|
632
|
+
return ok({
|
|
633
|
+
vulnerabilities: 0,
|
|
634
|
+
critical: 0,
|
|
635
|
+
high: 0,
|
|
636
|
+
medium: 0,
|
|
637
|
+
low: 0,
|
|
638
|
+
informational: 0,
|
|
639
|
+
topVulnerabilities: [],
|
|
640
|
+
recommendations: ['No source files found to scan'],
|
|
641
|
+
scanTypes: {
|
|
642
|
+
sast: payload.sast !== false,
|
|
643
|
+
dast: payload.dast || false,
|
|
644
|
+
},
|
|
645
|
+
warning: `No TypeScript/JavaScript files found in ${targetPath}`,
|
|
646
|
+
});
|
|
647
|
+
}
|
|
648
|
+
// Convert string paths to FilePath value objects
|
|
649
|
+
const filePathObjects = filesToScan.map(filePath => FilePath.create(filePath));
|
|
650
|
+
// Run SAST scan if requested
|
|
651
|
+
let sastResult = null;
|
|
652
|
+
if (payload.sast !== false) {
|
|
653
|
+
const result = await scanner.scanFiles(filePathObjects);
|
|
654
|
+
if (result.success) {
|
|
655
|
+
sastResult = result.value;
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
// Run DAST scan if URL provided and dast is enabled
|
|
659
|
+
let dastResult = null;
|
|
660
|
+
if (payload.dast && payload.targetUrl) {
|
|
661
|
+
const result = await scanner.scanUrl(payload.targetUrl, {
|
|
662
|
+
activeScanning: true,
|
|
663
|
+
maxDepth: 3,
|
|
664
|
+
timeout: 30000,
|
|
665
|
+
});
|
|
666
|
+
if (result.success) {
|
|
667
|
+
dastResult = result.value;
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
// Combine results - create mutable copy
|
|
671
|
+
const summary = {
|
|
672
|
+
critical: (sastResult?.summary?.critical || 0) + (dastResult?.summary?.critical || 0),
|
|
673
|
+
high: (sastResult?.summary?.high || 0) + (dastResult?.summary?.high || 0),
|
|
674
|
+
medium: (sastResult?.summary?.medium || 0) + (dastResult?.summary?.medium || 0),
|
|
675
|
+
low: (sastResult?.summary?.low || 0) + (dastResult?.summary?.low || 0),
|
|
676
|
+
informational: (sastResult?.summary?.informational || 0) + (dastResult?.summary?.informational || 0),
|
|
677
|
+
};
|
|
678
|
+
// Extract top vulnerabilities
|
|
679
|
+
const allVulns = [
|
|
680
|
+
...(sastResult?.vulnerabilities || []),
|
|
681
|
+
...(dastResult?.vulnerabilities || []),
|
|
682
|
+
];
|
|
683
|
+
const topVulnerabilities = allVulns
|
|
684
|
+
.sort((a, b) => {
|
|
685
|
+
const severityOrder = { critical: 0, high: 1, medium: 2, low: 3, informational: 4 };
|
|
686
|
+
return severityOrder[a.severity] - severityOrder[b.severity];
|
|
687
|
+
})
|
|
688
|
+
.slice(0, 10)
|
|
689
|
+
.map(v => ({
|
|
690
|
+
type: v.title,
|
|
691
|
+
severity: v.severity,
|
|
692
|
+
file: v.location.file,
|
|
693
|
+
line: v.location.line,
|
|
694
|
+
description: v.description,
|
|
695
|
+
}));
|
|
696
|
+
// Generate recommendations based on findings
|
|
697
|
+
const recommendations = generateSecurityRecommendations(allVulns);
|
|
698
|
+
return ok({
|
|
699
|
+
vulnerabilities: allVulns.length,
|
|
700
|
+
critical: summary.critical,
|
|
701
|
+
high: summary.high,
|
|
702
|
+
medium: summary.medium,
|
|
703
|
+
low: summary.low,
|
|
704
|
+
informational: summary.informational,
|
|
705
|
+
topVulnerabilities,
|
|
706
|
+
recommendations,
|
|
707
|
+
scanTypes: {
|
|
708
|
+
sast: payload.sast !== false,
|
|
709
|
+
dast: payload.dast || false,
|
|
710
|
+
},
|
|
711
|
+
filesScanned: filesToScan.length,
|
|
712
|
+
coverage: sastResult?.coverage,
|
|
713
|
+
});
|
|
714
|
+
}
|
|
715
|
+
catch (error) {
|
|
716
|
+
return err(toError(error));
|
|
717
|
+
}
|
|
718
|
+
});
|
|
719
|
+
// Register code indexing handler - REAL IMPLEMENTATION
|
|
720
|
+
this.taskHandlers.set('index-code', async (task) => {
|
|
721
|
+
const payload = task.payload;
|
|
722
|
+
try {
|
|
723
|
+
const kg = this.getKnowledgeGraph();
|
|
724
|
+
const targetPath = payload.target || process.cwd();
|
|
725
|
+
const startTime = Date.now();
|
|
726
|
+
// Discover files to index
|
|
727
|
+
const filesToIndex = await discoverSourceFiles(targetPath, {
|
|
728
|
+
includeTests: payload.includeTests !== false,
|
|
729
|
+
languages: payload.languages,
|
|
730
|
+
});
|
|
731
|
+
if (filesToIndex.length === 0) {
|
|
732
|
+
return ok({
|
|
733
|
+
filesIndexed: 0,
|
|
734
|
+
nodesCreated: 0,
|
|
735
|
+
edgesCreated: 0,
|
|
736
|
+
target: targetPath,
|
|
737
|
+
incremental: payload.incremental || false,
|
|
738
|
+
languages: payload.languages || ['typescript', 'javascript'],
|
|
739
|
+
duration: Date.now() - startTime,
|
|
740
|
+
warning: `No source files found in ${targetPath}`,
|
|
741
|
+
});
|
|
742
|
+
}
|
|
743
|
+
// Use the real KnowledgeGraphService to index files
|
|
744
|
+
const result = await kg.index({
|
|
745
|
+
paths: filesToIndex,
|
|
746
|
+
incremental: payload.incremental || false,
|
|
747
|
+
includeTests: payload.includeTests !== false,
|
|
748
|
+
languages: payload.languages,
|
|
749
|
+
});
|
|
750
|
+
if (!result.success) {
|
|
751
|
+
return result;
|
|
752
|
+
}
|
|
753
|
+
const indexResult = result.value;
|
|
754
|
+
// Detect languages from files
|
|
755
|
+
const detectedLanguages = new Set();
|
|
756
|
+
for (const file of filesToIndex) {
|
|
757
|
+
const ext = path.extname(file).slice(1);
|
|
758
|
+
if (['ts', 'tsx'].includes(ext))
|
|
759
|
+
detectedLanguages.add('typescript');
|
|
760
|
+
if (['js', 'jsx', 'mjs', 'cjs'].includes(ext))
|
|
761
|
+
detectedLanguages.add('javascript');
|
|
762
|
+
if (ext === 'py')
|
|
763
|
+
detectedLanguages.add('python');
|
|
764
|
+
}
|
|
765
|
+
return ok({
|
|
766
|
+
filesIndexed: indexResult.filesIndexed,
|
|
767
|
+
nodesCreated: indexResult.nodesCreated,
|
|
768
|
+
edgesCreated: indexResult.edgesCreated,
|
|
769
|
+
target: targetPath,
|
|
770
|
+
incremental: payload.incremental || false,
|
|
771
|
+
languages: Array.from(detectedLanguages),
|
|
772
|
+
duration: indexResult.duration,
|
|
773
|
+
errors: indexResult.errors,
|
|
774
|
+
});
|
|
775
|
+
}
|
|
776
|
+
catch (error) {
|
|
777
|
+
return err(toError(error));
|
|
778
|
+
}
|
|
779
|
+
});
|
|
780
|
+
// Register quality assessment handler - REAL IMPLEMENTATION
|
|
781
|
+
this.taskHandlers.set('assess-quality', async (task) => {
|
|
782
|
+
const payload = task.payload;
|
|
783
|
+
try {
|
|
784
|
+
const analyzer = this.getQualityAnalyzer();
|
|
785
|
+
const threshold = payload.threshold || 80;
|
|
786
|
+
// Determine source files to analyze
|
|
787
|
+
let sourceFiles = [];
|
|
788
|
+
if (payload.sourceFiles && payload.sourceFiles.length > 0) {
|
|
789
|
+
sourceFiles = payload.sourceFiles;
|
|
790
|
+
}
|
|
791
|
+
else if (payload.target) {
|
|
792
|
+
sourceFiles = await discoverSourceFiles(payload.target, { includeTests: false });
|
|
793
|
+
}
|
|
794
|
+
else {
|
|
795
|
+
sourceFiles = await discoverSourceFiles(process.cwd(), { includeTests: false });
|
|
796
|
+
}
|
|
797
|
+
if (sourceFiles.length === 0) {
|
|
798
|
+
return ok({
|
|
799
|
+
qualityScore: 0,
|
|
800
|
+
passed: false,
|
|
801
|
+
threshold,
|
|
802
|
+
metrics: {
|
|
803
|
+
coverage: 0,
|
|
804
|
+
complexity: 0,
|
|
805
|
+
maintainability: 0,
|
|
806
|
+
testability: 0,
|
|
807
|
+
},
|
|
808
|
+
recommendations: ['No source files found for quality assessment'],
|
|
809
|
+
warning: 'No source files found',
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
// Use the real QualityAnalyzerService
|
|
813
|
+
const result = await analyzer.analyzeQuality({
|
|
814
|
+
sourceFiles,
|
|
815
|
+
includeMetrics: payload.metrics || ['coverage', 'complexity', 'maintainability', 'testability'],
|
|
816
|
+
});
|
|
817
|
+
if (!result.success) {
|
|
818
|
+
return result;
|
|
819
|
+
}
|
|
820
|
+
const report = result.value;
|
|
821
|
+
const passed = report.score.overall >= threshold;
|
|
822
|
+
// Convert metrics to the expected format
|
|
823
|
+
const metrics = {};
|
|
824
|
+
for (const metric of report.metrics) {
|
|
825
|
+
metrics[metric.name] = metric.value;
|
|
826
|
+
}
|
|
827
|
+
return ok({
|
|
828
|
+
qualityScore: report.score.overall,
|
|
829
|
+
passed,
|
|
830
|
+
threshold,
|
|
831
|
+
metrics: {
|
|
832
|
+
coverage: report.score.coverage,
|
|
833
|
+
complexity: report.score.complexity,
|
|
834
|
+
maintainability: report.score.maintainability,
|
|
835
|
+
security: report.score.security,
|
|
836
|
+
...metrics,
|
|
837
|
+
},
|
|
838
|
+
recommendations: report.recommendations.map(r => `[${r.type}] ${r.title}: ${r.description}`),
|
|
839
|
+
trends: report.trends.map(t => ({
|
|
840
|
+
metric: t.metric,
|
|
841
|
+
direction: t.direction,
|
|
842
|
+
dataPoints: t.dataPoints.length,
|
|
843
|
+
})),
|
|
844
|
+
filesAnalyzed: sourceFiles.length,
|
|
845
|
+
});
|
|
846
|
+
}
|
|
847
|
+
catch (error) {
|
|
848
|
+
return err(toError(error));
|
|
849
|
+
}
|
|
850
|
+
});
|
|
851
|
+
// Register test execution handler
|
|
852
|
+
this.taskHandlers.set('execute-tests', async (task) => {
|
|
853
|
+
const payload = task.payload;
|
|
854
|
+
// In production, would actually run tests via test runner
|
|
855
|
+
const testCount = payload.testFiles?.length || 10;
|
|
856
|
+
const passed = Math.floor(testCount * 0.9);
|
|
857
|
+
const failed = testCount - passed;
|
|
858
|
+
return ok({
|
|
859
|
+
total: testCount,
|
|
860
|
+
passed,
|
|
861
|
+
failed,
|
|
862
|
+
skipped: 0,
|
|
863
|
+
duration: testCount * 50, // ~50ms per test
|
|
864
|
+
coverage: 82.5,
|
|
865
|
+
failedTests: failed > 0 ? ['example.test.ts:42'] : [],
|
|
866
|
+
});
|
|
867
|
+
});
|
|
868
|
+
// Register defect prediction handler
|
|
869
|
+
this.taskHandlers.set('predict-defects', async (task) => {
|
|
870
|
+
const payload = task.payload;
|
|
871
|
+
return ok({
|
|
872
|
+
predictedDefects: [
|
|
873
|
+
{
|
|
874
|
+
file: `${payload.target}/complex-module.ts`,
|
|
875
|
+
probability: 0.78,
|
|
876
|
+
reason: 'High cyclomatic complexity combined with low test coverage',
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
file: `${payload.target}/legacy-handler.ts`,
|
|
880
|
+
probability: 0.65,
|
|
881
|
+
reason: 'Frequent changes in recent commits with error-prone patterns',
|
|
882
|
+
},
|
|
883
|
+
],
|
|
884
|
+
riskScore: 42,
|
|
885
|
+
recommendations: [
|
|
886
|
+
'Add integration tests for complex-module.ts',
|
|
887
|
+
'Refactor legacy-handler.ts to reduce complexity',
|
|
888
|
+
],
|
|
889
|
+
});
|
|
890
|
+
});
|
|
891
|
+
// Register requirements validation handler
|
|
892
|
+
this.taskHandlers.set('validate-requirements', async (task) => {
|
|
893
|
+
const payload = task.payload;
|
|
894
|
+
return ok({
|
|
895
|
+
requirementsAnalyzed: 15,
|
|
896
|
+
testable: 12,
|
|
897
|
+
ambiguous: 2,
|
|
898
|
+
untestable: 1,
|
|
899
|
+
coverage: 80,
|
|
900
|
+
bddScenarios: payload.generateBDD ? [
|
|
901
|
+
'Given a user is logged in, When they view the dashboard, Then they see their metrics',
|
|
902
|
+
'Given an API request fails, When the retry limit is exceeded, Then an error is returned',
|
|
903
|
+
] : [],
|
|
904
|
+
});
|
|
905
|
+
});
|
|
906
|
+
// Register contract validation handler
|
|
907
|
+
this.taskHandlers.set('validate-contracts', async (task) => {
|
|
908
|
+
const payload = task.payload;
|
|
909
|
+
return ok({
|
|
910
|
+
contractPath: payload.contractPath,
|
|
911
|
+
valid: true,
|
|
912
|
+
breakingChanges: [],
|
|
913
|
+
warnings: [
|
|
914
|
+
'Deprecated field "legacyId" should be removed in next major version',
|
|
915
|
+
],
|
|
916
|
+
coverage: 95,
|
|
917
|
+
});
|
|
918
|
+
});
|
|
919
|
+
// Register accessibility test handler
|
|
920
|
+
this.taskHandlers.set('test-accessibility', async (task) => {
|
|
921
|
+
const payload = task.payload;
|
|
922
|
+
return ok({
|
|
923
|
+
url: payload.url,
|
|
924
|
+
standard: payload.standard || 'wcag21-aa',
|
|
925
|
+
passed: true,
|
|
926
|
+
violations: [],
|
|
927
|
+
warnings: [
|
|
928
|
+
{ rule: 'color-contrast', impact: 'minor', element: 'nav > a' },
|
|
929
|
+
],
|
|
930
|
+
score: 94,
|
|
931
|
+
});
|
|
932
|
+
});
|
|
933
|
+
// Register chaos test handler
|
|
934
|
+
this.taskHandlers.set('run-chaos', async (task) => {
|
|
935
|
+
const payload = task.payload;
|
|
936
|
+
return ok({
|
|
937
|
+
faultType: payload.faultType,
|
|
938
|
+
target: payload.target,
|
|
939
|
+
dryRun: payload.dryRun,
|
|
940
|
+
duration: payload.duration,
|
|
941
|
+
systemBehavior: payload.dryRun ? 'simulated' : 'tested',
|
|
942
|
+
resilience: {
|
|
943
|
+
recovered: true,
|
|
944
|
+
recoveryTime: 2500,
|
|
945
|
+
dataLoss: false,
|
|
946
|
+
},
|
|
947
|
+
});
|
|
948
|
+
});
|
|
949
|
+
// Register learning optimization handler
|
|
950
|
+
this.taskHandlers.set('optimize-learning', async (_task) => {
|
|
951
|
+
return ok({
|
|
952
|
+
patternsLearned: 12,
|
|
953
|
+
modelsUpdated: 3,
|
|
954
|
+
memoryConsolidated: true,
|
|
955
|
+
recommendations: [
|
|
956
|
+
'Pattern recognition improved for error handling',
|
|
957
|
+
'Test generation templates optimized',
|
|
958
|
+
],
|
|
959
|
+
});
|
|
960
|
+
});
|
|
926
961
|
}
|
|
927
962
|
// ============================================================================
|
|
928
963
|
// ADR-051: Agent Booster Execution (Tier 0)
|
|
@@ -939,7 +974,7 @@ export class DomainTaskExecutor {
|
|
|
939
974
|
return null;
|
|
940
975
|
}
|
|
941
976
|
try {
|
|
942
|
-
const booster = await getAgentBooster();
|
|
977
|
+
const booster = await this.getAgentBooster();
|
|
943
978
|
const codeContext = task.payload?.codeContext ||
|
|
944
979
|
task.payload?.sourceCode || '';
|
|
945
980
|
const result = await booster.transform(codeContext, transformType);
|
|
@@ -982,14 +1017,28 @@ export class DomainTaskExecutor {
|
|
|
982
1017
|
*/
|
|
983
1018
|
async recordOutcome(task, tier, success, durationMs) {
|
|
984
1019
|
try {
|
|
985
|
-
const router = await getTaskRouterInstance();
|
|
1020
|
+
const router = await this.getTaskRouterInstance();
|
|
986
1021
|
if (!router)
|
|
987
1022
|
return;
|
|
988
1023
|
// Log outcome for debugging and metrics
|
|
989
1024
|
console.debug(`[TaskExecutor] Outcome recorded: task=${task.id}, tier=${tier}, ` +
|
|
990
1025
|
`model=${getModelForTier(tier)}, success=${success}, duration=${durationMs}ms`);
|
|
991
|
-
//
|
|
992
|
-
|
|
1026
|
+
// ADR-023: Record routing outcome for learning feedback loop
|
|
1027
|
+
if (this.qualityFeedbackLoop) {
|
|
1028
|
+
const targetDomains = task.targetDomains || [];
|
|
1029
|
+
await this.qualityFeedbackLoop.recordRoutingOutcome({
|
|
1030
|
+
taskId: task.id,
|
|
1031
|
+
taskDescription: task.type,
|
|
1032
|
+
recommendedAgent: String(tier),
|
|
1033
|
+
usedAgent: String(tier),
|
|
1034
|
+
followedRecommendation: true,
|
|
1035
|
+
success,
|
|
1036
|
+
qualityScore: success ? 0.8 : 0.2,
|
|
1037
|
+
durationMs,
|
|
1038
|
+
timestamp: new Date(),
|
|
1039
|
+
error: success ? undefined : 'Task execution failed',
|
|
1040
|
+
});
|
|
1041
|
+
}
|
|
993
1042
|
}
|
|
994
1043
|
catch (error) {
|
|
995
1044
|
// Don't fail task execution if metrics recording fails
|
|
@@ -1023,7 +1072,7 @@ export class DomainTaskExecutor {
|
|
|
1023
1072
|
// Fall through to normal execution with Tier 1 (Haiku) as fallback
|
|
1024
1073
|
console.debug(`[TaskExecutor] Agent Booster fallback to Tier 1 for task ${task.id}`);
|
|
1025
1074
|
}
|
|
1026
|
-
const handler = taskHandlers.get(task.type);
|
|
1075
|
+
const handler = this.taskHandlers.get(task.type);
|
|
1027
1076
|
if (!handler) {
|
|
1028
1077
|
const result = {
|
|
1029
1078
|
taskId: task.id,
|
|
@@ -1037,7 +1086,7 @@ export class DomainTaskExecutor {
|
|
|
1037
1086
|
}
|
|
1038
1087
|
// Execute with timeout
|
|
1039
1088
|
const result = await Promise.race([
|
|
1040
|
-
handler(task
|
|
1089
|
+
handler(task),
|
|
1041
1090
|
this.timeout(task.timeout || this.config.timeout),
|
|
1042
1091
|
]);
|
|
1043
1092
|
if (!result.success) {
|
|
@@ -1091,7 +1140,7 @@ export class DomainTaskExecutor {
|
|
|
1091
1140
|
};
|
|
1092
1141
|
}
|
|
1093
1142
|
catch (error) {
|
|
1094
|
-
const errorMessage =
|
|
1143
|
+
const errorMessage = toErrorMessage(error);
|
|
1095
1144
|
await this.publishTaskFailed(task.id, errorMessage, domain);
|
|
1096
1145
|
// ADR-051: Record failed outcome
|
|
1097
1146
|
this.recordOutcome(task, routingTier, false, Date.now() - startTime).catch(() => { });
|
|
@@ -1104,6 +1153,42 @@ export class DomainTaskExecutor {
|
|
|
1104
1153
|
};
|
|
1105
1154
|
}
|
|
1106
1155
|
}
|
|
1156
|
+
/**
|
|
1157
|
+
* Reset cached services - call when disposing fleet/kernel
|
|
1158
|
+
* to ensure services don't hold references to disposed memory backends.
|
|
1159
|
+
* Instance method replaces the former module-level resetServiceCaches().
|
|
1160
|
+
*/
|
|
1161
|
+
async resetServiceCaches() {
|
|
1162
|
+
this.coverageAnalyzer = null;
|
|
1163
|
+
this.securityScanner = null;
|
|
1164
|
+
this.testGenerator = null;
|
|
1165
|
+
this.knowledgeGraph = null;
|
|
1166
|
+
this.qualityAnalyzer = null;
|
|
1167
|
+
// ADR-051: Also reset Agent Booster and Task Router
|
|
1168
|
+
if (this.agentBooster) {
|
|
1169
|
+
try {
|
|
1170
|
+
await this.agentBooster.dispose();
|
|
1171
|
+
}
|
|
1172
|
+
catch (error) {
|
|
1173
|
+
// Non-critical: disposal errors don't affect subsequent operations
|
|
1174
|
+
console.debug('[TaskExecutor] Agent Booster disposal error:', error instanceof Error ? error.message : error);
|
|
1175
|
+
}
|
|
1176
|
+
this.agentBooster = null;
|
|
1177
|
+
}
|
|
1178
|
+
this.taskRouter = null;
|
|
1179
|
+
}
|
|
1180
|
+
/**
|
|
1181
|
+
* Sync version for backwards compatibility
|
|
1182
|
+
*/
|
|
1183
|
+
resetServiceCachesSync() {
|
|
1184
|
+
this.coverageAnalyzer = null;
|
|
1185
|
+
this.securityScanner = null;
|
|
1186
|
+
this.testGenerator = null;
|
|
1187
|
+
this.knowledgeGraph = null;
|
|
1188
|
+
this.qualityAnalyzer = null;
|
|
1189
|
+
this.agentBooster = null;
|
|
1190
|
+
this.taskRouter = null;
|
|
1191
|
+
}
|
|
1107
1192
|
getTaskDomain(taskType) {
|
|
1108
1193
|
const domainMap = {
|
|
1109
1194
|
'generate-tests': 'test-generation',
|
|
@@ -1155,38 +1240,26 @@ export function createTaskExecutor(kernel, config) {
|
|
|
1155
1240
|
return new DomainTaskExecutor(kernel, kernel.eventBus, config);
|
|
1156
1241
|
}
|
|
1157
1242
|
/**
|
|
1158
|
-
* Reset cached services
|
|
1159
|
-
*
|
|
1243
|
+
* Reset cached services on a specific executor instance.
|
|
1244
|
+
* This is the module-level wrapper for backwards compatibility with
|
|
1245
|
+
* callers that import resetServiceCaches() directly.
|
|
1246
|
+
* It requires the caller to also call resetTaskExecutor() which nullifies
|
|
1247
|
+
* the cached executor - so the next getTaskExecutor() creates a fresh instance
|
|
1248
|
+
* with clean caches. This function is now a no-op since caches are instance-level.
|
|
1249
|
+
*
|
|
1250
|
+
* @deprecated Prefer calling executor.resetServiceCaches() on the instance directly.
|
|
1160
1251
|
*/
|
|
1161
1252
|
export async function resetServiceCaches() {
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
qualityAnalyzer = null;
|
|
1167
|
-
// ADR-051: Also reset Agent Booster and Task Router
|
|
1168
|
-
if (agentBooster) {
|
|
1169
|
-
try {
|
|
1170
|
-
await agentBooster.dispose();
|
|
1171
|
-
}
|
|
1172
|
-
catch (error) {
|
|
1173
|
-
// Non-critical: disposal errors don't affect subsequent operations
|
|
1174
|
-
console.debug('[TaskExecutor] Agent Booster disposal error:', error instanceof Error ? error.message : error);
|
|
1175
|
-
}
|
|
1176
|
-
agentBooster = null;
|
|
1177
|
-
}
|
|
1178
|
-
taskRouter = null;
|
|
1253
|
+
// No-op: service caches are now instance-level properties.
|
|
1254
|
+
// When the cached executor is nullified by resetTaskExecutor(),
|
|
1255
|
+
// the old instance (and its caches) become eligible for GC.
|
|
1256
|
+
// The next executor instance starts with fresh null caches.
|
|
1179
1257
|
}
|
|
1180
1258
|
/**
|
|
1181
1259
|
* Sync version for backwards compatibility
|
|
1260
|
+
* @deprecated Prefer calling executor.resetServiceCachesSync() on the instance directly.
|
|
1182
1261
|
*/
|
|
1183
1262
|
export function resetServiceCachesSync() {
|
|
1184
|
-
|
|
1185
|
-
securityScanner = null;
|
|
1186
|
-
testGenerator = null;
|
|
1187
|
-
knowledgeGraph = null;
|
|
1188
|
-
qualityAnalyzer = null;
|
|
1189
|
-
agentBooster = null;
|
|
1190
|
-
taskRouter = null;
|
|
1263
|
+
// No-op: service caches are now instance-level properties.
|
|
1191
1264
|
}
|
|
1192
1265
|
//# sourceMappingURL=task-executor.js.map
|