fix: accept Claude native trajectories - #52
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 6, 2026, 9:16 AM ET / 13:16 UTC. ClawSweeper reviewWhat this changesAdds Claude Code to the native harnesses whose converted trajectories count as real events, with regression coverage for all pinned native harnesses. Merge readinessKeep open for maintainer review: this member-authored PR makes a narrow, source-supported correction to native trajectory eligibility, with after-fix control-run evidence. Likely related people: vincentkoc (high confidence; recent native-evaluation contributor). Priority: P2 Review scores
Verification
How this fits togetherShellBench's native evaluator runs agent harnesses and aggregates result and trajectory artifacts into benchmark eligibility. The harness classification determines whether completed runs contribute real trajectory evidence to aggregation. flowchart LR
A[Native agent run] --> B[Claude Code stream output]
B --> C[Trajectory conversion]
C --> D[Harness classification]
D --> E[Native aggregation]
E --> F[Benchmark eligibility]
Decision needed
Why: Source proves the allowlist and converter are inconsistent, but accepting converted traces for benchmark eligibility is a maintainer-owned evidence-standard decision. Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Merge the narrow allowlist correction after a benchmark owner confirms that the existing Claude trajectory converter meets the intended real-evidence standard. Do we have a high-confidence way to reproduce the issue? Yes—current source shows Claude Code produces validated real trajectories while its manifest mode remains unsupported, and the PR reports an after-fix four-task native control run. Is this the best way to solve the issue? Unclear—the implementation is the narrowest consistency repair, but maintainers must decide whether the existing converter validation is sufficient for benchmark-evidence eligibility. AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against 884dd1bb5511. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (36 earlier review cycles; latest 8 shown)
|
What does this PR do?
Marks Claude Code native trajectories as real harness events so completed Claude runs remain eligible for native aggregation.
Why?
The native runner already converts Claude Code
stream-jsonoutput intotrajectory.json, but the harness allowlist omittedclaude-code. Aggregation therefore classified otherwise valid Claude runs astrajectory_unavailable.Changes
claude-codeto the real-trajectory harness allowlistreal_harness_eventsLive proof
A native Claude Code control run completed four tasks with four result files, four valid completed results, and no infrastructure failures. Aggregation classified every trajectory as
real; the run remained ineligible only because it was intentionally marked as an exploratory four-task subset.4/40.753truerealfor all four tasks0exploratory_subsetTests
python -m pytest -qpasses locally (444 passed, 5 skipped)python -m ruff check clawbench app.py scripts testspasses locally