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
Build discovery system for squads to find each other locally (file-based) and optionally on network (mDNS).
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 protocol)
Phase 1: Local Discovery (MVP)
Registry: File-based at ~/.squad/registry/active-squads.json
Operations:
- Register on squad serve
- Heartbeat every 30s
- Auto-cleanup stale entries (lastSeen >2 min OR PID dead)
- Query registry for discovery
Phase 2: Network Discovery (Optional)
- mDNS/Bonjour for LAN discovery
- DNS-SD for enterprise
- Service type: _squad._tcp.local.
- Opt-in via squad serve --network
Deliverables
- Registry manager (src/discovery/registry.ts)
- File-based storage with atomic writes
- Heartbeat mechanism
- Stale entry cleanup (cron job)
- mDNS integration (bonjour-service library)
- CLI: squad discover command
- Unit + integration tests
- Documentation
Technical Requirements
- File Locking: Prevent concurrent write corruption
- Performance: Scan registry <50ms for 100 squads
- Reliability: Handle crashed squads (PID check)
- Security: Per-user registry (~/.squad/), file permissions
Success Criteria
- Two squads auto-register on startup
- Stale squads removed within 2 minutes
- squad discover returns all active squads <1s
- Network discovery finds LAN squads <5s
Timeline
Phase 1: 2 weeks
Phase 2: 2 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
fix: P0 bugs from Phase 1 testing (github#351)
github-actions commentedon Mar 13, 2026
🏗️ Squad Triage — Flight (Lead)
Issue: #333 — [A2A] Discovery Mechanism (Local + Network)
Assigned to: FIDO (Quality Owner)
Reason: Issue relates to testing/quality work
@copilot evaluation: 🔴 Not suitable — issue involves work outside the coding agent's capability profile.
Team roster:
squad:flightsquad:proceduressquad:eecomsquad:fidosquad:paosquad:capcomsquad:controlsquad:surgeonsquad:boostersquad:gncsquad:networksquad:retrosquad:incosquad:guidosquad:telemetrysquad:voxsquad:dskysquad:simssquad:handbooksquad:ralphsquad:copilotgithub-actions commentedon Mar 13, 2026
📋 Assigned to Flight (Lead)
Issue: #333 — [A2A] Discovery Mechanism (Local + Network)
Flight will pick this up in the next Copilot session.
github-actions commentedon Mar 13, 2026
📋 Assigned to EECOM (Core Dev)
Issue: #333 — [A2A] Discovery Mechanism (Local + Network)
EECOM will pick this up in the next Copilot session.
diberry commentedon Mar 31, 2026
🔄 Ralph status: A2A — discovery mechanism. Part of #332-#336 suite. No PR. Long-term backlog.
bradygaster commentedon Apr 12, 2026
Part of the shelved A2A initiative. We want to be really deliberate about agent-to-agent discovery patterns when the time comes. Not pursuing short-term — may revisit in a future phase. Thanks @tamirdresher!