Repository navigation
Description
Problem
The pr-verify capture runs only on pr-verify's API key. When that key is out of credit, no capture runs: the other Claude lanes continue on the role's subscription token and then the central fallback token, but the capture cannot, so its pull requests get a blocked capture instead of a recorded drive.
What #16193 found
- The capture's credential separation gives the API key to one process, the key proxy, run as its own OS user. The driver legs hold only a per-run client key and reach the API through the proxy's loopback port; the driven Claude Code runs in a sibling sandbox with no secret and reaches the API only through a bridge to the proxy's socket, which puts the key in place of the sandbox's dummy one (
.github/workflows/pr-verify-capture.yml, header "Credential separation"). - A subscription or fallback leg is an OAuth token, not an API key. Giving one to a driver leg would put a real credential in a process in the job that holds the pull request's head checkout, against the step "Check the driver legs hold no real key", and would still capture nothing: every drive starts a driven session, which only the proxy's API key can serve.
- So the only design that lets a capture run while the key is out of credit is the proxy itself holding the subscription or fallback token and substituting it, with the token never reaching the driver legs or the sandbox. The owner did not choose that on 2026-11-14 and chose instead (2026-11-15, Give the capture the subscription and fallback legs the other Claude lanes have #16193) to keep both legs key-only and record why a capture could not run.
Constraint
The credential separation is a security control: the pull request's code must never run beside a real credential. A design that puts a subscription or fallback token within reach of pull request code is not acceptable; the owner decides any change to that boundary.
Unverified
Whether the Messages API accepts a subscription or fallback OAuth token sent by a proxy on the client's behalf, and on what terms, has not been checked. A design must establish it from current official documentation before anything is built.
Decision needed
This is a design decision for the owner: whether the key proxy should hold a subscription or fallback token, and if so how the proxy, its credential probes and the capture's credential chain change.
Done when
- A design for the key proxy holding a subscription or fallback token is written, citing current official documentation on whether the Messages API accepts such a token through a proxy.
- The owner has decided the design.
Related
- Give the capture the subscription and fallback legs the other Claude lanes have #16193 (keeps the capture key-only and records the cause of a capture the key cannot make)
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 15, 2026
Size: Medium
Complexity: High
Uncertainty: Knowable
Flags: intent
Blocked by: none
I read this as a design request. When pr-verify's API key is out of credit, the capture cannot run. The only route you describe is for the key proxy itself to hold a subscription or fallback token and substitute it, with the token never reaching the driver legs or the sandbox. The issue asks for a written design, and then an owner decision on it. It builds nothing yet.
This is related to #16193, which keeps the capture key-only. I found no merged pull request that already covers this request, and no duplicate among the open issues.
Whether to move the credential boundary is the owner's call, and the issue text does not settle it. Reading current official documentation on whether the Messages API accepts such a token through a proxy would settle the Unverified section, but that is not an owner decision.
RECOMMENDED: write the design first and decide afterward. Basis: the issue's own Unverified section says nothing may be built until the documentation question is answered, and the constraint says no real credential may sit within reach of pull request code.
RECOMMENDED: yes. Basis: the issue says a design must establish acceptance from official documentation, and without it the only candidate design is not viable.
To answer, post a comment that starts with this line:
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 15, 2026
The triage verdict left this issue at
needs-owner-decision:Reason:
intentmelodic-automation-lanes commentedon Nov 15, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: A written design that either shows from current official documentation how a proxy-held subscription or fallback token could serve the capture without reaching the driver legs or sandbox, or records that the capture stays key-only because the documentation does not support it.
Related work
Open questions
RECOMMENDED: Stay key-only unless the documentation question is answered in favor; write the design first, then decide. Basis: #16193
RECOMMENDED: Treat the absence of any documented support as a no and close as key-only, unless the owner names a page that says otherwise. Basis: https://code.claude.com/docs/en/authentication
RECOMMENDED: Yes, and only that shape, since the issue rules out any token within reach of pull request code. Basis: .github/workflows/pr-verify-capture.yml:890
RECOMMENDED: Yes. Basis: judgment
Sources read
To answer, post a comment that starts with this line:
Automated refinement by the lanes App. Answer with a comment whose first line is
**Decision recorded.**.kyle-sexton commentedon Nov 17, 2026
Closing as not planned, on the owner's decision of 2026-11-17 (owner-decisions record, capture credential row, decision D63): the pr-verify capture stays key-only and never proxies a subscription or fallback token to code a pull request runs. #16679 was closed on the same decision. Reopen if that decision changes. Posted by an agent session.