Skip to content

Update CLI and scanner pins with 1ES-compatible Claude - #70999

Merged
pelikhan merged 1 commit into
mainfrom
pelikhan-special-winner
Oct 22, 2026
Merged

pelikhan merged 1 commit into
mainfrom
pelikhan-special-winner

Conversation

@pelikhan

Copy link
Copy Markdown
Collaborator

Summary

Apply the updates from #70799, constrained by the requested Microsoft 1ES compatibility:

  • Claude Code 2.1.296 → 2.1.300. The issue's requested 2.1.306 returns E404 from the 1ES public npm feed; 2.1.300 is the newest stable version currently exposed by that feed.
  • Copilot CLI 1.0.98 → 1.0.101, including the compatibility ceiling, installer fallback, and reviewed SHA256SUMS.txt pin. 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.
  • Zizmor 1.30.1 → 1.31.1, retaining digest pinning and updating the minimum compatible local scanner version, boundary tests, and documentation.

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

  • Exact wrapper packages and all 16 native platform package versions are available through the Microsoft 1ES public npm feed.
  • Downloaded integrity-checked wrapper packages and Linux x64/macOS arm64 payloads through 1ES using an isolated cache; verified Claude's postinstall and Copilot's dependency installation and startup on this macOS arm64 host.
  • Verified the Zizmor OCI digest against GHCR and confirmed Linux amd64/arm64 image support.
  • This is feed/payload and local startup verification, not an end-to-end run on a 1ES agent. Copilot's production installer continues to use authenticated GitHub release downloads; the scanner continues to use GHCR, so those hosts still require approved runner access.

Validation

  • make build and make fmt passed.
  • Targeted Go tests passed across pkg/constants, pkg/cli, and pkg/workflow, covering exact version pins, installer fallback/musl behavior, scanner thresholds, and Claude installation generation.
  • Release-integrity shell tests, all 27 offline release-pin authoring checks, and make check-stale-compat passed.
  • The required make agent-report-progress gate was attempted: sampled Go tests, action shell lint, and schema freshness passed, but shared golangci-lint contention and pre-existing oversized functions in docker_images.go blocked the full gate. A separate changed-line lint attempt was stopped after waiting on the shared linter lock.
  • Full workflow compilation succeeded for 346 workflows. The drift check reports generated lock differences; generated files were restored and not retained because no workflow markdown sources changed.

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]>
@pelikhan
pelikhan marked this pull request as ready for review October 22, 2026 02:16
Copilot AI max review requested due to automatic review settings October 22, 2026 02:17
@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

✅ 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: reported_no_action

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.

Generated from Design Decision Gate 🏗️ · opus55 · 11.3 AIC · ⌖ 36.5 AIC · ◇ 16 AIC · ⊞ 1.9K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

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.

Generated from Ponytail Reviewer · gpt56 · 7.3 AIC · ⌖ 5.33 AIC · ⊞ 14.8K · ◷

Generated by Ponytail Reviewer for #70999

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

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.

Generated from Test Quality Sentinel · haiku45 · 8.59 AIC · ⌖ 12.8 AIC · ◇ 2.5 AIC · ⊞ 9.2K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.1 references 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.sh directly — all 15 assertions pass, including the new v1.0.101 manifest-pin case.
  • Confirmed minZizmorVersion boundary test correctly flips 1.31.0 from true→false and adds 1.31.1/1.32.0 as true, matching the new threshold semantics (strict >= on the new minimum).
  • Docstring example in version_constants.go was updated in lockstep with DefaultCopilotVersion, 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 --rootless test 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-docs looks 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

@pelikhan
pelikhan merged commit 2b89b20 into main Oct 22, 2026
118 of 130 checks passed
@pelikhan
pelikhan deleted the pelikhan-special-winner branch October 22, 2026 02:32

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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

Comment thread .github/aw/compat.json
"max-gh-aw": "*",
"min-agent": "1.0.21",
"max-agent": "1.0.98",
"max-agent": "1.0.101",
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.93.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants