agentic-qe 3.8.6 → 3.8.7

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 (39) hide show
  1. package/.claude/skills/skills-manifest.json +1 -1
  2. package/CHANGELOG.md +26 -0
  3. package/assets/governance/constitution.md +1 -1
  4. package/assets/governance/shards/chaos-resilience.shard.md +1 -1
  5. package/assets/governance/shards/code-intelligence.shard.md +1 -1
  6. package/assets/governance/shards/contract-testing.shard.md +1 -1
  7. package/assets/governance/shards/coverage-analysis.shard.md +1 -1
  8. package/assets/governance/shards/defect-intelligence.shard.md +1 -1
  9. package/assets/governance/shards/learning-optimization.shard.md +1 -1
  10. package/assets/governance/shards/quality-assessment.shard.md +1 -1
  11. package/assets/governance/shards/requirements-validation.shard.md +1 -1
  12. package/assets/governance/shards/security-compliance.shard.md +1 -1
  13. package/assets/governance/shards/test-execution.shard.md +1 -1
  14. package/assets/governance/shards/test-generation.shard.md +1 -1
  15. package/assets/governance/shards/visual-accessibility.shard.md +1 -1
  16. package/dist/cli/bundle.js +732 -660
  17. package/dist/cli/command-registry.js +3 -1
  18. package/dist/cli/completions/index.d.ts +17 -0
  19. package/dist/cli/completions/index.js +49 -1
  20. package/dist/cli/handlers/hypergraph-handler.d.ts +27 -0
  21. package/dist/cli/handlers/hypergraph-handler.js +248 -0
  22. package/dist/cli/handlers/index.d.ts +1 -0
  23. package/dist/cli/handlers/index.js +1 -0
  24. package/dist/coordination/protocols/code-intelligence-index.js +2 -11
  25. package/dist/domains/code-intelligence/coordinator-hypergraph.js +1 -1
  26. package/dist/domains/code-intelligence/coordinator.d.ts +5 -0
  27. package/dist/domains/code-intelligence/coordinator.js +35 -3
  28. package/dist/init/phases/06-code-intelligence.d.ts +8 -3
  29. package/dist/init/phases/06-code-intelligence.js +70 -32
  30. package/dist/mcp/bundle.js +1059 -1058
  31. package/dist/mcp/handlers/hypergraph-handler.d.ts +27 -0
  32. package/dist/mcp/handlers/hypergraph-handler.js +140 -0
  33. package/dist/mcp/handlers/index.d.ts +1 -0
  34. package/dist/mcp/handlers/index.js +2 -0
  35. package/dist/mcp/server.js +19 -0
  36. package/dist/mcp/tool-scoping.js +5 -0
  37. package/dist/shared/code-index-extractor.d.ts +23 -0
  38. package/dist/shared/code-index-extractor.js +101 -0
  39. package/package.json +1 -1
@@ -932,7 +932,7 @@
932
932
  },
