Repository navigation
Conversation
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — Updates bundled harnesses and ACP adapters while preserving tool-result identity across assistant replays. Changes remain within evaluation runtime setup and session bookkeeping, with targeted regression coverage and existing tool-interception safeguards retained. No code changes detected at You can add or adjust custom eligibility rules. Learn more. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d9b12d5. Configure here.

Replacement PR stack
Review and merge from the bottom up in the order below. Each PR has one commit and targets the preceding branch. The first PR targets
main.All 13 layers passed their local unit suite. The original split reproduced the same Git tree as this combined PR on
107c09f3c. Integration grid before review fixesAdditional review fixes landed on #3209, #3210, and #3215.
Original combined change
Update the default pins for the bundled v1 harnesses using npm's
latesttag, PyPI releases, GitHub releases, and the upstream commit for nano-rlm.latest)695ac4848ca926cdc092cee8)Browser Use already pins browser-harness 0.1.13. Bash and Null run in-tree. The shared Node pin moves from 22.23.4 to 24.22.3 to meet DeepSeek's Node requirement across the supported release lines. The Codex npm override ensures the adapter uses the configured CLI version. Stirrup uses the ACP SDK's typed message chunk and stays on the MCP 1.x client API its upstream code imports.
Replay behavior
Validation
Harness compatibility and live validation
additional_toolscatalog with two namespaces asinput[0]. Removing that item returned HTTP 200. Adding it to a one-line control reproduced theInputItemWireHTTP 400. Controlled provider comparisoncodex-cli 0.170.0. The installer now runs from the directory containing the override. Cursor review45a365dde. CI runNote
Medium Risk
Changes core session tool gating and replay identity logic used on every intercepted model call, alongside a broad harness version bump that can shift live agent behavior.
Overview
Updates pinned releases across bundled ACP harnesses (Claude Code, Codex, DeepSeek, Hermes, Kimi, OpenClaw, OpenCode, Pi, Prime Agent, Harbor, Stirrup, mini-swe-agent, nano-rlm) and raises the shared Node.js install to 24.22.3, dropping Node 22 as an accepted minimum. Install scripts gain Codex npm overrides, OpenClaw sanitizer patching that discovers the minified reasoning variable, and harness-specific tweaks (e.g. ACP
session_titleviasession/rename, Claude Code permission settings, Codex title and disabled prompt suggestions).Replay and trace matching now record Anthropic native text-block boundaries on
AssistantMessage(text_block_offsets) and compare replays withdrop_blank_text_blocksso Claude Code can drop whitespace-only blocks without forking the graph when nonblank blocks still differ. Graph helpers are renamed for clarity (replay_message_hash,tool_catalog_hash) andpath_node_idsbacks branch walking.Tool-result pinning and gating are reworked in
RolloutSession: decisions and pinned results are keyed by sampled issuing node (plus call id), with per-node dialect and tool-catalog hashes. Request rewriting andInterceptionServertool gating use the harness replay history so substituted tool results stay attached to the correct turn across cosmetic assistant replays; ambiguous call-id reuse now raisesHarnessError.Integration fixtures tighten prompts slightly;
assert_one_branchreports which sibling nodes and fields diverged when a rollout forks unexpectedly.Reviewed by Cursor Bugbot for commit 392903c. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Update bundled harness releases and ACP adapters; track tool results by issuing node
RolloutSessiontool-result tracking in session.py: tool results are keyed by sampled issuing node, with per-node dialect and tool-catalog records, andHarnessErroron ambiguous historical call issuers. Tool gating ingate_tool_callsandInterceptionServernow evaluates calls against the issuing turn's catalog and replay history.drop_blank_text_blocksin replay.py, backed by new text-block offsets onAssistantMessagein types.py and Anthropic parsing in anthropic.py.session_titletoACPConfig;ACPSession.startapplies it via thesession/renameextension, and Codex/ACP harness configs set rollout session titles. Also fixes OpenClaw's reasoning-summary patch to locate the installed sanitizer variable and hardensassert_one_branchdiagnostics in grid.py.HarnessErrorwhen a replay-equivalent call ID matches multiple issuing turns.Macroscope summarized 392903c.