Skip to content

[3486 by Claude Opus 5.5] Update the Claude Code and Codex CLIs, add Claude Fable 5.2 as the canonical fable model, and add GPT-6.1 Terra. - #3491

Merged
integry merged 2 commits into
mainfrom
3486/claude-opus-5-5-update-the-claude-code-an-20261112-1235-l09
Nov 12, 2026
Merged

integry merged 2 commits into
mainfrom
3486/claude-opus-5-5-update-the-claude-code-an-20261112-1235-l09

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3486

Branch: 3486/claude-opus-5-5-update-the-claude-code-an-20261112-1235-l09
Commits: ✅ Changes committed (3bd1267)


AI Processing Completed

Execution Details:

Summary:
I've bumped Claude Code to 2.1.322 and Codex to 0.167.2, made Claude Fable 5.2 the target of fable, added GPT-6.1 Terra, and deprecated Sonnet 4.5. Typecheck, lint and the related test suites pass, but I did not run the full server suite or build the Docker image.

Upstream checks. Every value in the issue matched its source:

  • npm: latest is 2.1.322 for Claude Code (stable is still 2.1.311) and 0.167.2 for Codex.
  • Anthropic docs: they confirm Fable 5.2's ID, 1M context, $8 / $40 pricing and 2.5% cache reads. Sonnet 4.5 retires on 2026-11-30. Fable 5.1 is active until at least 2027-09-01.
  • Claude Code binary: I installed 2.1.322, and it marks Fable 5.2 as natively 1M.
  • Codex catalog: Terra first appears in 0.165.0, with a 500K default window.
  • OpenRouter: the IDs, prices and context sizes match.

What changed

  • CLI versions: updated every file in the issue's touch list. The lockfile change is the same size as earlier bumps, and THIRD_PARTY_LICENSES.md passes its validator.
  • Fable 5.2: added as fable52 / llm-claude-fable52. fable and claude-fable now point to it; fable51 and claude-fable-5-1 still work. I also added its pricing and native-1M review window, and swapped fable51 for fable52 in the recommended model lists and the CLI help example.
  • Fable 5.1: now legacy. It moved down the catalog, and the UI folds it under "Show legacy models".
  • GPT-6.1 Terra: added as gpt61-terra / llm-codex-gpt61-terra (min Codex 0.165.0) with $1 / $5 pricing. Reviews use its 500K window. The PR commands doc said every Codex model gets 272K, so I corrected that.
  • Sonnet 4.5: the catalog had no way to retire a Claude model, so I added a small date-gated route in packages/shared/src/claudeCompatibility.ts. From 2026-11-30, a Claude run launched with Sonnet 4.5 uses claude-sonnet-5-5; before that it runs as selected. Labels and saved settings still show Sonnet 4.5 after that date; only the model Claude runs on changes. I kept it out of label lookup, which would have dropped the label for agents that list Sonnet 4.5 but not Sonnet 5.5. Opus 4.5 and Haiku 4.5 are unchanged.

Things to know

  • Daybreak test: the runtime tool-policy test failed on Codex 0.167.2 because Codex reworded its Daybreak error message. ProPR's daybreak=false override still works, so I updated the expected message. The test then passed 11/11 against the real 2.1.322 and 0.167.2 binaries.
  • Checksums: this repo has no qualification checksum files that pin package-lock.json, so there was nothing to regenerate.
  • test/modelAliases.test.ts: I ran a copy without its process.exit(0). The four Fable failures caused by the alias change are fixed. About 11 Antigravity/Vibe/OpenCode subtests fail both before and after my change; I didn't touch those.

Tests

  • Passing: model definitions, pricing, agent config, version service, native log policy and review context budget. Also npm run test:unit and the propr-ui vitest suite (337 files, 3113 tests). Typecheck is clean for shared, core, root, API, CLI and UI, and root, core and UI lint are clean.
  • New: test/claudeModelRetirement.test.ts covers the Sonnet 4.5 route. It fails when the route is removed. I also added a check that the default CLI versions match the Dockerfile.agent and scripts/build-images.sh pins.
  • Environment-only failures: two suites failed only because of this container's setup (a read-only /tmp/git-processor, and the demo-mode flag I'd set). Both passed when re-run with the right settings.

Previews: I captured two screenshots of the Agent Configuration panel. They show Fable 5.2 among the current models, Fable 5.1 and Sonnet 4.5 under legacy models, and GPT-6.1 Terra on the Codex agent.

