ai-devkit
ai-devkit copied to clipboard
e2e: cover agent send and group fanout
Current coverage
No E2E invokes agent send or any agent group lifecycle command.
What is missing
agent sendby exact and partial ID- Piped input and explicit
--stdin --wait,--timeout, and--jsonresponse contracts- Ambiguous/missing targets and provider delivery failures
- Group create/update/add/remove-agent/remove/list/detail
agent send --groupfanout and partial failure reporting
Risk ranking
High, rank 3: cross-agent communication is a headline product promise and currently has no compiled-CLI round trip.
Recommended E2E tests
- [ ] Run a fake provider under tmux and verify send, piped stdin,
--wait --json, timeout, and exact received bytes. - [ ] Create/list/detail/update a group, send to two fake agents, remove members/group, and assert isolated global state.
Acceptance criteria
- [ ] The checklist tests are merged under
e2e/. - [ ] Tests prove exact byte delivery and stable JSON output.
- [ ] Fanout tests cover success, one-target failure, and missing group behavior.
Related audit findings
D5 motivates durable delivery and replay; C1 and D6 cover centralized adapters/capabilities used by send routing.