Description
What happened
PR #543 (vault ContentSource unification, closes #505) opened with a
single early commit that only added core/domain/model/ContentSource.kt —
classify_pr_risk.py ran at PR intake and correctly applied risk:low
(2026-08-24T18:37:14Z). Four more commits landed after that over the next
two hours, including one (refactor(vault): delete the superseded vault reader stack) that adds core/vaultstore/src/main/kotlin/xyz/libravault/core/vaultstore/VaultFileId.kt
— a new file matching agent-policy.yml's core/vaultstore/**
sensitive_paths glob. Nothing ever re-ran the classifier after that: the
PR went through status:needs-qa -> status:needs-info -> status:needs-qa
again -> status:needs-review (a full QA pass included) still carrying the
original risk:low label, right up to principal review.
Re-running classify_pr_risk.py origin/dev HEAD by hand against the actual
PR head (feed7e2) during principal review confirms risk:high is the
correct classification.
This is a different gap from #388 (label missing entirely after a crashed
dev-agent run) and #437 (same, after a manual requeue) — here the label was
never missing, it was simply never recomputed after the diff it was based on
changed underneath it. classify_pr_risk.py is only invoked from two
places: pr-intake.yml's pull_request: opened/reopened handler, and
dev-agent.yml's own end-of-run "force-classify" step. Neither fires on a
plain synchronize (ordinary push) to an already-open PR — which is exactly
how this PR was built (human/Claude-Code-authored directly on the branch,
push after push, not through dev-agent.yml's own single-shot flow).
Why this matters
principal-review-agent's own persona already anticipates this exact
scenario ("if commits landed after the label was last set, re-run the
script rather than trusting a stale label") — which is precisely how this
was caught here rather than upstream. But that guidance puts the entire
burden on the last human-facing check catching a stale label by hand, every
time, for every PR, with no earlier backstop. A less careful reviewer could
easily just read the label at face value, especially since the PR's diff
size (1205+/3357-, 51 files) makes "does one specific file among 51 match a
sensitive glob" easy to miss without deliberately re-running the script.
Suggested fix
Have pr-intake.yml (or a new lightweight workflow step) also re-run
classify_pr_risk.py --apply-label on pull_request: synchronize, not just
opened/reopened — the script is cheap and deterministic, so there's no
reason to only compute it once per PR lifetime.
What I did for PR #543
Re-ran classify_pr_risk.py origin/dev HEAD --apply-label 543 by hand,
which corrected the label from risk:low to risk:high. This issue is the
permanent record for the gap that let it go stale in the first place.
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