Repository navigation
Closed
Copy link
Description
Outcome
The pr-verify capture stays on pr-verify's API key for both its driver legs and its driven session. What changes: when the key cannot make a capture, the capture records the real cause (a credit stop, an empty key, or the probe leg handing off) instead of one fixed reason, the pull request's verdict shows that the capture was blocked and why, and a credit stop on the key raises an alert.
Owner decisions
- 2026-11-14: the order for Claude in GitHub Actions is the role's API key, then the lane subscription token, then the fallback token.
- 2026-11-15 (decision comment on this issue): option A. The capture stays key-only, because giving its driver legs a subscription or fallback token would loosen the capture's credential separation and would still capture nothing while the key is out of credit. This replaces the 2026-11-14 scope (driver legs on the shared chain). The design for the key proxy holding a subscription or fallback token is Design: let the capture's key proxy hold a subscription or fallback token without it reaching the sandbox #16454.
What exists today, at main 8229e58
.github/workflows/pr-verify-capture.ymlgives the API key only to the key proxy; the driver legs hold a per-run client key and the driven session reaches the API only through the proxy (header "Credential separation").- When the key cannot capture, the step "Write the blocked capture" records the same reason in every case, "subscription token cannot go behind the proxy (R41)", whether the key was empty, out of credit, or its probe leg handed off.
- A blocked capture fails no check, so nothing shows it on the pull request. In a sample of 21 driven runs on 2026-11-13 and 2026-11-14, 5 ended
blocked.
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.
Done when
- A capture the key cannot make records its cause as one of credit stop, empty key, or probe handoff, each with its own reason text, and the fixed "subscription token cannot go behind the proxy" reason is gone.
- The verdict on the pull request names a blocked capture and the cause the capture recorded.
- A credit stop on the capture's key raises an alert that names the key's role and the run that hit it.
- Both the driver legs and the driven session still run only on the key proxy's client key, and the existing credential probes still pass.
Related
- Design: let the capture's key proxy hold a subscription or fallback token without it reaching the sandbox #16454 (design: the key proxy holds a subscription or fallback token without it reaching the sandbox)
- Skip the capture's model run when no feature matches the pull request's changed files #16184 (skip the model run when no feature matches), Count, then widen, the capture's sources patterns so a change to a skill's scripts or reference files is driven #16116
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Work status
needs-owner-decision
Priority
medium
Activity
kyle-sexton commentedon Nov 14, 2026
Decision recorded. Owner, 2026-11-14, to the question restated in full: "As far as question 40, go with recommendations."
The capture's driver legs take the full shared chain (the role's API key, then its subscription token, then the central fallback token, through
select-model-credentialandrun-claude-clias the other lanes do). The driven session, which runs the pull request's own code, stays behind the key proxy and key-only until a design shows the proxy can hold a subscription token without it reaching the sandbox.Not chosen: extending the proxy to substitute subscription and fallback tokens now; leaving the capture as is.
Open for the build: whether a driver leg on a subscription token can still drive a key-only sandboxed session, and what the capture records when the key is out of credit and only the driver can run. The existing credential probes must still pass.
github-actions commentedon Nov 14, 2026
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Decision recorded (newest, option A):
Link: #16193 (comment)
That decision settles the open questions. The work is now key-only: record the real cause of a blocked capture (credit stop, empty key, probe handoff), show it on the pull request's verdict, and alert on a key credit stop. It adds no new charge, since the capture stays on the existing API key. The earlier cost hold came from the word "subscription" in the title, which no longer describes the work. The proxy-held subscription token design is tracked in #16454. I found no merged pull request that already covers this.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 14, 2026
The latest triage verdict holds nothing: admission moved the issue to
needs-owner-decision; its comment says why.needs-owner-decisioncame off: this run's triage applied it with no intent, security or cost flag, and only a flag stops for a person: admission routes a capability limit (a host run, a paid eval), and the issue lane decides a choice of means.kyle-sexton commentedon Nov 15, 2026
Decision recorded. Owner, 2026-11-15, in session: "go w/ recommendations", to this question restated in full:
Option A. It replaces the 2026-11-14 scope, which cannot be built without loosening the capture's credential separation:
.github/workflows/pr-verify-capture.yml:21-27). A subscription or fallback leg is an OAuth token, which would sit in a driver process in the job that holds the pull request's head checkout..github/workflows/pr-verify-capture.yml:44-46).The body now states the decided scope and its done-when. The design for the key proxy holding a subscription or fallback token is a separate issue, linked from the body under Related.
github-actions commentedon Nov 15, 2026
A listed human released the issue's Work status hold, so it goes back to intake triage.
melodic-automation-lanes commentedon Nov 15, 2026
Not admitted to the issue lane: its title or stated work names a charge (subscription), which needs an owner decision; it carries host-run. Admission takes the issue once each of those is met, when intake triages it again (
.github/actions/resolve-config/admission-rules.json).Reason:
cost