agentic-qe 3.3.4 → 3.3.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 (48) hide show
  1. package/.claude/agents/v3/qe-queen-coordinator.md +332 -166
  2. package/.claude/helpers/statusline-v3.cjs +38 -42
  3. package/README.md +2 -2
  4. package/package.json +1 -1
  5. package/scripts/cloud-db-config.json +10 -5
  6. package/scripts/merge-v3-to-root.sql +48 -0
  7. package/v3/CHANGELOG.md +65 -0
  8. package/v3/README.md +1 -1
  9. package/v3/assets/agents/v3/qe-queen-coordinator.md +332 -166
  10. package/v3/dist/cli/bundle.js +295 -289
  11. package/v3/dist/coordination/consensus/providers/claude-provider.js +1 -1
  12. package/v3/dist/coordination/consensus/providers/gemini-provider.js +1 -1
  13. package/v3/dist/coordination/consensus/providers/openai-provider.js +1 -1
  14. package/v3/dist/init/init-wizard.js +3 -3
  15. package/v3/dist/init/init-wizard.js.map +1 -1
  16. package/v3/dist/init/phases/05-learning.js +1 -1
  17. package/v3/dist/init/phases/05-learning.js.map +1 -1
  18. package/v3/dist/integrations/ruvector/interfaces.js +1 -1
  19. package/v3/dist/integrations/ruvector/interfaces.js.map +1 -1
  20. package/v3/dist/kernel/index.d.ts +1 -1
  21. package/v3/dist/kernel/index.d.ts.map +1 -1
  22. package/v3/dist/kernel/index.js +3 -1
  23. package/v3/dist/kernel/index.js.map +1 -1
  24. package/v3/dist/kernel/unified-memory.d.ts +26 -0
  25. package/v3/dist/kernel/unified-memory.d.ts.map +1 -1
  26. package/v3/dist/kernel/unified-memory.js +54 -2
  27. package/v3/dist/kernel/unified-memory.js.map +1 -1
  28. package/v3/dist/learning/qe-unified-memory.js +1 -1
  29. package/v3/dist/learning/qe-unified-memory.js.map +1 -1
  30. package/v3/dist/learning/real-qe-reasoning-bank.js +2 -2
  31. package/v3/dist/learning/real-qe-reasoning-bank.js.map +1 -1
  32. package/v3/dist/learning/sqlite-persistence.d.ts +1 -1
  33. package/v3/dist/learning/sqlite-persistence.js +1 -1
  34. package/v3/dist/learning/sqlite-persistence.js.map +1 -1
  35. package/v3/dist/learning/v2-to-v3-migration.d.ts +2 -2
  36. package/v3/dist/learning/v2-to-v3-migration.d.ts.map +1 -1
  37. package/v3/dist/learning/v2-to-v3-migration.js +2 -2
  38. package/v3/dist/learning/v2-to-v3-migration.js.map +1 -1
  39. package/v3/dist/mcp/bundle.js +73 -51
  40. package/v3/dist/sync/claude-flow-bridge.d.ts +1 -1
  41. package/v3/dist/sync/claude-flow-bridge.js +1 -1
  42. package/v3/dist/sync/interfaces.d.ts +6 -0
  43. package/v3/dist/sync/interfaces.d.ts.map +1 -1
  44. package/v3/dist/sync/interfaces.js +34 -47
  45. package/v3/dist/sync/interfaces.js.map +1 -1
  46. package/v3/dist/sync/readers/sqlite-reader.d.ts +1 -1
  47. package/v3/dist/sync/readers/sqlite-reader.js +1 -1
  48. package/v3/package.json +1 -1
package/README.md CHANGED
@@ -240,9 +240,9 @@ aqe hooks model-stats
240
240
 
241
241
  ---
242
242
 
243
- ### 🔄 Cross-Phase Memory Unification (v3.3.4)
243
+ ### 🔄 Cross-Phase Memory Unification (v3.3.5)
244
244
 
245
- V3.3.4 unifies cross-phase feedback loops with UnifiedMemoryManager:
245
+ V3.3.5 unifies cross-phase feedback loops with UnifiedMemoryManager:
246
246
 
247
247
  - **Single SQLite Backend**: All QCSD signals stored in `.agentic-qe/memory.db`
248
248
  - **Namespace-Based Storage**: `qcsd/strategic`, `qcsd/tactical`, `qcsd/operational`, `qcsd/quality-criteria`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-qe",
