agentic-qe 3.4.3 → 3.4.5

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.
Files changed (114) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/package.json +1 -1
  3. package/v3/CHANGELOG.md +27 -0
  4. package/v3/dist/cli/bundle.js +10730 -10275
  5. package/v3/dist/cli/commands/mcp.d.ts +17 -0
  6. package/v3/dist/cli/commands/mcp.d.ts.map +1 -0
  7. package/v3/dist/cli/commands/mcp.js +93 -0
  8. package/v3/dist/cli/commands/mcp.js.map +1 -0
  9. package/v3/dist/cli/handlers/init-handler.d.ts.map +1 -1
  10. package/v3/dist/cli/handlers/init-handler.js +4 -0
  11. package/v3/dist/cli/handlers/init-handler.js.map +1 -1
  12. package/v3/dist/cli/index.js +2 -0
  13. package/v3/dist/cli/index.js.map +1 -1
  14. package/v3/dist/init/agents-installer.d.ts.map +1 -1
  15. package/v3/dist/init/agents-installer.js +20 -16
  16. package/v3/dist/init/agents-installer.js.map +1 -1
  17. package/v3/dist/init/phases/04-database.d.ts +14 -2
  18. package/v3/dist/init/phases/04-database.d.ts.map +1 -1
  19. package/v3/dist/init/phases/04-database.js +50 -48
  20. package/v3/dist/init/phases/04-database.js.map +1 -1
  21. package/v3/dist/init/phases/06-code-intelligence.d.ts +11 -0
  22. package/v3/dist/init/phases/06-code-intelligence.d.ts.map +1 -1
  23. package/v3/dist/init/phases/06-code-intelligence.js +28 -6
  24. package/v3/dist/init/phases/06-code-intelligence.js.map +1 -1
  25. package/v3/dist/init/phases/08-mcp.d.ts +6 -1
  26. package/v3/dist/init/phases/08-mcp.d.ts.map +1 -1
  27. package/v3/dist/init/phases/08-mcp.js +54 -28
  28. package/v3/dist/init/phases/08-mcp.js.map +1 -1
  29. package/v3/dist/init/phases/10-workers.d.ts +17 -0
  30. package/v3/dist/init/phases/10-workers.d.ts.map +1 -1
  31. package/v3/dist/init/phases/10-workers.js +264 -11
  32. package/v3/dist/init/phases/10-workers.js.map +1 -1
  33. package/v3/dist/init/skills-installer.d.ts.map +1 -1
  34. package/v3/dist/init/skills-installer.js +20 -16
  35. package/v3/dist/init/skills-installer.js.map +1 -1
  36. package/v3/dist/integrations/agent-booster-wasm/index.d.ts +36 -19
  37. package/v3/dist/integrations/agent-booster-wasm/index.d.ts.map +1 -1
  38. package/v3/dist/integrations/agent-booster-wasm/index.js +32 -21
  39. package/v3/dist/integrations/agent-booster-wasm/index.js.map +1 -1
  40. package/v3/dist/integrations/agentic-flow/agent-booster/adapter.d.ts.map +1 -1
  41. package/v3/dist/integrations/agentic-flow/agent-booster/adapter.js +57 -4
  42. package/v3/dist/integrations/agentic-flow/agent-booster/adapter.js.map +1 -1
  43. package/v3/dist/mcp/bundle.js +143 -28
  44. package/v3/dist/strange-loop/healing-controller.d.ts.map +1 -1
  45. package/v3/dist/strange-loop/healing-controller.js +54 -2
  46. package/v3/dist/strange-loop/healing-controller.js.map +1 -1
  47. package/v3/dist/strange-loop/index.d.ts +2 -1
  48. package/v3/dist/strange-loop/index.d.ts.map +1 -1
  49. package/v3/dist/strange-loop/index.js +3 -1
  50. package/v3/dist/strange-loop/index.js.map +1 -1
  51. package/v3/dist/strange-loop/infra-healing/composite-action-executor.d.ts +39 -0
  52. package/v3/dist/strange-loop/infra-healing/composite-action-executor.d.ts.map +1 -0
  53. package/v3/dist/strange-loop/infra-healing/composite-action-executor.js +82 -0
  54. package/v3/dist/strange-loop/infra-healing/composite-action-executor.js.map +1 -0
  55. package/v3/dist/strange-loop/infra-healing/coordination-lock.d.ts +54 -0
  56. package/v3/dist/strange-loop/infra-healing/coordination-lock.d.ts.map +1 -0
  57. package/v3/dist/strange-loop/infra-healing/coordination-lock.js +104 -0
  58. package/v3/dist/strange-loop/infra-healing/coordination-lock.js.map +1 -0
  59. package/v3/dist/strange-loop/infra-healing/index.d.ts +20 -0
  60. package/v3/dist/strange-loop/infra-healing/index.d.ts.map +1 -0
  61. package/v3/dist/strange-loop/infra-healing/index.js +26 -0
  62. package/v3/dist/strange-loop/infra-healing/index.js.map +1 -0
  63. package/v3/dist/strange-loop/infra-healing/infra-action-executor.d.ts +70 -0
  64. package/v3/dist/strange-loop/infra-healing/infra-action-executor.d.ts.map +1 -0
  65. package/v3/dist/strange-loop/infra-healing/infra-action-executor.js +260 -0
  66. package/v3/dist/strange-loop/infra-healing/infra-action-executor.js.map +1 -0
  67. package/v3/dist/strange-loop/infra-healing/infra-aware-agent-provider.d.ts +56 -0
  68. package/v3/dist/strange-loop/infra-healing/infra-aware-agent-provider.d.ts.map +1 -0
  69. package/v3/dist/strange-loop/infra-healing/infra-aware-agent-provider.js +108 -0
  70. package/v3/dist/strange-loop/infra-healing/infra-aware-agent-provider.js.map +1 -0
  71. package/v3/dist/strange-loop/infra-healing/infra-healing-orchestrator.d.ts +102 -0
  72. package/v3/dist/strange-loop/infra-healing/infra-healing-orchestrator.d.ts.map +1 -0
  73. package/v3/dist/strange-loop/infra-healing/infra-healing-orchestrator.js +201 -0
  74. package/v3/dist/strange-loop/infra-healing/infra-healing-orchestrator.js.map +1 -0
  75. package/v3/dist/strange-loop/infra-healing/recovery-playbook.d.ts +74 -0
  76. package/v3/dist/strange-loop/infra-healing/recovery-playbook.d.ts.map +1 -0
  77. package/v3/dist/strange-loop/infra-healing/recovery-playbook.js +153 -0
  78. package/v3/dist/strange-loop/infra-healing/recovery-playbook.js.map +1 -0
  79. package/v3/dist/strange-loop/infra-healing/test-output-observer.d.ts +61 -0
  80. package/v3/dist/strange-loop/infra-healing/test-output-observer.d.ts.map +1 -0
  81. package/v3/dist/strange-loop/infra-healing/test-output-observer.js +339 -0
  82. package/v3/dist/strange-loop/infra-healing/test-output-observer.js.map +1 -0
  83. package/v3/dist/strange-loop/infra-healing/types.d.ts +253 -0
  84. package/v3/dist/strange-loop/infra-healing/types.d.ts.map +1 -0
  85. package/v3/dist/strange-loop/infra-healing/types.js +33 -0
  86. package/v3/dist/strange-loop/infra-healing/types.js.map +1 -0
  87. package/v3/dist/strange-loop/strange-loop.d.ts +63 -0
  88. package/v3/dist/strange-loop/strange-loop.d.ts.map +1 -1
  89. package/v3/dist/strange-loop/strange-loop.js +62 -0
  90. package/v3/dist/strange-loop/strange-loop.js.map +1 -1
  91. package/v3/dist/strange-loop/types.d.ts +2 -2
  92. package/v3/dist/strange-loop/types.d.ts.map +1 -1
  93. package/v3/dist/strange-loop/types.js.map +1 -1
  94. package/v3/dist/sync/embeddings/index.d.ts +9 -0
  95. package/v3/dist/sync/embeddings/index.d.ts.map +1 -0
  96. package/v3/dist/sync/embeddings/index.js +9 -0
  97. package/v3/dist/sync/embeddings/index.js.map +1 -0
  98. package/v3/dist/sync/embeddings/sync-embedding-generator.d.ts +101 -0
  99. package/v3/dist/sync/embeddings/sync-embedding-generator.d.ts.map +1 -0
  100. package/v3/dist/sync/embeddings/sync-embedding-generator.js +264 -0
  101. package/v3/dist/sync/embeddings/sync-embedding-generator.js.map +1 -0
  102. package/v3/dist/sync/index.d.ts +1 -0
  103. package/v3/dist/sync/index.d.ts.map +1 -1
  104. package/v3/dist/sync/index.js +2 -0
  105. package/v3/dist/sync/index.js.map +1 -1
  106. package/v3/dist/workers/workers/cloud-sync.d.ts +19 -0
  107. package/v3/dist/workers/workers/cloud-sync.d.ts.map +1 -0
  108. package/v3/dist/workers/workers/cloud-sync.js +177 -0
  109. package/v3/dist/workers/workers/cloud-sync.js.map +1 -0
  110. package/v3/dist/workers/workers/index.d.ts +12 -11
  111. package/v3/dist/workers/workers/index.d.ts.map +1 -1
  112. package/v3/dist/workers/workers/index.js +12 -11
  113. package/v3/dist/workers/workers/index.js.map +1 -1
  114. package/v3/package.json +8 -4
