fix(native-eval): reject invalid harness runs - #64
Conversation
|
Codex review: found issues before merge. Reviewed August 3, 2026, 12:09 AM ET / 04:09 UTC. ClawSweeper reviewWhat this changesThe PR records native-evaluation execution outcomes, excludes fully invalid harness runs from score aggregates, and requires an archived exit status during fleet recovery. Merge readinessKeep open. This member-authored PR addresses the linked native-evaluation bug, but its unchanged fleet-recovery change turns verified legacy exports without an archived Priority: P1 Review scores
Verification
How this fits togetherNative evaluation runs agent trials, writes result archives, then aggregates scores and lets the fleet controller recover exported remote campaigns. This PR changes the boundary between diagnostic trial results, score eligibility, and whether an archived campaign is considered successfully recoverable. flowchart LR
A[Native harness trials] --> B[Trial execution outcomes]
B --> C[Run acceptance decision]
C --> D[Score aggregation]
A --> E[Exported run archive]
E --> F[Fleet recovery]
F --> G[Completed or failed campaign]
D --> H[Benchmark reporting]
Decision needed
Why: Both choices are plausible, but they impose different guarantees for historical benchmark archives and cannot be resolved mechanically without maintainer intent about upgrade compatibility and evidence standards. Before merge
Findings
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Preserve a narrowly validated legacy recovery path, or migrate/backfill legacy archives before requiring explicit exit-status evidence for all future and historical fleet recovery. Do we have a high-confidence way to reproduce the issue? Yes, from source and the focused changed test: a verified full-coverage archive with a final checkpoint but no archived Is this the best way to solve the issue? No. Rejecting invalid harness-only runs is a targeted fix, but removing the existing legacy recovery path without a bounded compatibility rule or migration changes established recovery behavior for old exports. 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 changes:
Label justifications:
EvidenceWhat 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 (18 earlier review cycles; latest 8 shown)
|
What does this PR do?
Records structured native-eval execution outcomes and rejects runs where every
trial failed at the harness, infrastructure, or verifier layer.
Why?
Verifier rewards are useful diagnostics, but they are not proof that the
benchmark harness executed correctly. Fully invalid runs were being presented
as completed score data, and fleet recovery could infer success without an
archived exit status.
Fixes #63
Changes
Tests
python -m pytest -qpasses on Blacksmith Testboxpython -m ruff check clawbench app.py scripts testspasses on Blacksmith TestboxFocused proof: 117 tests passed; Ruff clean. Autoreview reported no actionable
findings.