Commit Graph

113 Commits

Author SHA1 Message Date
Profa 3b81b10d30 chore(release): bump version to v3.7.14
Brain export v3.0 (25 tables), witness chain v3 with Ed25519 signing,
streaming for large tables, RVF freeze/derive/indexStats, npm packaging fix.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 14:36:26 +00:00
Profa 3c3e8861f5 chore(release): bump version to v3.7.13
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 11:19:45 +00:00
Profa 9f5b3b49bf fix: lazy-load typescript to prevent CLI crash on global install
TypeScript was an external ESM dependency loaded at bundle startup,
crashing `aqe --version` when typescript isn't installed (global
installs). Now lazy-loaded via createRequire Proxy — only triggers
when AST parsing features are used.

Also adds isolated install verification to /release skill (steps 8e
and 15) to catch missing externals before they reach users.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 15:28:26 +00:00
Profa ef17b67c78 chore(release): bump version to v3.7.11
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 13:46:47 +00:00
Profa f295020fd2 chore(release): bump version to v3.7.10
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 16:02:17 +00:00
Profa 1ddae67b5d chore(release): bump version to v3.7.9
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 13:03:55 +00:00
Profa 79e75919d3 chore(release): bump version to v3.7.8
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 13:05:57 +00:00
Profa 269bd5cf15 chore(release): bump version to v3.7.7
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 20:33:37 +00:00
Profa 654bc7dcb4 chore(release): bump version to v3.7.6
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 11:55:15 +00:00
Profa 8642318db5 chore(release): bump version to v3.7.5
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 16:45:24 +00:00
Profa 1aff16293d chore(release): bump version to v3.5.1
v3.5.1 includes:
- Security: tar>=7.5.7 override fixing 6 HIGH severity Dependabot alerts
- Documentation: v3.5.0 release highlights added to READMEs
- skills-manifest.json updated to v1.3.0 with 67 QE skills breakdown

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 13:12:28 +00:00
Profa fe391a9d38 docs: correct skill count to 67 QE skills (not 100+ total)
Previous commits incorrectly counted all skills including Claude Flow
platform skills. The correct count is only AQE-specific QE skills:
- 63 QE skills before v3.5.0
- 4 new in v3.5.0 (QCSD Refinement, Development, CI/CD swarms + compatibility-testing)
- Total: 67 QE skills

Claude Flow platform skills (33) are separate and should not be counted.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 13:06:47 +00:00
Profa bd41605696 docs(changelog): add v3.5.0 and v3.4.6 release notes
Added missing changelog entries:
- v3.5.0: Governance, QCSD 2.0, 100+ skills, enterprise self-healing, security fix
- v3.4.6: Code Intelligence performance fix, hooks deduplication

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 13:01:23 +00:00
Dragan Spiridonov f26fcab14d fix(v3.4.5): MCP daemon startup and code intelligence KG persistence (#230)
* fix(v3.4.1): bundle missing dependencies and test timeouts

- Fixed issue #219: MCP bundle failing due to missing packages
- Changed build scripts from --packages=external to selective externalization
- Pure JS deps (fast-json-patch, jose, uuid) now bundled inline
- Native modules properly externalized (better-sqlite3, hnswlib-node, etc.)
- CommonJS modules with dynamic requires externalized (typescript, fast-glob, yaml, commander, cli-progress, ora)
- Bundle size reduced from ~15MB to ~5MB
- Added timeouts to handleQualityAssess tests to prevent CI failures
- Updated version to 3.4.1

Closes #219

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

* feat(v3.4.2): add skill validation system with trust tiers (ADR-056)

Implement 4-layer skill validation system for deterministic outputs:
- Tier 3 (Verified): 46 skills with full eval test suites
- Tier 2 (Validated): 7 skills with executable validators
- Tier 1 (Structured): 5 skills with JSON output schemas
- Tier 0 (Advisory): 5 skills with SKILL.md guidance only

Key additions:
- JSON Schema validation templates for skill outputs
- Executable validator scripts for correctness verification
- Evaluation test framework with multi-model support
- CLI commands: aqe skill report/summary/compare, aqe eval run/status
- ReasoningBank integration for validation pattern learning
- GitHub Actions workflow for CI skill validation
- Trust tier frontmatter in all 63 skill SKILL.md files
- Comprehensive documentation and user guides

Infrastructure:
- .claude/skills/.validation/ - Templates and frameworks
- .claude/skills/*/schemas/ - Output schemas per skill
- .claude/skills/*/scripts/ - Validator scripts per skill
- .claude/skills/*/evals/ - Test cases per skill

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

* fix(ci): trust tier-based skill validation

- Tier 3 (Verified): Blocks PR on validation failure
- Tier 2 (Validated): Warns only, doesn't block
- Tier 1 (Structured): Warns only, doesn't block
- Tier 0 (Advisory): Skipped entirely

Reads trust_tier from SKILL.md frontmatter to determine
validation requirements. Only 46 Tier 3 skills block merge.

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

* fix(validators): remove local keyword from self-test blocks

Shell script fix: 'local' can only be used inside functions, not in
if/else blocks. Both accessibility-testing and compatibility-testing
validators had 'local' declarations in their self-test sections that
caused errors when run outside of a function context.

- Remove local test_file from accessibility-testing self-test
- Remove local test_file, browser_count, tier1_pass from compatibility-testing self-test
- Sync fixes to v3/assets/skills/

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

* fix(validators): add --self-test support to n8n skill validators

The 5 n8n skill validators were failing CI because they didn't handle
the --self-test flag properly. Added self-test handling that:
- Checks for required tools (jq)
- Verifies schema file exists and is valid JSON
- Returns exit 0 on success

Fixed validators:
- n8n-expression-testing
- n8n-integration-testing-patterns
- n8n-security-testing
- n8n-trigger-testing-strategies
- n8n-workflow-testing-fundamentals

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

* fix(skills-installer): scan actual directory for README generation

The createSkillsIndex method was only counting newly-installed skills,
resulting in misleading README content (e.g., showing "1 skill" when
97 skills exist in the directory).

Changes:
- Add scanSkillsDirectory() method to find all valid skill folders
- Update createSkillsIndex() to use actual directory contents
- Categorize skills into QE (63) vs Platform (34) correctly
- Include validation infrastructure status in summary

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

* feat(init): add --upgrade flag to update existing installations

When running `aqe init --auto` on an existing project, skills, agents,
and validation infrastructure were skipped because overwrite=false was
the default. This caused upgrades from v3.2.3 to v3.4.2 to only install
new files instead of updating all existing files.

The --upgrade flag sets overwrite=true for:
- Skills installer (63 QE skills + validation infrastructure)
- Agents installer
- N8n installer

Usage:
  aqe init --auto --upgrade  # Update existing installation
  aqe init --upgrade         # Upgrade mode only

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

* chore(v3.4.3): version bump and README cleanup

Version:
- Bump to v3.4.3 in root and v3 package.json
- Add CHANGELOG entry for --upgrade flag and README fixes

README improvements:
- Replace version-specific "What's New" sections with generic "Key Features"
- Remove version numbers from section headers (v3.3.0, v3.4.0, etc.)
- Focus on capabilities, not version history
- CHANGELOG.md remains the source of truth for version changes

Verified:
- 63 QE skills installed
- 51 agents installed
- All 12 domains enabled
- MCP server starts with 31 tools
- CLI status command works

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

* fix(init): make --upgrade flag work standalone without --auto

Previously, `aqe init --upgrade` would fall through to runStandardInit()
which only initializes kernel/domains but never installs skills. The
--upgrade flag only had effect inside runModularInit() which required
--auto to be set.

Now --upgrade implies --auto, similar to how --auto-migrate does, so
`aqe init --upgrade` works as expected on existing projects.

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

* feat(cloud-sync): complete Phase 3 & 4 - embeddings and periodic sync

Phase 3 - Embedding Generation:
- Add SyncEmbeddingGenerator for pattern embeddings (384-dim)
- Generate embeddings using Xenova/all-MiniLM-L6-v2 model
- Implement vector similarity search with cosine similarity
- Add CLI script for embedding generation and search
- 67 patterns embedded (45 patterns + 22 sona_patterns)

Phase 4 - Periodic Sync:
- Add CloudSyncWorker background worker
- Default 1-hour interval (configurable via AQE_SYNC_INTERVAL)
- Enable with AQE_CLOUD_SYNC_ENABLED=true
- Graceful handling when gcloud CLI unavailable

Bug Fixes:
- Fix issue #226: Dynamic require of child_process error
- Use platform-based heuristics for global npm paths
- Exclude browser E2E tests from CI workflows

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

* chore: update benchmark reports and cleanup old reports

- Update coherence comparison and success rate benchmarks
- Remove stale benchmark reports from earlier dates
- Minor package.json and ADR doc updates

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

* feat(init): MCP daemon auto-start and ESM enum fixes

## MCP Daemon Auto-Start (10-workers.ts)
- Add auto-start functionality during `aqe init --auto`
- Spawn MCP daemon as detached background process
- Smart MCP command discovery (local bundle → global → npx fallback)
- Process health verification after startup (1.5s wait)
- Helpful error messages for missing dependencies
- Daemon script uses relative paths for portability

## ESM Enum Import Fix (agent-booster-wasm)
- Convert Language/MergeStrategy enums to const objects
- Fix tsx dev mode compatibility with static imports
- Add LanguageNames reverse lookup helper
- Works in tsx, node, and bundled environments

## Dynamic WASM Import (agent-booster/adapter.ts)
- Replace static import with lazy-loaded dynamic import
- Add loadWasmModule() for deferred loading
- Works around tsx's static import resolution quirks
- Local WasmLanguage const for type safety

## Init Phase Improvements
- 04-database.ts: Use UnifiedMemoryManager for full v3 schema
- 08-mcp.ts: Dual MCP config (.mcp.json + .claude/mcp.json)
- 10-workers.ts: All 11 workers with correct intervals

## Verified Working
- aqe init --auto: Completes in ~2s
- MCP daemon: Auto-starts and stays running
- Test generation: Full v3 stack (SONA, FlashAttention, DecisionTransformer)
- Database: 28 tables, v7 schema, persistence working
- All 12 DDD domains enabled

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

* fix(v3.4.5): MCP daemon startup and code intelligence KG persistence

- Add `aqe mcp` CLI command to start MCP protocol server
- Fix "error: unknown command 'mcp'" during `aqe init --auto`
- Fix code intelligence KG data loss by using SQLite instead of InMemoryBackend
- KG now persists to .agentic-qe/memory.db for QE agent semantic search
- Update daemon startup scripts with proper MCP command resolution

Fixes:
- MCP daemon fallback chain: aqe-mcp → bundled MCP → aqe mcp → npx
- Code intelligence pre-scan now persists to SQLite (was ephemeral)

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

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 14:02:48 +01:00
Dragan Spiridonov 3e74d6605c fix(v3.4.1): bundle missing dependencies and test timeouts (#220)
- Fixed issue #219: MCP bundle failing due to missing packages
- Changed build scripts from --packages=external to selective externalization
- Pure JS deps (fast-json-patch, jose, uuid) now bundled inline
- Native modules properly externalized (better-sqlite3, hnswlib-node, etc.)
- CommonJS modules with dynamic requires externalized (typescript, fast-glob, yaml, commander, cli-progress, ora)
- Bundle size reduced from ~15MB to ~5MB
- Added timeouts to handleQualityAssess tests to prevent CI failures
- Updated version to 3.4.1

Closes #219

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 21:44:41 +01:00
Profa d6ceea163c fix: add root-level preinstall script for migration detection
Detects and provides clear instructions for users upgrading from:
- @agentic-qe/v3 (alpha) → agentic-qe@latest
- agentic-qe v2 → agentic-qe@latest

Supports AQE_AUTO_MIGRATE=true for automatic uninstall/reinstall.

Fixes binary conflict errors (EEXIST) when upgrading.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 10:51:33 +00:00
Profa debddd6a83 chore(deps): remove 49 unused dependencies from root package.json
Major cleanup reducing production dependencies from 66 to 17:

REMOVED (not imported in v3/src):
- @anthropic-ai/sdk, @babel/*, @modelcontextprotocol/sdk
- @opentelemetry/* (12 packages)
- @ruvector/{core,nervous-system-wasm,ruvllm}, ruvector
- @supabase/supabase-js, agentdb, agentic-flow
- ajv, ajv-formats, axe-core, chokidar, cli-table3
- cors, dockerode, express, fs-extra, graphql
- inquirer, ioredis, openai, pg, playwright
- react-dom, tree-sitter-wasms, ts-morph
- web-tree-sitter, winston, ws

KEPT (actually used in v3/src):
- uuid, better-sqlite3, chalk, commander, typescript
- @faker-js/faker, @ruvector/{attention,gnn,sona}
- @xenova/transformers, hnswlib-node, fast-glob
- ora, cli-progress, secure-json-parse, yaml, vibium

Result: 882 fewer packages installed, faster npm install

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 10:34:34 +00:00
Profa f88f8ecb0e fix(ci): update package-lock.json for dependency sync
- Regenerated package-lock.json after moving @faker-js/faker to dependencies
- Fixes npm ci failure: "lock file's @faker-js/faker@10.1.0 does not satisfy @faker-js/faker@10.2.0"
- Bump version to 3.1.3

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 10:03:07 +00:00
Profa 1983681027 fix(deps): move @faker-js/faker to production dependencies for v3.1.2
- Move @faker-js/faker from devDependencies to dependencies
- This fixes "Cannot find package '@faker-js/faker'" error
- The test-generator service imports faker at runtime

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 10:00:20 +00:00
Profa 61ca10aa8d fix(deps): move typescript to production dependencies for v3.1.1
- Move typescript from devDependencies to dependencies in root package.json
- This fixes "Cannot find package 'typescript'" error after npm install
- Add docs/PUBLISH-STRUCTURE.md explaining the publishing setup
- Bump version to 3.1.1

The root package.json is what gets published to npm. All runtime
dependencies must be in its "dependencies" section, not devDependencies.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 09:48:42 +00:00
Profa f9b696b956 docs: update CHANGELOG.md with issue #197 fixes
- Added Critical CLI bugs section under Fixed
- Updated release date to 2026-01-22
- Documented version command fix (build-time injection)
- Documented test execute command fix (runTests method)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 08:21:49 +00:00
Profa ab712ee3ed chore(release): v3.1.0 - browser automation & quality criteria integration
Major features:
- @claude-flow/browser integration with parallel viewport testing (4x faster)
- 9 browser workflow templates (login, oauth, forms, visual regression, a11y)
- BrowserSecurityScanner with URL validation and PII detection
- security-visual-testing skill (skill count: 61)
- Quality Criteria E2E integration tests (18 E2E + 15 unit tests)
- QualityCriteriaService with HTSM v6.3 analysis
- SFDIPOT Assessment Validator script

Fixed:
- 21 GitHub Code Scanning vulnerabilities (ReDoS, SHA-1, sanitization)

Changed:
- V2 agents removed (available as V3 agents in v3/assets/)
- qe-test-idea-rewriter now requires validation step
- Version bump: 3.0.0-alpha → 3.1.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 20:33:50 +00:00
Profa 77aff73e37 feat(v3): complete Phase 4 stub replacement across all DDD domains
Replace ~70 stub implementations with real functional code:

Domains updated:
- chaos-resilience: SystemMetricsCollector, real rollback execution
- code-intelligence: TypeScript AST parser integration
- contract-testing: GraphQL/Protobuf validation, JSON Schema constraints
- defect-intelligence: Code complexity analysis with AST metrics
- security-compliance: CompliancePatternAnalyzer for data type scanning
- test-generation: Property-based test generators, coverage estimation
- visual-accessibility: Viewport coverage calculation, rule execution

New shared modules:
- embeddings: NomicEmbedder, OllamaClient, EmbeddingCache
- git: GitAnalyzer for history analysis
- http: HttpClient with circuit breaker and retry patterns
- io: FileReader for file operations
- metrics: SystemMetricsCollector, CodeMetrics
- parsers: TypeScriptParser using TS Compiler API
- security: CompliancePatternAnalyzer, OSVClient

Stub count reduced from ~70 to 5 (93% reduction)
All 1012 tests passing (915 unit + 97 integration)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 11:11:03 +00:00
Profa 252bb067d7 chore(release): bump version to v2.8.2
## Changes in v2.8.2

### Added
- Security Hardening Integration (Issue #146)
  - SP-1: Docker-based agent sandboxing with SandboxManager
  - SP-2: Pluggable embedding cache backends (Memory/Redis/SQLite)
  - SP-3: Opt-in network policy enforcement

### Fixed
- Network policies now opt-in (permissive by default)
- CodeQL security alerts (js/incomplete-sanitization)
- SandboxManager tests converted from vitest to jest

### Updated Files
- package.json (2.8.1 → 2.8.2)
- package-lock.json
- README.md version badge
- CHANGELOG.md
- src/mcp/server-instructions.ts
- src/core/memory/HNSWVectorMemory.ts

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 13:41:12 +00:00
Profa 3cb2e1e763 feat(v2.8.1): nervous system integration & Supabase cloud persistence
Major Features:
- Nervous System Integration: BTSP learning, HDC memory, circadian cycling,
  global workspace attention - all QE agents now benefit automatically
- Supabase Cloud Persistence: HybridPersistenceProvider with local-first
  storage and background cloud sync, full CLI commands (aqe supabase)
- Migration Support: Transfer local SQLite data to Supabase cloud

Changes:
- BaseAgent: Auto-initializes nervous system components
- Persistence: New IPersistenceProvider interface with adapters
- CLI: Added supabase subcommands (setup, test, status, sync, schema)
- Version bump to 2.8.1 across all files

Tests:
- 41 nervous system integration tests (all passing)
- BaseAgent.nervous-system.test.ts validates HDC, BTSP, workspace

Closes #188 (MCP tool handlers implemented in previous commit)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 18:08:38 +00:00
Profa e99d0dc72e chore(release): update changelog for v2.8.0 and gitignore intelligence files
CHANGELOG updates:
- Phase 4: P2P integration with real WebRTC data channels
- VS Code extension marketplace preparation
- Web Dashboard use cases and improvement plan docs
- Webapp standalone package.json infrastructure
- CLI fix: tsx instead of ts-node for ESM compatibility
- P2P connection bug fix

.gitignore:
- Add .ruvector/ and **/intelligence.json patterns
- Remove tracked intelligence.json files (local learning data)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 09:27:41 +00:00
Profa 7363bb1278 chore(release): bump version to v2.8.0
## @ruvector/edge Integration - Phases 0-3 Complete

### Phase 0: Browser Runtime
- WASM shims and browser compatibility
- BrowserAgent, BrowserHNSWAdapter, IndexedDBStorage
- Chrome DevTools panel

### Phase 1: VS Code Extension MVP
- Full extension with real-time analysis
- Inline test suggestions, coverage visualization
- Offline-first storage with sync

### Phase 2: P2P Foundation
- Ed25519 crypto, WebRTC connections
- SignalingServer, AgentSpawnAPI, EdgeServer
- Pattern sharing via data channels
- CRDT conflict resolution

### Phase 3: Web Dashboard
- React dashboard with dark theme
- P2P connection management UI
- QE Agent Launcher from browser
- React hooks (useP2P, usePatternSync, etc.)

### Documentation
- Edge Server Guide
- P2P Pattern Sharing Guide
- Updated CLI agent-commands

### Also includes
- Dead code cleanup (~22k lines)
- 143 new P2P integration tests
- Version updates across all files

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 13:42:48 +00:00
Profa 44ccaf3943 chore(release): bump version to v2.7.4
Updates version across all required files:
- package.json
- package-lock.json
- README.md
- CHANGELOG.md
- src/mcp/server-instructions.ts
- src/core/memory/HNSWVectorMemory.ts

Changes in v2.7.4:
- fix(db): Migration 008 fixes captured_experiences schema mismatch
- refactor(agents): Standardized logging with Logger utility (90→25 console calls)
- security: Migrated Math.random() to SecureRandom in GOAP planning

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 15:00:45 +00:00
Profa 1aa321691d feat(goap): Phase 5 & 6 - Plan Learning & Live Agent Execution
## Phase 5: Plan Learning
- PlanLearning: EMA-based action success rate tracking
- PlanSimilarity: Plan signature matching for reuse (<100ms)
- Q-Learning integration for GOAP action selection
- Database persistence for learning history

## Phase 6: Live Agent Execution
- Real agent spawning via AgentRegistry (not just dry-run)
- Output parsing for real-time world state updates
- Plan signature storage after successful execution
- Learning feedback loop integration

## New Files
- src/planning/PlanLearning.ts
- src/planning/PlanSimilarity.ts
- tests/integration/goap-live-execution.test.ts (17 tests)
- tests/integration/goap-phase5-real-integration.test.ts (15 tests)
- tests/integration/goap-plan-learning.test.ts (31 tests)

## Test Coverage
- 84 GOAP-related tests passing
- Output parsing methods verified
- Live vs dry-run code paths tested

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-30 11:45:42 +00:00
Profa cbad08791d chore(release): bump version to v2.7.2 with database migration system
### Added
- Database Migration System (src/persistence/migrations/)
  - MigrationRunner class for versioned schema migrations
  - 7 migrations covering all core tables
  - Version tracking in schema_migrations table
  - Helper functions: tableExists, columnExists, safeAddColumn, safeCreateIndex

- CLI Migrate Command (src/cli/commands/migrate/)
  - aqe migrate status - Show migration status
  - aqe migrate run - Run pending migrations
  - aqe migrate rollback - Rollback last migration
  - aqe migrate reset - Reset all migrations

### Changed
- Database initialization now runs migrations automatically during aqe init
- Schema consistency ensured across all installations

### Fixed
- Schema evolution issues from backup restoration
- Dream learning cycle now works with migrated data

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 20:47:37 +00:00
Profa d5514b2143 chore(release): bump version to v2.7.1 with type safety improvements
## Summary
- Reduced TypeScript `any` types from 568 to 538 (63% overall reduction from 1,470)
- Fixed all 146 TypeScript compilation errors
- Updated version to v2.7.1 across all 5 required files
- Added ErrorUtils utility for consistent error handling
- Updated GOAP plan with Phase 2 completion status

## Type Safety Improvements
- Added index signatures for SerializableValue compatibility
- Fixed memory retrieval type casts across 15+ agent files
- Added proper task payload typing in agent performTask methods
- Created shared error handling utilities

## Files Updated
- package.json, package-lock.json (version bump)
- README.md (version badge)
- CHANGELOG.md (release notes)
- src/mcp/server-instructions.ts (SERVER_VERSION)
- src/core/memory/HNSWVectorMemory.ts (version info)
- docs/plans/goap-issue-149-code-quality.md (progress tracking)
- 100+ source and test files (type safety fixes)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 08:00:00 +00:00
Profa 9339297b7f chore(release): bump version to v2.7.0
Version Updates:
- package.json: 2.6.6 → 2.7.0
- package-lock.json: updated
- README.md: version badge
- CHANGELOG.md: v2.7.0 release notes
- src/mcp/server-instructions.ts: SERVER_VERSION
- src/core/memory/HNSWVectorMemory.ts: implementation version

Release Highlights:
- Test Determinism: SeededRandom utility + timer test helpers
- Type Safety: 63.5% reduction in `any` types (1,800 → 656)
- 0 TypeScript errors
- 227 files improved

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 17:12:26 +00:00
Profa 8bb2ad1aee feat(v2.6.6): Web-Tree-Sitter migration, MinCut analysis, CriticalPathDetector
## Web-Tree-Sitter Migration (Phases 1-5)
- New WebTreeSitterParser replacing native tree-sitter bindings
- Eliminates npm install warnings about native compilation
- Updated all language extractors (TS, JS, Python, Go, Rust)

## MinCut Analysis Integration (Phases 1-6)
- New src/code-intelligence/analysis/mincut/ module
- MinCutAnalyzer: Stoer-Wagner algorithm for graph partitioning
- GraphAdapter: Code graph to MinCut format conversion
- CircularDependencyDetector: Dependency cycle detection
- ModuleCouplingAnalyzer: Module coupling analysis

## CriticalPathDetector for Coverage Analysis
- New src/coverage/CriticalPathDetector.ts
- Identifies structurally critical code paths using MinCut
- Prioritizes coverage gaps by criticality score
- Integrated with CoverageAnalyzerAgent

## Fleet Topology Management
- New src/fleet/topology/ module
- MinCut-based test file partitioning
- Integrated with test-execute-parallel MCP handler

## Other Changes
- MCP tool count corrected: 102 → 105 tools
- New CLI commands: aqe kg mincut, aqe kg circular
- 19 new tests for CriticalPathDetector

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-26 11:02:28 +00:00
Profa acb5973186 feat(providers): LLM Independence Phase 3-4 complete
## New Features

### LLM Providers
- GroqProvider: Free tier (14.4k req/day), streaming, rate limiting
- GitHubModelsProvider: Codespaces auto-detection, GITHUB_TOKEN auth

### Provider Health Monitoring
- ProviderHealthMonitor: Circuit breaker pattern (closed → half-open → open)
- QuotaManager: Per-provider quota tracking with daily/minute limits
- HybridRouterHealthIntegration: Health-aware routing with fallback

### CLI Commands
- `aqe providers status`: Health dashboard
- `aqe providers list`: List configured providers
- `aqe providers test`: Test provider connectivity
- `aqe providers switch`: Switch default provider
- `aqe providers quota`: Show quota usage

## Tests
- 144 new tests for Phase 3-4 components

## Documentation
- Updated README with Provider Health Monitoring section
- Updated CHANGELOG with v2.6.5 features
- Updated implementation plan to COMPLETE status

Closes #169

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 16:02:05 +00:00
Profa 72ebaba3d8 fix(deps): add missing fast-glob dependency
Add `fast-glob` as explicit dependency to fix "Cannot find module 'fast-glob'"
error when installing globally via `npm install -g agentic-qe`.

The module was used in ComponentBoundaryAnalyzer but only available as a
transitive dependency, which wasn't reliably installed during global npm installs.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-25 09:34:45 +00:00
Profa 0cb4f6fceb feat(release): v2.6.3 - C4 Model Architecture Diagrams
### Added
- C4 diagram builders for context, container, and component levels
- ProjectMetadataAnalyzer for system type inference from package.json/docker-compose
- ExternalSystemDetector for database, API, cache, and queue detection
- ComponentBoundaryAnalyzer for layer and relationship mapping
- CLI commands: `aqe kg c4-context`, `aqe kg c4-container`, `aqe kg c4-component`
- CodeIntelligenceAgent c4-diagrams capability
- 22 unit tests for C4 diagram builders

### Changed
- MermaidGenerator with static C4 generation methods
- Type consolidation in src/code-intelligence/inference/types.ts
- Standardized ComponentRelationship to use sourceId/targetId
- Updated qe-code-intelligence.md with C4 capabilities and examples

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-24 18:59:40 +00: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 7a5ff50e5d feat(release): v2.6.1 - Phase 3 B2 Plugin System
## Phase 3 B2: Extensible Plugin System (4,152 lines)

Core Components:
- Plugin Types (types.ts) - 612 lines of TypeScript interfaces
- Plugin Manager (PluginManager.ts) - 987 lines with real implementations:
  - Real hot-reload via fs.watch with debouncing
  - Real plugin loading via dynamic import()
  - Semver-based dependency resolution
  - Service registration and cross-plugin communication
- Base Plugin (BasePlugin.ts) - 189 lines foundation class

Reference Implementations:
- PlaywrightPlugin (539 lines) - E2E adapter with real spawn execution
- VitestPlugin (709 lines) - Unit test adapter with real coverage parsing
- McpToolsPlugin (637 lines) - Real MCP JSON-RPC client

Test Suite:
- 30 tests passing (PluginManager.test.ts - 395 lines)

## Phase 3 D1: Memory Pooling (committed in 0fd6fb60)

- 1750x speedup achieved (0.057ms vs 100ms target)
- AgentPool and QEAgentPoolFactory implementations

## Fixes

- Tree-sitter peer dependency warnings
- Fraudulent benchmarks replaced with honest measurements

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 09:23:13 +00:00
Profa c42c88b9d6 feat(release): v2.6.0 - Code Intelligence System & MCP Configuration
## Major Features

### Code Intelligence System v2.0
- Tree-sitter multi-language parser (TypeScript, Python, Go, Rust, JavaScript)
- Hybrid search engine (BM25 + semantic vector search with RRF fusion)
- Knowledge graph with relationship extraction
- RAG context builder with 70-80% token reduction
- CodeIntelligenceAgent for intelligent code queries
- Auto-injection into all QE agents via FleetManager

### MCP Configuration Fix
- Added `generateMcpJson()` to create `.claude/mcp.json` during `aqe init`
- Fixed learning persistence via `capture-task-learning.js` hook
- Added `agentic-qe` to `enabledMcpjsonServers`

## CLI Commands
- `aqe kg index <directory>` - Index codebase
- `aqe kg search <query>` - Semantic code search
- `aqe kg visualize <entity>` - Generate Mermaid diagrams
- `aqe code-intel setup/enable/status` - Configuration commands

## Bug Fixes
- Fixed TypeScript build errors in Code Intelligence files
- Fixed FormattedContext type mismatch in CodeIntelligenceAgent
- Fixed Mermaid direction type (TD → TB)
- Fixed autoIndex property type in code-intelligence-init

## Issues Closed
- #158 Code Intelligence System v2.0 (Epic)
- #161 Wave 3: AST-Based Chunking & Embeddings
- #162 Wave 4: Incremental Indexing Pipeline
- #163 Wave 5: Hybrid Search & LlamaIndex RAG
- #164 Wave 6: Agent Integration & CLI Commands

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-22 15:06:25 +00:00
Profa 73d4bfbe54 Merge branch 'main' into working-with-agents
Resolves conflicts between v2.5.9 (main) and v2.5.10 (working-with-agents):
- Combined CHANGELOG entries for both versions
- Kept v2.5.10 version numbers
- Merged BaseAgent changes (RuVector cache + QE Pattern Store)
- Accepted v2.5.9 agent migrations (CoverageAnalyzer, QualityGate)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 20:45:40 +00:00
Profa 1d5abe9aec chore(release): bump version to v2.5.10
Phase 0.5: RuVector Self-Learning Integration

Features:
- RuVectorPostgresAdapter: PostgreSQL vector database with GNN/LoRA/EWC++
- CLI commands: aqe ruvector status/metrics/learn/migrate/health
- Agent pattern store integration (FlakyTestHunter, SecurityScanner)
- Migration script for memory.db → RuVector patterns
- Validation tests for GOAP targets (7 tests)
- User documentation guide

GOAP Targets:
- Cache hit rate: >50%
- Search latency: <1ms (production)
- Pattern retention: >98% (EWC++ guaranteed)
- LoRA memory: <300MB

Changes:
- BaseAgent: Environment variable support for RuVector config
- aqe init: Shows optional RuVector enhancement info
- Security: crypto.randomUUID() instead of Math.random()
- Docker: Docker-in-Docker instead of host socket

Zero breaking changes - RuVector is opt-in (disabled by default)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-19 20:19:47 +00:00
Profa a25a1c2679 feat(agents): migrate CoverageAnalyzerAgent and QualityGateAgent to BaseAgent for RuVector integration
Phase 0.5: Universal RuVector Integration (v2.5.9)

## Agent Architecture Migration

- **CoverageAnalyzerAgent**: Migrated from EventEmitter to extend BaseAgent
  - Full RuVector integration with HybridRouter support
  - Implements abstract methods: initializeComponents(), performTask(), loadKnowledge(), cleanup()
  - New getCoverageStatus() method for agent-specific status
  - Configuration via CoverageAnalyzerConfig extending BaseAgentConfig

- **QualityGateAgent**: Migrated from EventEmitter to extend BaseAgent
  - Full RuVector integration with HybridRouter support
  - Implements abstract methods: initializeComponents(), performTask(), loadKnowledge(), cleanup()
  - New getQualityGateStatus() method for agent-specific status
  - Configuration via QualityGateConfig extending BaseAgentConfig

## RuVector Methods Now Available on All Agents

All QE agents now inherit these methods from BaseAgent:
- hasRuVectorCache() - Check if RuVector GNN cache is enabled
- getRuVectorMetrics() - Get GNN/LoRA/cache performance metrics
- getCacheHitRate() - Get cache hit rate (0-1)
- getRoutingStats() - Get routing decisions and latency statistics
- forceRuVectorLearn() - Trigger LoRA learning consolidation
- getCostSavingsReport() - Get cost savings from caching
- getLLMStats() - Get LLM provider status including RuVector

## Other Changes

- Updated QEAgentFactory to use new single-config constructor pattern
- Added 6 RuVector MCP tools for external integration
- Updated verification script - All 6 tests pass
- Added BaseAgent.RuVector.test.ts unit tests
- Added ruvector-agent-usage.ts example

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 14:58:07 +00:00
Profa 0f40bda3ef chore(release): bump version to v2.5.8
## Phase 0: LLM Independence Foundation

### M0.3: HNSW Pattern Store Integration
- HNSWPatternAdapter - Bridge between LearningEngine and HNSWPatternStore
- LearningEngine HNSW Integration - searchSimilarPatterns(), getHNSWStats()
- O(log n) similarity search for pattern matching

### M0.5: Federated Learning
- FederatedManager - Cross-agent pattern sharing with consensus
- Pattern synchronization across distributed agents

### M0.6: Pattern Curation
- PatternCurator - Manual curation workflow with approval/rejection
- RuvllmPatternCurator - RuvLLM integration for pattern quality assessment

### RuvllmProvider Enhancements
- Session Management (50% latency reduction)
- Batch API (4x throughput improvement)
- TRM/SONA integration for advanced reasoning
- LLMBaselineTracker for performance monitoring
- Error tracking in session metrics

### Documentation
- Complete agent learning system architecture documentation
- HNSW pattern store usage examples
- Phase 0 implementation guides

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-18 11:06:56 +00:00
Profa 60eb9609a1 chore(release): bump version to v2.5.7
## Changes
- Add 15 n8n workflow testing agents (contributed by @fndlalit)
- Add 5 n8n testing skills to QE skill patterns
- Update aqe init to copy n8n agent directory
- Update documentation with n8n agent reference
- Bump version in all required files

## Files Updated
- package.json, package-lock.json (version 2.5.7)
- README.md (version badge, n8n agents line, 46 skills)
- CHANGELOG.md (v2.5.7 section)
- CLAUDE.md (agent/skill counts)
- docs/reference/agents.md (n8n section)
- docs/reference/skills.md (n8n skills)
- src/cli/init/agents.ts (n8n directory copying)
- src/cli/init/skills.ts (n8n skill patterns)
- src/mcp/server-instructions.ts (SERVER_VERSION)
- src/core/memory/HNSWVectorMemory.ts (version)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 11:51:56 +00:00
Profa 762fcc61c4 chore(release): bump version to v2.5.6
## Changes in v2.5.6

### Changed
- BaseAgent decomposition (Issue #132 B1.2): 1,128 → 582 LOC (48% reduction)
- New utility modules: validation.ts, generators.ts, index.ts
- Strategy pattern implementations verified (8 strategies)

### Fixed
- Memory API sync/async mismatch with better-sqlite3 (Issue #65)
- Test stability improvements

### Added
- QE Fleet analysis reports (Issue #149):
  - complexity-analysis-report.md (62/100 quality score)
  - security-analysis-report.md (7.8/10 security score)
  - TEST_QUALITY_ANALYSIS_REPORT.md (72/100 test quality)

Version updated in:
- package.json
- package-lock.json
- README.md
- src/mcp/server-instructions.ts
- src/core/memory/HNSWVectorMemory.ts

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 12:11:38 +00:00
Profa 0a6c799d3c chore(release): bump version to v2.5.5
Closes #144 - RuvLLM/SONA Integration (all 4 phases)
Closes #39 - MCP handler test fixes

## Added
- SONALifecycleManager (717 lines, 72 tests)
  - Automatic lifecycle hooks: onAgentSpawn, onTaskComplete, cleanupAgent
  - Real-time experience capture from agent task completions
  - Integration with AgentRegistry for fleet-wide coordination

- InferenceCostTracker (679 lines, 30 tests)
  - Track local vs cloud inference costs in real-time
  - Support for multiple providers: ruvllm, anthropic, openrouter, openai, onnx
  - Cost savings analysis with multi-format reporting

- AdaptiveModelRouter local routing
  - Local model preference for routine tasks via RuvLLM
  - Fallback cascade: ruvllm → openrouter → anthropic

## Fixed
- Video Vision Analyzer multimodal analysis pipeline
- MCP Handler Tests (36 files stabilized)

## Testing
- 102 new tests (56 + 30 + 16)
- All new code tests passing
- Regression suite verified

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 20:57:15 +00:00
Profa 4efd1666ed chore(release): bump version to v2.5.4
Version files updated:
- package.json
- package-lock.json
- README.md (version badge)
- CHANGELOG.md (new release section)
- src/mcp/server-instructions.ts (SERVER_VERSION)
- src/core/memory/HNSWVectorMemory.ts (getImplementationInfo)

Mini release includes:
- Security Alert #41 fix (incomplete sanitization)
- Flaky test fix (test-execution.test.ts)

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 12:55:06 +00:00
Profa 181fb7ef4e fix(mcp): lazy load @axe-core/playwright to prevent server startup failure (#139)
## Problem
MCP server failed to start with error: Cannot find module '@axe-core/playwright'
This happened because @axe-core/playwright was in devDependencies but imported
at the top level of scan-comprehensive.ts.

## Solution
1. Changed @axe-core/playwright import to lazy/dynamic loading
2. Added optional dependencies prompt to `aqe init`:
   - Interactive: "Do you plan to use accessibility testing features?"
   - Non-interactive (-y): Skips optional deps for faster init
3. Clear error message when accessibility tools are used without dependency

## Changes
- src/mcp/tools/qe/accessibility/scan-comprehensive.ts: Lazy import
- src/cli/init/optional-dependencies.ts: New module for optional deps
- src/cli/init/index.ts: Integrated optional deps prompt
- src/types/index.ts: Added yes/nonInteractive to InitOptions

Closes #139

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 12:00:53 +00:00
Profa b95438fc2f chore(release): bump version to v2.5.2
## Fixed
- Issue #137: FleetManager MemoryManager type mismatch
  - FleetManager now uses SwarmMemoryManager instead of MemoryManager
  - Agents spawned by FleetManager now have learning features enabled
  - Added validateLearningConfig() for early warning
  - Added isSwarmMemoryManager() helper function
  - Added regression test

## Enhanced
- A11y-Ally Agent (PR #136, @fndlalit)
  - Bot detection bypass with realistic browser fingerprinting
  - Strict video analysis pipeline with validation checkpoints
  - Output folder standardization (.agentic-qe/a11y-scans/)
  - Executive summary template

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 10:49:32 +00:00
Profa 45f4bc1072 chore(release): bump version to v2.5.1
## Changes

### A11y-Ally Agent Enhancements (PR #135)
- Developer-focused output with copy-paste ready code fixes
- Claude Code Native Vision for zero-config video analysis
- Mandatory WebVTT caption and audio description generation
- Updated multi-provider video analysis cascade

### Fixes
- Agent count consistency (19 → 20) in usage.md, skills.md
- CLAUDE.md restored to full Agentic QE configuration
- Root file cleanup - moved aqe wrapper to scripts/aqe-wrapper

### Removed
- All brand-specific (Audi) references from examples

### Added
- Learning scheduler config and startup script
- Test video frames for accessibility testing
- .gitignore updates for CLAUDE.md.backup and /aqe

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-14 13:42:45 +00:00