본문으로 건너뛰기
cccskills
무료GitHub에 공개

qe-aqe-v2-v3-migration

Migrate Agentic QE projects from v2 to v3 with zero data loss

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

proffesor-for-testing/agentic-qe스타 515(GitHub 515 + cccskills 0)

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md7.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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 instructions

Never 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

Componentv2 Locationv3 LocationAuto-Migrate
Memory DB.agentic-qe/memory.db.aqe/agentdb/Yes
Config.agentic-qe/config.json.aqe/config.jsonYes
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 APIv3 APINotes
aqe initaqe initDifferent 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

  1. 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';
    
  2. CLI Commands

    # v2
    aqe test --parallel
    
    # v3
    aqe test --workers=4 --topology=mesh
    
  3. MCP Server

    # v2
    claude mcp add aqe -- npx aqe-mcp
    
    # v3 (same CLI name, enhanced capabilities)
    claude mcp add aqe -- npx aqe mcp
    

Deprecated (Will Warn)

  • aqe.runTests() → Use domain-specific methods
  • Direct memory access → Use AgentDB API
  • Flat agent list → Use domain coordinators

Rollback Instructions

If migration fails or you need to revert:

# 1. v3 does NOT modify v2 data
# Your .agentic-qe/ folder is untouched

# 2. Downgrade to v2
npm install agentic-qe@2.x
rm -rf .aqe/

# 3. Continue using v2
aqe --version  # Should show 2.x.x

Agent Coordination Examples

Spawning Migration Agents

// Use Task tool to spawn migration agents in parallel
Task({
  prompt: "Analyze v2 memory.db and extract all patterns",
  subagent_type: "researcher",
  description: "Analyze v2 patterns"
});

Task({
  prompt: "Convert v2 config to v3 format",
  subagent_type: "coder",
  description: "Convert config"
});

Task({
  prompt: "Validate migration results",
  subagent_type: "tester",
  description: "Validate migration"
});

Troubleshooting

Common Issues

IssueCauseSolution
"Cannot find .agentic-qe/"No v2 installationRun aqe init first
"Memory migration failed"Corrupted SQLiteUse backup: npm run backup:restore
"HNSW index error"Dimension mismatchSet dimensions: 128 in config
"Pattern not found"Not migratedRe-run: aqe migrate --patterns

Debug Mode

# Run migration with debug output
DEBUG=aqe:migrate aqe migrate

# Check migration logs
cat .aqe/logs/migration.log

Support

  • Migration Issues: Open issue with [v2-v3-migration] tag
  • Documentation: Migration Guide
  • Discord: #v3-migration channel

Version Compatibility Matrix

v2 Versionv3 VersionMigration Support
2.8.x3.0.xFull
2.7.x3.0.xFull
2.6.x3.0.xPartial (config only)
2.5.x and below3.0.xManual migration

Skill Version: 1.0.0 | Last Updated: 2026-01-11

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

a11y-ally

무료

Use when running comprehensive WCAG accessibility audits with axe-core + pa11y + Lighthouse, generating context-aware remediation, or testing video accessibility. Supports 3-tier browser cascade with graceful degradation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

proffesor-for-testing/agentic-qe5152026년 10월 26일 업데이트

WCAG 2.2 compliance testing, screen reader validation, and inclusive design verification. Use when ensuring legal compliance (ADA, Section 508), testing for disabilities, or building accessible applications for 1 billion disabled users globally.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

proffesor-for-testing/agentic-qe5152026년 10월 26일 업데이트

Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems integration. Use when building distributed AI systems, multi-agent coordination, or advanced vector search applications.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

proffesor-for-testing/agentic-qe5152026년 10월 26일 업데이트

Create and train AI learning plugins with AgentDB's 9 reinforcement learning algorithms. Includes Decision Transformer, Q-Learning, SARSA, Actor-Critic, and more. Use when building self-learning agents, implementing RL, or optimizing agent behavior through experience.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

proffesor-for-testing/agentic-qe5152026년 10월 26일 업데이트

Implement persistent memory patterns for AI agents using AgentDB. Includes session memory, long-term storage, pattern learning, and context management. Use when building stateful agents, chat systems, or intelligent assistants.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

proffesor-for-testing/agentic-qe5152026년 10월 26일 업데이트

Optimize AgentDB performance with quantization (4-32x memory reduction), HNSW indexing (150x faster search), caching, and batch operations. Use when optimizing memory usage, improving search speed, or scaling to millions of vectors.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

proffesor-for-testing/agentic-qe5152026년 10월 26일 업데이트

proffesor-for-testing의 스킬 모두 보기

이 스킬의 문제 신고