feat(native-eval): support OpenClaw candidate packages - #57
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 1:57 PM ET / 17:57 UTC. ClawSweeper reviewWhat this changesThe branch adds an OpenClaw-only Merge readiness⛔ Blocked until stronger real behavior proof is added - 4 items remain Keep this member-authored PR open. It remains the live implementation candidate for the requested native-evaluation workflow; its provenance design is focused, but a maintainer must explicitly confirm that fleet-controller access authorizes npm lifecycle execution from a supplied OpenClaw package before merge. Priority: P2 Review scores
Verification
How this fits togetherShellBench's native-evaluation fleet controller stages runner and task inputs, then bootstraps leased hosts before dispatching benchmark jobs. This change adds a candidate OpenClaw artifact to that path and carries its identity through toolchain, run, and audit outputs. flowchart LR
A[Candidate package tarball] --> B[Fleet controller]
B --> C[Campaign artifact staging]
C --> D[Remote host bootstrap]
D --> E[OpenClaw package install]
E --> F[Run and toolchain manifests]
F --> G[Research audit export]
Decision needed
Why: The branch proves artifact identity through package metadata and SHA-256, but whether those identified bytes are authorized to execute during remote bootstrap is a maintainer security-policy decision. Before merge
Findings
Agent review detailsSecurityNeeds attention: The branch has useful integrity checks, but a supplied npm artifact reaches remote installation and needs an explicit authorization boundary. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Confirm and document the trusted-controller model for OpenClaw candidate packages, or introduce an explicit artifact-admission mechanism before remote installation; preserve the branch's package identity, resume, manifest, and audit checks. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR adds a new native-evaluation capability rather than repairing a defined current-main failure. Is this the best way to solve the issue? Unclear: the identity and provenance design is a focused way to make candidate runs reproducible, but the remote package-execution boundary needs explicit maintainer approval before it is the best supported solution. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 884dd1bb5511. LabelsLabel justifications:
EvidenceSecurity concerns:
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 (14 earlier review cycles; latest 8 shown)
|
What does this PR do?
Adds exact local OpenClaw package artifacts to native evaluation campaigns.
Why?
ShellBench needs reproducible pre-publication baseline/candidate runs without
publishing temporary npm versions or mutating warmed machines.
Fixes #56
Changes
--openclaw-package-tarballcampaign input and OpenClaw-only validationExact proof
933616f90607b43970d2aaaf1de051a5fe8a751e514882f69c557d56e15755d2c7a.8xlargeAWS run installed the package and exported three results.openclaw, version2026.7.2,artifact filename, and SHA-256.
that invalidates its score comparison, not the package staging proof.
Tests
108 focused native-eval tests pass
Ruff passes on all touched Python files
fresh Codex autoreview reports no actionable findings
python -m pytest -qpasses locallypython -m ruff check clawbench app.py scripts testspasses locally, or the change is docs-only