Detailed Logs:

  • Conversation: 260 messages
  • Session: 4770bee9-a42a-43d8-97da-4014a074c977

Log files stored at:

  • conversation: /usr/src/app/logs/executions/issue-3486-2026-11-12T13-11-01-217Z-conversation.json
  • output: /usr/src/app/logs/executions/issue-3486-2026-11-12T13-11-01-217Z-output.txt
Latest Conversation Messages
ASSISTANT: [content unavailable]

ASSISTANT: I've bumped Claude Code to 2.1.322 and Codex to 0.167.2, made Claude Fable 5.2 the target of `fable`, added GPT-6.1 Terra, and deprecated Sonnet 4.5. Typecheck, lint and the related test suites pass, ...


This PR was created automatically by ProPR after processing issue #3486.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!


Visual preview

Agent Configuration: current models

Agent Configuration: current models

Claude agent lists Claude Fable 5.2 (fable52) among the current models with Fable 5.1 folded into legacy; the Codex agent lists the new GPT-6.1 Terra (gpt61-terra).

Connect sign-in required. Original retained until 2027-02-10T13:11:06.248Z.

View the full-resolution original in ProPR Connect

Agent Configuration: legacy models expanded

Agent Configuration: legacy models expanded

Expanding the Claude legacy models shows Claude Fable 5.1 and the deprecated Claude Sonnet 4.5.

Connect sign-in required. Original retained until 2027-02-10T13:11:07.506Z.

View the full-resolution original in ProPR Connect

…Fable 5.2 the target of `fable`, added GPT-6.1 Terra, and deprecated Sonnet 4.5. Typecheck, lint and the related test suites pass, but I did not run the full server suite or build the Docker image.

Upstream checks. Every value in the issue matched its source:
- npm: `latest` is 2.1.322 for Claude Code (`stable` is still 2.1.311) and 0.167.2 for Codex.
- Anthropic docs: they confirm Fable 5.2's ID, 1M context, $8 / $40 pricing and 2.5% cache reads. Sonnet 4.5 retires on 2026-11-30. Fable 5.1 is active until at least 2027-09-01.
- Claude Code binary: I installed 2.1.322, and it marks Fable 5.2 as natively 1M.
- Codex catalog: Terra first appears in 0.165.0, with a 500K default window.
- OpenRouter: the IDs, prices and context sizes match.

What changed
- CLI versions: updated every file in the issue's touch list. The lockfile change is the same size as earlier bumps, and `THIRD_PARTY_LICENSES.md` passes its validator.
- Fable 5.2: added as `fable52` / `llm-claude-fable52`. `fable` and `claude-fable` now point to it; `fable51` and `claude-fable-5-1` still work. I also added its pricing and native-1M review window, and swapped `fable51` for `fable52` in the recommended model lists and the CLI help example.
- Fable 5.1: now legacy. It moved down the catalog, and the UI folds it under "Show legacy models".
- GPT-6.1 Terra: added as `gpt61-terra` / `llm-codex-gpt61-terra` (min Codex 0.165.0) with $1 / $5 pricing. Reviews use its 500K window. The PR commands doc said every Codex model gets 272K, so I corrected that.
- Sonnet 4.5: the catalog had no way to retire a Claude model, so I added a small date-gated route in `packages/shared/src/claudeCompatibility.ts`. From 2026-11-30, a Claude run launched with Sonnet 4.5 uses `claude-sonnet-5-5`; before that it runs as selected. Labels and saved settings still show Sonnet 4.5 after that date; only the model Claude runs on changes. I kept it out of label lookup, which would have dropped the label for agents that list Sonnet 4.5 but not Sonnet 5.5. Opus 4.5 and Haiku 4.5 are unchanged.

Things to know
- Daybreak test: the runtime tool-policy test failed on Codex 0.167.2 because Codex reworded its Daybreak error message. ProPR's `daybreak=false` override still works, so I updated the expected message. The test then passed 11/11 against the real 2.1.322 and 0.167.2 binaries.
- Checksums: this repo has no qualification checksum files that pin `package-lock.json`, so there was nothing to regenerate.
- `test/modelAliases.test.ts`: I ran a copy without its `process.exit(0)`. The four Fable failures caused by the alias change are fixed. About 11 Antigravity/Vibe/OpenCode subtests fail both before and after my change; I didn't touch those.