package/CHANGELOG.md CHANGED
@@ -5,6 +5,35 @@ All notable changes to the Agentic QE project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.4.5] - 2026-02-03
9
+
10
+ ### Fixed
11
+
12
+ - **MCP daemon startup failure** - Fixed "error: unknown command 'mcp'" when running `aqe init --auto`
13
+ - Added `mcp` subcommand to CLI that starts the MCP protocol server
14
+ - Updated daemon startup scripts to properly locate and invoke MCP server
15
+ - Fallback chain: `aqe-mcp` binary → bundled MCP → `aqe mcp` CLI → `npx agentic-qe mcp`
16
+
17
+ - **Code Intelligence KG not persisted** - Fixed knowledge graph data being lost after init
18
+ - Changed from `InMemoryBackend` (ephemeral) to SQLite backend (persistent)
19
+ - KG data now persisted to `.agentic-qe/memory.db` in `code-intelligence:kg` namespace
20
+ - QE agents can now query the KG for semantic code search, reducing token consumption
21
+
22
+ ### Added
23
+
24
+ - **`aqe mcp` command** - New CLI command to start the MCP protocol server
25
+ - `aqe mcp` - Start MCP server on stdio (for Claude Code integration)
26
+ - `aqe mcp --http 8080` - Also start HTTP server for AG-UI/A2A protocols
27
+ - `aqe mcp --verbose` - Enable verbose logging
28
+
29
+ ### Changed
30
+
31
+ - **Code Intelligence integration** - Knowledge graph now properly integrated with QE agents
32
+ - Semantic code search via vector embeddings (Nomic)
33
+ - Dependency analysis for impact assessment
34
+ - Test target discovery for coverage optimization
35
+ - ~90% token reduction for targeted code operations
36
+
8
37
  ## [3.4.1] - 2026-02-01
