agentic-qe 3.2.3 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/v3/qe-accessibility-auditor.md +90 -0
- package/README.md +49 -7
- package/package.json +8 -2
- package/scripts/cloud-db-config.json +37 -0
- package/scripts/cloud-db-connect.sh +37 -0
- package/scripts/cloud-db-tunnel.sh +23 -0
- package/v3/CHANGELOG.md +253 -0
- package/v3/README.md +59 -1
- package/v3/assets/agents/v3/qe-accessibility-auditor.md +90 -0
- package/v3/dist/adapters/claude-flow/index.d.ts +54 -0
- package/v3/dist/adapters/claude-flow/index.d.ts.map +1 -0
- package/v3/dist/adapters/claude-flow/index.js +79 -0
- package/v3/dist/adapters/claude-flow/index.js.map +1 -0
- package/v3/dist/adapters/claude-flow/model-router-bridge.d.ts +70 -0
- package/v3/dist/adapters/claude-flow/model-router-bridge.d.ts.map +1 -0
- package/v3/dist/adapters/claude-flow/model-router-bridge.js +203 -0
- package/v3/dist/adapters/claude-flow/model-router-bridge.js.map +1 -0
- package/v3/dist/adapters/claude-flow/pretrain-bridge.d.ts +73 -0
- package/v3/dist/adapters/claude-flow/pretrain-bridge.d.ts.map +1 -0
- package/v3/dist/adapters/claude-flow/pretrain-bridge.js +276 -0
- package/v3/dist/adapters/claude-flow/pretrain-bridge.js.map +1 -0
- package/v3/dist/adapters/claude-flow/trajectory-bridge.d.ts +70 -0
- package/v3/dist/adapters/claude-flow/trajectory-bridge.d.ts.map +1 -0
- package/v3/dist/adapters/claude-flow/trajectory-bridge.js +205 -0
- package/v3/dist/adapters/claude-flow/trajectory-bridge.js.map +1 -0
- package/v3/dist/adapters/claude-flow/types.d.ts +99 -0
- package/v3/dist/adapters/claude-flow/types.d.ts.map +1 -0
- package/v3/dist/adapters/claude-flow/types.js +6 -0
- package/v3/dist/adapters/claude-flow/types.js.map +1 -0
- package/v3/dist/causal-discovery/causal-graph.d.ts +80 -1
- package/v3/dist/causal-discovery/causal-graph.d.ts.map +1 -1
- package/v3/dist/causal-discovery/causal-graph.js +111 -1
- package/v3/dist/causal-discovery/causal-graph.js.map +1 -1
- package/v3/dist/cli/bundle.js +25321 -15378
- package/v3/dist/cli/command-registry.d.ts +55 -0
- package/v3/dist/cli/command-registry.d.ts.map +1 -0
- package/v3/dist/cli/command-registry.js +103 -0
- package/v3/dist/cli/command-registry.js.map +1 -0
- package/v3/dist/cli/commands/claude-flow-setup.d.ts +82 -0
- package/v3/dist/cli/commands/claude-flow-setup.d.ts.map +1 -0
- package/v3/dist/cli/commands/claude-flow-setup.js +334 -0
- package/v3/dist/cli/commands/claude-flow-setup.js.map +1 -0
- package/v3/dist/cli/commands/code.d.ts +9 -0
- package/v3/dist/cli/commands/code.d.ts.map +1 -0
- package/v3/dist/cli/commands/code.js +254 -0
- package/v3/dist/cli/commands/code.js.map +1 -0
- package/v3/dist/cli/commands/completions.d.ts +8 -0
- package/v3/dist/cli/commands/completions.d.ts.map +1 -0
- package/v3/dist/cli/commands/completions.js +99 -0
- package/v3/dist/cli/commands/completions.js.map +1 -0
- package/v3/dist/cli/commands/coverage.d.ts +9 -0
- package/v3/dist/cli/commands/coverage.d.ts.map +1 -0
- package/v3/dist/cli/commands/coverage.js +208 -0
- package/v3/dist/cli/commands/coverage.js.map +1 -0
- package/v3/dist/cli/commands/fleet.d.ts +11 -0
- package/v3/dist/cli/commands/fleet.d.ts.map +1 -0
- package/v3/dist/cli/commands/fleet.js +338 -0
- package/v3/dist/cli/commands/fleet.js.map +1 -0
- package/v3/dist/cli/commands/hooks.d.ts +2 -0
- package/v3/dist/cli/commands/hooks.d.ts.map +1 -1
- package/v3/dist/cli/commands/hooks.js +13 -2
- package/v3/dist/cli/commands/hooks.js.map +1 -1
- package/v3/dist/cli/commands/init.d.ts +19 -0
- package/v3/dist/cli/commands/init.d.ts.map +1 -0
- package/v3/dist/cli/commands/init.js +345 -0
- package/v3/dist/cli/commands/init.js.map +1 -0
- package/v3/dist/cli/commands/migrate.d.ts +9 -0
- package/v3/dist/cli/commands/migrate.d.ts.map +1 -0
- package/v3/dist/cli/commands/migrate.js +566 -0
- package/v3/dist/cli/commands/migrate.js.map +1 -0
- package/v3/dist/cli/commands/quality.d.ts +9 -0
- package/v3/dist/cli/commands/quality.d.ts.map +1 -0
- package/v3/dist/cli/commands/quality.js +40 -0
- package/v3/dist/cli/commands/quality.js.map +1 -0
- package/v3/dist/cli/commands/security.d.ts +9 -0
- package/v3/dist/cli/commands/security.d.ts.map +1 -0
- package/v3/dist/cli/commands/security.js +124 -0
- package/v3/dist/cli/commands/security.js.map +1 -0
- package/v3/dist/cli/commands/sync.d.ts +19 -0
- package/v3/dist/cli/commands/sync.d.ts.map +1 -0
- package/v3/dist/cli/commands/sync.js +283 -0
- package/v3/dist/cli/commands/sync.js.map +1 -0
- package/v3/dist/cli/commands/test.d.ts +9 -0
- package/v3/dist/cli/commands/test.d.ts.map +1 -0
- package/v3/dist/cli/commands/test.js +166 -0
- package/v3/dist/cli/commands/test.js.map +1 -0
- package/v3/dist/cli/handlers/agent-handler.d.ts +20 -0
- package/v3/dist/cli/handlers/agent-handler.d.ts.map +1 -0
- package/v3/dist/cli/handlers/agent-handler.js +158 -0
- package/v3/dist/cli/handlers/agent-handler.js.map +1 -0
- package/v3/dist/cli/handlers/domain-handler.d.ts +20 -0
- package/v3/dist/cli/handlers/domain-handler.d.ts.map +1 -0
- package/v3/dist/cli/handlers/domain-handler.js +115 -0
- package/v3/dist/cli/handlers/domain-handler.js.map +1 -0
- package/v3/dist/cli/handlers/index.d.ts +13 -0
- package/v3/dist/cli/handlers/index.d.ts.map +1 -0
- package/v3/dist/cli/handlers/index.js +15 -0
- package/v3/dist/cli/handlers/index.js.map +1 -0
- package/v3/dist/cli/handlers/init-handler.d.ts +38 -0
- package/v3/dist/cli/handlers/init-handler.d.ts.map +1 -0
- package/v3/dist/cli/handlers/init-handler.js +288 -0
- package/v3/dist/cli/handlers/init-handler.js.map +1 -0
- package/v3/dist/cli/handlers/interfaces.d.ts +104 -0
- package/v3/dist/cli/handlers/interfaces.d.ts.map +1 -0
- package/v3/dist/cli/handlers/interfaces.js +109 -0
- package/v3/dist/cli/handlers/interfaces.js.map +1 -0
- package/v3/dist/cli/handlers/protocol-handler.d.ts +19 -0
- package/v3/dist/cli/handlers/protocol-handler.d.ts.map +1 -0
- package/v3/dist/cli/handlers/protocol-handler.js +79 -0
- package/v3/dist/cli/handlers/protocol-handler.js.map +1 -0
- package/v3/dist/cli/handlers/status-handler.d.ts +30 -0
- package/v3/dist/cli/handlers/status-handler.d.ts.map +1 -0
- package/v3/dist/cli/handlers/status-handler.js +218 -0
- package/v3/dist/cli/handlers/status-handler.js.map +1 -0
- package/v3/dist/cli/handlers/task-handler.d.ts +22 -0
- package/v3/dist/cli/handlers/task-handler.d.ts.map +1 -0
- package/v3/dist/cli/handlers/task-handler.js +271 -0
- package/v3/dist/cli/handlers/task-handler.js.map +1 -0
- package/v3/dist/cli/index.d.ts +4 -0
- package/v3/dist/cli/index.d.ts.map +1 -1
- package/v3/dist/cli/index.js +62 -2583
- package/v3/dist/cli/index.js.map +1 -1
- package/v3/dist/cli/wizards/core/index.d.ts +11 -0
- package/v3/dist/cli/wizards/core/index.d.ts.map +1 -0
- package/v3/dist/cli/wizards/core/index.js +15 -0
- package/v3/dist/cli/wizards/core/index.js.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-base.d.ts +87 -0
- package/v3/dist/cli/wizards/core/wizard-base.d.ts.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-base.js +120 -0
- package/v3/dist/cli/wizards/core/wizard-base.js.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-command.d.ts +182 -0
- package/v3/dist/cli/wizards/core/wizard-command.d.ts.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-command.js +45 -0
- package/v3/dist/cli/wizards/core/wizard-command.js.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-step.d.ts +109 -0
- package/v3/dist/cli/wizards/core/wizard-step.d.ts.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-step.js +384 -0
- package/v3/dist/cli/wizards/core/wizard-step.js.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-utils.d.ts +117 -0
- package/v3/dist/cli/wizards/core/wizard-utils.d.ts.map +1 -0
- package/v3/dist/cli/wizards/core/wizard-utils.js +291 -0
- package/v3/dist/cli/wizards/core/wizard-utils.js.map +1 -0
- package/v3/dist/cli/wizards/coverage-wizard.d.ts +13 -68
- package/v3/dist/cli/wizards/coverage-wizard.d.ts.map +1 -1
- package/v3/dist/cli/wizards/coverage-wizard.js +127 -391
- package/v3/dist/cli/wizards/coverage-wizard.js.map +1 -1
- package/v3/dist/cli/wizards/fleet-wizard.d.ts +13 -64
- package/v3/dist/cli/wizards/fleet-wizard.d.ts.map +1 -1
- package/v3/dist/cli/wizards/fleet-wizard.js +150 -363
- package/v3/dist/cli/wizards/fleet-wizard.js.map +1 -1
- package/v3/dist/cli/wizards/index.d.ts +2 -0
- package/v3/dist/cli/wizards/index.d.ts.map +1 -1
- package/v3/dist/cli/wizards/index.js +3 -0
- package/v3/dist/cli/wizards/index.js.map +1 -1
- package/v3/dist/cli/wizards/security-wizard.d.ts +13 -64
- package/v3/dist/cli/wizards/security-wizard.d.ts.map +1 -1
- package/v3/dist/cli/wizards/security-wizard.js +152 -395
- package/v3/dist/cli/wizards/security-wizard.js.map +1 -1
- package/v3/dist/cli/wizards/test-wizard.d.ts +13 -77
- package/v3/dist/cli/wizards/test-wizard.d.ts.map +1 -1
- package/v3/dist/cli/wizards/test-wizard.js +196 -328
- package/v3/dist/cli/wizards/test-wizard.js.map +1 -1
- package/v3/dist/coordination/mincut/interfaces.d.ts +8 -2
- package/v3/dist/coordination/mincut/interfaces.d.ts.map +1 -1
- package/v3/dist/coordination/mincut/interfaces.js.map +1 -1
- package/v3/dist/coordination/mincut/mincut-health-monitor.d.ts +8 -0
- package/v3/dist/coordination/mincut/mincut-health-monitor.d.ts.map +1 -1
- package/v3/dist/coordination/mincut/mincut-health-monitor.js +26 -4
- package/v3/dist/coordination/mincut/mincut-health-monitor.js.map +1 -1
- package/v3/dist/coordination/mincut/queen-integration.d.ts +7 -0
- package/v3/dist/coordination/mincut/queen-integration.d.ts.map +1 -1
- package/v3/dist/coordination/mincut/queen-integration.js +19 -1
- package/v3/dist/coordination/mincut/queen-integration.js.map +1 -1
- package/v3/dist/coordination/queen-coordinator.d.ts +5 -0
- package/v3/dist/coordination/queen-coordinator.d.ts.map +1 -1
- package/v3/dist/coordination/queen-coordinator.js +45 -7
- package/v3/dist/coordination/queen-coordinator.js.map +1 -1
- package/v3/dist/coordination/task-executor.js +2 -2
- package/v3/dist/coordination/task-executor.js.map +1 -1
- package/v3/dist/domains/chaos-resilience/plugin.js +2 -2
- package/v3/dist/domains/chaos-resilience/plugin.js.map +1 -1
- package/v3/dist/domains/code-intelligence/plugin.js +2 -2
- package/v3/dist/domains/code-intelligence/plugin.js.map +1 -1
- package/v3/dist/domains/contract-testing/plugin.js +2 -2
- package/v3/dist/domains/contract-testing/plugin.js.map +1 -1
- package/v3/dist/domains/coverage-analysis/plugin.d.ts.map +1 -1
- package/v3/dist/domains/coverage-analysis/plugin.js +2 -1
- package/v3/dist/domains/coverage-analysis/plugin.js.map +1 -1
- package/v3/dist/domains/defect-intelligence/plugin.js +2 -2
- package/v3/dist/domains/defect-intelligence/plugin.js.map +1 -1
- package/v3/dist/domains/domain-interface.d.ts.map +1 -1
- package/v3/dist/domains/domain-interface.js +3 -1
- package/v3/dist/domains/domain-interface.js.map +1 -1
- package/v3/dist/domains/learning-optimization/coordinator.d.ts +5 -0
- package/v3/dist/domains/learning-optimization/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/learning-optimization/coordinator.js +79 -0
- package/v3/dist/domains/learning-optimization/coordinator.js.map +1 -1
- package/v3/dist/domains/learning-optimization/plugin.js +2 -2
- package/v3/dist/domains/learning-optimization/plugin.js.map +1 -1
- package/v3/dist/domains/quality-assessment/plugin.js +2 -2
- package/v3/dist/domains/quality-assessment/plugin.js.map +1 -1
- package/v3/dist/domains/requirements-validation/plugin.js +2 -2
- package/v3/dist/domains/requirements-validation/plugin.js.map +1 -1
- package/v3/dist/domains/security-compliance/plugin.js +2 -2
- package/v3/dist/domains/security-compliance/plugin.js.map +1 -1
- package/v3/dist/domains/test-execution/index.d.ts +2 -1
- package/v3/dist/domains/test-execution/index.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/index.js +0 -2
- package/v3/dist/domains/test-execution/index.js.map +1 -1
- package/v3/dist/domains/test-execution/interfaces.d.ts +222 -25
- package/v3/dist/domains/test-execution/interfaces.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/interfaces.js +130 -3
- package/v3/dist/domains/test-execution/interfaces.js.map +1 -1
- package/v3/dist/domains/test-execution/plugin.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/plugin.js +2 -1
- package/v3/dist/domains/test-execution/plugin.js.map +1 -1
- package/v3/dist/domains/test-execution/test-prioritization-types.d.ts +5 -172
- package/v3/dist/domains/test-execution/test-prioritization-types.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/test-prioritization-types.js +6 -129
- package/v3/dist/domains/test-execution/test-prioritization-types.js.map +1 -1
- package/v3/dist/domains/test-execution/types/index.d.ts +7 -3
- package/v3/dist/domains/test-execution/types/index.d.ts.map +1 -1
- package/v3/dist/domains/test-execution/types/index.js +7 -17
- package/v3/dist/domains/test-execution/types/index.js.map +1 -1
- package/v3/dist/domains/test-generation/coordinator.d.ts +32 -1
- package/v3/dist/domains/test-generation/coordinator.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/coordinator.js +72 -3
- package/v3/dist/domains/test-generation/coordinator.js.map +1 -1
- package/v3/dist/domains/test-generation/factories/index.d.ts +8 -0
- package/v3/dist/domains/test-generation/factories/index.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/factories/index.js +8 -0
- package/v3/dist/domains/test-generation/factories/index.js.map +1 -0
- package/v3/dist/domains/test-generation/factories/test-generator-factory.d.ts +108 -0
- package/v3/dist/domains/test-generation/factories/test-generator-factory.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/factories/test-generator-factory.js +158 -0
- package/v3/dist/domains/test-generation/factories/test-generator-factory.js.map +1 -0
- package/v3/dist/domains/test-generation/generators/base-test-generator.d.ts +79 -0
- package/v3/dist/domains/test-generation/generators/base-test-generator.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/generators/base-test-generator.js +252 -0
- package/v3/dist/domains/test-generation/generators/base-test-generator.js.map +1 -0
- package/v3/dist/domains/test-generation/generators/index.d.ts +11 -0
- package/v3/dist/domains/test-generation/generators/index.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/generators/index.js +13 -0
- package/v3/dist/domains/test-generation/generators/index.js.map +1 -0
- package/v3/dist/domains/test-generation/generators/jest-vitest-generator.d.ts +77 -0
- package/v3/dist/domains/test-generation/generators/jest-vitest-generator.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/generators/jest-vitest-generator.js +365 -0
- package/v3/dist/domains/test-generation/generators/jest-vitest-generator.js.map +1 -0
- package/v3/dist/domains/test-generation/generators/mocha-generator.d.ts +56 -0
- package/v3/dist/domains/test-generation/generators/mocha-generator.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/generators/mocha-generator.js +197 -0
- package/v3/dist/domains/test-generation/generators/mocha-generator.js.map +1 -0
- package/v3/dist/domains/test-generation/generators/pytest-generator.d.ts +66 -0
- package/v3/dist/domains/test-generation/generators/pytest-generator.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/generators/pytest-generator.js +240 -0
- package/v3/dist/domains/test-generation/generators/pytest-generator.js.map +1 -0
- package/v3/dist/domains/test-generation/index.d.ts +2 -1
- package/v3/dist/domains/test-generation/index.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/index.js +5 -1
- package/v3/dist/domains/test-generation/index.js.map +1 -1
- package/v3/dist/domains/test-generation/interfaces/index.d.ts +9 -0
- package/v3/dist/domains/test-generation/interfaces/index.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/interfaces/index.js +9 -0
- package/v3/dist/domains/test-generation/interfaces/index.js.map +1 -0
- package/v3/dist/domains/test-generation/interfaces/test-generator.interface.d.ts +166 -0
- package/v3/dist/domains/test-generation/interfaces/test-generator.interface.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/interfaces/test-generator.interface.js +8 -0
- package/v3/dist/domains/test-generation/interfaces/test-generator.interface.js.map +1 -0
- package/v3/dist/domains/test-generation/interfaces.d.ts +163 -24
- package/v3/dist/domains/test-generation/interfaces.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/interfaces.js +2 -2
- package/v3/dist/domains/test-generation/plugin.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/plugin.js +6 -5
- package/v3/dist/domains/test-generation/plugin.js.map +1 -1
- package/v3/dist/domains/test-generation/services/coherence-gate-service.d.ts +245 -0
- package/v3/dist/domains/test-generation/services/coherence-gate-service.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/services/coherence-gate-service.js +454 -0
- package/v3/dist/domains/test-generation/services/coherence-gate-service.js.map +1 -0
- package/v3/dist/domains/test-generation/services/index.d.ts +8 -1
- package/v3/dist/domains/test-generation/services/index.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/services/index.js +10 -1
- package/v3/dist/domains/test-generation/services/index.js.map +1 -1
- package/v3/dist/domains/test-generation/services/property-test-generator.d.ts +34 -0
- package/v3/dist/domains/test-generation/services/property-test-generator.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/services/property-test-generator.js +306 -0
- package/v3/dist/domains/test-generation/services/property-test-generator.js.map +1 -0
- package/v3/dist/domains/test-generation/services/tdd-generator.d.ts +33 -0
- package/v3/dist/domains/test-generation/services/tdd-generator.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/services/tdd-generator.js +342 -0
- package/v3/dist/domains/test-generation/services/tdd-generator.js.map +1 -0
- package/v3/dist/domains/test-generation/services/test-data-generator.d.ts +34 -0
- package/v3/dist/domains/test-generation/services/test-data-generator.d.ts.map +1 -0
- package/v3/dist/domains/test-generation/services/test-data-generator.js +245 -0
- package/v3/dist/domains/test-generation/services/test-data-generator.js.map +1 -0
- package/v3/dist/domains/test-generation/services/test-generator.d.ts +51 -160
- package/v3/dist/domains/test-generation/services/test-generator.d.ts.map +1 -1
- package/v3/dist/domains/test-generation/services/test-generator.js +101 -1858
- package/v3/dist/domains/test-generation/services/test-generator.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/index.d.ts +2 -1
- package/v3/dist/domains/visual-accessibility/index.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/index.js +1 -0
- package/v3/dist/domains/visual-accessibility/index.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/interfaces.d.ts +131 -0
- package/v3/dist/domains/visual-accessibility/interfaces.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/plugin.d.ts +26 -0
- package/v3/dist/domains/visual-accessibility/plugin.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/plugin.js +153 -2
- package/v3/dist/domains/visual-accessibility/plugin.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester.d.ts +42 -1
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester.js +69 -0
- package/v3/dist/domains/visual-accessibility/services/accessibility-tester.js.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/eu-compliance.d.ts +138 -0
- package/v3/dist/domains/visual-accessibility/services/eu-compliance.d.ts.map +1 -0
- package/v3/dist/domains/visual-accessibility/services/eu-compliance.js +830 -0
- package/v3/dist/domains/visual-accessibility/services/eu-compliance.js.map +1 -0
- package/v3/dist/domains/visual-accessibility/services/index.d.ts +1 -0
- package/v3/dist/domains/visual-accessibility/services/index.d.ts.map +1 -1
- package/v3/dist/domains/visual-accessibility/services/index.js +1 -0
- package/v3/dist/domains/visual-accessibility/services/index.js.map +1 -1
- package/v3/dist/init/enhancements/claude-flow-adapter.d.ts +84 -0
- package/v3/dist/init/enhancements/claude-flow-adapter.d.ts.map +1 -0
- package/v3/dist/init/enhancements/claude-flow-adapter.js +250 -0
- package/v3/dist/init/enhancements/claude-flow-adapter.js.map +1 -0
- package/v3/dist/init/enhancements/detector.d.ts +10 -0
- package/v3/dist/init/enhancements/detector.d.ts.map +1 -0
- package/v3/dist/init/enhancements/detector.js +87 -0
- package/v3/dist/init/enhancements/detector.js.map +1 -0
- package/v3/dist/init/enhancements/index.d.ts +13 -0
- package/v3/dist/init/enhancements/index.d.ts.map +1 -0
- package/v3/dist/init/enhancements/index.js +25 -0
- package/v3/dist/init/enhancements/index.js.map +1 -0
- package/v3/dist/init/enhancements/types.d.ts +93 -0
- package/v3/dist/init/enhancements/types.d.ts.map +1 -0
- package/v3/dist/init/enhancements/types.js +6 -0
- package/v3/dist/init/enhancements/types.js.map +1 -0
- package/v3/dist/init/index.d.ts +8 -0
- package/v3/dist/init/index.d.ts.map +1 -1
- package/v3/dist/init/index.js +4 -0
- package/v3/dist/init/index.js.map +1 -1
- package/v3/dist/init/migration/config-migrator.d.ts +31 -0
- package/v3/dist/init/migration/config-migrator.d.ts.map +1 -0
- package/v3/dist/init/migration/config-migrator.js +133 -0
- package/v3/dist/init/migration/config-migrator.js.map +1 -0
- package/v3/dist/init/migration/data-migrator.d.ts +72 -0
- package/v3/dist/init/migration/data-migrator.d.ts.map +1 -0
- package/v3/dist/init/migration/data-migrator.js +233 -0
- package/v3/dist/init/migration/data-migrator.js.map +1 -0
- package/v3/dist/init/migration/detector.d.ts +44 -0
- package/v3/dist/init/migration/detector.d.ts.map +1 -0
- package/v3/dist/init/migration/detector.js +106 -0
- package/v3/dist/init/migration/detector.js.map +1 -0
- package/v3/dist/init/migration/index.d.ts +8 -0
- package/v3/dist/init/migration/index.d.ts.map +1 -0
- package/v3/dist/init/migration/index.js +8 -0
- package/v3/dist/init/migration/index.js.map +1 -0
- package/v3/dist/init/orchestrator.d.ts +68 -0
- package/v3/dist/init/orchestrator.d.ts.map +1 -0
- package/v3/dist/init/orchestrator.js +239 -0
- package/v3/dist/init/orchestrator.js.map +1 -0
- package/v3/dist/init/phases/01-detection.d.ts +30 -0
- package/v3/dist/init/phases/01-detection.d.ts.map +1 -0
- package/v3/dist/init/phases/01-detection.js +143 -0
- package/v3/dist/init/phases/01-detection.js.map +1 -0
- package/v3/dist/init/phases/02-analysis.d.ts +18 -0
- package/v3/dist/init/phases/02-analysis.d.ts.map +1 -0
- package/v3/dist/init/phases/02-analysis.js +28 -0
- package/v3/dist/init/phases/02-analysis.js.map +1 -0
- package/v3/dist/init/phases/03-configuration.d.ts +26 -0
- package/v3/dist/init/phases/03-configuration.d.ts.map +1 -0
- package/v3/dist/init/phases/03-configuration.js +98 -0
- package/v3/dist/init/phases/03-configuration.js.map +1 -0
- package/v3/dist/init/phases/04-database.d.ts +22 -0
- package/v3/dist/init/phases/04-database.d.ts.map +1 -0
- package/v3/dist/init/phases/04-database.js +88 -0
- package/v3/dist/init/phases/04-database.js.map +1 -0
- package/v3/dist/init/phases/05-learning.d.ts +28 -0
- package/v3/dist/init/phases/05-learning.d.ts.map +1 -0
- package/v3/dist/init/phases/05-learning.js +98 -0
- package/v3/dist/init/phases/05-learning.js.map +1 -0
- package/v3/dist/init/phases/06-code-intelligence.d.ts +33 -0
- package/v3/dist/init/phases/06-code-intelligence.d.ts.map +1 -0
- package/v3/dist/init/phases/06-code-intelligence.js +115 -0
- package/v3/dist/init/phases/06-code-intelligence.js.map +1 -0
- package/v3/dist/init/phases/07-hooks.d.ts +27 -0
- package/v3/dist/init/phases/07-hooks.d.ts.map +1 -0
- package/v3/dist/init/phases/07-hooks.js +209 -0
- package/v3/dist/init/phases/07-hooks.js.map +1 -0
- package/v3/dist/init/phases/08-mcp.d.ts +22 -0
- package/v3/dist/init/phases/08-mcp.d.ts.map +1 -0
- package/v3/dist/init/phases/08-mcp.js +62 -0
- package/v3/dist/init/phases/08-mcp.js.map +1 -0
- package/v3/dist/init/phases/09-assets.d.ts +23 -0
- package/v3/dist/init/phases/09-assets.d.ts.map +1 -0
- package/v3/dist/init/phases/09-assets.js +82 -0
- package/v3/dist/init/phases/09-assets.js.map +1 -0
- package/v3/dist/init/phases/10-workers.d.ts +23 -0
- package/v3/dist/init/phases/10-workers.d.ts.map +1 -0
- package/v3/dist/init/phases/10-workers.js +111 -0
- package/v3/dist/init/phases/10-workers.js.map +1 -0
- package/v3/dist/init/phases/11-claude-md.d.ts +26 -0
- package/v3/dist/init/phases/11-claude-md.d.ts.map +1 -0
- package/v3/dist/init/phases/11-claude-md.js +121 -0
- package/v3/dist/init/phases/11-claude-md.js.map +1 -0
- package/v3/dist/init/phases/12-verification.d.ts +61 -0
- package/v3/dist/init/phases/12-verification.d.ts.map +1 -0
- package/v3/dist/init/phases/12-verification.js +370 -0
- package/v3/dist/init/phases/12-verification.js.map +1 -0
- package/v3/dist/init/phases/index.d.ts +46 -0
- package/v3/dist/init/phases/index.d.ts.map +1 -0
- package/v3/dist/init/phases/index.js +64 -0
- package/v3/dist/init/phases/index.js.map +1 -0
- package/v3/dist/init/phases/phase-interface.d.ts +193 -0
- package/v3/dist/init/phases/phase-interface.d.ts.map +1 -0
- package/v3/dist/init/phases/phase-interface.js +119 -0
- package/v3/dist/init/phases/phase-interface.js.map +1 -0
- package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.d.ts +24 -62
- package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.d.ts.map +1 -1
- package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.js +45 -497
- package/v3/dist/integrations/agentic-flow/model-router/complexity-analyzer.js.map +1 -1
- package/v3/dist/integrations/agentic-flow/model-router/router.js +2 -2
- package/v3/dist/integrations/agentic-flow/model-router/router.js.map +1 -1
- package/v3/dist/integrations/agentic-flow/model-router/score-calculator.d.ts +98 -0
- package/v3/dist/integrations/agentic-flow/model-router/score-calculator.d.ts.map +1 -0
- package/v3/dist/integrations/agentic-flow/model-router/score-calculator.js +197 -0
- package/v3/dist/integrations/agentic-flow/model-router/score-calculator.js.map +1 -0
- package/v3/dist/integrations/agentic-flow/model-router/signal-collector.d.ts +102 -0
- package/v3/dist/integrations/agentic-flow/model-router/signal-collector.d.ts.map +1 -0
- package/v3/dist/integrations/agentic-flow/model-router/signal-collector.js +372 -0
- package/v3/dist/integrations/agentic-flow/model-router/signal-collector.js.map +1 -0
- package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.d.ts +64 -0
- package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.d.ts.map +1 -0
- package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.js +120 -0
- package/v3/dist/integrations/agentic-flow/model-router/tier-recommender.js.map +1 -0
- package/v3/dist/integrations/coherence/coherence-service.d.ts +323 -0
- package/v3/dist/integrations/coherence/coherence-service.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/coherence-service.js +856 -0
- package/v3/dist/integrations/coherence/coherence-service.js.map +1 -0
- package/v3/dist/integrations/coherence/engines/category-adapter.d.ts +170 -0
- package/v3/dist/integrations/coherence/engines/category-adapter.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/engines/category-adapter.js +403 -0
- package/v3/dist/integrations/coherence/engines/category-adapter.js.map +1 -0
- package/v3/dist/integrations/coherence/engines/causal-adapter.d.ts +159 -0
- package/v3/dist/integrations/coherence/engines/causal-adapter.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/engines/causal-adapter.js +348 -0
- package/v3/dist/integrations/coherence/engines/causal-adapter.js.map +1 -0
- package/v3/dist/integrations/coherence/engines/cohomology-adapter.d.ts +174 -0
- package/v3/dist/integrations/coherence/engines/cohomology-adapter.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/engines/cohomology-adapter.js +401 -0
- package/v3/dist/integrations/coherence/engines/cohomology-adapter.js.map +1 -0
- package/v3/dist/integrations/coherence/engines/homotopy-adapter.d.ts +201 -0
- package/v3/dist/integrations/coherence/engines/homotopy-adapter.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/engines/homotopy-adapter.js +324 -0
- package/v3/dist/integrations/coherence/engines/homotopy-adapter.js.map +1 -0
- package/v3/dist/integrations/coherence/engines/index.d.ts +20 -0
- package/v3/dist/integrations/coherence/engines/index.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/engines/index.js +26 -0
- package/v3/dist/integrations/coherence/engines/index.js.map +1 -0
- package/v3/dist/integrations/coherence/engines/spectral-adapter.d.ts +193 -0
- package/v3/dist/integrations/coherence/engines/spectral-adapter.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/engines/spectral-adapter.js +565 -0
- package/v3/dist/integrations/coherence/engines/spectral-adapter.js.map +1 -0
- package/v3/dist/integrations/coherence/engines/witness-adapter.d.ts +175 -0
- package/v3/dist/integrations/coherence/engines/witness-adapter.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/engines/witness-adapter.js +377 -0
- package/v3/dist/integrations/coherence/engines/witness-adapter.js.map +1 -0
- package/v3/dist/integrations/coherence/index.d.ts +84 -0
- package/v3/dist/integrations/coherence/index.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/index.js +114 -0
- package/v3/dist/integrations/coherence/index.js.map +1 -0
- package/v3/dist/integrations/coherence/threshold-tuner.d.ts +396 -0
- package/v3/dist/integrations/coherence/threshold-tuner.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/threshold-tuner.js +538 -0
- package/v3/dist/integrations/coherence/threshold-tuner.js.map +1 -0
- package/v3/dist/integrations/coherence/types.d.ts +879 -0
- package/v3/dist/integrations/coherence/types.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/types.js +134 -0
- package/v3/dist/integrations/coherence/types.js.map +1 -0
- package/v3/dist/integrations/coherence/wasm-loader.d.ts +351 -0
- package/v3/dist/integrations/coherence/wasm-loader.d.ts.map +1 -0
- package/v3/dist/integrations/coherence/wasm-loader.js +842 -0
- package/v3/dist/integrations/coherence/wasm-loader.js.map +1 -0
- package/v3/dist/integrations/embeddings/index/HNSWIndex.d.ts.map +1 -1
- package/v3/dist/integrations/embeddings/index/HNSWIndex.js +4 -1
- package/v3/dist/integrations/embeddings/index/HNSWIndex.js.map +1 -1
- package/v3/dist/kernel/interfaces.d.ts +8 -1
- package/v3/dist/kernel/interfaces.d.ts.map +1 -1
- package/v3/dist/learning/aqe-learning-engine.d.ts +272 -0
- package/v3/dist/learning/aqe-learning-engine.d.ts.map +1 -0
- package/v3/dist/learning/aqe-learning-engine.js +708 -0
- package/v3/dist/learning/aqe-learning-engine.js.map +1 -0
- package/v3/dist/learning/causal-verifier.d.ts +244 -0
- package/v3/dist/learning/causal-verifier.d.ts.map +1 -0
- package/v3/dist/learning/causal-verifier.js +300 -0
- package/v3/dist/learning/causal-verifier.js.map +1 -0
- package/v3/dist/learning/experience-capture.d.ts +266 -0
- package/v3/dist/learning/experience-capture.d.ts.map +1 -0
- package/v3/dist/learning/experience-capture.js +647 -0
- package/v3/dist/learning/experience-capture.js.map +1 -0
- package/v3/dist/learning/index.d.ts +8 -0
- package/v3/dist/learning/index.d.ts.map +1 -1
- package/v3/dist/learning/index.js +16 -0
- package/v3/dist/learning/index.js.map +1 -1
- package/v3/dist/learning/memory-auditor.d.ts +235 -0
- package/v3/dist/learning/memory-auditor.d.ts.map +1 -0
- package/v3/dist/learning/memory-auditor.js +480 -0
- package/v3/dist/learning/memory-auditor.js.map +1 -0
- package/v3/dist/learning/pattern-store.d.ts.map +1 -1
- package/v3/dist/learning/pattern-store.js +27 -6
- package/v3/dist/learning/pattern-store.js.map +1 -1
- package/v3/dist/learning/qe-patterns.d.ts +15 -1
- package/v3/dist/learning/qe-patterns.d.ts.map +1 -1
- package/v3/dist/learning/qe-patterns.js +26 -5
- package/v3/dist/learning/qe-patterns.js.map +1 -1
- package/v3/dist/learning/qe-reasoning-bank.d.ts +38 -2
- package/v3/dist/learning/qe-reasoning-bank.d.ts.map +1 -1
- package/v3/dist/learning/qe-reasoning-bank.js +86 -4
- package/v3/dist/learning/qe-reasoning-bank.js.map +1 -1
- package/v3/dist/learning/real-qe-reasoning-bank.d.ts +32 -2
- package/v3/dist/learning/real-qe-reasoning-bank.d.ts.map +1 -1
- package/v3/dist/learning/real-qe-reasoning-bank.js +61 -6
- package/v3/dist/learning/real-qe-reasoning-bank.js.map +1 -1
- package/v3/dist/mcp/bundle.js +8786 -1737
- package/v3/dist/mcp/security/cve-prevention.d.ts +31 -134
- package/v3/dist/mcp/security/cve-prevention.d.ts.map +1 -1
- package/v3/dist/mcp/security/cve-prevention.js +37 -562
- package/v3/dist/mcp/security/cve-prevention.js.map +1 -1
- package/v3/dist/mcp/security/index.d.ts +5 -1
- package/v3/dist/mcp/security/index.d.ts.map +1 -1
- package/v3/dist/mcp/security/validators/command-validator.d.ts +41 -0
- package/v3/dist/mcp/security/validators/command-validator.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/command-validator.js +123 -0
- package/v3/dist/mcp/security/validators/command-validator.js.map +1 -0
- package/v3/dist/mcp/security/validators/crypto-validator.d.ts +40 -0
- package/v3/dist/mcp/security/validators/crypto-validator.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/crypto-validator.js +72 -0
- package/v3/dist/mcp/security/validators/crypto-validator.js.map +1 -0
- package/v3/dist/mcp/security/validators/index.d.ts +12 -0
- package/v3/dist/mcp/security/validators/index.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/index.js +22 -0
- package/v3/dist/mcp/security/validators/index.js.map +1 -0
- package/v3/dist/mcp/security/validators/input-sanitizer.d.ts +56 -0
- package/v3/dist/mcp/security/validators/input-sanitizer.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/input-sanitizer.js +157 -0
- package/v3/dist/mcp/security/validators/input-sanitizer.js.map +1 -0
- package/v3/dist/mcp/security/validators/interfaces.d.ts +164 -0
- package/v3/dist/mcp/security/validators/interfaces.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/interfaces.js +6 -0
- package/v3/dist/mcp/security/validators/interfaces.js.map +1 -0
- package/v3/dist/mcp/security/validators/path-traversal-validator.d.ts +50 -0
- package/v3/dist/mcp/security/validators/path-traversal-validator.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/path-traversal-validator.js +242 -0
- package/v3/dist/mcp/security/validators/path-traversal-validator.js.map +1 -0
- package/v3/dist/mcp/security/validators/regex-safety-validator.d.ts +50 -0
- package/v3/dist/mcp/security/validators/regex-safety-validator.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/regex-safety-validator.js +183 -0
- package/v3/dist/mcp/security/validators/regex-safety-validator.js.map +1 -0
- package/v3/dist/mcp/security/validators/validation-orchestrator.d.ts +66 -0
- package/v3/dist/mcp/security/validators/validation-orchestrator.d.ts.map +1 -0
- package/v3/dist/mcp/security/validators/validation-orchestrator.js +146 -0
- package/v3/dist/mcp/security/validators/validation-orchestrator.js.map +1 -0
- package/v3/dist/mcp/server.d.ts.map +1 -1
- package/v3/dist/mcp/server.js +1 -0
- package/v3/dist/mcp/server.js.map +1 -1
- package/v3/dist/mcp/tool-registry.d.ts +3 -1
- package/v3/dist/mcp/tool-registry.d.ts.map +1 -1
- package/v3/dist/mcp/tool-registry.js +155 -2
- package/v3/dist/mcp/tool-registry.js.map +1 -1
- package/v3/dist/mcp/tools/coherence/audit.d.ts +107 -0
- package/v3/dist/mcp/tools/coherence/audit.d.ts.map +1 -0
- package/v3/dist/mcp/tools/coherence/audit.js +236 -0
- package/v3/dist/mcp/tools/coherence/audit.js.map +1 -0
- package/v3/dist/mcp/tools/coherence/check.d.ts +106 -0
- package/v3/dist/mcp/tools/coherence/check.d.ts.map +1 -0
- package/v3/dist/mcp/tools/coherence/check.js +205 -0
- package/v3/dist/mcp/tools/coherence/check.js.map +1 -0
- package/v3/dist/mcp/tools/coherence/collapse.d.ts +123 -0
- package/v3/dist/mcp/tools/coherence/collapse.d.ts.map +1 -0
- package/v3/dist/mcp/tools/coherence/collapse.js +279 -0
- package/v3/dist/mcp/tools/coherence/collapse.js.map +1 -0
- package/v3/dist/mcp/tools/coherence/consensus.d.ts +100 -0
- package/v3/dist/mcp/tools/coherence/consensus.d.ts.map +1 -0
- package/v3/dist/mcp/tools/coherence/consensus.js +201 -0
- package/v3/dist/mcp/tools/coherence/consensus.js.map +1 -0
- package/v3/dist/mcp/tools/coherence/index.d.ts +31 -0
- package/v3/dist/mcp/tools/coherence/index.d.ts.map +1 -0
- package/v3/dist/mcp/tools/coherence/index.js +42 -0
- package/v3/dist/mcp/tools/coherence/index.js.map +1 -0
- package/v3/dist/mcp/tools/index.d.ts +6 -1
- package/v3/dist/mcp/tools/index.d.ts.map +1 -1
- package/v3/dist/mcp/tools/index.js +9 -1
- package/v3/dist/mcp/tools/index.js.map +1 -1
- package/v3/dist/mcp/tools/mincut/index.d.ts +1 -1
- package/v3/dist/mcp/tools/mincut/index.d.ts.map +1 -1
- package/v3/dist/mcp/tools/mincut/index.js.map +1 -1
- package/v3/dist/mcp/tools/registry.d.ts +4 -0
- package/v3/dist/mcp/tools/registry.d.ts.map +1 -1
- package/v3/dist/mcp/tools/registry.js +5 -0
- package/v3/dist/mcp/tools/registry.js.map +1 -1
- package/v3/dist/mcp/tools/test-generation/generate.d.ts +1 -0
- package/v3/dist/mcp/tools/test-generation/generate.d.ts.map +1 -1
- package/v3/dist/mcp/tools/test-generation/generate.js +3 -2
- package/v3/dist/mcp/tools/test-generation/generate.js.map +1 -1
- package/v3/dist/mcp/types.d.ts +1 -1
- package/v3/dist/mcp/types.d.ts.map +1 -1
- package/v3/dist/strange-loop/belief-reconciler.d.ts +357 -0
- package/v3/dist/strange-loop/belief-reconciler.d.ts.map +1 -0
- package/v3/dist/strange-loop/belief-reconciler.js +696 -0
- package/v3/dist/strange-loop/belief-reconciler.js.map +1 -0
- package/v3/dist/strange-loop/index.d.ts +1 -0
- package/v3/dist/strange-loop/index.d.ts.map +1 -1
- package/v3/dist/strange-loop/index.js +2 -0
- package/v3/dist/strange-loop/index.js.map +1 -1
- package/v3/dist/strange-loop/strange-loop.d.ts +177 -5
- package/v3/dist/strange-loop/strange-loop.d.ts.map +1 -1
- package/v3/dist/strange-loop/strange-loop.js +452 -9
- package/v3/dist/strange-loop/strange-loop.js.map +1 -1
- package/v3/dist/strange-loop/types.d.ts +205 -1
- package/v3/dist/strange-loop/types.d.ts.map +1 -1
- package/v3/dist/strange-loop/types.js +5 -0
- package/v3/dist/strange-loop/types.js.map +1 -1
- package/v3/dist/sync/cloud/index.d.ts +8 -0
- package/v3/dist/sync/cloud/index.d.ts.map +1 -0
- package/v3/dist/sync/cloud/index.js +8 -0
- package/v3/dist/sync/cloud/index.js.map +1 -0
- package/v3/dist/sync/cloud/postgres-writer.d.ts +88 -0
- package/v3/dist/sync/cloud/postgres-writer.d.ts.map +1 -0
- package/v3/dist/sync/cloud/postgres-writer.js +319 -0
- package/v3/dist/sync/cloud/postgres-writer.js.map +1 -0
- package/v3/dist/sync/cloud/tunnel-manager.d.ts +75 -0
- package/v3/dist/sync/cloud/tunnel-manager.d.ts.map +1 -0
- package/v3/dist/sync/cloud/tunnel-manager.js +221 -0
- package/v3/dist/sync/cloud/tunnel-manager.js.map +1 -0
- package/v3/dist/sync/index.d.ts +35 -0
- package/v3/dist/sync/index.d.ts.map +1 -0
- package/v3/dist/sync/index.js +35 -0
- package/v3/dist/sync/index.js.map +1 -0
- package/v3/dist/sync/interfaces.d.ts +245 -0
- package/v3/dist/sync/interfaces.d.ts.map +1 -0
- package/v3/dist/sync/interfaces.js +160 -0
- package/v3/dist/sync/interfaces.js.map +1 -0
- package/v3/dist/sync/readers/index.d.ts +8 -0
- package/v3/dist/sync/readers/index.d.ts.map +1 -0
- package/v3/dist/sync/readers/index.js +8 -0
- package/v3/dist/sync/readers/index.js.map +1 -0
- package/v3/dist/sync/readers/json-reader.d.ts +95 -0
- package/v3/dist/sync/readers/json-reader.d.ts.map +1 -0
- package/v3/dist/sync/readers/json-reader.js +306 -0
- package/v3/dist/sync/readers/json-reader.js.map +1 -0
- package/v3/dist/sync/readers/sqlite-reader.d.ts +88 -0
- package/v3/dist/sync/readers/sqlite-reader.d.ts.map +1 -0
- package/v3/dist/sync/readers/sqlite-reader.js +255 -0
- package/v3/dist/sync/readers/sqlite-reader.js.map +1 -0
- package/v3/dist/sync/sync-agent.d.ts +116 -0
- package/v3/dist/sync/sync-agent.d.ts.map +1 -0
- package/v3/dist/sync/sync-agent.js +416 -0
- package/v3/dist/sync/sync-agent.js.map +1 -0
- package/v3/package.json +17 -2
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Strange Loop Orchestrator
|
|
3
3
|
* ADR-031: Strange Loop Self-Awareness
|
|
4
|
+
* ADR-052: Coherence Integration
|
|
4
5
|
*
|
|
5
6
|
* Orchestrates the complete self-awareness cycle:
|
|
6
7
|
* Observe -> Model -> Decide -> Act -> (repeat)
|
|
7
8
|
*
|
|
9
|
+
* With ADR-052 coherence integration, the cycle becomes:
|
|
10
|
+
* Observe -> Check Coherence -> Model -> Decide -> Act -> (repeat)
|
|
11
|
+
*
|
|
8
12
|
* "You look in a mirror. You see yourself looking.
|
|
9
13
|
* You adjust your hair *because* you saw it was messy.
|
|
10
14
|
* The act of observing changed what you observed."
|
|
@@ -18,26 +22,85 @@ import { SelfHealingController, NoOpActionExecutor } from './healing-controller.
|
|
|
18
22
|
// ============================================================================
|
|
19
23
|
/**
|
|
20
24
|
* Orchestrates the strange loop self-awareness cycle
|
|
25
|
+
*
|
|
26
|
+
* With ADR-052 coherence integration, the orchestrator can optionally:
|
|
27
|
+
* - Check swarm coherence after each observation
|
|
28
|
+
* - Emit coherence_violation events when beliefs are incoherent
|
|
29
|
+
* - Trigger belief reconciliation when contradictions are detected
|
|
30
|
+
* - Predict swarm collapse using spectral analysis
|
|
21
31
|
*/
|
|
22
32
|
export class StrangeLoopOrchestrator {
|
|
23
33
|
observer;
|
|
24
34
|
model;
|
|
25
35
|
healer;
|
|
26
36
|
config;
|
|
37
|
+
// ADR-052: Optional coherence integration
|
|
38
|
+
coherenceService = null;
|
|
39
|
+
beliefReconciler = null;
|
|
40
|
+
lastCoherenceEnergy = 0;
|
|
41
|
+
incoherentSince = null;
|
|
27
42
|
running = false;
|
|
28
43
|
loopHandle = null;
|
|
29
44
|
startTime = 0;
|
|
30
45
|
stats;
|
|
31
46
|
eventListeners = new Map();
|
|
32
47
|
myAgentId;
|
|
33
|
-
|
|
48
|
+
/**
|
|
49
|
+
* Create a new StrangeLoopOrchestrator.
|
|
50
|
+
*
|
|
51
|
+
* @param provider - Agent provider for observing swarm state
|
|
52
|
+
* @param executor - Action executor for healing actions
|
|
53
|
+
* @param config - Optional configuration overrides
|
|
54
|
+
* @param coherenceService - Optional CoherenceService for belief coherence checking (ADR-052)
|
|
55
|
+
* @param beliefReconciler - Optional belief reconciler for resolving contradictions (ADR-052)
|
|
56
|
+
*/
|
|
57
|
+
constructor(provider, executor, config = {}, coherenceService, beliefReconciler) {
|
|
34
58
|
this.config = { ...DEFAULT_STRANGE_LOOP_CONFIG, ...config };
|
|
35
59
|
this.myAgentId = provider.getObserverId();
|
|
36
60
|
this.observer = new SwarmObserver(provider);
|
|
37
61
|
this.model = new SwarmSelfModel(this.config.historySize);
|
|
38
62
|
this.healer = new SelfHealingController(this.model, executor, this.config);
|
|
63
|
+
// ADR-052: Store optional coherence dependencies
|
|
64
|
+
this.coherenceService = coherenceService ?? null;
|
|
65
|
+
this.beliefReconciler = beliefReconciler ?? null;
|
|
39
66
|
this.stats = this.initializeStats();
|
|
40
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* Set the coherence service for belief coherence checking.
|
|
70
|
+
* Can be called after construction to enable coherence integration.
|
|
71
|
+
*
|
|
72
|
+
* @param service - The CoherenceService instance
|
|
73
|
+
*/
|
|
74
|
+
setCoherenceService(service) {
|
|
75
|
+
this.coherenceService = service;
|
|
76
|
+
if (this.config.verboseLogging) {
|
|
77
|
+
console.log('[StrangeLoop] Coherence service attached');
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Set the belief reconciler for resolving contradictions.
|
|
82
|
+
* Can be called after construction to enable reconciliation.
|
|
83
|
+
*
|
|
84
|
+
* @param reconciler - The belief reconciler instance
|
|
85
|
+
*/
|
|
86
|
+
setBeliefReconciler(reconciler) {
|
|
87
|
+
this.beliefReconciler = reconciler;
|
|
88
|
+
if (this.config.verboseLogging) {
|
|
89
|
+
console.log('[StrangeLoop] Belief reconciler attached');
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Check if coherence service is available.
|
|
94
|
+
*/
|
|
95
|
+
hasCoherenceService() {
|
|
96
|
+
return this.coherenceService !== null;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Check if belief reconciler is available.
|
|
100
|
+
*/
|
|
101
|
+
hasBeliefReconciler() {
|
|
102
|
+
return this.beliefReconciler !== null;
|
|
103
|
+
}
|
|
41
104
|
/**
|
|
42
105
|
* Start the strange loop
|
|
43
106
|
*/
|
|
@@ -81,6 +144,13 @@ export class StrangeLoopOrchestrator {
|
|
|
81
144
|
}
|
|
82
145
|
/**
|
|
83
146
|
* Run a single observation-model-decide-act cycle
|
|
147
|
+
*
|
|
148
|
+
* With ADR-052 coherence integration, the cycle becomes:
|
|
149
|
+
* 1. OBSERVE: Gather swarm state
|
|
150
|
+
* 2. CHECK COHERENCE: Verify belief consistency (if service available)
|
|
151
|
+
* 3. MODEL: Update internal representation
|
|
152
|
+
* 4. DECIDE: Determine if healing is needed
|
|
153
|
+
* 5. ACT: Execute healing actions
|
|
84
154
|
*/
|
|
85
155
|
async runCycle() {
|
|
86
156
|
const cycleStart = Date.now();
|
|
@@ -96,6 +166,11 @@ export class StrangeLoopOrchestrator {
|
|
|
96
166
|
this.stats.lastObservationAt = observation.timestamp;
|
|
97
167
|
this.stats.currentHealth = observation.overallHealth;
|
|
98
168
|
this.emit('observation_complete', { observation, durationMs: observationDuration });
|
|
169
|
+
// ADR-052: CHECK COHERENCE after observation
|
|
170
|
+
let coherenceResult;
|
|
171
|
+
if (this.coherenceService) {
|
|
172
|
+
coherenceResult = await this.checkCoherenceAfterObservation(observation);
|
|
173
|
+
}
|
|
99
174
|
// MODEL: Update internal representation
|
|
100
175
|
const delta = this.model.updateModel(observation);
|
|
101
176
|
// Emit events for vulnerabilities
|
|
@@ -163,7 +238,7 @@ export class StrangeLoopOrchestrator {
|
|
|
163
238
|
this.emit('prediction_made', { prediction });
|
|
164
239
|
}
|
|
165
240
|
}
|
|
166
|
-
return { observation, delta, actions, results };
|
|
241
|
+
return { observation, delta, actions, results, coherenceResult };
|
|
167
242
|
}
|
|
168
243
|
catch (error) {
|
|
169
244
|
if (this.config.verboseLogging) {
|
|
@@ -173,7 +248,8 @@ export class StrangeLoopOrchestrator {
|
|
|
173
248
|
}
|
|
174
249
|
}
|
|
175
250
|
/**
|
|
176
|
-
* The agent observes itself being the bottleneck
|
|
251
|
+
* The agent observes itself being the bottleneck.
|
|
252
|
+
* With ADR-052 coherence integration, also checks belief coherence.
|
|
177
253
|
*/
|
|
178
254
|
async selfDiagnose() {
|
|
179
255
|
const observation = await this.observer.observe();
|
|
@@ -195,7 +271,8 @@ export class StrangeLoopOrchestrator {
|
|
|
195
271
|
recommendations.push('Redistribute queued tasks');
|
|
196
272
|
}
|
|
197
273
|
}
|
|
198
|
-
|
|
274
|
+
// Build base diagnosis
|
|
275
|
+
const diagnosis = {
|
|
199
276
|
agentId: myId,
|
|
200
277
|
isHealthy: myHealth ? myHealth.responsiveness > 0.8 : true,
|
|
201
278
|
isBottleneck: amIBottleneck,
|
|
@@ -204,6 +281,79 @@ export class StrangeLoopOrchestrator {
|
|
|
204
281
|
overallSwarmHealth: observation.overallHealth,
|
|
205
282
|
diagnosedAt: Date.now(),
|
|
206
283
|
};
|
|
284
|
+
// ADR-052: Add coherence information if service is available and enabled
|
|
285
|
+
if (this.coherenceService && this.config.coherenceEnabled) {
|
|
286
|
+
try {
|
|
287
|
+
// Convert agent health to coherence nodes
|
|
288
|
+
const coherenceNodes = [];
|
|
289
|
+
for (const [agentId, metrics] of observation.agentHealth) {
|
|
290
|
+
const embedding = [
|
|
291
|
+
metrics.responsiveness,
|
|
292
|
+
metrics.taskCompletionRate,
|
|
293
|
+
metrics.memoryUtilization,
|
|
294
|
+
metrics.cpuUtilization,
|
|
295
|
+
metrics.errorRate,
|
|
296
|
+
metrics.degree / 10,
|
|
297
|
+
metrics.queuedTasks / 100,
|
|
298
|
+
metrics.isBottleneck ? 1.0 : 0.0,
|
|
299
|
+
];
|
|
300
|
+
coherenceNodes.push({
|
|
301
|
+
id: agentId,
|
|
302
|
+
embedding,
|
|
303
|
+
weight: metrics.responsiveness,
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
const coherenceResult = await this.coherenceService.checkCoherence(coherenceNodes);
|
|
307
|
+
diagnosis.coherenceEnergy = coherenceResult.energy;
|
|
308
|
+
diagnosis.isCoherent = coherenceResult.isCoherent;
|
|
309
|
+
diagnosis.computeLane = coherenceResult.lane;
|
|
310
|
+
diagnosis.contradictionCount = coherenceResult.contradictions?.length ?? 0;
|
|
311
|
+
// Add coherence-based recommendations
|
|
312
|
+
if (!coherenceResult.isCoherent) {
|
|
313
|
+
recommendations.push('Resolve belief contradictions before proceeding');
|
|
314
|
+
if (coherenceResult.lane === 'human') {
|
|
315
|
+
recommendations.push('Escalate to human review due to high coherence energy');
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
// Check for collapse risk if available
|
|
319
|
+
if (this.coherenceService.predictCollapse) {
|
|
320
|
+
const swarmState = {
|
|
321
|
+
agents: Array.from(observation.agentHealth.entries()).map(([agentId, metrics]) => ({
|
|
322
|
+
agentId,
|
|
323
|
+
agentType: 'specialist',
|
|
324
|
+
health: metrics.responsiveness,
|
|
325
|
+
beliefs: [],
|
|
326
|
+
lastActivity: new Date(metrics.lastHeartbeat),
|
|
327
|
+
errorCount: Math.round(metrics.errorRate * 100),
|
|
328
|
+
successRate: metrics.taskCompletionRate,
|
|
329
|
+
})),
|
|
330
|
+
activeTasks: Array.from(observation.agentHealth.values()).reduce((sum, m) => sum + m.queuedTasks, 0),
|
|
331
|
+
pendingTasks: 0,
|
|
332
|
+
errorRate: observation.overallHealth < 0.5 ? 0.5 - observation.overallHealth : 0,
|
|
333
|
+
utilization: Array.from(observation.agentHealth.values()).reduce((sum, m) => sum + m.cpuUtilization, 0) / observation.agentHealth.size || 0,
|
|
334
|
+
timestamp: new Date(observation.timestamp),
|
|
335
|
+
};
|
|
336
|
+
const collapseRisk = await this.coherenceService.predictCollapse(swarmState);
|
|
337
|
+
if (collapseRisk && collapseRisk.collapseImminent) {
|
|
338
|
+
diagnosis.collapseRiskPredicted = true;
|
|
339
|
+
recommendations.push('WARNING: Swarm collapse predicted. Take immediate action.');
|
|
340
|
+
for (const rec of collapseRisk.recommendations || []) {
|
|
341
|
+
recommendations.push(rec);
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
else {
|
|
345
|
+
diagnosis.collapseRiskPredicted = false;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
catch (error) {
|
|
350
|
+
if (this.config.verboseLogging) {
|
|
351
|
+
console.error('[StrangeLoop] Coherence check failed during self-diagnosis:', error);
|
|
352
|
+
}
|
|
353
|
+
// Continue with diagnosis even if coherence check fails
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
return diagnosis;
|
|
207
357
|
}
|
|
208
358
|
/**
|
|
209
359
|
* Trigger an immediate observation
|
|
@@ -313,6 +463,15 @@ export class StrangeLoopOrchestrator {
|
|
|
313
463
|
healthTrend: 'stable',
|
|
314
464
|
uptimeMs: 0,
|
|
315
465
|
lastObservationAt: 0,
|
|
466
|
+
// Coherence metrics (ADR-052)
|
|
467
|
+
coherenceViolationCount: 0,
|
|
468
|
+
avgCoherenceEnergy: 0,
|
|
469
|
+
reconciliationSuccessRate: 1.0, // Start at 100% (no failures yet)
|
|
470
|
+
lastCoherenceCheck: 0,
|
|
471
|
+
collapseRiskHistory: [],
|
|
472
|
+
currentCoherenceState: 'coherent',
|
|
473
|
+
consensusVerifications: 0,
|
|
474
|
+
invalidConsensusCount: 0,
|
|
316
475
|
};
|
|
317
476
|
}
|
|
318
477
|
/**
|
|
@@ -332,18 +491,287 @@ export class StrangeLoopOrchestrator {
|
|
|
332
491
|
errorRate: 0,
|
|
333
492
|
};
|
|
334
493
|
}
|
|
494
|
+
// ============================================================================
|
|
495
|
+
// ADR-052: Coherence Integration Methods
|
|
496
|
+
// ============================================================================
|
|
497
|
+
/**
|
|
498
|
+
* Check coherence after an observation and update stats accordingly.
|
|
499
|
+
* This method is called after each observation when a coherence service is available.
|
|
500
|
+
*
|
|
501
|
+
* @param observation - The swarm health observation to check coherence against
|
|
502
|
+
* @returns The coherence result from the service
|
|
503
|
+
*/
|
|
504
|
+
async checkCoherenceAfterObservation(observation) {
|
|
505
|
+
if (!this.coherenceService || !this.config.coherenceEnabled) {
|
|
506
|
+
return undefined;
|
|
507
|
+
}
|
|
508
|
+
try {
|
|
509
|
+
// Convert SwarmHealthObservation to CoherenceNode array for coherence service
|
|
510
|
+
// Each agent's health metrics are encoded as a simple embedding for coherence checking
|
|
511
|
+
const coherenceNodes = [];
|
|
512
|
+
for (const [agentId, metrics] of observation.agentHealth) {
|
|
513
|
+
// Create a simple embedding from health metrics
|
|
514
|
+
// This allows coherence checking to detect agents with conflicting states
|
|
515
|
+
const embedding = [
|
|
516
|
+
metrics.responsiveness,
|
|
517
|
+
metrics.taskCompletionRate,
|
|
518
|
+
metrics.memoryUtilization,
|
|
519
|
+
metrics.cpuUtilization,
|
|
520
|
+
metrics.errorRate,
|
|
521
|
+
metrics.degree / 10, // Normalize degree
|
|
522
|
+
metrics.queuedTasks / 100, // Normalize queue
|
|
523
|
+
metrics.isBottleneck ? 1.0 : 0.0,
|
|
524
|
+
];
|
|
525
|
+
coherenceNodes.push({
|
|
526
|
+
id: agentId,
|
|
527
|
+
embedding,
|
|
528
|
+
weight: metrics.responsiveness, // Weight by responsiveness
|
|
529
|
+
metadata: {
|
|
530
|
+
lastHeartbeat: metrics.lastHeartbeat,
|
|
531
|
+
activeConnections: metrics.activeConnections,
|
|
532
|
+
},
|
|
533
|
+
});
|
|
534
|
+
}
|
|
535
|
+
// Check coherence using CoherenceNode array
|
|
536
|
+
const coherenceResult = await this.coherenceService.checkCoherence(coherenceNodes);
|
|
537
|
+
// Update coherence stats
|
|
538
|
+
this.stats.lastCoherenceCheck = Date.now();
|
|
539
|
+
// Update average coherence energy (rolling average)
|
|
540
|
+
const totalChecks = this.stats.totalObservations;
|
|
541
|
+
if (totalChecks > 1) {
|
|
542
|
+
this.stats.avgCoherenceEnergy =
|
|
543
|
+
(this.stats.avgCoherenceEnergy * (totalChecks - 1) + coherenceResult.energy) / totalChecks;
|
|
544
|
+
}
|
|
545
|
+
else {
|
|
546
|
+
this.stats.avgCoherenceEnergy = coherenceResult.energy;
|
|
547
|
+
}
|
|
548
|
+
// Determine coherence state based on energy
|
|
549
|
+
const previousState = this.stats.currentCoherenceState;
|
|
550
|
+
if (coherenceResult.energy < 0.1) {
|
|
551
|
+
this.stats.currentCoherenceState = 'coherent';
|
|
552
|
+
}
|
|
553
|
+
else if (coherenceResult.energy < this.config.coherenceThreshold) {
|
|
554
|
+
this.stats.currentCoherenceState = 'uncertain';
|
|
555
|
+
}
|
|
556
|
+
else {
|
|
557
|
+
this.stats.currentCoherenceState = 'incoherent';
|
|
558
|
+
}
|
|
559
|
+
// Check for coherence violation
|
|
560
|
+
if (coherenceResult.energy >= this.config.coherenceThreshold) {
|
|
561
|
+
this.stats.coherenceViolationCount++;
|
|
562
|
+
// Track when incoherence started
|
|
563
|
+
if (this.incoherentSince === null) {
|
|
564
|
+
this.incoherentSince = Date.now();
|
|
565
|
+
}
|
|
566
|
+
// Convert coherence contradictions to local type for event emission
|
|
567
|
+
const localContradictions = (coherenceResult.contradictions || []).map((c) => ({
|
|
568
|
+
nodeIds: c.nodeIds,
|
|
569
|
+
severity: this.mapSeverity(c.severity),
|
|
570
|
+
description: c.description,
|
|
571
|
+
confidence: c.confidence,
|
|
572
|
+
resolution: c.resolution,
|
|
573
|
+
}));
|
|
574
|
+
// Emit coherence violation event
|
|
575
|
+
const violationData = {
|
|
576
|
+
energy: coherenceResult.energy,
|
|
577
|
+
lane: coherenceResult.lane,
|
|
578
|
+
contradictions: localContradictions,
|
|
579
|
+
timestamp: Date.now(),
|
|
580
|
+
usedFallback: coherenceResult.usedFallback,
|
|
581
|
+
};
|
|
582
|
+
this.emit('coherence_violation', violationData);
|
|
583
|
+
// Attempt reconciliation if we have contradictions and a reconciler
|
|
584
|
+
if (localContradictions.length > 0 && this.beliefReconciler) {
|
|
585
|
+
await this.attemptReconciliation(localContradictions);
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
else if (previousState === 'incoherent' && this.stats.currentCoherenceState !== 'incoherent') {
|
|
589
|
+
// Coherence restored
|
|
590
|
+
const incoherentDuration = this.incoherentSince ? Date.now() - this.incoherentSince : 0;
|
|
591
|
+
this.incoherentSince = null;
|
|
592
|
+
const restoredData = {
|
|
593
|
+
previousEnergy: this.lastCoherenceEnergy,
|
|
594
|
+
currentEnergy: coherenceResult.energy,
|
|
595
|
+
incoherentDurationMs: incoherentDuration,
|
|
596
|
+
restorationActions: [],
|
|
597
|
+
timestamp: Date.now(),
|
|
598
|
+
};
|
|
599
|
+
this.emit('coherence_restored', restoredData);
|
|
600
|
+
}
|
|
601
|
+
// Store energy for next comparison
|
|
602
|
+
this.lastCoherenceEnergy = coherenceResult.energy;
|
|
603
|
+
// Check for collapse risk prediction
|
|
604
|
+
await this.checkCollapseRiskFromObservation(observation);
|
|
605
|
+
return coherenceResult;
|
|
606
|
+
}
|
|
607
|
+
catch (error) {
|
|
608
|
+
if (this.config.verboseLogging) {
|
|
609
|
+
console.error('[StrangeLoop] Coherence check failed:', error);
|
|
610
|
+
}
|
|
611
|
+
return undefined;
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* Map severity from coherence module to local type.
|
|
616
|
+
* The coherence module uses 'info' | 'low' | 'medium' | 'high' | 'critical'
|
|
617
|
+
* while we use 'low' | 'medium' | 'high' | 'critical'.
|
|
618
|
+
*/
|
|
619
|
+
mapSeverity(severity) {
|
|
620
|
+
switch (severity) {
|
|
621
|
+
case 'info':
|
|
622
|
+
case 'low':
|
|
623
|
+
return 'low';
|
|
624
|
+
case 'medium':
|
|
625
|
+
return 'medium';
|
|
626
|
+
case 'high':
|
|
627
|
+
return 'high';
|
|
628
|
+
case 'critical':
|
|
629
|
+
return 'critical';
|
|
630
|
+
default:
|
|
631
|
+
return 'medium';
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* Check collapse risk from observation data.
|
|
636
|
+
* Converts observation to SwarmState format required by coherence service.
|
|
637
|
+
*/
|
|
638
|
+
async checkCollapseRiskFromObservation(observation) {
|
|
639
|
+
if (!this.coherenceService?.predictCollapse) {
|
|
640
|
+
return;
|
|
641
|
+
}
|
|
642
|
+
try {
|
|
643
|
+
// Convert observation to SwarmState format
|
|
644
|
+
const swarmState = {
|
|
645
|
+
agents: Array.from(observation.agentHealth.entries()).map(([agentId, metrics]) => ({
|
|
646
|
+
agentId,
|
|
647
|
+
agentType: 'specialist', // Default type
|
|
648
|
+
health: metrics.responsiveness,
|
|
649
|
+
beliefs: [], // Empty beliefs for now
|
|
650
|
+
lastActivity: new Date(metrics.lastHeartbeat),
|
|
651
|
+
errorCount: Math.round(metrics.errorRate * 100),
|
|
652
|
+
successRate: metrics.taskCompletionRate,
|
|
653
|
+
})),
|
|
654
|
+
activeTasks: Array.from(observation.agentHealth.values()).reduce((sum, m) => sum + m.queuedTasks, 0),
|
|
655
|
+
pendingTasks: 0,
|
|
656
|
+
errorRate: observation.overallHealth < 0.5 ? 0.5 - observation.overallHealth : 0,
|
|
657
|
+
utilization: Array.from(observation.agentHealth.values()).reduce((sum, m) => sum + m.cpuUtilization, 0) / observation.agentHealth.size || 0,
|
|
658
|
+
timestamp: new Date(observation.timestamp),
|
|
659
|
+
};
|
|
660
|
+
const collapseRisk = await this.coherenceService.predictCollapse(swarmState);
|
|
661
|
+
this.updateCollapseRiskHistory(collapseRisk.risk);
|
|
662
|
+
if (collapseRisk.collapseImminent || collapseRisk.risk > 0.7) {
|
|
663
|
+
const collapsePredictedData = {
|
|
664
|
+
risk: collapseRisk.risk,
|
|
665
|
+
fiedlerValue: collapseRisk.fiedlerValue,
|
|
666
|
+
collapseImminent: collapseRisk.collapseImminent,
|
|
667
|
+
weakVertices: collapseRisk.weakVertices || [],
|
|
668
|
+
recommendations: collapseRisk.recommendations || [],
|
|
669
|
+
timestamp: Date.now(),
|
|
670
|
+
};
|
|
671
|
+
this.emit('collapse_predicted', collapsePredictedData);
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
catch (error) {
|
|
675
|
+
if (this.config.verboseLogging) {
|
|
676
|
+
console.warn('[StrangeLoop] Collapse prediction failed:', error);
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
/**
|
|
681
|
+
* Attempt to reconcile contradicting beliefs.
|
|
682
|
+
*
|
|
683
|
+
* @param contradictions - Array of contradictions to resolve
|
|
684
|
+
*/
|
|
685
|
+
async attemptReconciliation(contradictions) {
|
|
686
|
+
if (!this.beliefReconciler) {
|
|
687
|
+
return;
|
|
688
|
+
}
|
|
689
|
+
try {
|
|
690
|
+
const result = await this.beliefReconciler.reconcile(contradictions);
|
|
691
|
+
// Update reconciliation stats
|
|
692
|
+
this.stats.consensusVerifications++;
|
|
693
|
+
const totalAttempts = this.stats.consensusVerifications;
|
|
694
|
+
const previousSuccessTotal = this.stats.reconciliationSuccessRate * (totalAttempts - 1);
|
|
695
|
+
const currentSuccess = result.resolvedCount > 0 ? 1 : 0;
|
|
696
|
+
this.stats.reconciliationSuccessRate = (previousSuccessTotal + currentSuccess) / totalAttempts;
|
|
697
|
+
if (result.unresolvedCount > 0) {
|
|
698
|
+
this.stats.invalidConsensusCount++;
|
|
699
|
+
}
|
|
700
|
+
// Emit reconciliation event
|
|
701
|
+
const reconciledData = {
|
|
702
|
+
reconciledContradictionIds: result.resolvedContradictionIds,
|
|
703
|
+
resolvedCount: result.resolvedCount,
|
|
704
|
+
remainingCount: result.unresolvedCount,
|
|
705
|
+
newEnergy: this.lastCoherenceEnergy, // Will be updated in next check
|
|
706
|
+
timestamp: Date.now(),
|
|
707
|
+
};
|
|
708
|
+
this.emit('belief_reconciled', reconciledData);
|
|
709
|
+
if (this.config.verboseLogging) {
|
|
710
|
+
console.log(`[StrangeLoop] Reconciled ${result.resolvedCount}/${contradictions.length} contradictions`);
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
catch (error) {
|
|
714
|
+
if (this.config.verboseLogging) {
|
|
715
|
+
console.error('[StrangeLoop] Reconciliation failed:', error);
|
|
716
|
+
}
|
|
717
|
+
this.stats.invalidConsensusCount++;
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* Update collapse risk history, maintaining the configured history size.
|
|
722
|
+
*
|
|
723
|
+
* @param risk - The new collapse risk value (0-1)
|
|
724
|
+
*/
|
|
725
|
+
updateCollapseRiskHistory(risk) {
|
|
726
|
+
this.stats.collapseRiskHistory.push(risk);
|
|
727
|
+
// Trim to configured size
|
|
728
|
+
while (this.stats.collapseRiskHistory.length > this.config.collapseRiskHistorySize) {
|
|
729
|
+
this.stats.collapseRiskHistory.shift();
|
|
730
|
+
}
|
|
731
|
+
}
|
|
335
732
|
}
|
|
336
|
-
// ============================================================================
|
|
337
|
-
// Factory Functions
|
|
338
|
-
// ============================================================================
|
|
339
733
|
/**
|
|
340
|
-
* Create a strange loop orchestrator
|
|
734
|
+
* Create a strange loop orchestrator.
|
|
735
|
+
*
|
|
736
|
+
* @param provider - Agent provider for observing swarm state
|
|
737
|
+
* @param executor - Action executor for healing actions
|
|
738
|
+
* @param config - Optional configuration overrides
|
|
341
739
|
*/
|
|
342
740
|
export function createStrangeLoopOrchestrator(provider, executor, config) {
|
|
343
741
|
return new StrangeLoopOrchestrator(provider, executor, config);
|
|
344
742
|
}
|
|
345
743
|
/**
|
|
346
|
-
* Create a strange loop orchestrator with
|
|
744
|
+
* Create a strange loop orchestrator with coherence integration (ADR-052).
|
|
745
|
+
*
|
|
746
|
+
* @param options - Configuration options including coherence dependencies
|
|
747
|
+
* @returns Configured StrangeLoopOrchestrator with coherence integration
|
|
748
|
+
*
|
|
749
|
+
* @example
|
|
750
|
+
* ```typescript
|
|
751
|
+
* const orchestrator = createStrangeLoopWithCoherence({
|
|
752
|
+
* provider: agentProvider,
|
|
753
|
+
* executor: actionExecutor,
|
|
754
|
+
* config: { verboseLogging: true },
|
|
755
|
+
* coherenceService: await createCoherenceService(wasmLoader),
|
|
756
|
+
* beliefReconciler: myReconciler,
|
|
757
|
+
* });
|
|
758
|
+
*
|
|
759
|
+
* orchestrator.on('coherence_violation', (event) => {
|
|
760
|
+
* console.log('Beliefs incoherent:', event.data);
|
|
761
|
+
* });
|
|
762
|
+
*
|
|
763
|
+
* await orchestrator.start();
|
|
764
|
+
* ```
|
|
765
|
+
*/
|
|
766
|
+
export function createStrangeLoopWithCoherence(options) {
|
|
767
|
+
return new StrangeLoopOrchestrator(options.provider, options.executor, options.config, options.coherenceService, options.beliefReconciler);
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* Create a strange loop orchestrator with in-memory components (for testing).
|
|
771
|
+
*
|
|
772
|
+
* @param observerId - ID of the observer agent
|
|
773
|
+
* @param config - Optional configuration overrides
|
|
774
|
+
* @returns Object containing orchestrator, provider, and executor
|
|
347
775
|
*/
|
|
348
776
|
export function createInMemoryStrangeLoop(observerId = 'observer-0', config) {
|
|
349
777
|
const provider = new InMemoryAgentProvider(observerId);
|
|
@@ -351,4 +779,19 @@ export function createInMemoryStrangeLoop(observerId = 'observer-0', config) {
|
|
|
351
779
|
const orchestrator = new StrangeLoopOrchestrator(provider, executor, config);
|
|
352
780
|
return { orchestrator, provider, executor };
|
|
353
781
|
}
|
|
782
|
+
/**
|
|
783
|
+
* Create a strange loop orchestrator with in-memory components and coherence (for testing).
|
|
784
|
+
*
|
|
785
|
+
* @param observerId - ID of the observer agent
|
|
786
|
+
* @param config - Optional configuration overrides
|
|
787
|
+
* @param coherenceService - Optional CoherenceService for belief coherence checking
|
|
788
|
+
* @param beliefReconciler - Optional belief reconciler for resolving contradictions
|
|
789
|
+
* @returns Object containing orchestrator, provider, and executor
|
|
790
|
+
*/
|
|
791
|
+
export function createInMemoryStrangeLoopWithCoherence(observerId = 'observer-0', config, coherenceService, beliefReconciler) {
|
|
792
|
+
const provider = new InMemoryAgentProvider(observerId);
|
|
793
|
+
const executor = new NoOpActionExecutor();
|
|
794
|
+
const orchestrator = new StrangeLoopOrchestrator(provider, executor, config, coherenceService, beliefReconciler);
|
|
795
|
+
return { orchestrator, provider, executor };
|
|
796
|
+
}
|
|
354
797
|
//# sourceMappingURL=strange-loop.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strange-loop.js","sourceRoot":"","sources":["../../src/strange-loop/strange-loop.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAiBH,OAAO,EAAE,2BAA2B,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,aAAa,EAAiB,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAC1F,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAAE,qBAAqB,EAAkB,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAEpG,+EAA+E;AAC/E,4BAA4B;AAC5B,+EAA+E;AAE/E;;GAEG;AACH,MAAM,OAAO,uBAAuB;IAC1B,QAAQ,CAAgB;IACxB,KAAK,CAAiB;IACtB,MAAM,CAAwB;IAC9B,MAAM,CAAoB;IAE1B,OAAO,GAAY,KAAK,CAAC;IACzB,UAAU,GAA0B,IAAI,CAAC;IACzC,SAAS,GAAW,CAAC,CAAC;IACtB,KAAK,CAAm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