933
933
  "metadata": {
934
934
  "generatedBy": "Agentic QE Fleet",
935
- "fleetVersion": "3.8.6",
935
+ "fleetVersion": "3.8.7",
936
936
  "manifestVersion": "1.3.0",
937
937
  "lastUpdated": "2026-02-04T00:00:00.000Z",
938
938
  "contributors": [
package/CHANGELOG.md CHANGED
@@ -5,6 +5,32 @@ 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.8.7] - 2026-03-23
9
+
10
+ ### Added
11
+
12
+ - **Hypergraph CLI commands** — New `aqe hypergraph` subcommands (`stats`, `untested`, `impacted`, `gaps`) for querying the code knowledge hypergraph directly from the terminal.
13
+ - **Hypergraph MCP tool** — `hypergraph_query` MCP tool exposes the same queries to AI agents, added to 5 agent role scopes.
14
+ - **Code index extractor** — Shared async batched extractor for functions, classes, interfaces, arrow functions, and method definitions with 12 unit tests.
15
+ - **Shell completions for hypergraph** — Bash, Zsh, Fish, and PowerShell completion support for hypergraph subcommands.
16
+
17
+ ### Fixed
18
+
19
+ - **Unified hypergraph persistence** — Eliminated separate `hypergraph.db` file; all hypergraph data now persists in the unified `memory.db` alongside other QE tables.
20
+ - **Stale governance shard paths** — Updated 12 governance shards + constitution from `v3/src/domains/` to `src/domains/`.
21
+ - **Init phase 06 hypergraph bootstrap** — `aqe init --auto` now builds hypergraph tables during code intelligence initialization.
22
+ - **Connection leak in CLI handler** — Added `ensureInitialized` guard and proper cleanup in hypergraph CLI handler.
23
+ - **HypergraphDegraded event** — Coordinator now publishes degradation events on init failure for observability.
24
+
25
+ ## [3.8.6] - 2026-03-23
26
+
27
+ ### Fixed
28
+
29
+ - **4 CodeQL ReDoS alerts resolved** — Eliminated all `js/polynomial-redos` high-severity vulnerabilities in security validators using negated character classes and unambiguous regex patterns.
30
+ - **58 real setTimeout calls eliminated** — Replaced with `vi.useFakeTimers()` in the top 5 flaky test files for deterministic test execution.
31
+ - **time-crystal.ts decomposed** — Split 1,714-line module into 6 focused modules (max 447 lines) with backward-compatible re-exports.
32
+ - **qe-reasoning-bank.ts decomposed** — Split 1,941-line module into 7 focused modules (max 738 lines) with backward-compatible re-exports.
33
+
8
34
  ## [3.8.5] - 2026-03-21
9
35
 
10
36
  ### Fixed
@@ -3,7 +3,7 @@
3
3
  **Version**: 1.0.0
4
4
  **Date**: 2026-02-03
5
5
  **Authority**: Architecture Team
6
- **ADR Reference**: [ADR-058](../../v3/implementation/adrs/ADR-058-guidance-governance-integration.md)
6
+ **ADR Reference**: [ADR-058](../../docs/adrs/ADR-058-guidance-governance-integration.md)
7
7
 
8
8
  ---
9
9
 
@@ -82,7 +82,7 @@ INVARIANT load_test_baseline:
82
82
 
83
83
  ## Patterns
84
84
 
85
- **Domain Source**: `v3/src/domains/chaos-resilience/`
85
+ **Domain Source**: `src/domains/chaos-resilience/`
86
86
 
87
87
  | Pattern | Location | Description |
88
88
  |---------|----------|-------------|
@@ -79,7 +79,7 @@ INVARIANT c4_model_accuracy:
79
79
 
80
80
  ## Patterns
81
81
 
82
- **Domain Source**: `v3/src/domains/code-intelligence/`
82
+ **Domain Source**: `src/domains/code-intelligence/`
83
83
 
84
84
  | Pattern | Location | Description |
85
85
  |---------|----------|-------------|
@@ -80,7 +80,7 @@ INVARIANT mock_accuracy:
80
80
 
81
81
  ## Patterns
82
82
 
83
- **Domain Source**: `v3/src/domains/contract-testing/`
83
+ **Domain Source**: `src/domains/contract-testing/`
84
84
 
85
85
  | Pattern | Location | Description |
86
86
  |---------|----------|-------------|
@@ -71,7 +71,7 @@ INVARIANT embedding_freshness:
71
71
 
72
72
  ## Patterns
73
73
 
74
- **Domain Source**: `v3/src/domains/coverage-analysis/`
74
+ **Domain Source**: `src/domains/coverage-analysis/`
75
75
 
76
76
  | Pattern | Location | Description |
77
77
  |---------|----------|-------------|
@@ -77,7 +77,7 @@ INVARIANT cluster_quality:
77
77
 
78
78
  ## Patterns
79
79
 
80
- **Domain Source**: `v3/src/domains/defect-intelligence/`
80
+ **Domain Source**: `src/domains/defect-intelligence/`
81
81
 
82
82
  | Pattern | Location | Description |
83
83
  |---------|----------|-------------|
@@ -84,7 +84,7 @@ INVARIANT model_export_integrity:
84
84
 
85
85
  ## Patterns
86
86
 
87
- **Domain Source**: `v3/src/domains/learning-optimization/`
87
+ **Domain Source**: `src/domains/learning-optimization/`
88
88
 
89
89
  | Pattern | Location | Description |
90
90
  |---------|----------|-------------|
@@ -73,7 +73,7 @@ INVARIANT threshold_visibility:
73
73
 
74
74
  ## Patterns
75
75
 
76
- **Domain Source**: `v3/src/domains/quality-assessment/`
76
+ **Domain Source**: `src/domains/quality-assessment/`
77
77
 
78
78
  | Pattern | Location | Description |
79
79
  |---------|----------|-------------|
@@ -79,7 +79,7 @@ INVARIANT htsm_never_omit:
79
79
 
80
80
  ## Patterns
81
81
 
82
- **Domain Source**: `v3/src/domains/requirements-validation/`
82
+ **Domain Source**: `src/domains/requirements-validation/`
83
83
 
84
84
  | Pattern | Location | Description |
85
85
  |---------|----------|-------------|
@@ -83,7 +83,7 @@ INVARIANT vulnerability_sla:
83
83
 
84
84
  ## Patterns
85
85
 
86
- **Domain Source**: `v3/src/domains/security-compliance/`
86
+ **Domain Source**: `src/domains/security-compliance/`
87
87
 
88
88
  | Pattern | Location | Description |
89
89
  |---------|----------|-------------|
@@ -72,7 +72,7 @@ INVARIANT retry_limit_enforcement:
72
72
 
73
73
  ## Patterns
74
74
 
75
- **Domain Source**: `v3/src/domains/test-execution/`
75
+ **Domain Source**: `src/domains/test-execution/`
76
76
 
77
77
  | Pattern | Location | Description |
78
78
  |---------|----------|-------------|
@@ -66,7 +66,7 @@ INVARIANT pattern_application_before_generation:
66
66
 
67
67
  ## Patterns
68
68
 
69
- **Domain Source**: `v3/src/domains/test-generation/`
69
+ **Domain Source**: `src/domains/test-generation/`
70
70
 
71
71
  | Pattern | Location | Description |
72
72
  |---------|----------|-------------|
@@ -83,7 +83,7 @@ INVARIANT keyboard_navigability:
83
83
 
84
84
  ## Patterns
85
85
 
86
- **Domain Source**: `v3/src/domains/visual-accessibility/`
86
+ **Domain Source**: `src/domains/visual-accessibility/`
87
87
 
88
88
  | Pattern | Location | Description |
89
89
  |---------|----------|-------------|