Skip to content

fix(native-eval): make OpenClaw Tool Search controls explicit #61

Description

@vincentkoc

Summary

ShellBench's OpenClaw native harness does not currently encode the disabled
Tool Search control explicitly. When a run omits openclaw_tool_search_mode,
the generated OpenClaw config omits tools.toolSearch, so the installed
OpenClaw default decides the mode.

Impact

An intended Tool Search "off" ablation can silently execute with code mode
enabled. That contaminates score, token, tool-call, and latency comparisons
because the control and treatment are not actually distinct.

This occurred in an exact candidate run on July 29, 2026: the run index had no
mode, but the exported OpenClaw trace reported codeModeEngaged: true.

Expected behavior

  • No mode means the harness writes tools.toolSearch: false.
  • directory and code are explicit supported values.
  • The selected value survives fleet dispatch, manifests, and automatic reruns.
  • Empty fleet environment values normalize to unset metadata, not "".

Verification

Add focused runner and fleet tests covering explicit off, code mode, dispatch,
manifest normalization, and rerun preservation.

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-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions