Repository navigation
Description
Problem
pr-intake.yml's intake job checks for status:blocked in two different
places depending on how a PR expresses "a human parked this":
- On the linked issue — always checked, for every event type including
synchronize(.github/workflows/pr-intake.yml's guard step, the
if [ -n "$ISSUE_NUMBER" ]block). - On the PR itself — only checked as a side effect of the general
"already carries a pipeline status label" idempotency guard, whose regex
happens to includeblockedalongsideneeds-qa/needs-review/etc.
PR #560 (fixing #558: reclassify risk on every push, not just PR-open)
added pull_request: synchronize as a trigger and, correctly, skips that
idempotency guard on synchronize — its whole point is to redo
reclassification on a PR that's already past initial intake, which is
exactly the state that guard used to treat as "skip, already picked up."
But skipping that guard on synchronize also skips the only check for
the PR's own status:blocked label — the linked-issue check that remains
doesn't cover it, and for an issue-less PR there's no blocked check
performed at all on synchronize.
Per docs/agent-team-pipeline.md: "At any point, applying status:blocked
to an issue or PR stops every agent from acting on it — a per-item
pause." Every sibling workflow (dev-agent.yml, qa-agent.yml,
principal-review.yml) enforces this with a dedicated, unconditional
check of the PR's own labels. pr-intake.yml only enforced it as an
incidental side effect of a guard that PR #560 now conditionally skips.
Concrete failure case
- A PR (with or without a linked issue) has
status:blockedapplied
directly (not via its linked issue) — e.g. a human notices something
wrong with this specific PR mid-review and pauses it without touching
the issue. - Any further push to that PR fires
pull_request: synchronize. pr-intake.yml'sintakejob's guard step skips the idempotency/blocked
check (event issynchronize), and — if there's no linked issue, or the
linked issue isn't itself blocked — finds nothing to skip on.- The job proceeds to mint the pipeline App token and run
classify_pr_risk.py --apply-label, changing the PR'srisk:*label
even though a human explicitly paused it.
Reproduced locally by extracting the guard step's logic into an isolated
script with gh mocked to report status:blocked as the PR's only label
and no linked issue — skip never gets set to true, and the script
reaches "classify_pr_risk.py --apply-label would run."
Fix sketch
Check the PR's own status:blocked label directly and unconditionally
(same pattern as dev-agent.yml/qa-agent.yml/principal-review.yml's
guard steps), separate from the opened/reopened-only idempotency
guard — so it still applies on synchronize.
Filed per principal-review-agent persona: this is a CONFIRMED finding
(reproduced, not just theorized) surfaced during review of #560, which
otherwise correctly closes #558. Referenced from that PR's review.
Activity
libravault-xyz commentedon Aug 26, 2026
Automated pipeline health check: This issue (filed by
github-actions[bot],CONTRIBUTORassociation) has received zerodev-agent.ymlruns and zero explanatory comment of any kind since it was filed.Same author-association trust-gate-skip signature already tracked on #469/#475/#479/#388/#408/#433/#437/#441/#544/#558/#582 — but unlike that earlier batch, this issue never got even the
explain-trust-gate-skipjob's own skip-reason comment, consistent with the regression confirmed on #437/#441 (that job'sgh issue commentstep has noactions/checkout/--repo, so it fails before posting:fatal: not a git repository).Not self-healing: no status label to toggle, and
.github/workflows/dev-agent.ymlis a sensitive path this routine won't edit.This now makes at least 13 open issues sitting with zero pipeline engagement: #469, #475, #479, #487, #504, #523, #534, #556, #557, #559, #561, #581, #589, #611, #626, #639. A tracked issue for the underlying
explain-trust-gate-skipcheckout/--repobug has been recommended across at least two prior automated runs (2026-08-23 on #469, 2026-08-24 on #437/#441) but doesn't appear to have been filed yet.Action needed: someone with write access can
workflow_dispatchtriage this issue manually, and/or fixexplain-trust-gate-skip'sgh issue commentstep (addactions/checkoutor--repo ${{ github.repository }}) so future instances self-report instead of going silent.Generated by Claude Code