fix(native-eval): benchmark genuine OpenClaw code mode - #62
Conversation
|
Codex review: needs changes before merge. Reviewed August 3, 2026, 5:05 AM ET / 09:05 UTC. ClawSweeper reviewWhat this changesThe PR makes ShellBench’s OpenClaw native-eval runner explicitly select direct, directory, or Code Mode execution and export validated root and child trajectories before benchmark scoring. Merge readiness⛔ Blocked by patch quality or review findings - 8 items remain Keep this PR open. It correctly targets a current native-eval gap, but its new validation turns recognized legacy fleet and environment configuration into pre-dispatch failures; the two existing P1 compatibility blockers remain unresolved. Likely related people: Vincent Koc (high confidence), based on the current-main native-eval history and this branch’s commits. Priority: P2 Review scores
Verification
How this fits togetherShellBench’s native-eval fleet turns stored run plans and environment settings into remote OpenClaw benchmark jobs. Those jobs generate trajectories for the audit and scoring pipeline, so mode selection and export validation determine whether comparisons are valid. flowchart LR
A[Run plan and environment] --> B[Fleet validation]
B --> C[Remote benchmark dispatch]
C --> D[OpenClaw tool mode]
D --> E[Public trajectory export]
E --> F[Trajectory validation]
F --> G[Benchmark audit and scoring]
Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Translate recognized legacy mode values to the explicit replacement before validation, emit a deprecation warning, preserve the canonical field through manifests and reruns, and attach a redacted fresh matched benchmark transcript after the compatibility tests pass. Do we have a high-confidence way to reproduce the issue? Yes. A stored non-empty Is this the best way to solve the issue? No. Explicit mode selection is the right direction, but outright rejection of recognized existing inputs is not the narrowest upgrade-safe repair; translation with deprecation preserves existing benchmark automation. 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 884dd1bb5511. LabelsLabel justifications:
EvidenceAcceptance criteria:
What I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (22 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.