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
19 lines • 904 B
TypeScript
/**
* Smoke tests for the GAIA convergence layer (gaia-convergence.ts).
*
* 10 assertions covering:
* T1: max_turns hit → checkConvergenceTriggers returns 'max_turns'
* T2: same tool+args 3× in window → returns 'loop'
* T3: 120k tokens → returns 'token_overflow'
* T4: forceCommit with prose-embedded answer in history → extraction succeeds
* T5: forceCommit with explicit FINAL_ANSWER: X in response → returns X
* T6: forceCommit on truly empty/looping conversation → returns null (graceful)
* T7: argsHash deterministic — same args → same hash
* T8: argsHash distinguishes — different args → different hash
* T9: ConvergenceState records turn counts correctly via recordTurn
* T10: Anti-loop window correctly slides — only last 5 turns matter
*
* Refs: #2156, iter 62
*/
export {};
//# sourceMappingURL=gaia-convergence.smoke.d.ts.map