3
- "version": "3.3.4",
3
+ "version": "3.3.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",
@@ -10,10 +10,13 @@
10
10
  "tunnelLocalPort": 15432
11
11
  },
12
12
  "local": {
13
- "memoryDb": ".agentic-qe/memory.db",
14
- "cacheDb": ".agentic-qe/ruvector-cache.db",
15
- "telemetryDb": ".agentic-qe/aqe-telemetry.db",
16
- "patternsDb": ".agentic-qe/qe-patterns.db"
13
+ "primaryDb": ".agentic-qe/memory.db",
14
+ "description": "Consolidated database - all tables unified (2026-01-30)",
15
+ "deprecated": {
16
+ "cacheDb": ".agentic-qe/ruvector-cache.db (removed - cache now in memory.db)",
17
+ "telemetryDb": ".agentic-qe/aqe-telemetry.db (removed - telemetry in events table)",
18
+ "patternsDb": ".agentic-qe/qe-patterns.db (removed - patterns in memory.db)"
19
+ }
17
20
  },
18
21
  "sync": {
19
22
  "enabled": false,
@@ -22,10 +25,12 @@
22
25
  "tables": [
23
26
  "memory_entries",
24
27
  "patterns",
28
+ "sona_patterns",
25
29
  "learning_experiences",
26
30
  "goap_actions",
27
31
  "goap_plans",
28
- "qe_patterns",
32
+ "kv_store",
33
+ "events",
29
34
  "embeddings"
30
35
  ]
31
36
  },