Tests
- Passing: model definitions, pricing, agent config, version service, native log policy and review context budget. Also `npm run test:unit` and the propr-ui vitest suite (337 files, 3113 tests). Typecheck is clean for shared, core, root, API, CLI and UI, and root, core and UI lint are clean.
- New: `test/claudeModelRetirement.test.ts` covers the Sonnet 4.5 route. It fails when the route is removed. I also added a check that the default CLI versions match the `Dockerfile.agent` and `scripts/build-images.sh` pins.
- Environment-only failures: two suites failed only because of this container's setup (a read-only `/tmp/git-processor`, and the demo-mode flag I'd set). Both passed when re-run with the right settings.

Previews: I captured two screenshots of the Agent Configuration panel. They show Fable 5.2 among the current models, Fable 5.1 and Sonnet 4.5 under legacy models, and GPT-6.1 Terra on the Codex agent.
@integry

integry commented Nov 12, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev

propr-dev Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR updates CLI pins, makes Fable 5.2 canonical while preserving explicit legacy selections, and adds GPT-6.1 Terra. It needs a localized correction before merge: retirement routing can select a model unsupported by a user’s pinned CLI.

✅ Consistent version updates — Docker stages, build defaults, shared defaults, core defaults, and the Claude dependency lock agree.

✅ Legacy selections preserved — Explicit Fable 5.1 aliases remain intact, with tests covering alias resolution, saved defaults, and UI visibility.

✅ Focused regression coverage — Tests cover retirement-date boundaries and the new runtime context budgets. Current-head checks report 39 passed, none failed or pending.

The supplied issue description is truncated; assessment of its requirements is limited to the visible objective. This review uses static analysis of the supplied code; no commands were run.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F1: 🔴 Respect CLI compatibility when retiring models

  • Required behavior: A replacement model must be supported by the configured runtime. Automatic retirement routing must preserve the CLI compatibility requirements recorded in the model catalog.

  • Evidence: packages/core/src/agents/impl/utils/dockerArgsBuilder.ts:252 — currentClaudeModel(savedModelName); packages/shared/src/claudeCompatibility.ts:14 — Sonnet retirement mapping.

    1. A Claude agent uses an explicit CLI pin of 2.1.200 and a saved Sonnet 4.5 selection. The catalog gives Sonnet 4.5 no minimum version, while Sonnet 5.5 requires 2.1.284.
    2. On or after November 30, a task, native goal, or analysis run passes that saved selection to buildDockerArgs.
    3. The new mapping substitutes Sonnet 5.5 in --model, without changing or checking the configured CLI version.
    4. The run therefore launches a model outside its runtime’s declared supported versions instead of providing a compatible retirement transition.

    Explicit pins remain supported configuration: updateDefaultCliVersion updates only default-version agents, and the image-version matrix uses configured resolved versions. Bumping bundled defaults therefore does not protect this case. The new retirement tests inspect arguments but do not exercise an older pinned runtime. All three supplied Claude callers reach the same builder.

    static trace: the retirement substitution, catalog minimum version, configuration migration, image-version selection, and supplied task/goal/analysis callers establish the mismatch; no runtime test was executed.

  • Minimum fix: Validate the successor against the configured runtime before launching across all builder callers. If an explicit pin cannot support it, return a clear upgrade-required error rather than launching the unsupported model. Add a retirement-boundary regression using an older explicit pin.

Suggestions

These are optional follow-ups and are not sent to /fix.

No suggestions.

Score

The catalog, aliases, documentation, and tests are coordinated, and current checks pass. The automatic retirement transition still needs to respect explicit CLI pins before the PR is merge-ready.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 1m 12s
  • Tokens: 72,145 (71,034 in / 1,111 out)
  • Cost: $0.66

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F1

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor Author

🔀 Resolved merge conflicts from main into 3486/claude-opus-5-5-update-the-claude-code-an-20261112-1235-l09 in commit 7cb461f

Conflicting Files

  • CHANGELOG.md
  • Dockerfile.agent
  • packages/core/src/agents/version/types.ts
  • scripts/build-images.sh

Resolution Summary

I resolved the merge conflicts in all four files, and no conflict markers remain anywhere in the repo.

What clashed: the PR moves Claude Code from 2.1.316 to 2.1.322 and Codex from 0.166.0 to 0.167.2. Meanwhile main moved the Antigravity CLI from 1.4.0 to 1.5.6, with a new release ID (6212266538958848) and a new SHA-512. Both sides edited the same block of version pins, so git flagged every place those pins sit next to each other. The two changes don't actually overlap, so I kept both instead of picking one side.

