Repository navigation
Closed as not planned
Labels
go:needs-researchNeeds investigationNeeds investigationpriority:p2Next sprintNext sprintshelvedParked — revisit when conditions changeParked — revisit when conditions changesquadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membertype:spikeResearch/investigation — produces a plan, not codeResearch/investigation — produces a plan, not code
Description
Overview
Extend Squad CLI with commands for cross-repo squad interaction: discover, connect, ask, delegate, broadcast.
Reference
- PRD: See tamresearch1 repo, branch squad/296-cross-repo-a2a, file .squad/research/cross-repo-a2a-prd.md
- Related Issue: tamirdresher_microsoft/tamresearch1#296
- Depends on: [A2A] Core A2A/ACP Protocol Implementation #332 (Core A2A), [A2A] Discovery Mechanism (Local + Network) #333 (Discovery)
New CLI Commands
squad serve
Start A2A server mode
- Flags: --port (default: auto), --network (opt-in), --registry (local|network)
- Behavior: Register in discovery, serve A2A endpoints, heartbeat loop
squad discover
List all discovered squads
- Output: Table with repo, port, status, capabilities
- Filter: --local, --network, --repo (pattern match)
squad connect [squad-name]
Establish connection to a squad
- Interactive: Select from discovered squads if name not provided
- Validation: Check health endpoint, test query
- Output: Connection details, available capabilities
squad ask [squad-name] [query]
Query another squad
- Examples: squad ask backend "API versioning strategy"
- Output: Decision documents, research, or response
- Flags: --format (text|json), --scope (architecture|security|...)
squad delegate [squad-name] [title]
Delegate a task to another squad
- Interactive prompt for description, priority
- Creates issue in target repo via A2A
- Output: Task ID, tracking link
squad broadcast [message]
Send message to all discovered squads
- Use cases: Breaking changes, security alerts
- Output: Delivery status per squad
- Flags: --scope (local|network)
squad health
Check health of squads
- Flags: --all (check all discovered), --squad (specific)
- Output: Status, latency, last seen
User Experience
- Zero-config for local discovery
- Intuitive command names
- Rich terminal output (colors, tables)
- Error messages with suggestions
- Progressive disclosure (simple → advanced)
Deliverables
- CLI command implementations (src/cli/a2a-commands.ts)
- Interactive prompts (inquirer.js)
- Terminal output formatting (chalk, cli-table)
- Help documentation for each command
- Man pages / --help text
- Example workflows
- Integration tests
Success Criteria
- All commands working end-to-end
- Help text clear and comprehensive
- Error handling graceful
- Performance: Commands respond <1s
- User testing: 5/5 users complete workflow without docs
Timeline
3 weeks
Metadata
Metadata
Assignees
Labels
go:needs-researchNeeds investigationNeeds investigationpriority:p2Next sprintNext sprintshelvedParked — revisit when conditions changeParked — revisit when conditions changesquadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a membertype:spikeResearch/investigation — produces a plan, not codeResearch/investigation — produces a plan, not code
Activity
chore(squad): Phase 2 Wave 1 merged, Wave 2 launched
fix: harden error handling across shell (github#354)
feat: rich progress indicators for agent work (github#357)
style: copy polish — human, fun, action-oriented (github#358)
feat: accessibility hardening and guidelines (github#359)
feat: terminal adaptivity 40-120 col range (github#360)
feat: breathtaking first-run wow moment (github#362)
test: E2E integration tests for REPL flow (github#379)
test: human journey E2E tests - 7 real user scenarios, 39 assertions (g…
Product Love: First 10 seconds that make you want the next 10 minutes (…
fix: correct ThinkingIndicator test assertion (github#415)
Fix github#422: Add context to thinking spinner (github#435)
Fix github#422: Add context to thinking spinner (github#436)
Fix github#420/github#425: Add SDK connection feedback (github#437)
Fix github#432: Show retry warnings earlier (github#441)
9 remaining items
github-actions commentedon Mar 13, 2026
📋 Assigned to Flight (Lead)
Issue: #334 — [A2A] CLI Integration (serve, discover, connect, ask, delegate)
Flight will pick this up in the next Copilot session.
github-actions commentedon Mar 13, 2026
📋 Assigned to EECOM (Core Dev)
Issue: #334 — [A2A] CLI Integration (serve, discover, connect, ask, delegate)
EECOM will pick this up in the next Copilot session.
diberry commentedon Mar 31, 2026
🔄 Ralph status: A2A — CLI integration. Part of #332-#336 suite. No PR. Long-term backlog.
bradygaster commentedon Apr 12, 2026
Part of the shelved A2A initiative. CLI integration for A2A needs careful design — we'll revisit when we're ready to tackle agent-to-agent communication deliberately. Thanks @tamirdresher!