Repository navigation
fix(lanes): let a technical sense of a secret noun keep its stop route - #13034
Conversation
The issue lane's security-word stop held 12 issues in 7 days, none of them a real secret: "the role's subscription token", "bytes-per-token", "a pull-requests: write token", "has no Azure credentials". By the owner's Q1 answer on #12043, a model or subscription token, a per-token measure, token spending, a token's permission scope, and a lane with no credentials now release the word as a token count already does. The stop stays for a secret value, an exposure, or a credential path. Refs: #12043 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MWmASNtP63MZxdDeoxYztD
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #13034 at
|
|
claude-review reviewed Code review: PR #13034, incremental
|
|
The pr-verify verifier failed head What it wrote (29 lines)This pull request leaves the merge queue, and ci-status holds it out while it carries |
The technical senses of a secret noun released anywhere in a reason, so
a stated leak in words TOKEN_HANDLING does not list ("the OAuth token is
in the public run log") skipped the security hold. Drop the oauth and
session senses, which are credentials, and release a sense that names a
credential by kind or scope only when the reason ends after it or a
capability follows. Measures (per-token, token-spending, input tokens)
still release anywhere.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MWmASNtP63MZxdDeoxYztD
CRED_END released a credential phrase on a continuation (the lane, ;, ),
, so, cannot, to use) and nothing re-read what followed, so a stated leak
after it ("the write token the lane uses is in the public run log") kept
its host-only route. A credential sense now releases only at the end of
the reason, or after one clause saying what it cannot do that itself ends
the reason. Held cases cover every trace from the review thread.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bounding CRED_END to the end of the reason left the words before a
credential sense unread ("the public run log now holds the write token").
A credential sense is now stripped beside the capability phrasings, so
capabilityOnly reads the whole reason and any word outside the capability
set holds; the set gains only the words the released reasons need. Measures
still release anywhere. Each review trace held is checked against both
earlier heads.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
In Actions wording an input or output token is an action's token input or
a step's token output, so stripping it from the counted text released a
stated leak ("the output token is in the public run log"). Input, output
and cache tokens now go through the capability-word check with the other
credential senses; only hyphenated measures release anywhere.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
No related issue: this builds owner decision Q1 (a), the owner's pick recorded at #12043 (comment). #12043 is where the stops were counted and the question was asked; its own scope (eval-case repair) is not touched here.
Summary
The issue lane's security-word stop (
stop-routes.mjs,SECRET_NOUN) held an issue for the owner whenever a run's ending stop reason named a secret noun outside a narrow capability phrasing. From 2026-10-28 to 2026-11-04 it held 12 issues. None was a real secret: "the role's subscription token", "bytes-per-token", "a pull-requests: write token", "has no Azure credentials" (data in the #12043 thread). The owner chose to release these technical senses (Q1 (a)).Fix
.github/scripts/work-resolve-issue/stop-routes.mjs:TOKEN_MEASURE: a measure (an input, output or cache token, a per-token measure, token spending or budget) names no credential and is released wherever it stands, the way a large token count already is (withoutCounts).CRED_SENSE: a phrase that names a credential by kind or scope (a subscription, model, read or write token, "whose token has no<scope>", "the token's permissions", "has no ... credentials") is stripped beside the capability phrasings, so it releases only whencapabilityOnlypasses on every other word of the reason. Any word outside the capability set, before or after the phrase, holds ("the public run log now holds the write token", "the write token the lane uses is in the public run log").CAPABILITY_WORDSgains only the non-exposure words the seven released reasons need.TOKEN_HANDLING).SECURITY_CONCERNwords (security, attack, takeover) are unchanged; three of the 12 stops came from those and stay with the owner.Verification
stop-routes.test.mjs: 31/31. It releases seven reasons taken from the 7-day stops and holds 23 that pair a technical sense with an exposure, a secret value or a credential path, including every trace from the security lane's three rounds.Related
stop-routes.test.mjs:175-176)🤖 Generated with Claude Code