9
38
 
10
39
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-qe",
3
- "version": "3.4.3",
3
+ "version": "3.4.5",
4
4
  "description": "Agentic Quality Engineering V3 - Domain-Driven Design Architecture with 12 Bounded Contexts, O(log n) coverage analysis, ReasoningBank learning, 51 specialized QE agents, mathematical Coherence verification, deep Claude Flow integration",
5
5
  "main": "./v3/dist/index.js",
6
6
  "types": "./v3/dist/index.d.ts",
package/v3/CHANGELOG.md CHANGED
@@ -5,6 +5,33 @@ All notable changes to Agentic QE will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.4.4] - 2026-02-03
9
+
10
+ ### Added
11
+
12
+ #### Infrastructure Self-Healing Extension (ADR-057)
13
+ - **TestOutputObserver** - Pattern-matches 22+ OS-level error signatures (ECONNREFUSED, ETIMEDOUT, ENOTFOUND, ENOMEM, ENOSPC) from test stderr to detect infrastructure failures
14
+ - **RecoveryPlaybook** - YAML-driven configuration for service recovery with `${VAR}` environment interpolation
15
+ - **CoordinationLock** - In-process TTL-based mutex preventing duplicate recovery attempts for the same service
16
+ - **InfraActionExecutor** - Executes recovery cycle: healthCheck → recover → backoff → verify
17
+ - **CompositeActionExecutor** - Routes swarm actions to original executor, infra actions to InfraActionExecutor
18
+ - **InfraAwareAgentProvider** - Wraps AgentProvider to inject synthetic infrastructure agents with health derived from observer state
19
+ - **InfraHealingOrchestrator** - Top-level coordinator: `feedTestOutput()` → `runRecoveryCycle()` → stats
20
+ - **Factory functions** - `createStrangeLoopWithInfraHealing()` and `createInMemoryStrangeLoopWithInfraHealing()` for easy integration
21
+ - **Default playbook** - Reference YAML template for 8 services (postgres, mysql, mongodb, redis, elasticsearch, rabbitmq, selenium-grid, generic-service)
22
+ - **Demo script** - `scripts/demo-infra-healing.ts` demonstrates full pipeline
23
+
24
+ ### Changed
25
+ - **Strange Loop types** - Added 8 infrastructure vulnerability types to `SwarmVulnerability['type']` union
26
+ - **Healing controller** - Extended with `restart_service` action type and infra-agent override logic in `mapVulnerabilityToAction()`
27
+ - **ADR index** - Updated v3-adrs.md with ADR-057 entry (54 total ADRs implemented)
28
+
29
+ ### Technical Details
30
+ - Extends Strange Loop through existing DI seams without modifying core OMDA cycle
31
+ - Framework-agnostic: works with Jest, Pytest, JUnit, or any test framework
32
+ - 245 tests (151 new + 94 existing), zero regressions
33
+ - Security: uses `execFile` (not `exec`), documents trust boundary for playbook YAML
34
+
8
35
  ## [3.4.3] - 2026-02-02
9
36
 
10
37
  ### Added