Skip to content

Commit 26f4010

Browse files
bradygasterCopilot
andcommitted
fix(gh-aw): require 0.89.22 for central ops
Closes octodemo/zava-social-cao-ops-20260929111840#18 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent c497c9c commit 26f4010

18 files changed

Lines changed: 74 additions & 68 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@bradygaster/squad-cli": patch
3+
"@bradygaster/squad-sdk": patch
4+
---
5+
6+
Require gh-aw v0.89.22 across the Squad workflow package, enlistment guidance, integrity contract, CI, and hosted E2E controller for central agentic ops compatibility.

‎.github/workflows/squad-ci.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ jobs:
173173
# than skipping — a skipped gate is indistinguishable from no gate. This
174174
# includes the shell input security contract gate (#1834) and the compile
175175
# contract (#1732).
176-
run: gh extension install --pin v0.89.21 github/gh-aw
176+
run: gh extension install --pin v0.89.22 github/gh-aw
177177
env:
178178
GH_TOKEN: ${{ github.token }}
179179
- name: Build
@@ -749,10 +749,10 @@ jobs:
749749
npm config set registry "https://packagefeedproxy.microsoft.io/npm/"
750750
npm ci --ignore-scripts
751751
752-
- name: Install gh-aw v0.89.21 (pinned)
752+
- name: Install gh-aw v0.89.22 (pinned)
753753
run: |
754-
gh extension install --force --pin v0.89.21 github/gh-aw
755-
test "$(gh aw --version 2>&1 | awk '{print $NF}')" = v0.89.21
754+
gh extension install --force --pin v0.89.22 github/gh-aw
755+
test "$(gh aw --version 2>&1 | awk '{print $NF}')" = v0.89.22
756756
env:
757757
GH_TOKEN: ${{ github.token }}
758758

‎.github/workflows/squad-gh-aw-hosted-e2e.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ jobs:
5050
env:
5151
GH_TOKEN: ${{ github.token }}
5252
run: |
53-
gh extension install --force --pin v0.89.21 github/gh-aw
54-
test "$(gh aw --version 2>&1 | awk '{print $NF}')" = v0.89.21
53+
gh extension install --force --pin v0.89.22 github/gh-aw
54+
test "$(gh aw --version 2>&1 | awk '{print $NF}')" = v0.89.22
5555
5656
- name: Verify trusted default-branch controller
5757
env:

‎.squad-templates/skills/gh-aw-enlistment/SKILL.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ default_branch="$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.n
6060
echo "Repo: ${owner_repo} Default branch: ${default_branch}"
6161

6262
# Install the package-capable compiler version used by the distribution contract
63-
gh extension install --force --pin v0.89.21 github/gh-aw
64-
test "$(gh aw --version | awk '{print $NF}')" = "v0.89.21"
63+
gh extension install --force --pin v0.89.22 github/gh-aw
64+
test "$(gh aw --version | awk '{print $NF}')" = "v0.89.22"
6565

