Skip to content

Shore up squad init --sdk: unified SDK init quality gate #347

@bradygaster

Description

@bradygaster

SDK Init Shore-Up — Umbrella Issue

Consolidates: #337, #338, #339, #340, #341, #342

Problem

squad init --sdk produces incomplete squad state. Three critical gaps:

  1. Config ↔ team.md sync broken (SDK init: Adding team members doesn't update squad.config.ts #337) — Adding/removing members updates team.md but never touches squad.config.ts
  2. Built-in members missing (SDK init: Ralph (Work Monitor) missing from generated squad.config.ts #338, SDK init: @copilot routing configured without team.md roster entry #339) — Ralph and @copilot work in CLI squads but are invisible to SDK consumers
  3. CastingEngine bypassed (CLI casting bypasses CastingEngine template system #342) — CLI init uses raw LLM prompts, ignoring curated universe templates

Solution: 3-Phase Plan

Phase 1 — Fix the Gaps (P1, Small)

Phase 2 — Wire CastingEngine (P1, Medium)

Phase 3 — Exercise Test Matrix (P2, Large)

PRD & Analysis

  • Full PRD: .squad/identity/prd-sdk-init-shoreup.md
  • Technical Analysis: .squad/identity/sdk-init-technical-analysis.md
  • Implementation Roadmap: .squad/identity/sdk-init-implementation-roadmap.md

Open Design Questions

  1. AST vs regex for squad.config.ts mutations
  2. CastingEngine: augment LLM proposals (recommended) or replace entirely?
  3. Ralph charter: create one, or document as "built-in, no charter"?

Success Criteria

  • squad init --sdk generates config with all team members including Ralph and @copilot
  • Adding/removing members updates squad.config.ts automatically
  • CastingEngine templates used during init (not bypassed)
  • Test matrix at 90%+ verified features

Metadata

Metadata

Assignees

No one assigned

    Labels

    go:needs-researchNeeds investigationsquadSquad triage inbox — Lead will assign to a membersquad:fidoAssigned to FIDO (Quality Owner)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions