muse-swarm Multi-Vendor AI Hive?
In one sentence: Give one prompt to the Queen, and she splits the task across a multi-vendor AI swarm (Claude, Codex, Gemini, Devin) picked by live quota — each worker codes in its own Git worktree without collisions, a different AI family independently verifies the commit, and any new Queen can seamlessly resume from the GitHub issue.
👑 QueenOrchestrator
Splits tasks, runs the quota routing formula, guards concurrency & lifeline, and logs state in one issue for handoff.
🐝 WorkerBuilder
Strong models across vendors (Claude, Codex, AGY) coding in isolated Git worktrees without overwriting each other.
🛡️ GuardVerifier
Enforces a different AI family to re-run tests and inspect the exact commit — never letting a model grade its own homework.
🔭 ScoutReviewer
On-demand read-only reviewer hunting design flaws and missing edge-case tests under the same cross-family rule.
Bottleneck Level min(5h, 7d)
Whichever tank is lower (5-hour or 7-day) sets the cap — never fooled by a full 5h bucket when weekly quota is almost dry.
Expiry Urgency ÷ max(h₅, 0.25)
Use-it-or-lose-it! Pools about to reset score higher so we burn expiring quota first and earn a fresh refill cycle.
Queen Shield × 0.15
The Queen's own AGY pool is scaled to 15% so external pools take the heavy load first, keeping the orchestrator alive.
resolve_family()🛡️ Cross-Family Merge Gate (verdict.py) Single Truth: route.resolve_family
📋 Component Ownership & Hard Thresholds Source-Verified
| Mechanism | Type | Hard Thresholds & Rules | Source |
|---|---|---|---|
| Burn-Pressure Score | 🟣 Math | min(r5h, r7d) / max(h5, 0.25); AGY scaled by 0.15; if 5h is missing, 7d divides by 24.0 |
route.py:280 |
| Cooldown & Fallback | 🟢 Router | Default 5h ≤ 5% or 7d ≤ 5% enters cooldown; unmetered devin = 0.5 ranks behind all metered pools |
route.py:24,34 |
| Queen Lifeline | 🟢 Safety | agy_gemini 5h ≤ 20% throttles; 5h ≤ 12% or 7d ≤ 8% triggers EXIT 3 handoff |
route.py:26,309 |
| Cross-Family Truth | 🟢 Gate | resolve_family() maps both claude and agy_claude to claude; guards must avoid every worker family in the round |
route.py:214 verdict.py:36 |
| Host Load Gate | 🔵 Ops | Checks real host CPU/RAM/IO before dispatch, caps concurrent heavy jobs at ≤ 4, fails loud if script is missing |
gate.py:8-37 |