Repository navigation
Description
Goal
Prototype a gradual agentic Squad experience in which installing the gh-aw workflows leads to useful repository analysis without requiring the current slash-command choreography.
Development and testing must remain isolated from dev. Use the bradygaster-agentic-squad-pilot branch, based on dev. Existing workflows on dev must remain unchanged and usable.
Product rules
- This is experimental software; backwards compatibility is not required.
- Be brave, never careless.
- No goose chases: do not add work outside the goals in this issue without first surfacing it and receiving explicit approval.
- Labels describe machine-visible state.
- Slash commands express human intent and intervention.
- Native GitHub PR review and merge actions govern code acceptance.
- Every Squad-authored issue, comment, and PR must explain:
- what happens next automatically;
- what the user should do now;
- what the user can optionally do;
- how to stop or redirect the work;
- the current blocking state.
- Use multiple cohesive workflows rather than extending the existing monolithic dispatcher.
Staged delivery
Stage 1 — Automatic Cast
When the Squad workflow-installation PR reaches the target repository's default branch:
- Detect the installation using an explicit, stable bootstrap marker.
- Confirm no committed final Squad exists.
- Confirm no Cast PR is already open.
- Analyze repository code, manifests, architecture, tests, deployment configuration, open issues, and open PRs.
- Consult relevant current technical information where network policy permits.
- Generate an efficient, descriptively named, repository-specific Squad.
- Run the existing deterministic Cast validator.
- Open or update exactly one Cast PR.
- Stop for native human PR review and merge.
Cast acceptance criteria:
- Descriptive names only.
- Every role is justified by concrete repository evidence.
- Current-stack and relevant modern-stack expertise are represented.
- Open customer issues and PRs influence the roster.
- No redundant or generic filler roles.
- Repeated triggers are idempotent.
- The validator cannot be bypassed.
Stage 2 — Onboarding issue
When the Cast PR merges:
- Create or update exactly one issue titled
[Squad] Your repository team is ready. - Link the merged Cast PR and summarize the active roster.
- Explain which automatic stages are currently enabled.
- Explain that
[Research],[Triage],[Planning], and[Implementation Plan]issues may appear as those stages are enabled. - Explain that executable Work Items are not created until a human explicitly authorizes an Implementation Plan.
- Explain available intervention commands.
- Include the universal state-aware next-steps footer.
Re-casting must not create duplicate onboarding issues.
Stage 3 — Bounded automatic Research
Only begin after Stages 1–2 pass their evaluation gates.
- Support one repository-intake Research run after Cast merge.
- Support focused Research from a free-form Mission issue or
/squad research <topic>. - Initially leave daily scheduled Research disabled.
- Cap active Research at three open issues per repository.
- Count active Research using an automation-owned state label rather than title parsing.
- Deduplicate using a stable body marker, origin reference, and normalized topic identity.
- Allow zero new Research issues as a successful run.
- At the cap, scheduled discovery creates nothing; a human-requested Mission receives a visible waiting state.
- Do not maintain a hidden queue.
- Each Research issue executes automatically and ends with one outcome:
- proceed to Triage;
- more evidence required;
- dead end.
- For the first pilot, completed Research stops instead of automatically opening Triage.
Stage 4 — Optional automatic Triage
Enable only after automatic Research is consistently relevant, evidence-backed, bounded, and idempotent.
Triage may proceed, request more Research, merge with existing work, defer, reject, or close as already resolved. It must be able to terminate weak ideas without creating Planning work.
Human intervention commands
/squad activate [phase N]— approve an Implementation Plan and create Work Items./squad revise [phase] <feedback>— revise or redirect the current artifact./squad stop <reason>— terminate the current chain./squad status— report current phase, progress, and blockers./squad research <focus>— request focused or supplemental Research./squad implement— retry or resume a blocked Work Item.
Automatic Research, Triage, Planning, and Implementation Plan progression should require no commands unless Squad needs human information, access, evidence, authority, or a business decision.
Workflow boundaries
Prefer separate cohesive workflows for:
- Cast
- Onboarding
- Research discovery
- Research execution
- Triage
Do not add Planning, Implementation Plan activation, or implementation automation to the initial pilot.
Each workflow must have a narrow trigger, least-privilege permissions, bounded safe outputs, an idempotency contract, a visible failure state, and one documented handoff.
Pilot validation
Test from a commit-pinned feature-branch ref in a fresh disposable target repository. Do not use or modify @dev workflows.
Validate:
- The installation merge triggers exactly one Cast PR.
- Cast is repository-specific and passes deterministic validation.
- Re-triggering does not create duplicate Cast PRs.
- Cast merge creates exactly one onboarding issue.
- Re-casting does not duplicate onboarding.
- Research creates no more than three active issues.
- Research topics are concrete, evidence-backed, and non-duplicative.
- Research runs automatically.
- Dead ends terminate cleanly.
/squad revise,/squad status, and/squad stopwork as interventions.- No event invokes or changes the existing
devworkflow behavior.
Deferred
- Daily scheduled Research.
- Automatic Triage until Research is proven.
- Automatic Planning and Implementation Plan creation.
- Implementation Plan activation.
- Cross-repository work-item dispatch.
- Automatic implementation or merging.
These require separate approval after the preceding stages are validated.
Activity
Fix automatic Cast materialization gates
Close Cast naming bypass
Fix structural Cast role validation
Enforce evidence-derived Cast identities
fix(gh-aw): harden Stage 1 Cast evidence
fix(gh-aw): tighten Cast evidence spelling
fix(gh-aw): bound automatic Cast delivery
fix: preserve recast contracts
Recast repository with descriptive Squad specialists (#2030)
docs(gh-aw): document bootstrap refresh steps (#2009)
test(gh-aw): verify bootstrap validator integrity pin (#2009)
docs(gh-aw): keep upgrade installs coherent (#2009)
fix(gh-aw): chunk bootstrap payload transport (#2043)
bradygaster commentedon Sep 23, 2026
Closing as superseded — automatic Squad casting/onboarding/research shipped via a different path than originally scoped here:
workflows/squad-bootstrap.mdnow deterministically creates a Cast PR and research-proposals issue (PRs #1690, #2041, #2044), documented indocs/src/content/docs/guide/gh-aw.md:390-396. The pilot goal has been met.