Repository navigation
Update CLI and scanner pins with 1ES-compatible Claude - #70999
Conversation
Apply #70799 with Claude Code 2.1.300, the newest stable version available through the Microsoft 1ES public npm feed, rather than unavailable 2.1.306. Update Copilot CLI to 1.0.101 with its authenticated release manifest pin and Zizmor to 1.31.1. Co-authored-by: Copilot App <[email protected]>
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
There was a problem hiding this comment.
Review summary
No actionable blocking issues found in the changed lines. The version, digest, scanner threshold, installer fallback, and related test/documentation updates are internally consistent. Review was static; tests were not executed.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · 1.4 AIC · ⌖ 0.541 AIC · ⊞ 1.6K
Comment /review to run again
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /codebase-design and /tdd per triage. This is a well-executed, low-risk version-pin update (Claude Code, Copilot CLI, Zizmor) with full test and shell-integrity coverage.
📋 Verification performed
- Cross-checked all version references (constants, compat.json, install scripts, docs, SHA256 pins) for consistency — no stale
1.0.98/1.30.1references found outside intentionally-preserved historical test fixtures and older pin entries kept for backward compatibility. - Ran targeted Go tests (
TestDefaultCLIMCPVersions,TestSpec_Constants_DockerImages,TestLocalScannerPathVersionSelection,TestLocalScannerCommandsAndDockerFallback,TestPrepareDockerImagesUsesLocalScanners,TestInstallCopilotCLIScriptMuslCacheRequiresReviewedManifest) — all pass. - Ran
actions/setup/sh/release_integrity_test.shdirectly — all 15 assertions pass, including the newv1.0.101manifest-pin case. - Confirmed
minZizmorVersionboundary test correctly flips1.31.0from true→false and adds1.31.1/1.32.0as true, matching the new threshold semantics (strict>=on the new minimum). - Docstring example in
version_constants.gowas updated in lockstep withDefaultCopilotVersion, avoiding silent doc drift — good attention to detail per/codebase-design.
Positive highlights
- ✅ Digest pinning preserved throughout (Zizmor OCI digest, Copilot SHA256SUMS manifest digest) — no weakening of supply-chain verification.
- ✅ Test coverage added proactively for the new default-version install path (
run_copilot --rootlesstest case), not just the explicit-version path. - ✅ PR description is transparent about scope constraints (1ES feed availability) and validation gaps (no end-to-end 1ES agent run), which is exactly the kind of honest disclosure
/grill-with-docslooks for.
No actionable issues found in the changed lines. Nothing to add inline.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · sonnet50 · 67.9 AIC · ⌖ 14.9 AIC · ⊞ 10.2K
Comment /matt to run again
There was a problem hiding this comment.
🟡 Changes recommended
The updated compatibility ceiling makes older published setup actions select an unpinned Copilot release and fail when no usable cache is available.
1 open issue
What changed in this PR
Updates gh-aw’s engine CLI defaults and security scanner pins, with Claude constrained by Microsoft 1ES feed availability.
Changes:
- Bump Claude Code to 2.1.300 and Copilot CLI to 1.0.101.
- Update Copilot’s compatibility ceiling, installer fallback, and authenticated manifest pin.
- Upgrade Zizmor to 1.31.1 and align scanner thresholds, tests, documentation, and release notes.
| File | Description |
|---|---|
pkg/constants/version_constants.go |
Updates CLI defaults. |
pkg/constants/version_constants_test.go |
Checks new CLI versions. |
pkg/constants/spec_test.go |
Updates the Copilot version expectation. |
pkg/cli/spec_test.go |
Checks the new Zizmor image pin. |
pkg/cli/scanner_local.go |
Raises the minimum local Zizmor version. |
pkg/cli/scanner_local_test.go |
Updates scanner boundary and fallback cases. |
pkg/cli/README.md |
Documents the new scanner image. |
pkg/cli/install_copilot_cli_test.go |
Updates Copilot installation fixtures. |
pkg/cli/docker_images.go |
Pins Zizmor 1.31.1 by digest. |
docs/src/content/docs/setup/cli.md |
Documents the local scanner threshold. |
docs/src/content/docs/reference/gh-aw-as-mcp-server.md |
Aligns MCP scanner guidance. |
docs/src/content/docs/reference/engines.md |
Updates Copilot version and checksum examples. |
docs/src/content/docs/reference/compilation-process.md |
Updates scanner compatibility documentation. |
docs/src/content/docs/engines/copilot.md |
Describes the upgraded Copilot release. |
actions/setup/sh/release_integrity.sh |
Adds the reviewed Copilot manifest pin. |
actions/setup/sh/release_integrity_test.sh |
Adds default-release integrity checks. |
actions/setup/sh/install_copilot_cli.sh |
Updates the fallback Copilot version. |
.github/aw/compat.json |
Raises the Copilot compatibility ceiling. |
.changeset/patch-cli-scanner-updates-2026-10-21.md |
Records the patch release changes. |
Review effort: Max
| "max-gh-aw": "*", | ||
| "min-agent": "1.0.21", | ||
| "max-agent": "1.0.98", | ||
| "max-agent": "1.0.101", |
|
🎉 This pull request is included in a new release. Release: |

Summary
Apply the updates from #70799, constrained by the requested Microsoft 1ES compatibility:
E404from the 1ES public npm feed; 2.1.300 is the newest stable version currently exposed by that feed.SHA256SUMS.txtpin. The new manifest digest was obtained from the authenticated GitHub release API and independently checked against the downloaded manifest using the repository's pin updater. Existing release pins remain supported.Refs #70799. Claude 2.1.306 remains deferred until it is available through 1ES. No registry configuration, TLS policy, credentials, or checksum verification was weakened.
1ES compatibility evidence
Validation
make buildandmake fmtpassed.pkg/constants,pkg/cli, andpkg/workflow, covering exact version pins, installer fallback/musl behavior, scanner thresholds, and Claude installation generation.make check-stale-compatpassed.make agent-report-progressgate was attempted: sampled Go tests, action shell lint, and schema freshness passed, but shared golangci-lint contention and pre-existing oversized functions indocker_images.goblocked the full gate. A separate changed-line lint attempt was stopped after waiting on the shared linter lock.