Skip to content

native-proof: the Claude native proof never reaches a provider or MCP, so model-side changes are unmeasured #4420

Open

Description

@schlessera

Part of #4278. Found by the epic's native measurement run.

Context

The Claude native proof drives a real worker with a scripted SDK-query fixture. It does not exercise the Claude CLI's provider transport, MCP connection, SDK initialization or first provider request. Pi already runs its real SDK against an offline loopback SSE server.

As a result, none of these epic changes can be measured natively:

The epic's model-side claims stay unmeasured until the Claude proof reaches a provider.

Scope

Give the Claude native proof an offline loopback provider, like Pi's, and the production MCP path: the non-blocking brain MCP startup, or the #4325 bridge when enabled. Record:

  • SDK init;
  • MCP readiness;
  • time to the first provider request;
  • the post-tool hold to the next request.

No real network or API key.

Acceptance criteria

  • The Claude proof sends real Messages requests to an offline loopback provider and records SDK init, MCP readiness, first-request dispatch and post-tool-hold-to-next-request spans.
  • The proof's provider-history guard holds: the tools, system prompt and earlier messages are byte-identical across turns.
  • The test preload's network guard stays in force: no request leaves loopback.
  • The README documents the new spans and how to compare them across heads.

Activity

  1. added
    type: test
    area: ci
    priority: p2
    agent-ready
    on Nov 21, 2026
  2. schlessera commented on Nov 21, 2026

    @schlessera
    OwnerAuthor

    Decision (maintainer, 2026-11-21): when epic #4278 lands, the native-measurement acceptance criteria of its issues move here instead of keeping the issues open. One native rerun after landing settles all of them.

    The rerun compares the epic tip against main on one VM, alternating the two, with at least 3 repeats and a disk I/O benchmark. It uses both trees, Claude and Pi, and both UIDs. It needs the Claude native proof to reach a provider and MCP (this issue's original scope), and the harness fixes in #4419 and #4414.

    Native criteria moved here from:

    The issues that land complete (#4283, #4285, #4289, #4298, #4307, #4367) close on merge. The others stay open only for their remaining non-native gaps, each tracked by a follow-up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyarea: cipriority: p2type: test

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions