Repository navigation
Closed
Labels
enhancementNew feature or improvementNew feature or improvementgo:needs-researchNeeds investigationNeeds investigationrelease:v0.8.22Release v0.8.22Release v0.8.22squadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a member
Description
Summary
The SDK-First mode documentation needs a comprehensive update to cover the full lifecycle: initialization, authoring, building, and migration. Current docs are spread across multiple files with gaps in the init-to-SDK and migrate-to-SDK paths.
What Needs Documenting
1. SDK-First Init Path (depends on #249)
- How to start a new project in SDK-First mode (squad init --sdk)
- What gets generated and why
- Relationship between squad.config.ts (source of truth) and .squad/ (generated output)
2. Migration Path (depends on #250)
- How to convert an existing markdown-only squad to SDK-First
- squad migrate --to sdk workflow
- What changes, what's preserved, how to validate
3. Builder API Reference
- All 8 builder functions with full type signatures and examples
- defineSquad, defineTeam, defineAgent, defineRouting, defineCeremony, defineHooks, defineCasting, defineTelemetry
- Common patterns and gotchas
4. Build Pipeline
- squad build command in detail
- squad build --check for CI validation
- Protected files (never overwritten)
- Config discovery order (squad/index.ts, squad.config.ts, squad.config.js)
5. Decision Tree
When to use which mode:
- New project, wants type safety -> squad init --sdk
- Existing squad, wants to upgrade -> squad migrate --to sdk
- Simple project, markdown is fine -> squad init (default)
Files to Update
- docs/sdk-first-mode.md - main SDK-First guide (already 705 lines, needs restructuring)
- docs/reference/sdk.md - API reference
- docs/reference/config.md - currently outdated, references old defineConfig()
- docs/get-started/migration.md - add SDK migration path
- README.md - add SDK-First quick start section
Acceptance Criteria
- Complete init-to-SDK documentation path
- Complete migrate-to-SDK documentation path
- Builder API reference with all 8 functions documented
- Build pipeline documentation (squad build, --check, --dry-run)
- Decision tree: which mode to choose
- docs/reference/config.md updated to current builder syntax
- All code examples are tested/verified
Deferred from v0.8.21. Blocked by #249 (init --sdk) and #250 (migrate command) for full coverage.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvementNew feature or improvementgo:needs-researchNeeds investigationNeeds investigationrelease:v0.8.22Release v0.8.22Release v0.8.22squadSquad triage inbox — Lead will assign to a memberSquad triage inbox — Lead will assign to a member
Activity
github-actions commentedon Mar 7, 2026
📋 Assigned to McManus (DevRel)
Issue: #251 — docs: comprehensive SDK-First mode documentation (init, migrate, build)
McManus will pick this up in the next Copilot session.
github-actions commentedon Mar 7, 2026
🏗️ Squad Triage — Keaton (Lead)
Issue: #251 — docs: comprehensive SDK-First mode documentation (init, migrate, build)
Assigned to: Hockney (Tester)
Reason: Issue relates to testing/quality work
@copilot evaluation: No strong capability match — routed to squad member.
Team roster:
squad:keatonsquad:verbalsquad:fenstersquad:hockneysquad:mcmanussquad:kujansquad:ediesquad:kobayashisquad:fortiersquad:rabinsquad:baersquad:redfootsquad:strauszsquad:saulsquad:kovashsquad:marquezsquad:cherittosquad:breedansquad:natesquad:waingrosquad:ralphsquad:copilotbradygaster commentedon Mar 7, 2026
✅ Implemented in commit 412ce58 on dev.
What shipped:
Coverage:
— McManus 📝
feat: SDK-first squads (#249, #250, #255) + docs (#251)
docs(ai-team): SDK-First implementation completed
feat: memory management + cross-platform terminal (github#249, github…