3 Commits

Author SHA1 Message Date
Dragan Spiridonov 72dbe5ddb0 feat(v3): v3.6.0 — enterprise integration + pentest validation + init fixes (#242)
* fix(persistence): unify findProjectRoot to prevent dual-database data splits

Four separate findProjectRoot() implementations with different logic caused
data to split between /.agentic-qe/memory.db and /v3/.agentic-qe/memory.db.
Consolidated to single canonical implementation that checks AQE_PROJECT_ROOT
env var first, then walks up for .agentic-qe/, .git, package.json markers.

- kernel.ts, base.ts, claude-flow-bridge.ts: import canonical findProjectRoot
- claude-flow-bridge.ts: fix 2 hardcoded v3/.agentic-qe/memory.db paths
- post-task-sync.sh: fix hardcoded v3/.agentic-qe/memory.db path
- unified-memory.ts: add warnIfDuplicateDatabases() startup guard
- vitest.config.ts: set AQE_PROJECT_ROOT so tests use repo root db

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat(v3): StrongDM Tier 1 — loop detection + token dashboard (Actions 1+2)

Action 1: Tool-call signature tracking with FNV-1a hashing and 3-strike
loop detection in anti-drift-middleware. Integrates with strange-loop
healing controller and ReasoningBank for pattern learning.

Action 2: Token usage dashboard with session cost summaries in budget
enforcer, token tracker, and optimizer service. Adds --dashboard CLI
flag and MCP tool operation.

40 new tests (27 loop detection + 13 anti-drift), all passing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(test): cap NODE_OPTIONS heap to 1GB to prevent OOM in Codespaces

NODE_OPTIONS=--max-old-space-size=2048 is inherited by ALL forked vitest
workers. With 3 processes × 2GB = 6GB for tests + VS Code (~2GB) + Claude
(~5GB), the 8GB container cgroup limit was exceeded even with maxForks=2.

Fix: npm test script overrides NODE_OPTIONS to 1024MB per process.
3 × 1GB = 3GB leaves headroom for other processes.

Verified: 469/471 test files pass, 15,851 tests pass, zero OOM kills.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* plans & analysis

* feat(v3): release v3.5.6 — enterprise integration domain + 7 agents + 4 skills

Merge PR #236 (enterprise integration) and working branch changes into release:

- Enterprise Integration Domain (ADR-063): 14th DDD bounded context with
  SOAP/WSDL, SAP RFC/BAPI/IDoc, OData, ESB, message broker, SoD testing
- 7 new QE agents: soap-tester, sap-rfc-tester, sap-idoc-tester,
  middleware-validator, odata-contract-tester, message-broker-tester, sod-analyzer
- 4 new skills: enterprise-integration, middleware, WMS, observability testing
- QCSD swarm phases updated with enterprise integration flags
- QX Partner HTML report template with 23+ heuristics
- StrongDM Tier 1 loop detection + token dashboard (ADR-062)
- Fixed dual-database data splits, faker locale, OOM in Codespaces
- Synced new agents/skills to v3/assets for npm package distribution
- Updated counts: 13 domains, 58 QE agents, 71 QE skills
- Updated CONTRIBUTORS.md with Lalit's full contribution history

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(test): update domain count assertions for 13 user-facing domains

- core-handlers.test.ts: 12 → 13 enabled domains (excludes coordination)
- morning-sync.test.ts: 13 → 14 total domains (13 user-facing + coordination)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(init): add templates support, sync 74 QE skills, fix SKILL.md casing

- Add copyTemplatesDirectory() to agents-installer for QX report template
- Add 7 enterprise-integration agents to V3_QE_AGENTS and domainMap
- Fix domain extraction regex to handle both qe- and v3-qe- prefixes
- Sync 3 skills (.claude → assets): debug-loop, pr-review, security-visual-testing
- Sync 2 skills (assets → .claude): sfdipot-product-factors, test-idea-rewriting
- Fix lowercase skill.md → SKILL.md casing in 3 skills
- Add 'release' to EXCLUDED_SKILLS in skills-installer
- Update QE skill count 71 → 74 across READMEs and skills-manifest
- Verified: aqe init installs 74 skills, 58 agents, QX template present

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* feat(v3): v3.6.0 — pentest validation agent + skill (Shannon-inspired)

Add qe-pentest-validator agent and pentest-validation Tier 3 skill
implementing graduated exploit validation inspired by Shannon/KeygraphHQ
philosophy: "No Exploit, No Report."

New components:
- qe-pentest-validator agent (security-compliance domain)
- pentest-validation skill with 4-phase pipeline
- Tier 3 trust: eval suite (15 tests), JSON schema, bash validator
- 3-tier graduated exploitation (pattern→payload→full exploit)
- Exploit playbook memory via ReasoningBank + HNSW

Fleet: 59 agents (52 main + 7 subagents), 75 QE skills (46 T3 + 29 additional)
Verified: aqe init --auto installs 75 skills, 59 agents correctly

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(docs): correct v3.6.0 README — credit Lalit, fix domain count to 13

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(docs): correct stale counts — 13 domains, 52 main agents, 59 total

Fix leftover references to 12 domains (now 13 with enterprise-integration),
44/51 agents (now 52 main + 7 TDD = 59 total), and 12/12 domain integration
references across both README files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 19:55:20 +01:00
Profa 0a7a1c8b09 feat(release): v2.6.2 - Phase 2 LLM Independence & Cost Optimization
## Added
- ML-Based Complexity Classification with 4-level task analysis
- Model Capability Registry with 25+ December 2025 models
  - Claude Opus 4.5, DeepSeek R1/V3, GPT-5, Gemini 2.5 Pro
- Cost Optimization Strategies (PromptCompressor, Caching, Batching)
- HybridRouter integration with complexity-based model selection

## Changed
- README.md Quick Start section (user-focused, no version numbers)
- .env.example rewritten for Phase 2 features
- CONTRIBUTORS.md updated with @fndlalit's n8n contribution (#151)

## Fixed
- HybridRouter RuVector test isolation
- Compression benchmarks with honest expectations (2-8% vs false 50%)

## New Tests
- ComplexityClassifier, ModelCapabilityRegistry, CompressionBenchmark
- HybridRouter integration, model selection, and cost tracking tests

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 15:24:41 +00:00
Profa 196135b85b docs: add CONTRIBUTORS.md, FUNDING.md and update README
- Add CONTRIBUTORS.md recognizing @fndlalit, @shaal, @mondweep
- Add FUNDING.md with PayPal subscription tiers ($5/mo, $50/yr)
- Update README.md with Contributors section and sponsorship info
- Update version reference to 2.1.1

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-04 15:08:59 +00:00