Skip to content

feat(native-eval): export normalized tool discovery telemetry #59

Description

@vincentkoc

Summary

Export normalized native-harness discovery telemetry separately from final tool
calls so ShellBench can compare deferred tool loading without treating missing
events as zero.

Motivation

The current research audit exports ATIF tool calls, but it loses harness-native
discovery detail. OpenClaw's tool_search_code result already contains catalog
size and search, describe, and call counts; the normalized CSV records only the
wrapper call. Codex native tool search exists in its runtime protocol, but
codex exec --json does not currently expose those events. Claude Code and
Hermes do not provide an equivalent event in the traces used by this runner.

This makes tool-search comparisons ambiguous: a missing count can mean zero
operations, unsupported discovery, or an exporter fidelity gap.

Proposed approach

  • Add a discovery-event research table with search, describe, load, and
    call operations plus source harness, target ids, latency when available,
    success, and trace fidelity.
  • Extract OpenClaw counters and selected calls from the structured
    tool_search_code result details.
  • Mark Codex as unobservable until its native JSON stream exports ToolSearch
    items, and mark harnesses without a discovery surface as unsupported.
  • Keep discovery operations separate from final tool calls and report runner
    SHA plus trajectory fidelity with every row.

Alternatives considered

Inferring discovery from wrapper names or recording absent events as zero was
rejected because both produce false cross-harness comparisons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.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.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.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