Skip to content

ci: the fast lane skips the proof-system lane because integrate.ts acquire never checks it #4178

Closed

Description

@schlessera

Context

#3269 and #3271 (delivered in #4145) hold proof-system changes to one at a time behind a single-run window, and require off-main qualification evidence. integrate.ts enforces both through refuseProofSystemLane. It is called before confirm takes the reservation (scripts/integrate.ts:399) and again before the merge (scripts/integrate.ts:262).

The fast lane the maintainer ruled on 2026-11-16 (Fast lane outside the core packages) never reaches either call. Its procedure is integrate.ts acquire <pr>, gh pr ready, gh pr merge --squash --match-head-commit <head>, then integrate.ts release. acquire only takes the reservation, and the merge is GitHub's. Most proof-system PRs change CI scripts and workflows, not packages/{ui-react,ui-kit,ui-server,core}/, so they qualify for the fast lane and can skip the lane entirely.

Maintainer decision (2026-11-17): integrate.ts acquire refuses a proof-system candidate unless the lane is open and its off-main qualification holds. This is the same check confirm makes. The fast-lane documentation says so.

Acceptance criteria

  • integrate.ts acquire <pr> runs the proof-system lane check and the qualification check for a candidate that scripts/proof-system.ts classify marks as a proof-system change. It refuses with the same message confirm gives, before taking the reservation. A declared red-main fix keeps the exemption confirm gives it.
  • Non-proof-system candidates are unaffected: acquire behaves exactly as before.
  • Tests: a proof-system candidate with the lane closed, one without qualification, one with valid qualification, and a product candidate. A mutation that skips the new check fails a named assertion.
  • docs/decisions/ci-utility.md (the fast-lane and proof-system sections) and .agents/skills/work-issue/references/ci-and-merge.md say that the fast lane enforces the proof-system lane through acquire.

Out of scope

Changing the lane window, the qualification rule (see #4171), or which paths count as proof-system.

Activity

  1. added this to the 0.45.0 milestone on Nov 17, 2026
  2. added
    type: fixSomething is broken and must behave the way it is documented.
    area: ciCI workflows, the gates they run, release scripts, packaging.
    priority: p1Scheduled into the current or next milestone.
    agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.
    on Nov 17, 2026
  3. self-assigned this
    on Nov 17, 2026
  4. schlessera commented on Nov 17, 2026

    @schlessera
    OwnerAuthor

    Claimed for implementation. Claim token: claim-b04b37cc. Branch: fix/4178-acquire-proof-lane.

    Potential overlap with #4173 in scripts/integrate.ts; preserve its qualification changes.

  5. schlessera commented on Nov 17, 2026

    @schlessera
    OwnerAuthor

    Merged in #4179 as d84fca3e0 through the integration lease (orchestrator merge queue for 0.45.0). Candidate confirmation passed on the exact head; the squash's own main run carries the post-merge heavy categories.

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

Metadata

Metadata

Assignees

Labels

agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.area: ciCI workflows, the gates they run, release scripts, packaging.priority: p1Scheduled into the current or next milestone.type: fixSomething is broken and must behave the way it is documented.

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions