Repository navigation
fix(intake-triage): keep an existing Issue Type and retry a clean triage that hit a denial - #887
Conversation
The apply job set the model's type on every usable triage, so it replaced a type a maintainer had already chosen (claude-code-plugins#9982: Task set by hand, changed to Feature a minute later, then refused by admission as a parentless Feature). An existing type now stays and counts as typed for the floor-label removal. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018CEuXyf8rf9oWJWecskiuF
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 finished @kyle-sexton's task in 1m 17s —— View job Security review
Scope: only Finding: none. The change ( No GitHub Actions hardening concerns either (no trigger, critical-findings: 0 claude-lane-summary: lane=claude-security-review sha=159d56d0f98b852f2f606c787910cef1efbe0158 run=40201838246 |
|
Claude finished @kyle-sexton's task in 2m 15s —— View job Code review
SummaryNo findings. The fix is scoped correctly:
No correctness, test-coverage, or maintainability issues found in the two changed files. Nothing security-relevant in scope (no auth/privilege/injection surface touched). claude-lane-summary: lane=claude-review sha=159d56d0f98b852f2f606c787910cef1efbe0158 run=40201838246 |
|
claude-security-review has reviewed this pull request through 8ee5cdc; a later push is reviewed from there. |
|
claude-review has reviewed this pull request through 8ee5cdc; a later push is reviewed from there. |
A single permission denial turned a complete, clean verdict that asked for no person into a needs-human hand-off (6 of 8 bare hand-offs traced). Such a run now applies nothing and escalates nothing, so the caller's triage sweep retries it within its attempt bound; a verdict that asks for a person, or any other escalation reason, still escalates. The extract step logs each denied tool and its input with control characters, workflow commands and credential-shaped strings neutralized. Owner decision via the Issue Triage session, 2026-10-25. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018CEuXyf8rf9oWJWecskiuF
…dict step A deferred triage writes no lane comment, so a caller step that reads the comment (claude-code-plugins apply-verdict) would throw and turn the run red. The workflow now outputs triage-deferred: 'true' for that case. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018CEuXyf8rf9oWJWecskiuF
The runner also parses the legacy ##[command] form anywhere in a line (actions/runner src/Runner.Common/ActionCommand.cs TryParse), so neutralizing :: alone let model-chosen tool input issue ##[add-mask] or ##[error]. The denial lines now sit inside ::stop-commands:: with a per-run random token, the documented way to log text without running workflow commands. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_018CEuXyf8rf9oWJWecskiuF
|
Claude finished @kyle-sexton's task in 6m 51s —— View job Security review
SummaryIncremental review covering the 3 commits since this lane's last pass (159d56d): the denied-tool-call logging ( Denied-tool-call logging (new): correctly implemented. Defer-on-permission-denial (new, intake-triage.yml#L1588): flagged as a SUGGESTION inline comment, not a blocker. When a permission denial is the sole reason a run would otherwise escalate, the lane now applies nothing and defers for a retry instead of forcing the escalation label. A permission denial is also the signal that the model attempted a disallowed tool call — plausibly a prompt-injection attempt — so this trades some of that detection signal for less noise on benign denials. The retry bound that's supposed to eventually force escalation lives in the consuming repo's "triage sweep," outside this diff, so this file alone can't confirm it exists or that it re-escalates on exhaustion rather than silently dropping the issue. Worth a maintainer confirming that contract holds on the caller side. No GitHub Actions hardening issues (no trigger/ critical-findings: 0 claude-lane-summary: lane=claude-security-review sha=ad7755ea0a439d5d752de957a71cdec132b6ce6d run=40204062534 |
|
Claude finished @kyle-sexton's task in 5m 37s —— View job Code review
SummaryReviewed only what changed since The defer logic ( One finding, posted inline: the new I could not run claude-lane-summary: lane=claude-review sha=ad7755ea0a439d5d752de957a71cdec132b6ce6d run=40204062534 |
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Claude finished @kyle-sexton's task in 25s —— View job Security review (incremental: ad7755e → 8ee5cdc)
SummaryThe only change since
No workflow, action, or non-test source file changed in this window. This is a test-only diff with no security-relevant surface (skip gate item 2) — no injection, authorization, secret-handling, or trust-boundary surface to review. Finding: none. critical-findings: 0 claude-lane-summary: lane=claude-security-review sha=8ee5cdc85f4d9ea3cf632db3fd6b4e7b0207acf9 run=40204790117 |
|
Claude finished @kyle-sexton's task in 1m 35s —— View job Code review
SummaryThis increment is almost entirely a formatting pass (the test file's existing lines re-wrapped, no behavior change) plus one new test: test("triage-deferred reaches the caller from the apply step's deferred output", () => {
assert.equal(workflow.on.workflow_call.outputs["triage-deferred"].value, "${{ jobs.apply.outputs.deferred }}");
assert.equal(workflow.jobs.apply.outputs.deferred, "${{ steps.apply.outputs.deferred }}");
assert.equal(applyStep.id, "apply");
});This directly closes the test-coverage gap I flagged in this lane's prior review on this PR (the two-hop output wiring at ad7755e's I checked the three asserted values against the current workflow file and they match the real wiring exactly:
A typo at either hop would now fail this test rather than silently resolving to an empty string, so the gap is closed correctly. I could not run No new findings in this increment. claude-lane-summary: lane=claude-review sha=8ee5cdc85f4d9ea3cf632db3fd6b4e7b0207acf9 run=40204790117 |
… contract (#879) Refs: melodic-software/ci-workflows#887 ## Summary Registers the `intake-triage.yml` reusable-workflow contract at ci-workflows [v0.65.10](https://github.com/melodic-software/ci-workflows/releases/tag/v0.65.10) (`215cec5c362f953f8b6196effb04451696c3f970`), so claude-code-plugins can repin its intake caller from `b0ecc273abe492d12f2efa98ee4741a84c219ed2` and pass runner-policy. ## Fix - Copies the `intake`-role entry at `@b0ecc273abe492d12f2efa98ee4741a84c219ed2` forward verbatim in `components/runner-policy/policy.json`. The b0ecc27 and earlier entries stay as history. - Adds the matching copy-forward test in `runner-policy.test.mjs` and a rollout line in the component README. - v0.65.10 ([ci-workflows#887](melodic-software/ci-workflows#887)) keeps an existing Issue Type, applies nothing on a permission denial over an otherwise clean triage, adds the `triage-deferred` workflow_call output, and logs denied tools inside `::stop-commands::`. `git diff b0ecc27 215cec5 -- .github/workflows/intake-triage.yml` changes no input, secret or job permission. ## Verification - `node --test components/runner-policy/runner-policy.test.mjs`: 352 pass, 0 fail. - `node components/runner-policy/runner-policy.mjs --root <worktree>`: Runner policy passed. - `biome ci` on the two changed code files and `markdownlint-cli2` on the README: clean. ## Related - [melodic-software/ci-workflows#887](melodic-software/ci-workflows#887) (released as v0.65.10) - [#863](#863) (the b0ecc27 intake-role contract) - Next: the standards sync into claude-code-plugins, then its intake caller repin. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
No related issue: defects reported by the Issue Triage session (owner rule: fix in place, no new issues).
Summary
Two intake defects in the apply job:
needs-humanhand-off. The owner decided (2026-10-25, via the Issue Triage session) that such a run applies nothing so the caller's sweep retries it.Fix
type.nameon the REST issue the job already fetches) is kept and counts as typed for the floor-label removal.needs_humanfalse, no other escalation reason) applies nothing and escalates nothing. A new workflow output,triage-deferred: 'true', lets a caller skip a step that reads the lane comment.::stop-commands::with a per-run random token, with control characters replaced and credential-shaped strings redacted. The runner also parses the legacy##[command]form anywhere in a line (actions/runnersrc/Runner.Common/ActionCommand.csTryParse), so neutralizing::alone would not stop model-chosen input from issuing a command; stop-commands is GitHub's documented way to log text without running commands.Verification
node --test .github/scripts/intake-triage-apply.test.cjs: 58 pass. The existing-type test fails on main's workflow; the log test feeds::error::and##[add-mask]payloads and asserts they sit inside the stop-commands block with the credential redacted.typeas a nullable object withname.Related
apply-verdictjob ontriage-deferred != 'true'; without that, a deferred run would throw in apply-verdict ("this run's triage wrote none").🤖 Generated with Claude Code