UNPKG

claude-flow

Version:

Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration

21 lines 932 B
/** * Smoke tests for gaia-decomposer.ts (ADR-135 Track E) * * All HTTP calls are mocked — no live API calls, no cost. * Covers 7 assertions: * 1. Atomic question → decomposed=false, single sub-question = original * 2. 3-step question → decomposed=true, 3 sub-questions in dependency order * 3. Malformed JSON response → fallback to atomic (graceful degradation) * 4. API error → fallback to atomic (graceful degradation) * 5. synthesizeFromSubAnswers — atomic question returns sub-answer directly (no API call) * 6. synthesizeFromSubAnswers — valid JSON response → finalAnswer + reasoning * 7. synthesizeFromSubAnswers — malformed JSON → fallback to last sub-answer * * Run with: * npx tsx src/benchmarks/gaia-decomposer.smoke.ts * * Expected cost: $0 (all mocked). */ declare function runSmoke(): Promise<void>; export { runSmoke }; //# sourceMappingURL=gaia-decomposer.smoke.d.ts.map