Repository navigation
[ca] chore: update Claude Code and Codex CLI pins - #75104
Conversation
|
✅ 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.
|
|
✅ 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.
|
|
🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅
|
|
✅ 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.
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
Comment MemoryPeek at saved memory (pr-code-quality-reviewer)Note This comment is managed by comment memory.Expand the saved memory block to view or edit the persistent context for this thread.
|
There was a problem hiding this comment.
The Codex pin update is blocked by the repository's explicit routing-contract gate: the JavaScript test still requires 0.165.0 and will fail at 0.166.0. Re-review the new Codex effort parser and update the reviewed version/test rationale together before merging.
Highlights
- Codex version bump requires the routing effort contract to be revalidated.
- No other actionable issues found in the changed lines.
🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~2 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again
|
|
||
| // DefaultCodexVersion is the default version of the OpenAI Codex CLI | ||
| const DefaultCodexVersion Version = "0.165.0" | ||
| const DefaultCodexVersion Version = "0.166.0" |
There was a problem hiding this comment.
This pin bump leaves the Codex routing contract test failing because awf_model_routing.test.cjs still requires DefaultCodexVersion to be 0.165.0, so the repository test suite cannot pass with 0.166.0.
💡 Update the reviewed routing contract with the pin
The JavaScript test intentionally gates every Codex version bump until mapAWFRoutingEffort is re-reviewed for the new CLI. Please validate the 0.166.0 effort parser, then update the reviewed version and related rationale in actions/setup/js/awf_model_routing.cjs and actions/setup/js/awf_model_routing.test.cjs together.
There was a problem hiding this comment.
🟡 Changes recommended
The pin change would leave a JavaScript contract test expecting 0.165.0 and public documentation stating the outdated default, so both must be updated before approval.
2 open issues
What changed in this PR
Updates the default Claude Code and Codex CLI pins to newer stable releases and synchronizes the corresponding Go version expectations.
Changes:
- Bumps Claude Code from
2.1.312to2.1.316. - Bumps Codex from
0.165.0to0.166.0. - Updates the default-version test expectations.
- Critical: The Codex routing-contract guard still requires review against
0.165.0and must be updated for0.166.0. - Nit: The Codex engine documentation still references
0.165.0and should be updated.
This pull request requires changes.
| File | Summary |
|---|---|
pkg/constants/version_constants.go |
Updates the default Claude Code and Codex CLI pins. |
pkg/constants/version_constants_test.go |
Verifies the updated default CLI versions. |
Review effort: Lite (auto)
|
|
||
| // DefaultCodexVersion is the default version of the OpenAI Codex CLI | ||
| const DefaultCodexVersion Version = "0.165.0" | ||
| const DefaultCodexVersion Version = "0.166.0" |
There was a problem hiding this comment.
Updated the Codex routing guard and rationale for 0.166.0 in ca3ae32. The release parser preserves all seven AWF routing-contract values; additional parser values remain outside the AWF contract.
|
|
||
| // DefaultCodexVersion is the default version of the OpenAI Codex CLI | ||
| const DefaultCodexVersion Version = "0.165.0" | ||
| const DefaultCodexVersion Version = "0.166.0" |
There was a problem hiding this comment.
Updated the public Codex default to 0.166.0 and regenerated the workflow locks in ca3ae32.
There was a problem hiding this comment.
Skills-Based Review 🧠
Applied /tdd and /diagnosing-bugs (regression-guard check). Requesting changes because the pin bump breaks an existing test.
📋 Key Themes & Highlights
Key Themes
- Failing guard test:
codex_routing_effort_contract_requires_pin_reviewinactions/setup/js/awf_model_routing.test.cjshard-codes Codex0.165.0. The pin is now0.166.0, so the JS suite fails until the routing effort review is redone and the test updated. - Stale docs/changelog:
docs/src/content/docs/reference/engines/codex.mdstill says the default pin is0.165.0. The Claude and Codex versions in.changeset/patch-cli-version-updates-2026-10-29.mdare also old, though changesets are typically added per release, so that one is optional. - Lock files: about 65
.lock.ymlfiles still embedclaude-code@2.1.312. The PR excludes them and saysmake recompilerestored them, so confirm the regenerated set is committed or intentionally left for the next recompile.
Positive Highlights
- ✅ Go pin test (
TestDefaultCLIMCPVersions) passes locally, and both constants and test expectations move together. - ✅ Version selection is well documented with cooldown and publication-date evidence.
Limits of this review
- Could not fetch upstream
openai/codexopenai_models.rsatrust-v0.166.0(API error and rate limit), so the Codex effort list was not re-verified against source. actions/setup/jshas nonode_modules, so the JS test was not run; the failure is shown by a direct comparison of the pinned value.
@copilot please address the review comments above.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~3 AIC · ⌖ ~1 AIC · ⊞ 5.4K
Comment /matt to run again
|
|
||
| // DefaultCodexVersion is the default version of the OpenAI Codex CLI | ||
| const DefaultCodexVersion Version = "0.165.0" | ||
| const DefaultCodexVersion Version = "0.166.0" |
There was a problem hiding this comment.
[/tdd] This pin bump breaks an existing guard. actions/setup/js/awf_model_routing.test.cjs (codex_routing_effort_contract_requires_pin_review) hard-codes reviewedCodexVersion = "0.165.0" and fails against 0.166.0. Re-review the Codex ReasoningEffort list in mapAWFRoutingEffort for 0.166.0, then update that list, its comment, and the test together.
💡 Where to look
actions/setup/js/awf_model_routing.cjsaround lines 90-93 (comment pins 0.165.0)actions/setup/js/awf_model_routing.test.cjsaround lines 208-211- Upstream:
openai/codextagrust-v0.166.0, filecodex-rs/protocol/src/openai_models.rs
@copilot please address this.
|
Copilot assignment requested for the following outstanding work:
Once you start work, post this work summary as a PR comment without the leading Copilot mention, including the Sous-chef head, work, and state lines below, to record that the assignment is running. Apply the necessary fixes on this PR's existing branch, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved; stop when only human review or CI remains. Do not merge or trigger CI. Sous-chef requested-head: 419044f
|
…-2026-11-05-dd1cd7ebc17ebd6a Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Work summary: merged the latest Sous-chef requested-head: 419044f |
|
@copilot resolve the merge conflicts in this pull request |
I checked the branch against the PR’s current |
|
This PR has conflicts with main that need to be resolved. Please update your branch: Sous-chef requested-state: fcc20976697864cbdd479db9cd900b117c7060d6853b77ec874bfdff1f294f58
|
…-2026-11-05-dd1cd7ebc17ebd6a # Conflicts: # .github/workflows/ab-testing-advisor.lock.yml # .github/workflows/ace-editor.lock.yml # .github/workflows/agent-job-health.lock.yml # .github/workflows/agent-persona-explorer.lock.yml # .github/workflows/agentic-token-trend-audit.lock.yml # .github/workflows/api-consumption-report.lock.yml # .github/workflows/approach-validator.lock.yml # .github/workflows/archivx-agentic-workflows-analyzer.lock.yml # .github/workflows/artifacts-summary.lock.yml # .github/workflows/audit-workflows.lock.yml # .github/workflows/auto-triage-issues.lock.yml # .github/workflows/aw-failure-investigator.lock.yml # .github/workflows/blog-auditor.lock.yml # .github/workflows/bot-detection.lock.yml # .github/workflows/changeset.lock.yml # .github/workflows/chaos-pr-bundle-fuzzer.lock.yml # .github/workflows/claude-code-user-docs-review.lock.yml # .github/workflows/cloclo.lock.yml # .github/workflows/codex-github-remote-mcp-test.lock.yml # .github/workflows/commit-changes-analyzer.lock.yml # .github/workflows/copilot-agent-analysis.lock.yml # .github/workflows/copilot-centralization-drilldown.lock.yml # .github/workflows/copilot-centralization-optimizer.lock.yml # .github/workflows/copilot-session-insights.lock.yml # .github/workflows/daily-agentrx-trace-optimizer.lock.yml # .github/workflows/daily-architecture-diagram.lock.yml # .github/workflows/daily-arxiv-researcher.lock.yml # .github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml # .github/workflows/daily-aw-cross-repo-compile-check.lock.yml # .github/workflows/daily-awf-spec-compiler-surfacing.lock.yml # .github/workflows/daily-byok-ollama-test.lock.yml # .github/workflows/daily-cache-strategy-analyzer.lock.yml # .github/workflows/daily-caveman-optimizer.lock.yml # .github/workflows/daily-choice-test.lock.yml # .github/workflows/daily-cli-performance.lock.yml # .github/workflows/daily-cli-tools-tester.lock.yml # .github/workflows/daily-doc-healer.lock.yml # .github/workflows/daily-doc-updater.lock.yml # .github/workflows/daily-documentation-diagram.lock.yml # .github/workflows/daily-elixir-credo-snippet-audit.lock.yml # .github/workflows/daily-evals-report.lock.yml # .github/workflows/daily-fact.lock.yml # .github/workflows/daily-go-test-parallelizer.lock.yml # .github/workflows/daily-grader-audit.lock.yml # .github/workflows/daily-harness-experiment-proposer.lock.yml # .github/workflows/daily-max-ai-credits-test.lock.yml # .github/workflows/daily-observability-report.lock.yml # .github/workflows/daily-regulatory.lock.yml # .github/workflows/daily-rendering-scripts-verifier.lock.yml # .github/workflows/daily-safe-output-optimizer.lock.yml # .github/workflows/daily-safe-outputs-conformance.lock.yml # .github/workflows/daily-safeoutputs-git-simulator.lock.yml # .github/workflows/daily-semgrep-scan.lock.yml # .github/workflows/daily-spending-forecast.lock.yml # .github/workflows/daily-storify.lock.yml # .github/workflows/daily-vulnhunter-scan.lock.yml # .github/workflows/daily-windows-defender-scan.lock.yml # .github/workflows/daily-windows-terminal-integration-builder.lock.yml # .github/workflows/daily-yamllint-fixer.lock.yml # .github/workflows/deep-report.lock.yml # .github/workflows/deepsec-security-scan.lock.yml # .github/workflows/dependabot-go-checker.lock.yml # .github/workflows/designer-drift-audit.lock.yml # .github/workflows/detection-analysis-report.lock.yml # .github/workflows/developer-docs-consolidator.lock.yml # .github/workflows/engine-conformance-claude.lock.yml # .github/workflows/engine-conformance-codex.lock.yml # .github/workflows/eslint-monster.lock.yml # .github/workflows/eslint-refiner.lock.yml # .github/workflows/example-failure-category-filter.lock.yml # .github/workflows/example-permissions-warning.lock.yml # .github/workflows/example-workflow-analyzer.lock.yml # .github/workflows/feature-grower.lock.yml # .github/workflows/front-page-copy-guard.lock.yml # .github/workflows/functional-pragmatist.lock.yml # .github/workflows/github-mcp-structural-analysis.lock.yml # .github/workflows/github-mcp-tools-report.lock.yml # .github/workflows/github-remote-mcp-auth-test.lock.yml # .github/workflows/go-fan.lock.yml # .github/workflows/go-logger.lock.yml # .github/workflows/go-pattern-detector.lock.yml # .github/workflows/gpclean.lock.yml # .github/workflows/grumpy-reviewer.lock.yml # .github/workflows/hourly-ci-cleaner.lock.yml # .github/workflows/instructions-janitor.lock.yml # .github/workflows/issue-arborist.lock.yml # .github/workflows/issue-triage-agent.lock.yml # .github/workflows/lint-monster.lock.yml # .github/workflows/lockfile-stats.lock.yml # .github/workflows/metrics-collector.lock.yml # .github/workflows/notion-issue-summary.lock.yml # .github/workflows/pdf-summary.lock.yml # .github/workflows/poem-bot.lock.yml # .github/workflows/ponytail-reviewer.lock.yml # .github/workflows/portfolio-analyst.lock.yml # .github/workflows/prompt-clustering-analysis.lock.yml # .github/workflows/purelock.lock.yml # .github/workflows/python-data-charts.lock.yml # .github/workflows/repo-audit-analyzer.lock.yml # .github/workflows/safe-output-health.lock.yml # .github/workflows/schema-consistency-checker.lock.yml # .github/workflows/schema-feature-coverage.lock.yml # .github/workflows/scout.lock.yml # .github/workflows/security-review.lock.yml # .github/workflows/semantic-function-refactor.lock.yml # .github/workflows/sergo.lock.yml # .github/workflows/sighthound-security-scan.lock.yml # .github/workflows/skillet.lock.yml # .github/workflows/smoke-agent-all-merged.lock.yml # .github/workflows/smoke-agent-all-none.lock.yml # .github/workflows/smoke-agent-public-approved.lock.yml # .github/workflows/smoke-agent-public-none.lock.yml # .github/workflows/smoke-agent-scoped-approved.lock.yml # .github/workflows/smoke-azure-codex.lock.yml # .github/workflows/smoke-call-workflow.lock.yml # .github/workflows/smoke-ci.lock.yml # .github/workflows/smoke-claude-auto.lock.yml # .github/workflows/smoke-claude-copilot-auto.lock.yml # .github/workflows/smoke-claude-copilot.lock.yml # .github/workflows/smoke-claude-dynamic.lock.yml # .github/workflows/smoke-claude-on-copilot.lock.yml # .github/workflows/smoke-claude-routed-anthropic.lock.yml # .github/workflows/smoke-claude-routed.lock.yml # .github/workflows/smoke-claude-sub-agents.lock.yml # .github/workflows/smoke-claude.lock.yml # .github/workflows/smoke-codex-auto.lock.yml # .github/workflows/smoke-codex-bare-auto.lock.yml # .github/workflows/smoke-codex-routed-openai.lock.yml # .github/workflows/smoke-codex-routed.lock.yml # .github/workflows/smoke-codex.lock.yml # .github/workflows/smoke-drive.lock.yml # .github/workflows/smoke-github-claude.lock.yml # .github/workflows/smoke-github-codex.lock.yml # .github/workflows/smoke-otel-backends.lock.yml # .github/workflows/smoke-workflow-call.lock.yml # .github/workflows/spec-enforcer.lock.yml # .github/workflows/static-analysis-report.lock.yml # .github/workflows/step-name-alignment.lock.yml # .github/workflows/typist.lock.yml # .github/workflows/update-astro.lock.yml # .github/workflows/windows-grower.lock.yml # .github/workflows/windows.lock.yml # .github/workflows/workflow-normalizer.lock.yml Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Merged latest |
|
Copilot assignment requested for the following outstanding work:
Once you start work, post this work summary as a PR comment without the leading Copilot mention, including the Sous-chef head, work, and state lines below, to record that the assignment is running. Apply the necessary fixes on this PR's existing branch, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved; stop when only human review or CI remains. Do not merge or trigger CI. Sous-chef requested-head: a920a4c
|
I’m checking and merging the latest |
|
@copilot resolve the merge conflicts on this branch. |
…-2026-11-05-dd1cd7ebc17ebd6a # Conflicts: # .github/workflows/issue-triage-agent.lock.yml Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
…-2026-11-05-dd1cd7ebc17ebd6a # Conflicts: # .github/workflows/daily-windows-defender-scan.lock.yml # .github/workflows/deep-report.lock.yml Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Merged latest |
|
🎉 This pull request is included in a new release. Release: |


