Files
Profa 492902cd2f fix(persistence): unify database to memory.db, fix CLI data visibility (#118)
## Problem
Learning data, patterns, and Q-values were not being persisted correctly due to
database fragmentation across three separate files:
- .agentic-qe/memory.db (MCP writes)
- .agentic-qe/data/swarm-memory.db (CLI reads - wrong path)
- .agentic-qe/agentdb.db (created but never used)

## Solution
Unified ALL persistence to single database via SwarmMemoryManager singleton.

### Core Persistence Fixes
- CLI commands now use getSharedMemoryManager() instead of hardcoded paths
- learn status queries learning_experiences, patterns, q_values tables directly
- patterns list queries patterns table instead of memory_entries
- Removed agentDB default path from BaseAgent and agent factory
- database-init no longer creates separate agentdb.db
- Added queryRaw() method to SwarmMemoryManager for direct table queries

### New Self-Learning Features (Issue #118)
- HNSWVectorMemory: 35K ops/sec vector search with HNSW indexing
- ExplainableLearning: Natural language explanations for learning decisions
- GossipPatternSharingProtocol: Distributed pattern sharing across agents
- TransferLearningManager: Cross-domain knowledge transfer
- PerformanceOptimizer: Adaptive performance tuning
- PrivacyManager: GDPR/HIPAA compliant data handling
- MAMLMetaLearner: Model-Agnostic Meta-Learning
- HybridRouter: 80% local / 20% cloud routing with 63% cost savings
- LearningTelemetry: OpenTelemetry integration for observability

### CI/CD & Testing
- learning-integration.yml workflow for CI validation
- Comprehensive unit tests for new learning modules
- Performance benchmarks for learning operations
- Quality validation test suite

### Frontend
- learningApi.ts service for dashboard integration
- TypeScript types for learning data structures

### Documentation
- Sherlock investigation report for Issue #118

### Version
Updated to v2.2.1

Closes #118

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-07 16:03:44 +00:00
..

Regression Validation Reports

This directory contains comprehensive regression testing validation reports generated by the Regression Validation Specialist agent.

📋 Available Reports

1. Regression Dashboard

Purpose: Real-time monitoring dashboard for test suite stability
Contains:

  • Current status and safety score
  • Visual metrics and trends
  • Agent coordination status
  • Action items and escalation paths

Best for: Quick status checks and stakeholder updates


2. Regression Validation Report

Purpose: Detailed technical validation report
Contains:

  • Complete test execution metrics
  • Pass rate trends over time
  • Failure analysis by category
  • Readiness criteria assessment
  • Safety net score breakdown

Best for: Engineering team analysis and debugging


3. Executive Summary

Purpose: High-level executive briefing
Contains:

  • Critical findings and recommendations
  • GO/NO-GO decision with justification
  • Path to GO status with timeline
  • Resource requirements
  • Coordination data locations

Best for: Management decision-making and planning


🎯 Current Status Summary

Metric Value Status
Safety Score 4.61/100 🔴 POOR
Pass Rate 6.82% ❌ Below 70% target
Coverage 1.30% ❌ Below 15% target
Recommendation NO-GO ❌ Not ready for deployment

📊 Data Sources

All reports are generated from data stored in SwarmMemoryManager at:

  • Database: .swarm/memory.db
  • Partition: coordination
  • Memory keys: aqe/regression/*
  • Performance metrics: regression_*, safety_net_score

🔄 Update Frequency

  • Dashboard: Real-time (updated after each validation run)
  • Validation Report: After every 3 test runs
  • Executive Summary: On final validation or significant milestones

📞 Contact

Agent: Regression Validation Specialist
Role: Test suite stability monitoring and GO/NO-GO decisions
Coordination: AQE Hooks System (SwarmMemoryManager + EventBus)


🔗 Query Tools

View stored validation data:

# View final validation results
npx tsx scripts/query-aqe-memory.ts -k "aqe/regression/final-validation"

# Check stability trends
npx tsx scripts/query-aqe-memory.ts -k "aqe/regression/stability-trend"

# Monitor agent coordination
npx tsx scripts/query-aqe-memory.ts -k "aqe/regression/agent-monitoring"

# View all regression-related data
npx tsx scripts/query-aqe-memory.ts -p "aqe/regression"

Generated: 2025-10-17 | Validator: Regression Validation Specialist