Skip to content

test(experiments): re-anchor Pi schema measurement patches - #4032

Closed
schlessera wants to merge 1 commit into
mainfrom
test/3888-pi-schema-anchors
Closed

schlessera wants to merge 1 commit into
mainfrom
test/3888-pi-schema-anchors

Conversation

@schlessera

@schlessera schlessera commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Refs #3888

What changed

The Pi schema measurement preload now patches the hosted prompt in backend-entry, the prepared prompt in worker-session, the launch arguments and environment in worker-launch, and receipt interception in worker-reader. Its load filter names exactly those files plus bridge-tools.

Why this shape

Follows #3888's anchor-only scope. Each injected import belongs to the file that uses it; local prompt ownership uses the current state.ownedPrompt name. Product source, experiment assertions and the strict replacement refusal are unchanged.

Proof

{"version":1,"kind":"brain-check-pr-receipt","head":"eb3c53ac296808291e4aded36c9e4aa65a7e8aae","base":"origin/main","mode":"focused","startedAt":"2026-11-15T19:26:33.147Z","finishedAt":"2026-11-15T19:27:58.870Z","checks":[{"name":"all lint and leakage gates","categories":["changeset"],"outcome":"passed","elapsedMs":12721.808962000001},{"name":"environment documentation","categories":["changeset"],"outcome":"passed","elapsedMs":103.55714600000101},{"name":"pending changeset package names","categories":["changeset"],"outcome":"passed","elapsedMs":83.65556000000106},{"name":"contribution changeset","categories":["changeset"],"outcome":"passed","elapsedMs":16.866425000000163},{"name":"affected fast invariants","categories":["verify","unit"],"outcome":"passed","elapsedMs":72779.685712}]}

Checklist

  • Focused local preflight/behavioral receipts and complete selected hosted proof passed; actual head/base/job checkout evidence is in Proof.
  • Acceptance criteria from the issue are all met, or the gap is named below.
  • The PR and completed/advanced issues have verified release milestones under docs/process/github.md.
  • A changeset is included, or this changes nothing a consumer can see.
  • No personal data anywhere in the diff — the leakage gate covers the whole tree.
  • The integration contract index or relevant component is updated in this same commit, or nothing in the machine surface moved.
  • Docs under docs/ reflect the change, or nothing documented moved.
  • A fail-closed guard added or changed answers the proportionate-containment checklist in this body, or no guard changed.
  • Provider history stays append-only: nothing on a product turn's path changed.

Anything left open

#4031 must reconcile the offline fixture with host-held relay credentials. Then verify all 27 focused cases and the complete experiment tier on a namespace-enabled host; this host reports denied user namespaces. Keep this PR draft until those receipts and candidate proof pass. Do not close #3888 from this partial handoff. No consumer changeset is needed for measurement-only instrumentation.

@schlessera

Copy link
Copy Markdown
Owner Author

Superseded by #4037, which carries this anchor-repair commit unchanged and adds the #4031 host relay credential and the tool-safety guard move. Together they close #3888 and #4031.

@schlessera schlessera closed this Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: backends AgentBackend implementations and the seam they share. area: ci CI workflows, the gates they run, release scripts, packaging. type: test Coverage, harness or proof work with no behaviour change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

experiments: the Pi schema measurement's source patches no longer find their anchors in run-session and worker-session

1 participant