Summary
Updates the default Claude Code and Codex CLI pins to the newest stable releases eligible under the global 72-hour cooldown. The corresponding version expectation test is updated.
Evidence and selection
Check time: 2026-11-05T05:27:09Z
Cooldown cutoff: 2026-11-02T05:27:09Z
codex queue --resume, andcodex doctor --network-only.Open pull-request search found no active PR covering these pin updates.
Other candidates
No other eligible change was selected: Pi 1.5.0, Playwright CLI 0.1.23, GitHub MCP Server v2.1.0, MCP Gateway v0.5.3/v0.5.4, Syft v1.56.0, Grype v0.121.1, Grant v0.7.0, and Zizmor v1.32.0 are within cooldown. Copilot CLI remains blocked because the reviewed SHA256SUMS.txt pin is unavailable. Poutine, Runner Guard, and Actionlint have no newer stable releases; the yamllint releases endpoint returned 404.
Validation
go test ./pkg/constants -run ^TestDefaultCLIMCPVersions$— passed.go test ./pkg/workflow -run Test(Claude|Codex)— passed.make recompile— passed in the foreground; generated lock changes were restored and are not included.make fmt— Go formatting passed; the JavaScript formatting step could not run becauseactions/setup/js/node_modules/.bin/prettieris missing.git diff --check— passed.Files
pkg/constants/version_constants.gopkg/constants/version_constants_test.go