fix(native-eval): benchmark genuine OpenClaw code mode - #62
Conversation
|
Codex review: blocked before merge. Reviewed September 5, 2026, 9:02 AM ET / 13:02 UTC. ClawSweeper reviewWhat this changesThe PR configures explicit OpenClaw tool modes, propagates reasoning settings, and replaces private-session collection with validated public trajectory exports. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readiness⛔ Blocked before merge - 6 items remain Keep open: the central work remains necessary, but two introduced reconstruction defects compromise delegated traces. The earlier matrix-expansion finding is withdrawn because the linked issue explicitly requires direct tools when no mode is selected. Priority: P2 Review scores
Verification
How this fits togetherShellBench’s native evaluation runner launches agent harnesses against benchmark tasks and collects their execution traces. The OpenClaw adapter converts root and delegated-session exports into trajectories used for research metrics and score eligibility. flowchart TD
A[Benchmark plan] --> B[OpenClaw configuration]
B --> C[Root and delegated runs]
C --> D[Public trajectory exports]
D --> E[Validate and reconstruct traces]
E --> F[Research metrics]
E --> G[Score eligibility]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Preserve direct-by-default behavior while reconstructing complete, deduplicated child traces and usage, with fresh and retained archives validated against the pinned OpenClaw build. Do we have a high-confidence way to reproduce the issue? Yes, from source: a forked child snapshot shares positional IDs with its parent, and two exports for one child session trigger the ambiguity guard. These paths were traced without executing a reproduction. Is this the best way to solve the issue? No as written: public exports are an appropriate boundary, but reconstruction must preserve actual message identity and distinguish repeated runs before it can reliably replace private-session collection. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against c1a79f731541. LabelsLabel justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (74 earlier review cycles; latest 8 shown)
|
What does this PR do?
Makes the OpenClaw native-eval arms represent genuine direct, directory, and
Code Mode execution, then exports and validates their public trajectory bundles
before a run can be scored.
Why?
Fixes #61.
The earlier
codearm selected the legacytool_search_codebridge rather thanOpenClaw Code Mode. The harness also masked setup failures, forced thinking off,
terminated the runtime before lifecycle cleanup settled, and reconstructed
delegated traces from private session files. Those failures made the released
direct/code comparison invalid and disproportionately erased Code Mode's nested
tool calls.
Changes
direct,directory, andcodeto explicit, mutually exclusiveOpenClaw tool surfaces.
OpenClaw defaults, subagents, CLI execution, and manifests.
openclaw agentexit naturally.openclaw sessions export-trajectory.nested and repeated runs, without blocking the Gateway.
status, complete Code Mode snapshots, and the exact provider-visible
exec/waitsurface.public export bundles.
than publishing partial traces.
Tests
454 passed, 5 skipped61 passedgit diff --check, generated shell syntax for all threemodes, and generated audit-plugin
node --checkThe July 29, 2026 released
coderesult remains legacy Tool Search bridgeevidence only. It is not evidence about genuine OpenClaw Code Mode.