6666
# Git state must be understood and clean enough to isolate the install
6767
git status --short
6868
```
6969

7070
> **Portability — compiler check:** use the equivalent PowerShell commands to
71-
> force-install `github/gh-aw` at `v0.89.21`, then confirm `gh aw --version`
71+
> force-install `github/gh-aw` at `v0.89.22`, then confirm `gh aw --version`
7272
> reports that exact version before installation.
7373
7474
- **STOP** if `gh auth status` is not logged in, or is logged in as the wrong
@@ -222,7 +222,7 @@ This must run after any first-install approval and before committing. Success
222222
criteria:
223223

224224
- All eight workflows compile successfully.
225-
- With gh-aw v0.89.21, require exactly two warnings, one occurrence of each
225+
- With gh-aw v0.89.22, require exactly two warnings, one occurrence of each
226226
exact diagnostic header below (including its workflow path):
227227

228228
<!-- compile-warning-allowlist-start -->

‎docs/src/content/docs/guide/gh-aw.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ set -euo pipefail
3131
gh auth status
3232
owner_repo="$(gh repo view --json nameWithOwner --jq '.nameWithOwner')"
3333
default_branch="$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name')"
34-
gh extension install --force --pin v0.89.21 github/gh-aw
35-
test "$(gh aw --version | awk '{print $NF}')" = "v0.89.21"
34+
gh extension install --force --pin v0.89.22 github/gh-aw
35+
test "$(gh aw --version | awk '{print $NF}')" = "v0.89.22"
3636

3737
# 2. Require GitHub Issues, then allow GitHub Actions to create pull requests
3838
issues_enabled="$(gh api "repos/${owner_repo}" --jq '.has_issues')"
@@ -341,7 +341,7 @@ gh aw compile --strict
341341
```
342342
343343
Run this exact command after any required first-install approval and before
344-
committing. With gh-aw v0.89.21, require exactly two warnings, one occurrence
344+
committing. With gh-aw v0.89.22, require exactly two warnings, one occurrence
345345
of each exact diagnostic header below (including its workflow path):
346346
347347
<!-- compile-warning-allowlist-start -->
@@ -1849,7 +1849,7 @@ prints the exact safe recovery commands.
18491849
18501850
The schema-v2 integrity manifest records two complete compiled lock digests per
18511851
workflow: `lock_sha256` for a per-workflow source annotation and
1852-
`package_lock_sha256` for a package-root annotation. gh-aw v0.89.21 emits
1852+
`package_lock_sha256` for a package-root annotation. gh-aw v0.89.22 emits
18531853
`bradygaster/squad/workflows@SHA` for direct package includes, but can emit
18541854
`bradygaster/squad/workflows/package/<workflow>.md@SHA` when installing dispatched
18551855
dependencies. Fresh and forced installs can therefore contain different mixtures.
@@ -1859,7 +1859,7 @@ URLs, action pins, permissions and runtime bytes remain integrity-checked.
18591859
No additional fields are removed during lock normalization.
18601860
18611861
Manifest generation and installation test fixtures seed isolated compiler action
1862-
locks with the immutable `setup` and `setup-cli` pins for gh-aw v0.89.21. Both
1862+
locks with the immutable `setup` and `setup-cli` pins for gh-aw v0.89.22. Both
18631863
source variants use the real strict compiler and validate its version and emitted
18641864
action pins. This avoids a second network resolution returning a mutable version
18651865
tag when credentials or the API are unavailable. Missing or altered pins fail

‎packages/squad-cli/templates/skills/gh-aw-enlistment/SKILL.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ default_branch="$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.n
6060
echo "Repo: ${owner_repo} Default branch: ${default_branch}"
6161

6262
# Install the package-capable compiler version used by the distribution contract
63-
gh extension install --force --pin v0.89.21 github/gh-aw
64-
test "$(gh aw --version | awk '{print $NF}')" = "v0.89.21"
63+
gh extension install --force --pin v0.89.22 github/gh-aw
64+
test "$(gh aw --version | awk '{print $NF}')" = "v0.89.22"
6565

6666
# Git state must be understood and clean enough to isolate the install
6767
git status --short
6868
```
6969

7070
> **Portability — compiler check:** use the equivalent PowerShell commands to
71-
> force-install `github/gh-aw` at `v0.89.21`, then confirm `gh aw --version`
71+
> force-install `github/gh-aw` at `v0.89.22`, then confirm `gh aw --version`
7272
> reports that exact version before installation.
7373
7474
- **STOP** if `gh auth status` is not logged in, or is logged in as the wrong
@@ -222,7 +222,7 @@ This must run after any first-install approval and before committing. Success
222222
criteria:
223223

224224
- All eight workflows compile successfully.
225-
- With gh-aw v0.89.21, require exactly two warnings, one occurrence of each
225+
- With gh-aw v0.89.22, require exactly two warnings, one occurrence of each
226226
exact diagnostic header below (including its workflow path):
227227

228228
<!-- compile-warning-allowlist-start -->

‎packages/squad-sdk/templates/skills/gh-aw-enlistment/SKILL.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ default_branch="$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.n
6060
echo "Repo: ${owner_repo} Default branch: ${default_branch}"
6161

6262
# Install the package-capable compiler version used by the distribution contract
63-
gh extension install --force --pin v0.89.21 github/gh-aw
64-
test "$(gh aw --version | awk '{print $NF}')" = "v0.89.21"
63+
gh extension install --force --pin v0.89.22 github/gh-aw
64+
test "$(gh aw --version | awk '{print $NF}')" = "v0.89.22"
6565

6666
# Git state must be understood and clean enough to isolate the install
6767
git status --short
6868
```
6969

7070
> **Portability — compiler check:** use the equivalent PowerShell commands to
71-
> force-install `github/gh-aw` at `v0.89.21`, then confirm `gh aw --version`
71+
> force-install `github/gh-aw` at `v0.89.22`, then confirm `gh aw --version`
7272
> reports that exact version before installation.
7373
7474
- **STOP** if `gh auth status` is not logged in, or is logged in as the wrong
@@ -222,7 +222,7 @@ This must run after any first-install approval and before committing. Success
222222
criteria:
223223

224224
- All eight workflows compile successfully.
225-
- With gh-aw v0.89.21, require exactly two warnings, one occurrence of each
225+
- With gh-aw v0.89.22, require exactly two warnings, one occurrence of each
226226
exact diagnostic header below (including its workflow path):
227227

228228
<!-- compile-warning-allowlist-start -->

‎templates/skills/gh-aw-enlistment/SKILL.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ default_branch="$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.n
6060
echo "Repo: ${owner_repo} Default branch: ${default_branch}"
6161

6262
# Install the package-capable compiler version used by the distribution contract
63-
gh extension install --force --pin v0.89.21 github/gh-aw
64-
test "$(gh aw --version | awk '{print $NF}')" = "v0.89.21"
63+
gh extension install --force --pin v0.89.22 github/gh-aw
64+
test "$(gh aw --version | awk '{print $NF}')" = "v0.89.22"
6565

6666
# Git state must be understood and clean enough to isolate the install
6767
git status --short
6868
```
6969

7070
> **Portability — compiler check:** use the equivalent PowerShell commands to
71-
> force-install `github/gh-aw` at `v0.89.21`, then confirm `gh aw --version`
71+
> force-install `github/gh-aw` at `v0.89.22`, then confirm `gh aw --version`
7272
> reports that exact version before installation.
7373
7474
- **STOP** if `gh auth status` is not logged in, or is logged in as the wrong
@@ -222,7 +222,7 @@ This must run after any first-install approval and before committing. Success
222222
criteria:
223223

224224
- All eight workflows compile successfully.
225-
- With gh-aw v0.89.21, require exactly two warnings, one occurrence of each
225+
- With gh-aw v0.89.22, require exactly two warnings, one occurrence of each
226226
exact diagnostic header below (including its workflow path):
227227

228228
<!-- compile-warning-allowlist-start -->

‎test/gh-aw-enlistment-skill.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ describe('gh-aw-enlistment skill', () => {
277277
});
278278

279279
it('pins and verifies the package-capable gh-aw compiler', () => {
280-
expect(content).toContain('gh extension install --force --pin v0.89.21 github/gh-aw');
280+
expect(content).toContain('gh extension install --force --pin v0.89.22 github/gh-aw');
281281
expect(content).toContain('gh aw --version');
282282
expect(content).toContain('PowerShell');
283283
});

‎test/gh-aw-quality.test.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3829,7 +3829,7 @@ describe('gh-aw: canonical package integrity contract', () => {
38293829
package: PACKAGE_NAME,
38303830
source: `${PACKAGE_NAME}@${revision}`,
38313831
resolvedCommit: revision,
3832-
installer: 'gh-aw v0.89.21 test',
3832+
installer: 'gh-aw v0.89.22 test',
38333833
files: owned,
38343834
}, null, 2)}\n`);
38353835
return root;
@@ -3961,8 +3961,8 @@ describe('gh-aw: canonical package integrity contract', () => {
39613961
expect(mutable).not.toContain(actionReference);
39623962
expect(createHash('sha256').update(normalizeCompiledLock(mutable, revisionA)).digest('hex'))
39633963
.toBe(sourceBinding === 'workflow'
3964-
? '8456d8129241269c107cdf4b16ae079e89a98ef944152df36f53ec0decf3f30d'
3965-
: 'bac4d8b90269d827fc9e626dd02c1b536bccde7105e9037971740054cda4c19b');
3964+
? '0914fadb4a0f37867840b9394c60f3cd40fb3072dd003518a17efb23718dd632'
3965+
: 'cac9dea1082405512f66b8efcdb14b554c71e5adc75da158ecc12a0458c7fe52');
39663966
expect(() => validateCompilerActionPins(mutable)).toThrow(/invalid immutable action pin/);
39673967
writeFileSync(lockPath, mutable);
39683968
expect(verifyInstall(root).failures.join('\n'))
@@ -4016,7 +4016,7 @@ describe('gh-aw: canonical package integrity contract', () => {
40164016
compile();
40174017
const unpinned = readText(lockPath);
40184018
expect(createHash('sha256').update(normalizeCompiledLock(unpinned, revisionA)).digest('hex'))
4019-
.toBe('bac4d8b90269d827fc9e626dd02c1b536bccde7105e9037971740054cda4c19b');
4019+
.toBe('cac9dea1082405512f66b8efcdb14b554c71e5adc75da158ecc12a0458c7fe52');
40204020
expect(verifyInstall(root).failures.join('\n')).toContain('Installed digest mismatch');
40214021

40224022
const seedPins = () => spawnSync(process.execPath, ['--input-type=module', '-e', seed!], {

0 commit comments

Comments
 (0)