Skip to content

Support exact OpenClaw candidate packages in native evals #56

Description

@vincentkoc

Summary

Allow native OpenClaw evaluation campaigns to install an exact local package
tarball instead of requiring a registry-published harness version.

Motivation

ShellBench can reproduce released OpenClaw versions, but it cannot measure a
candidate OpenClaw fix before publication. That blocks clean baseline/candidate
ablations for benchmark-driven product work and encourages ad hoc remote
machine edits that are not auditable or resumable.

The campaign needs to preserve the candidate package name, version, SHA-256,
and resume identity so a result can be tied to the exact bits under test.

Proposed approach

Add an OpenClaw-only --openclaw-package-tarball input that:

  • validates the package name and version before leasing,
  • stages the archive with restrictive permissions,
  • uploads and installs the exact artifact during bootstrap,
  • records its SHA-256 in fleet, run, and audit metadata,
  • rejects resume when candidate identity changes or is missing.

Registry-based runs remain unchanged when the option is absent.

Alternatives considered

  • Publishing temporary npm versions: pollutes the registry and couples
    evaluation to release operations.
  • Editing a warmed machine: not reproducible, not resumable, and not auditable.
  • Building OpenClaw inside every lease: slower and introduces build-environment
    variance into the harness comparison.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal priority bug or improvement with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:needs-security-reviewClawSweeper marked this issue as needing security-sensitive review.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.impact:securityThis issue is about security boundaries, credentials, authz, sandboxing, or sensitive data.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions