Skip to content

backends: reconcile host web-search research harness with curated Pi workers #3632

Open

Description

@schlessera

Out of scope

No production web-search implementation, new RPC/seam, credentialed or paid calls, executor selection, or exemption from managed Pi's external-extension refusal. Keep this manually invoked research harness outside automatic product CI.

Context

Found while qualifying #3600 in PR #3621, at 3cb1d847c62dc460ce226ea62774f983c15f1741. Related completed research: #1969.

experiments/host-web-search/README.md:3 identifies the harness as manual research outside production and automatic test discovery. Its original receipts remain evidence for their original source.

The generator still replaces extensionSource and registers the custom probe_worker (experiments/host-web-search/prepare.ts:9, :13), then requests that tool (:20). The runner selects default-home-state (experiments/host-web-search/run.sh:24). The reconciled real-worker fixture only enables the extension loader for forge-*, external-extension or cached-package scenarios (tests/fixtures/pi-worker-probe.ts:20, :243); default-home-state selects curated tools. The generated worker therefore still asks for its extension-only denial probe while selecting a configuration that does not load it.

Observed in an owned copied fixture: the generator exits 0; inspecting its generated source confirms the custom probe_worker registration/request and the unchanged loader gate. This is source/generator evidence, not a successful native invocation. Local nested user/PID namespaces are unavailable, so complete worker execution remains unqualified.

Read the existing harness README, docs/plans/host-owned-web-search.md, #1969, ROADMAP's binding decisions, docs/decisions/session-safety-reviews.md, and the managed Pi qualification contract before implementing.

Scope

Reconcile the existing private-sentinel denial probe and host-search forwarding/replay experiment with the supported curated-worker configuration. Keep the existing constrained host carrier and pinned upstream executor artifacts; preserve the experiment's authority and evidence limits. Update brittle generator anchors as required by the real fixture.

Acceptance criteria

  • The default worker uses supported curated tools to execute the private-path denial probe; it does not request an unloaded probe_worker tool or enable an external Pi extension to make the test pass.
  • Preserve actual worker forwarding, real pinned host/provider calls, private credential/config sentinel denial, own-result retrieval, foreign-worker replay denial, resume/restart, parent-state preservation, child exits and cleanup controls.
  • Both documented offline mcp and full invocations pass on a host with the unchanged native prerequisites, or retain a concrete failure without calling it qualification. They use fictional Odysseus fixtures, pinned artifacts, loopback replies and no real credentials.
  • The documented forwarding mutation fails at WORKER_RECEIVED_HOST_RESULT after the worker and prior controls ran, then restoration passes. A module-load, namespace or setup error is not that receipt.
  • Keep prior source/receipt identities historical, record the new tested source/runtime/artifact identities and limits, and preserve the manually invoked research status. Do not claim production feature parity or integration qualification from these measurements.

Verification

Use the existing README's offline harness and cleanup trap, with isolated owned temporary paths. Retain generator/source evidence, child exit codes, named positive/negative controls and exact identities. Run contribution preflight for the eventual change; preserve network and native runtime guards.

Contract impact

Research fixture/documentation maintenance only. No production API, wire/tool schema, provider credential authority or package inventory change is intended.

Found 2026-11-05: this follows the accepted curated-only managed Pi restriction and fixture reconciliation. It is not a missing #3600 acceptance criterion or an automatic-CI failure. Priority and release scheduling remain unsorted.

2026-11-10 triage at main d79eeed0a: #3600 is closed as completed through #3621 (squash da1f3abd1, on main), so its Blocked by line moved here as history. No active blocker.

Activity

  1. added
    type: test
    area: backends
    agent-ready
    blocked
    on Nov 5, 2026
  2. schlessera commented on Nov 5, 2026

    @schlessera
    OwnerAuthor

    Unblocked: #3600 is closed, so scripts/sync-project.ts is removing the blocked label.

  3. added
    priority: p3
    and removed
    blocked
    on Nov 5, 2026
  4. schlessera commented on Nov 10, 2026

    @schlessera
    OwnerAuthor

    2026-11-10 triage at main d79eeed0a: priority: p3. This maintains a manual research harness outside production and automatic CI. The body records that it is not a missing #3600 criterion or a CI failure. Host-owned web search is still a plan, not built, so the harness needs a driving use case (resuming that research) before it is worth starting. It blocks nothing, and #3600 is closed. agent-ready stays because the brief is complete.

    The closed blocker named in the body is delivered (merged PR on main), so I moved its Blocked by line into a dated historical note.

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: backendspriority: p3type: test

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions