Skip to content

[3657 by Claude Opus 5.5] Bump three coding agent CLIs to their latest stable releases: Claude Code 2.1.325 → 2.1.326, Antigravity 1.5.9 → 1.5.10, OpenCode (opencode-ai) 1.19.5 → 1.19.6. Do NOT change Codex (stays 0.168.0, blocked on a project-trust decision), Mistral Vibe... - #3665

Merged
integry merged 2 commits into
mainfrom
3657/claude-opus-5-5-bump-three-coding-agent-c-20261117-0907-d24
Nov 17, 2026

Conversation

@propr-dev

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

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3657

Branch: 3657/claude-opus-5-5-bump-three-coding-agent-c-20261117-0907-d24
Commits: ✅ Changes committed (db5a691)


AI Processing Completed

Execution Details:

Summary:
The second waiter on the refusal probe was stopped at its background time limit. It had hung for the same reason as the monitor: its pgrep matched its own shell. The probe itself had already finished, so I'm not restarting either watch. Nothing changes from my summary above.

Review digest

Risk-tiered paths

  • High risk (2 files)
    • package-lock.json (+36/−36): lockfile
    • package.json (+1/−1): dependency manifest
  • Normal risk (6 files)
    • Dockerfile.agent (+8/−8)
    • packages/core/src/agents/version/types.ts (+3/−3)
    • packages/shared/src/modelDefinitions.ts (+8/−5)
    • packages/shared/src/reviewContextBudget.ts (+1/−1)
    • scripts/build-images.sh (+5/−5)
    • scripts/verify-antigravity-image.sh (+1/−1)
  • Low risk (16 files)
    • CHANGELOG.md (+27/−0)
    • THIRD_PARTY_LICENSES.md (+4/−4)
    • docs/docs/features/agents-and-models.md (+5/−0)
    • docs/docs/features/pr-commands.md (+1/−1)
    • docs/operations/managed-diagnostics.md (+2/−2)
    • docs/operations/native-provider-log-policy.md (+2/−2)
    • packages/core/test/nativeLogPolicy.test.ts (+2/−2)
    • packages/core/test/nativeLogPolicyLive.test.ts (+3/−3)
    • packages/core/test/versionService.test.ts (+2/−2)
    • test/agentVersionManagement.test.ts (+4/−4)
    • test/apiOpenCodeRoutes.test.ts (+1/−1)
    • test/fixtures/antigravity-verifier-pinned-1.5.10.json (renamed, +1/−1)
    • test/modelDefinitions.test.ts (+5/−2)
    • test/releaseImageFixtures.test.ts (+8/−8)
    • test/reviewContextBudget.test.ts (+1/−1)
    • test/sharedModelDefinitions.test.ts (+1/−1)

Validation evidence

  • No repository validation commands ran.

Diff size: 24 files changed, +132/−94 lines

Detailed Logs:

  • Conversation: 215 messages
  • Session: 8fa5b79c-ac89-4552-ab61-f5dc7466fba5

Log files stored at:

  • conversation: /usr/src/app/logs/executions/issue-3657-2026-11-17T09-51-33-860Z-conversation.json
  • output: /usr/src/app/logs/executions/issue-3657-2026-11-17T09-51-33-860Z-output.txt
Latest Conversation Messages
ASSISTANT: [content unavailable]

ASSISTANT: That monitor expiring doesn't change anything. The refusal probe had already finished, and its results are in the summary above. The watch never fired because its `pgrep` pattern also matched the moni...

ASSISTANT: The second waiter on the refusal probe was stopped at its background time limit. It had hung for the same reason as the monitor: its `pgrep` matched its own shell. The probe itself had already finishe...


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


💡 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!

…time limit. It had hung for the same reason as the monitor: its `pgrep` matched its own shell. The probe itself had already finished, so I'm not restarting either watch. Nothing changes from my summary above.
@integry

integry commented Nov 17, 2026

Copy link
Copy Markdown
Owner

This seems to be the issue with Codex:

Codex
No change. 0.169.0 is still the latest stable, and it would silently stop loading a repository's own .codex/config.toml in task runs until ProPR adds a trust entry for /home/node/workspace or passes --trust on non-exclusive runs.

This should be fixed otherwise we're effectively blocked from further Codex updates.

@propr-dev

propr-dev Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 13f20e2

Summary of Changes

I fixed it, so Codex can now be updated: on 0.169.0, task runs load the repository's .codex/config.toml and project MCP servers again. Codex itself stays on 0.168.0 in this PR, as the issue asked. The next bump is no longer blocked by trust.

What actually changed in 0.169.0. I ran both CLIs from a clean CODEX_HOME with ProPR's task arguments.

  • Up to 0.168.0, every codex exec --dangerously-bypass-approvals-and-sandbox run saved [projects."<cwd>"] trust_level = "trusted" into the mounted config.toml without being asked. That is why ProPR never needed a trust step.
  • 0.169.0 no longer does that. Untrusted, it ignores the project's model and MCP servers and prints a warning.
  • A -c projects…trust_level=… override has no effect. Only a saved entry or the new --trust flag works.
  • 0.168.0 rejects --trust as an unknown argument, so ProPR can't pass it unconditionally while the image still pins 0.168.0.

The fix:

  • scripts/codex-entrypoint.sh: when ProPR asks for trust, the entrypoint runs codex exec --help. If the installed CLI lists --trust, it adds the flag to codex exec. So the decision follows the binary actually in the image, including custom images. The check runs as node, because even --help writes helper files into CODEX_HOME, and as root those would be root-owned.
  • codexDockerArgsBuilder.ts: the builder always sets PROPR_CODEX_TRUST_WORKSPACE. It is 1 for normal task and goal runs. It is 0 for repository inspection and exclusive-MCP extension runs, which pass --ignore-user-config and must not load project config. It is set after the operator's envVars, so an operator setting can't turn trust on for inspection runs. That would stop Codex from starting, because --trust can't be combined with --ignore-user-config.
  • A workspace the operator has explicitly marked untrusted stays untrusted, since --trust respects that.

Verified through the real entrypoint block, from a clean home:

project model project MCP server trust saved
0.168.0, with the change (no flag added) loaded started yes
0.169.0, with the change loaded started yes
0.169.0, without the change default model not started no

New unit tests cover which runs ask for trust and when the entrypoint adds the flag. They and the other suites that build Codex args pass (about 300 tests), and the core typecheck and lint are clean.

Limitation: goal runs through codex app-server have no trust flag. They use the saved entry, which any task run now writes, the same as on 0.168.0. On a fresh install, a goal run before any task run would still ignore project config, exactly as it does today.

I also added a short section to docs/docs/architecture/agent-runtime.md and a changelog line under this PR's entry.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (2 files)
    • packages/core/src/agents/impl/utils/codexDockerArgsBuilder.ts (+14/−0)
    • scripts/codex-entrypoint.sh (+23/−0)
  • Low risk (4 files)
    • CHANGELOG.md (+8/−0)
    • docs/docs/architecture/agent-runtime.md (+2/−0)
    • test/agentToolPolicy.test.ts (+11/−0)
    • test/agentToolPolicyRuntime.test.ts (+29/−0)

Validation evidence

  • No repository validation commands ran.

Diff size: 6 files changed, +87/−0 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @integry
  • Time: 20m 53s
  • Tokens: 3,849,080 (3,820,090 in / 28,990 out)
  • Cost: $1.79
  • Subscription usage: Weekly +1%, Fable +1%

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6944876504✓

…uns load the repository's `.codex/config.toml` and project MCP servers again. Codex itself stays on 0.168.0 in this PR, as the issue asked. The next bump is no longer blocked by trust.

I fixed it, so Codex can now be updated: on 0.169.0, task runs load the repository's `.codex/config.toml` and project MCP servers again. Codex itself stays on 0.168.0 in this PR, as the issue asked. The next bump is no longer blocked by trust.

**What actually changed in 0.169.0.** I ran both CLIs from a clean `CODEX_HOME` with ProPR's task arguments.
- Up to 0.168.0, every `codex exec --dangerously-bypass-approvals-and-sandbox` run saved `[projects."<cwd>"] trust_level = "trusted"` into the mounted `config.toml` without being asked. That is why ProPR never needed a trust step.
- 0.169.0 no longer does that. Untrusted, it ignores the project's model and MCP servers and prints a warning.
- A `-c projects…trust_level=…` override has no effect. Only a saved entry or the new `--trust` flag works.
- 0.168.0 rejects `--trust` as an unknown argument, so ProPR can't pass it unconditionally while the image still pins 0.168.0.

**The fix:**
- **`scripts/codex-entrypoint.sh`:** when ProPR asks for trust, the entrypoint runs `codex exec --help`. If the installed CLI lists `--trust`, it adds the flag to `codex exec`. So the decision follows the binary actually in the image, including custom images. The check runs as `node`, because even `--help` writes helper files into `CODEX_HOME`, and as root those would be root-owned.
- **`codexDockerArgsBuilder.ts`:** the builder always sets `PROPR_CODEX_TRUST_WORKSPACE`. It is `1` for normal task and goal runs. It is `0` for repository inspection and exclusive-MCP extension runs, which pass `--ignore-user-config` and must not load project config. It is set after the operator's `envVars`, so an operator setting can't turn trust on for inspection runs. That would stop Codex from starting, because `--trust` can't be combined with `--ignore-user-config`.
- A workspace the operator has explicitly marked `untrusted` stays untrusted, since `--trust` respects that.

**Verified** through the real entrypoint block, from a clean home:

| | project model | project MCP server | trust saved |
|---|---|---|---|
| 0.168.0, with the change (no flag added) | loaded | started | yes |
| 0.169.0, with the change | loaded | started | yes |
| 0.169.0, without the change | default model | not started | no |

New unit tests cover which runs ask for trust and when the entrypoint adds the flag. They and the other suites that build Codex args pass (about 300 tests), and the core typecheck and lint are clean.

**Limitation:** goal runs through `codex app-server` have no trust flag. They use the saved entry, which any task run now writes, the same as on 0.168.0. On a fresh install, a goal run before any task run would still ignore project config, exactly as it does today.

I also added a short section to `docs/docs/architecture/agent-runtime.md` and a changelog line under this PR's entry.

PR: #3665
Comment by: @integry (ID: 6944876504)
Model: Claude Opus 5.5
@integry

integry commented Nov 17, 2026

Copy link
Copy Markdown
Owner

/review

@propr-dev

propr-dev Bot commented Nov 17, 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 17, 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 the three requested CLIs and adds a localized, capability-gated Codex trust adjustment while retaining Codex 0.168.0.

✅ Consistent version updates — Docker pins, build defaults, shared/core version definitions, Claude lockfile entries, and version assertions agree on the requested releases.

✅ Scoped trust handling — The launcher sets the trust decision after operator environment variables. The entrypoint adds --trust only when advertised, and excludes repository inspection and exclusive-MCP runs.

✅ Focused regression coverage — Added tests cover legacy CLI compatibility, ordinary execution, resume argument preservation, and excluded execution modes.

The authoritative checks report 28 passed, 17 neutral/skipped, and no failures or pending checks. This was a static review; no commands were run. The supplied original objective contains a truncation notice, so requirements beyond its visible text could not be assessed.

Merge blockers

No merge blockers.

Suggestions

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

S1: 🟢 Verify trust with real binaries

The new test in test/agentToolPolicyRuntime.test.ts verifies argument insertion using synthetic help output. An optional integration test against both Codex versions, using disposable configuration directories, would also establish that repository configuration loads on first execution and that explicit untrusted settings retain their intended behavior. The current tests demonstrate the wrapper logic, but do not independently establish those upstream semantics.

S2: 🟢 Clarify first-run goal behavior

docs/docs/architecture/agent-runtime.md says goal runs use the saved trust entry, while the entrypoint deliberately excludes codex app-server. Clarify what happens when an account starts a goal before any ordinary task has saved that entry. This is a useful follow-up for the eventual Codex upgrade, rather than a demonstrated regression from this PR’s unchanged Codex pin.

Score

The visible implementation is coherent, narrowly structured, and supported by passing current-head checks. No merge-blocking defect is demonstrated; real-binary trust coverage would improve confidence in the future upgrade.

Score: 9/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 2m 12s
  • Tokens: 69,358 (68,803 in / 555 out)
  • Cost: $0.61

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 S2

🤖 Review by ProPR

@integry
integry merged commit 60797ac into main Nov 17, 2026
45 checks passed
@integry
integry deleted the 3657/claude-opus-5-5-bump-three-coding-agent-c-20261117-0907-d24 branch November 17, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

1 participant