feat(native-eval): support OpenClaw candidate packages - #57
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 5, 2026, 8:32 AM ET / 12:32 UTC. ClawSweeper reviewWhat this changesThe branch adds an OpenClaw-only native-evaluation option that stages a local npm tarball, verifies its identity, installs it on leased hosts, and records provenance in run and audit artifacts. Merge readinessKeep open for maintainer security-boundary approval. Current main remains registry-only, while this member-authored PR adds a useful optional path that executes an operator-supplied package during remote root bootstrap. Priority: P2 Review scores
Verification
How this fits togetherNative evaluation stages campaign inputs locally, bootstraps leased AWS hosts, runs OpenClaw against benchmark tasks, and exports manifests for audit. This change introduces an unpublished package artifact into that host-bootstrap path. flowchart LR
A[Candidate package tarball] --> B[Campaign controller]
B --> C[Identity validation and staging]
C --> D[Leased host bootstrap]
D --> E[OpenClaw package install]
E --> F[Benchmark run]
F --> G[Run manifests and audit]
Decision needed
Why: This is an intentional new remote code-execution path; integrity verification alone cannot choose the repository's trust policy. Before merge
Findings
Agent review detailsSecurityNeeds attention: The optional candidate path introduces remote root-level npm package execution, so maintainers need to approve the intended artifact trust boundary. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain exact-artifact evaluation only with an explicit approved-producer or trusted-operator policy, document that lifecycle code can run during bootstrap, and attach redacted leased-host output plus exported provenance for the claimed run. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a proposed capability, not a report of broken current behavior. The PR describes a real campaign run, but no inspectable run artifact is attached. Is this the best way to solve the issue? Unclear: the identity, resume, and audit controls are focused, but maintainers must choose whether integrity-only validation is sufficient for the new remote installation trust boundary. AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning high; reviewed against 884dd1bb5511. LabelsLabel changes:
Label 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 (19 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