test(daemon): multi-agent board — lifecycle, capability routing, contention #186
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/multi-agent-board-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Three end-to-end integration tests exercising the full multi-agent task board through the real Unix socket:
two_agents_claim_distinct_tasks_on_the_boardscheduler_routes_intake_tasks_by_capabilitypick_agentone_agent_handles_two_tasks_isolated_sessionsKey finding
Capabilities must be registered as a JSON array (
["freebsd"]), not an object ({"freebsd":true}).pick_agentdeserializesVec<String>, so the object form silently scores zero. The routing test uses array form and documents this.Supersedes PR #185
PR #185 had the single lifecycle test only. This branch adds the real capability-routing test (Phase 1b) plus the contention test (Phase 1c), with honest doc comments scoping each test.
Gate
cargo fmt --check— clean (applied 2 fmt fixes on top of original branch)cargo clippy --workspace --all-targets -- -D warnings— cleancargo test --workspace— 259 passed, 0 failed, 1 ignored (zot_rpc_smoke needs ZOT_BIN)Tested by Claude on domedog (Linux agent) — Rust 1.95.0.