1111 when : " Every step: preflight identity/auth, requiring Issues, enabling Actions-created PRs, opening and watching the bootstrap PR."
1212 - name : " gh aw"
1313 description : " GitHub Agentic Workflows extension (github/gh-aw) — installs and strictly compiles the Squad workflow set."
14- when : " Installing the immutable native Squad package and compiling its seven workflows into deterministic .lock.yml files."
14+ when : " Installing the immutable native Squad package and compiling its eight workflows into deterministic .lock.yml files."
1515---
1616
1717## Context
@@ -146,7 +146,7 @@ gh aw add "bradygaster/squad/workflows@${SQUAD_SHA}"
146146
147147The nested ` workflows/aw.yml ` is the only supported distribution registration.
148148It isolates package auto-discovery from unrelated repository skills and agents,
149- and installs exactly seven workflows, fifteen runtime resources, and one
149+ and installs exactly eight workflows, seventeen runtime resources, and one
150150` gh-aw-enlistment ` skill at the same resolved revision:
151151
152152- ` squad.md ` + ` squad.lock.yml `
@@ -156,11 +156,12 @@ and installs exactly seven workflows, fifteen runtime resources, and one
156156- ` squad-retro.md ` + ` squad-retro.lock.yml `
157157- ` squad-improvement-worker.md ` + ` squad-improvement-worker.lock.yml `
158158- ` squad-bootstrap.md ` + ` squad-bootstrap.lock.yml `
159+ - ` squad-command-router.md ` + ` squad-command-router.lock.yml `
159160
160161` squad-improvement-worker ` is part of the standard, coherent install above —
161162not a separate opt-in add-on. It stays dormant until a maintainer approves a
162163governance-scoped retrospective proposal (see the gh-aw guide's retrospective
163- auto-implementation section); installing it alongside the other six keeps the
164+ auto-implementation section); installing it alongside the other seven keeps the
164165full stack consistent and avoids a second bootstrap pass later.
165166
166167Report/proposal-only is the default. Ordinary fixes require the explicit
@@ -220,7 +221,7 @@ node .github/workflows/shared/squad-install-verifier.mjs \
220221This must run after any first-install approval and before committing. Success
221222criteria:
222223
223- - All seven workflows compile successfully.
224+ - All eight workflows compile successfully.
224225- The ** only** permitted warning is the known ` squad.md ` bot-trigger warning: it
225226 configures both slash-command and ` github-actions[bot] ` triggers, and the bot
226227 trigger is required for controlled worker-continuation dispatches.
@@ -230,7 +231,7 @@ criteria:
230231### 6. Require the verifier to prove the complete consumer contract
231232
232233- ** STOP** if the verifier reports a missing source/lock pair, missing package
233- ownership record, stale source/resource digest, incomplete seven -workflow
234+ ownership record, stale source/resource digest, incomplete eight -workflow
234235 registration, or mixed revision.
235236- Use only the recovery commands printed by the verifier. They reinstall the
236237 complete package at one immutable revision; never repair one workflow or
@@ -258,6 +259,8 @@ Stage **only** the documented generated surfaces, then verify the staged set:
258259
259260``` bash
260261git add -- .gitattributes .github/aw/ .github/workflows/ .github/skills/
262+ node .github/workflows/shared/squad-install-verifier.mjs \
263+ --verify-staged-install --stage-ownership --source-revision " ${SQUAD_SHA} " || exit 1
261264git diff --cached --stat
262265# No deletions should be staged:
263266test -z " $( git diff --cached --diff-filter=D --name-only) " || { echo " STOP: staged deletions" ; exit 1; }
@@ -267,6 +270,15 @@ test -z "$(git diff --cached --diff-filter=D --name-only)" || { echo "STOP: stag
267270 edits to ** unrelated files** , or committed ** log/diagnostic output** . Re-scope with
268271 explicit ` git add -- <path> ` — never ` git add . ` , ` git add -A ` , or ` git commit -a ` .
269272
273+ Consumer rules such as ` packages/ ` can silently ignore the required ownership
274+ JSON under ` .github/aw/packages/ ` . The staged verifier force-adds only the exact
275+ native package ownership JSON when it is ignored and untracked. It then verifies
276+ every manifest-required source, lock, runtime, skill, manifest and ownership
277+ file against the validated working-tree bytes in a snapshot of the Git index.
278+ ** STOP before commit/push** on missing metadata, a staging failure, an omitted
279+ required file or a staged digest mismatch. Never force-add a directory or glob.
280+ Rerun this gate after changing or restaging any installation file.
281+
270282### 8. Commit, push, and open the bootstrap PR to the captured default branch
271283
272284``` bash
@@ -360,6 +372,8 @@ node .github/workflows/shared/squad-install-verifier.mjs \
360372 --verify-install --source-revision " ${SQUAD_SHA} " --strict-compile
361373
362374git add -- .gitattributes .github/aw/ .github/workflows/ .github/skills/
375+ node .github/workflows/shared/squad-install-verifier.mjs \
376+ --verify-staged-install --stage-ownership --source-revision " ${SQUAD_SHA} " || exit 1
363377git commit -m " ci: add Squad agentic workflow"
364378git push -u origin HEAD
365379gh pr create --base " ${default_branch} " \
0 commit comments