@@ -0,0 +1,48 @@
1
+ -- Merge V3 unique data to Root database
2
+ -- Run with: sqlite3 .agentic-qe/memory.db < scripts/merge-v3-to-root.sql
3
+
4
+ -- Attach V3 database
5
+ ATTACH DATABASE 'v3/.agentic-qe/memory.db' AS v3db;
6
+
7
+ -- ============================================================================
8
+ -- Merge SONA Patterns (schema compatible)
9
+ -- ============================================================================
10
+ INSERT OR IGNORE INTO sona_patterns
11
+ SELECT * FROM v3db.sona_patterns
12
+ WHERE id NOT IN (SELECT id FROM sona_patterns);
13
+
14
+ -- ============================================================================
15
+ -- Merge GOAP Actions (explicit columns due to schema difference)
16
+ -- V3 has extra 'qe_domain' column, root has 'duration_estimate' vs 'estimated_duration_ms'
17
+ -- ============================================================================
18
+ INSERT OR IGNORE INTO goap_actions (
19
+ id, name, description, agent_type, preconditions, effects,
20
+ cost, duration_estimate, success_rate, execution_count, category,
21
+ created_at, updated_at
22
+ )
23
+ SELECT
24
+ id, name, description, agent_type, preconditions, effects,
25
+ cost, estimated_duration_ms, success_rate, execution_count, category,
26
+ created_at, updated_at
27
+ FROM v3db.goap_actions
28
+ WHERE id NOT IN (SELECT id FROM goap_actions);
29
+
30
+ -- ============================================================================
31
+ -- Merge KV Store entries (schema compatible - both have same columns)
32
+ -- ============================================================================
33
+ INSERT OR IGNORE INTO kv_store (key, namespace, value, created_at, expires_at)
34
+ SELECT key, namespace, value, created_at, expires_at
35
+ FROM v3db.kv_store
36
+ WHERE namespace || ':' || key NOT IN (SELECT namespace || ':' || key FROM kv_store);
37
+
38
+ -- ============================================================================
39
+ -- Verify merge counts
40
+ -- ============================================================================
41
+ SELECT 'sona_patterns' as table_name, COUNT(*) as count FROM sona_patterns
42
+ UNION ALL
43
+ SELECT 'goap_actions', COUNT(*) FROM goap_actions
44
+ UNION ALL
45
+ SELECT 'kv_store', COUNT(*) FROM kv_store;
46
+
47
+ -- Detach
48
+ DETACH DATABASE v3db;
package/v3/CHANGELOG.md CHANGED
@@ -5,6 +5,71 @@ 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.3.5] - 2026-01-30
9
+
10
+ ### 🎯 Highlights
11
+
12
+ **QE Queen MCP-Powered Orchestration** - Complete rewrite of `qe-queen-coordinator` to use MCP tools for real fleet coordination. Queen now actually spawns agents via `mcp__agentic-qe__agent_spawn`, monitors task completion, and stores learnings - instead of just describing what agents would do.
13
+
14
+ **Unified Database Architecture** - All databases consolidated to single `{project-root}/.agentic-qe/memory.db` with automatic project root detection. Eliminates scattered database files and ensures consistent data storage.
15
+
16
+ **252 New Tests for Coordination Module** - Comprehensive test coverage for previously untested consensus providers, protocols, services, and cross-domain router.
17
+
18
+ ### Added
19
+
20
+ #### QE Queen MCP-Powered Orchestration (v3.1.0)
21
+ - **Mandatory 10-phase execution protocol** - fleet_init → memory_store
22
+ - **Real agent spawning** via `mcp__agentic-qe__agent_spawn`
23
+ - **Task monitoring loop** - polls `task_list` until completion
24
+ - **Learning persistence** - stores patterns after each orchestration
25
+ - **Task-to-domain routing table** - automatic agent selection by task type
26
+ - **MCP tools reference** - fleet, agent, task, QE, and memory operations
27
+ - **Execution examples** - comprehensive and coverage-specific
28
+
29
+ #### Unified Database Architecture
30
+ - **Project root detection** - finds nearest package.json/git root
31
+ - **Single memory.db** - all tables in one SQLite database
32
+ - **Automatic migration** - moves data from scattered locations
33
+ - **Cross-phase memory hooks** - auto-installed on `aqe init`
34
+
35
+ #### New Test Coverage (252 tests, all passing)
36
+ - **consensus/providers/** - 6 provider test files
37
+ - `claude-provider.test.ts` (366 lines)
38
+ - `gemini-provider.test.ts` (391 lines)
39
+ - `native-learning-provider.test.ts` (500 lines)
40
+ - `ollama-provider.test.ts` (440 lines)
41
+ - `openai-provider.test.ts` (373 lines)
42
+ - `openrouter-provider.test.ts` (393 lines)
43
+ - **protocols/** - 4 protocol test files
44
+ - `defect-investigation.test.ts` (618 lines)
45
+ - `learning-consolidation.test.ts` (594 lines)
46
+ - `morning-sync.test.ts` (853 lines)
47
+ - `quality-gate.test.ts` (727 lines)
48
+ - **services/** - 2 service test files
49
+ - `task-audit-logger.test.ts` (611 lines)
50
+ - `index.test.ts` (103 lines)
51
+ - **cross-domain-router.test.ts** (686 lines)
52
+
53
+ ### Changed
54
+
55
+ #### QE Queen Coordinator
56
+ - Upgraded from v3.0.0 to v3.1.0
57
+ - Now uses MCP tools instead of descriptions
58
+ - Added prohibited behaviors section
59
+ - Added domain topology diagram
60
+
61
+ #### CLI Hook Commands
62
+ - Updated to use `aqe` binary instead of `npx`
63
+ - Implemented missing CLI hook commands for Claude Code integration
64
+
65
+ ### Fixed
66
+
67
+ - **CI timeout** - Increased Fast Tests timeout from 5m to 10m
68
+ - **Workflow permissions** - Added permissions block to sauce-demo-e2e workflow
69
+ - **Hook commands** - Fixed CLI hook commands to use correct binary
70
+
71
+ ---
72
+
8
73
  ## [3.3.4] - 2026-01-29
9
74
 
10
75
  ### 🎯 Highlights
package/v3/README.md CHANGED
@@ -48,7 +48,7 @@ npx aqe test generate src/
48
48
  - **MinCut Topology** - Graph-based self-healing agent coordination
49
49
  - **Coherence Verification** (v3.3.0) - Mathematical proof of belief consistency using WASM engines
50
50
  - **MinCut/Consensus Integration** (v3.3.3) - Full 12/12 domain integration with self-healing
51
- - **Cross-Phase Memory Unification** (v3.3.4) - Unified SQLite storage for QCSD feedback loops
51
+ - **Cross-Phase Memory Unification** (v3.3.5) - Unified SQLite storage for QCSD feedback loops
52
52
  - **Zero-Breaking-Changes Migration** - Full v2 backward compatibility
53
53
  - **Browser Automation** (v3.1.0) - @claude-flow/browser integration with 9 workflow templates
54
54