File Conflict Resolution
Dockerfile.agent Both sides changed the ARG CLAUDE/CODEX/ANTIGRAVITY_CLI_VERSION lines in the final stage. CLAUDE_CLI_VERSION=2.1.322 and CODEX_CLI_VERSION=0.167.2 from the PR; ANTIGRAVITY_CLI_VERSION=1.5.6 from main.
packages/core/src/agents/version/types.ts Both sides changed AGENT_DEFAULT_VERSIONS. claude: '2.1.322' and codex: '0.167.2' from the PR; antigravity: '1.5.6' from main.
scripts/build-images.sh Both sides changed the config block of default versions. Claude and Codex from the PR. Version, release ID and SHA-512 for Antigravity all come from main. Mixing an old release ID with a new version would break the checksum check, so those three stay together.
CHANGELOG.md Under ### Changed, the PR added a "Bundled Claude Code 2.1.322 and Codex 0.167.2" entry plus a new ### Deprecated section for Sonnet 4.5. Main added a "Bundled Antigravity CLI 1.5.6" entry with sub-points. Both entries stay under ### Changed (the PR's first, then main's). The PR's ### Deprecated section follows, then ### Fixed.

This follows the PR's intent (the Claude and Codex bumps) and keeps main's Antigravity upgrade, which brings the print-timeout handling already merged on main. The PR's own packages/core/test/versionService.test.ts already expected this exact combination (Antigravity 1.5.6, Claude 2.1.322, Codex 0.167.2).

Checks run:

  • bash -n scripts/build-images.sh passes, and tsc --noEmit on packages/core printed no errors.
  • packages/core/test/versionService.test.ts: 8/8 pass.
  • test/agentDockerfileSupplyChain.test.ts and test/agentBundleContentFiles.test.ts pass.
  • test/agentRegistryManagedAgentPin.test.ts failed at first only because it needs Node's --experimental-test-module-mocks flag. With the flag it passes 9/9.
  • I did not run the full test suite or build the Docker image.

The remaining 1.4.0 mentions in the code are comments and docs about what that version changed, so I left them alone.


🤖 Resolution Details

  • Model: Claude Opus 5.5
  • Time: 3m 2s

View Task Execution


System-triggered merge conflict resolution

…he-claude-code-an-20261112-1235-l09

Automatically resolved merge conflicts after merging target branch into PR branch.
Resolved conflicts in:
- CHANGELOG.md
- Dockerfile.agent
- packages/core/src/agents/version/types.ts
- scripts/build-images.sh

PR: #3491
Model: Claude Opus 5.5
@integry

integry commented Nov 12, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev

propr-dev Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

Ready to merge within the visible scope. The PR consistently updates CLI pins, introduces the new models, and preserves explicit legacy selections. Current-head checks report 39 passed, none failed or pending.

✅ Consistent version updates — Docker stages, image labels, build defaults, shared defaults, and core defaults agree on the new CLI versions.

✅ Legacy selection preserved — Bare Fable aliases move to 5.2 while explicit 5.1 aliases and saved defaults remain intact, with regression coverage.

✅ Retirement boundary covered — Tests exercise Sonnet 4.5 immediately before and at retirement, including dated and undated IDs.

This is a static review of the supplied code; no commands were run. The linked issue description is explicitly truncated, so requirements beyond its visible portion could not be assessed.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Test retirement through complete callers

Add a retirement regression through ClaudeAgent.execute and analyze, covering reasoning selection and usage attribution alongside the launched model. The new substitution occurs inside dockerArgsBuilder.ts, while supplied callers continue passing the original model to other consumers. Existing tests establish correct CLI arguments; broader coverage would clarify the intended handling of requested versus executed model identities. This is optional coverage, since the supplied context does not establish a concrete downstream failure.

Score

The visible implementation is coherent, includes focused regression coverage, and has passing current-head checks. No merge-blocking defect was demonstrated.

Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 33s
  • Tokens: 72,425 (71,799 in / 626 out)
  • Cost: $0.64

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S1

🤖 Review by ProPR

@integry
integry merged commit c40d45c into main Nov 12, 2026
51 checks passed
@integry
integry deleted the 3486/claude-opus-5-5-update-the-claude-code-an-20261112-1235-l09 branch November 12, 2026 17:27
propr-dev Bot pushed a commit that referenced this pull request Nov 13, 2026
…(`agy`) to 1.5.8, and added Gemini 4 Hydrogen to the catalog. The affected tests pass, including the tool-policy test against the real 2.1.323 and 0.168.0 binaries (11 passed, none skipped). One thing needs your attention before merge: the 1.5.8 release notes don't list Hydrogen for `agy login` accounts, which is how ProPR signs in.

