test(daemon): multi-agent board — register, claim, lifecycle #185

Closed
clawdie wants to merge 1 commit from test/multi-agent-board-test into main
Owner

Summary

End-to-end integration test that exercises the full multi-agent task board lifecycle through the real Unix socket:

  1. Register 2 agentssysadmin (freebsd cap), db-admin (postgres cap)
  2. Create 2 tasks — scrub zroot, vacuum db
  3. Each agent claims a distinct task — validates claim-task
  4. Transition both through started → done — validates transition-task
  5. Asserts task counts at each stage — queued=2, started=2, done=2, queued=0
  6. Cleans up temp dirs and shuts down

This validates the CLI surface from PR #138 (claim-task, transition-task) through the real socket path, not just unit tests.

Gate

  • cargo fmt --check — clean
  • cargo clippy --workspace --all-targets -- -D warnings — clean
  • cargo test --workspace257 passed, 0 failed, 1 ignored (zot_rpc_smoke needs ZOT_BIN)

Tested by Claude on domedog (Linux agent) — Rust 1.95.0.

## Summary End-to-end integration test that exercises the full multi-agent task board lifecycle through the real Unix socket: 1. **Register 2 agents** — `sysadmin` (freebsd cap), `db-admin` (postgres cap) 2. **Create 2 tasks** — scrub zroot, vacuum db 3. **Each agent claims a distinct task** — validates `claim-task` 4. **Transition both through started → done** — validates `transition-task` 5. **Asserts task counts at each stage** — queued=2, started=2, done=2, queued=0 6. **Cleans up** temp dirs and shuts down This validates the CLI surface from PR #138 (`claim-task`, `transition-task`) through the real socket path, not just unit tests. ## Gate - `cargo fmt --check` — clean - `cargo clippy --workspace --all-targets -- -D warnings` — clean - `cargo test --workspace` — **257 passed**, 0 failed, 1 ignored (zot_rpc_smoke needs ZOT_BIN) *Tested by Claude on domedog (Linux agent) — Rust 1.95.0.*
clawdie added 1 commit 2026-06-25 16:15:10 +02:00
test(daemon): multi-agent board — register, claim, lifecycle
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
CI / agent-jail-pkgs (pull_request) Has been cancelled
CI / port (pull_request) Has been cancelled
343eae87ce
Proves the coordination board handles two agents concurrently:
- Register agents with distinct capability sets
- Create tasks visible to both agents
- Each agent claims only their assigned task
- Tasks flow through the full lifecycle: queued→claimed→started→done
- Final state: both done, zero queued

Uses isolated daemon with temp paths — zero production impact.
clawdie closed this pull request 2026-06-25 16:43:48 +02:00
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
CI / agent-jail-pkgs (pull_request) Has been cancelled
CI / port (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: clawdie/colibri#185
No description provided.