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

22 lines 865 B
/** * Smoke tests — ADR-135 Track I: Causal failure-avoidance edges * * All I/O is mocked (no real filesystem or network calls). * * Tests: * 1. Record one failure → retrieve same-signature question → returns hint * 2. Record 3 failures → retrieve unrelated question → returns empty hint * 3. Same edge recorded twice → occurrenceCount=2, not duplicated * 4. File doesn't exist → graceful empty result on retrieve * 5. Corrupted JSONL line → skipped, doesn't crash * 6. maxEdgesPerSignature cap respected (no new edge after cap) * 7. Signature computation is deterministic (same input → same output) * 8. Correct answer trajectory → no edges recorded * * Usage: * npx tsx src/benchmarks/gaia-causal-memory.smoke.ts * * Refs: ADR-135, #2156 */ export {}; //# sourceMappingURL=gaia-causal-memory.smoke.d.ts.map