Repository navigation
Description
Part of #3598. Supports #3613 repository qualification.
Context
During #3888 verification, the complete experiment tier at base eb3c53ac296808291e4aded36c9e4aa65a7e8aae failed production branch/tag resolver refuses direct PR and object selection; redirects remain disabled in experiments/git-read-qualification.test.ts:147.
The case constructs referenceRevision("refs/pull/7/head") while expecting an awaited transport.resolve result { ok: false, reason: "missing" }. referenceRevision instead throws synchronously with reason invalid at packages/ui-server/src/brain/reference-transport.ts:67, before resolve runs. The test stops before its redirect checks. The #3888 patch touches only the Pi measurement preload, which this file does not load.
Related qualification work: #3613. This records an observed test fault; it does not change that issue's product policy.
Scope
Reconcile the experiment's direct-PR revision assertion with the existing branch/tag-only contract, retaining proof that redirects are disabled.
Out of scope
Changing production revision acceptance or the Pi schema measurement.
Acceptance criteria
- The case explicitly asserts the synchronous invalid-revision refusal.
- Its remaining redirect checks execute and pass through the offline fixture transport.
- A mutation allowing a direct PR revision or following the fixture redirect is caught by the relevant assertion.
Verification
Run bun run test ./experiments/git-read-qualification.test.ts with failing-first and restored mutation receipts.
Contract impact
None; preserve the current production contract.
Claim/readiness 2026-11-15: confirmed the caller-side synchronous invalid-ref refusal and the retained redirect assertions against source. This repair is committed to 0.45.0; priority matches the p1 complete experiment-tier verification it blocks under #3888. All three original acceptance criteria remain unchanged. No production policy or Pi measurement change is included.
Delivery update 2026-11-17: implemented by #4036, squash b77f5d6ece1bb2d82f9ed4daaea21d2a679db280, in milestone 0.45.0. Fresh offline proof at head b8bfa18c25fd10773641fc3d0fc254605311c8b1 passed six tests / 60 assertions; both original mutation controls remain attributed to their recorded executions. All five preflight gates passed (1214 tests / 8197 assertions). Ordinary candidate run 44071834814 passed all 12 active jobs. Every selected test-job checkout was independently verified as 669fd9c41ab599f2e71f894650c204be351abb66, with the expected main/head parents; its tree matches the actual squash. The ordinary helper released its owned reservation. #4149 is resolved through #4160's runner-starvation diagnosis and diagnostics, with the 30-second deadline preserved.
Post-merge qualification remains open: automatic main run 44074357423 reproduces the existing #4170 composer pointer-cancel failure in browser (3), job 134008874543. Evidence was added to that incident; declared fix #4172 owns its recovery. The correction changes only the experiment assertion. This records implemented acceptance criteria and exact passing candidate proof, without claiming a completely green main run or production source/read-trust qualification.
Activity
schlessera commentedon Nov 15, 2026
Claimed for implementation. Claim token:
claim-ae3e2cad. Branch:test/4033-git-qualification-refusal-20261115.Maintainer-routed repair in the Git qualification scope. Preserve branch/tag-only production admission and the existing redirect refusal; fix only the stale experiment assertion and retain red/restored controls. Cited-path inventory has closure overlaps, including the separately pending #4002, and no direct path collision.
schlessera commentedon Nov 17, 2026
Unblocked: #4149 is closed, so
scripts/sync-project.tsis removing theblockedlabel.