aqe-v2-v3-migration
Migrate Agentic QE projects from v2 to v3 with zero data loss
от diegosouzapw★ 68 звёзд на GitHub
Установить aqe-v2-v3-migration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
AQE v2 to v3 Migration Skill
<default_to_action> When migrating from v2 to v3: 1. ANALYZE current v2 installation 2. BACKUP all data before any changes 3. MIGRATE configuration, memory, and patterns 4. VALIDATE migration success 5. PROVIDE rollback instructionsNever delete v2 data without explicit user confirmation. </default_to_action>
Quick Reference
Migration Command
# When v3 becomes main release, just update the package
npm install agentic-qe@latest
# Run migration
aqe migrate
# Or use this skill
/aqe-v2-v3-migration
What Gets Migrated
| Component | v2 Location | v3 Location | Auto-Migrate |
|---|---|---|---|
| Memory DB | .agentic-qe/memory.db |
.aqe/agentdb/ |
Yes |
| Config | .agentic-qe/config.json |
.aqe/config.json |
Yes |
| Patterns | .agentic-qe/patterns/ |
.aqe/reasoning-bank/ |
Yes |
| Cache | .agentic-qe/cache/ |
.aqe/cache/ |
Optional |
| Logs | .agentic-qe/logs/ |
.aqe/logs/ |
No (fresh start) |
Migration Checklist
Pre-Migration
- Verify v2 installation exists (
.agentic-qe/directory) - Check v2 version:
aqe --version(should be 2.x.x) - Backup current data:
npm run backup(in v2 project) - Note any custom configurations
- Document current test counts and coverage
During Migration
- Update to v3:
npm install agentic-qe@latest - Run migration:
aqe migrate - Review migration report
- Verify data transferred correctly
Post-Migration
- Run v3 tests:
aqe test - Check coverage:
aqe coverage - Verify patterns loaded:
aqe patterns list - Test MCP integration with Claude Code
Architecture Changes (v2 → v3)
From Monolithic to DDD
v2 Structure: v3 Structure:
├── src/mcp/tools/ ├── src/domains/
│ ├── test-*.ts (40+ tools) │ ├── test-generation/
│ └── ... │ ├── test-execution/
├── src/core/agents/ │ ├── coverage-analysis/
│ ├── mixed agents │ ├── quality-assessment/
│ └── ... │ ├── defect-intelligence/
└── src/core/memory/ │ ├── requirements-validation/
└── scattered impls │ ├── code-intelligence/
│ ├── security-compliance/
│ ├── contract-testing/
│ ├── visual-accessibility/
│ ├── chaos-resilience/
│ └── learning-optimization/
├── src/kernel/
│ ├── event-bus.ts
│ └── coordinator.ts
└── src/mcp/
└── domain-handlers.ts
Key API Changes
| v2 API | v3 API | Notes |
|---|---|---|
aqe init |
aqe init |
Different binary |
aqe.generateTests() |
testGeneration.generate() |
Domain-based |
aqe.analyzeGaps() |
coverageAnalysis.findGaps() |
O(log n) now |
memory.store() |
agentDB.store() |
HNSW-indexed |
patterns.learn() |
reasoningBank.record() |
With verdicts |
Configuration Migration
v2 Config Format
{
"version": "2.8.2",
"memory": {
"path": ".agentic-qe/memory.db",
"type": "sqlite"
},
"agents": {
"enabled": ["test-generator", "coverage-analyzer"]
}
}
v3 Config Format
{
"version": "3.0.0",
"kernel": {
"eventBus": "in-memory",
"coordinator": "queen"
},
"domains": {
"test-generation": { "enabled": true },
"test-execution": { "enabled": true },
"coverage-analysis": {
"enabled": true,
"algorithm": "hnsw",
"dimensions": 128
}
},
"memory": {
"backend": "agentdb",
"path": ".aqe/agentdb/",
"hnsw": {
"M": 16,
"efConstruction": 200
}
},
"learning": {
"reasoningBank": true,
"sona": true
}
}
Memory Migration
SQLite to AgentDB
// v2: Direct SQLite access
import Database from 'better-sqlite3';
const db = new Database('.agentic-qe/memory.db');
const patterns = db.prepare('SELECT * FROM patterns').all();
// v3: AgentDB with HNSW
import { AgentDB } from 'agentic-qe';
const db = new AgentDB('.aqe/agentdb/');
await db.initialize({ dimensions: 128, M: 16 });
// Migration script transfers and indexes
for (const pattern of v2Patterns) {
await db.store({
key: pattern.id,
value: pattern.data,
embedding: await generateEmbedding(pattern.data),
metadata: { migratedFrom: 'v2', originalId: pattern.id }
});
}
Breaking Changes
Must Update
Import Paths
// v2 import { AgenticQE } from 'agentic-qe'; // v3 (when v3 becomes main release, package name is still 'agentic-qe') import { TestGenerationDomain } from 'agentic-qe/domains';CLI Commands
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- metadata.json
FAQ
Что делает скилл aqe-v2-v3-migration?
Migrate Agentic QE projects from v2 to v3 with zero data loss
Как установить скилл aqe-v2-v3-migration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл aqe-v2-v3-migration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…