Hydrogen and `agy login`. `agy changelog` in the 1.5.8 binary says Hydrogen was added for Gemini API key (`GEMINI_API_KEY`), Application Default Credentials and enterprise gateway sign-ins. It doesn't mention `agy login`. Press coverage says Google AI Pro/Ultra subscribers get it, but I couldn't confirm that here because the model list for a signed-in account comes from Google's servers. The PR description should say this and list a pre-merge smoke test on a signed-in `agy login` account:
- `agy models` lists `gemini-4-hydrogen-low`, `-medium`, `-high` and `-xhigh`.
- A Hydrogen task run works at XHigh.
- Task and repository-inspection runs behave as before under the new Auto default.

The Agents and Models page also says this and tells users to remove Hydrogen from the agent if their account doesn't list it.

Version bumps
- I updated every place #3491 and #3488 touched: `Dockerfile.agent`, `scripts/build-images.sh`, `scripts/verify-antigravity-image.sh`, `AGENT_DEFAULTS`, `version/types.ts`, `package.json`, the root lockfile, `THIRD_PARTY_LICENSES.md`, docs, the CHANGELOG and tests. The Antigravity verifier fixture is renamed to `antigravity-verifier-pinned-1.5.8.json`.
- Antigravity 1.5.8 checks: I downloaded the tarball. Release ID `4602374149505024` and the SHA-512 match Google's linux_amd64 manifest, the archive holds a single `antigravity` entry, and `--version` prints `1.5.8`.
- Codex 0.168.0: its bundled `models.json` is byte-identical to 0.167.2's.
- Claude Code 2.1.323: its model catalog marks the same models as 1M-context as 2.1.322, so the context-window docs stay accurate.
- Auto default (1.5.7): every Antigravity launch passes either `--dangerously-skip-permissions` (tasks and goals) or `--sandbox --disable-slash-commands` (repository inspection), in `AntigravityAgent.ts:446`. That doesn't depend on the default mode.
- Checksums: this repo has no routing contract or qualification checksums to regenerate; nothing here pins the lockfile's hash. Those live in the propr-routing repo, so if its paired check fails on this lockfile change, the regeneration has to happen there.

Gemini 4 Hydrogen
- Catalog entry: `antigravity-gemini-4-hydrogen`, alias `hydrogen`, label `llm-antigravity-hydrogen`, 1M context, needs CLI 1.5.8. A test checks the label and alias are unique. It replaces nothing, and no label or legacy flag changed.
- XHigh: `reasoningLevels.ts` now gives Hydrogen `xhigh` as well as low/medium/high; the other Antigravity models are unchanged. The compatibility routes pick this up automatically, and xhigh launches as `gemini-4-hydrogen-xhigh`.
- Pricing: $1.50/M input, $7.50/M output and $0.075/M for cached reads, which matches OpenRouter today.
- Two fixes Hydrogen needed:
  - The CLI's display name is "Gemini 4 Hydrogen (XHigh)", but ProPR was building "(Xhigh)", so a run reported under that name wouldn't have matched the request. Fixed in `antigravityModelIds.ts`.
  - The per-model effort dropdown in Settings ignored the model, so it would have shown Hydrogen's XHigh as "unsupported". Fixed in `reasoningLevelOptions.ts` and `ModelSelector.tsx`.
- Docs: I kept the Gemini 4 Carbon note but corrected it. The 1.5.8 notes say Carbon is now also offered with a Gemini API key, not only Application Default Credentials. It's still unavailable under `agy login`, so it stays out of the catalog.

New tests cover the catalog entry, the compatibility routes and CLI model IDs, the display name, pricing, config validation (XHigh accepted only for Hydrogen) and the Settings dropdown. Typecheck and lint pass on the changed packages. I didn't build the Docker image (no Docker here).

I left Hydrogen out of the default model list in `scripts/integration-test-images.sh`, so the release integration run won't fail if `agy login` accounts don't get it. Add it once the smoke test passes.

I captured a preview of the Add Agent dialog showing the Hydrogen row with XHigh selected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the Claude Code and Codex CLIs, add Claude Fable 5.2 as the canonical fable model, and add GPT-6.1 Terra.

1 participant