mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
fd2f37eaa0
Changes: - Fix README.md agent counts (48 QE agents = 41 main + 7 subagents) - Fix README.md skill counts (15 QE-specific skills) - Fix v3/README.md agent counts (47 → 48) - Fix init-wizard.ts hooks from 'npx @agentic-qe/v3' to 'npx agentic-qe' - Complete v2 → v2/ folder reorganization (54 items moved) - Update root package.json to point to v3 as main version Verified claims: - 48 QE agents (41 main + 7 TDD subagents) - 15 QE-specific skills - 12 DDD bounded contexts - ~5,600+ tests - HNSW, ReasoningBank, Queen Coordinator features exist Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
66 lines
1.8 KiB
JavaScript
66 lines
1.8 KiB
JavaScript
#!/usr/bin/env node
|
|
/**
|
|
* Test Orchestration Script - Debug real agent execution
|
|
*/
|
|
|
|
const { TaskOrchestrateHandler } = require('../dist/mcp/handlers/task-orchestrate');
|
|
const { AgentRegistry } = require('../dist/mcp/services/AgentRegistry');
|
|
const { HookExecutor } = require('../dist/mcp/services/HookExecutor');
|
|
|
|
async function main() {
|
|
console.log('='.repeat(60));
|
|
console.log('TEST ORCHESTRATION - DEBUG MODE');
|
|
console.log('='.repeat(60));
|
|
|
|
// Create dependencies
|
|
const registry = new AgentRegistry({ maxAgents: 20 });
|
|
const hookExecutor = new HookExecutor();
|
|
|
|
// Create handler
|
|
const handler = new TaskOrchestrateHandler(registry, hookExecutor);
|
|
|
|
console.log('\nStarting comprehensive-testing orchestration...\n');
|
|
|
|
try {
|
|
const result = await handler.handle({
|
|
task: {
|
|
type: 'comprehensive-testing',
|
|
priority: 'high',
|
|
strategy: 'sequential'
|
|
},
|
|
context: {
|
|
project: 'test',
|
|
environment: 'development'
|
|
}
|
|
});
|
|
|
|
console.log('\n' + '='.repeat(60));
|
|
console.log('ORCHESTRATION RESULT');
|
|
console.log('='.repeat(60));
|
|
console.log('Success:', result.success);
|
|
|
|
if (result.data) {
|
|
console.log('Steps completed:', result.data.progress?.completedSteps);
|
|
console.log('Total steps:', result.data.progress?.totalSteps);
|
|
|
|
console.log('\nStep Results:');
|
|
result.data.workflow?.forEach((step) => {
|
|
console.log(` - ${step.name}: ${step.status}`);
|
|
if (step.results) {
|
|
console.log(` Results: ${JSON.stringify(step.results).substring(0, 100)}...`);
|
|
}
|
|
});
|
|
}
|
|
|
|
} catch (error) {
|
|
console.error('Orchestration failed:', error);
|
|
}
|
|
|
|
// Give some time for async operations
|
|
await new Promise(resolve => setTimeout(resolve, 1000));
|
|
|
|
process.exit(0);
|
|
}
|
|
|
|
main();
|