ai-devkit icon indicating copy to clipboard operation
ai-devkit copied to clipboard

e2e: cover agent send and group fanout

Open codeaholicguy opened this issue 2 months ago • 0 comments

Current coverage

No E2E invokes agent send or any agent group lifecycle command.

What is missing

  • agent send by exact and partial ID
  • Piped input and explicit --stdin
  • --wait, --timeout, and --json response contracts
  • Ambiguous/missing targets and provider delivery failures
  • Group create/update/add/remove-agent/remove/list/detail
  • agent send --group fanout 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.

codeaholicguy avatar Sep 09 '26 15:09 codeaholicguy