Repository navigation
Description
Found while fixing #1403. Separate from that fix, because it obstructs anyone fixing any
dead-path finding rather than being about the one file.
The gap
A dead-path violation reported by CI cannot be reproduced locally, so it cannot be confirmed
fixed before pushing.
Measured on ptr727/HomeAutomation-Config PR #160, whose CI reported three:
.github/skills/operational-vs-release-workflow/references/branch-protection-and-promotion.md:17: dead-path: path 'repo-config/README.md' is deleted from this tree
.github/skills/operational-vs-release-workflow/references/branch-protection-and-promotion.md:26: dead-path: path 'repo-config/settings.json' is deleted from this tree
.github/skills/operational-vs-release-workflow/references/branch-protection-and-promotion.md:110: dead-path: path 'repo-config/README.md' is deleted from this tree
Run against the same worktree, at the same commit, with the same diff base f311fe8 that CI used:
| Invocation | Result |
|---|---|
.github/actions/prose-gate/prose_lint.py --diff f311fe8 . |
30 of 237 files read, no violation |
scripts/prose_lint.py --diff f311fe8 . |
30 of 237 files read, no violation |
either, --check dead-path <the file> |
1 file read, no violation |
either, --check dead-path . (whole tree) |
237 files read, 1 violation, an unrelated .vscode/settings.json in GOVERNANCE.md |
Ruled out: version skew, since the action's copy on main and on develop are byte-identical and
both behave the same here; the two prose_lint.py copies differing, since both behave the same;
the diff base, since it is the one CI used; and the check being inert, since the whole-tree run
does fire on a different path in the same repository.
The file still contains all three mentions at the time of every run above, verified by grep.
Why it matters more than the finding it hides
The gate is one a downstream repository hits on carried content it cannot fix, per #1403 and
#1138. Whoever fixes that content is in the hub, and cannot confirm the fix from the hub either,
because dead-path keys on history: "No mention of a path git once tracked and the tree no
longer holds". In the hub repo-config/ exists, so nothing fires there by construction. The only
place the check speaks is a repository that once tracked the path and deleted it, and that is
exactly where the local run above stays silent.
So the fix loop for this class of finding currently is: push, wait for CI, read, guess again. A
gate that cannot be run before the push is the one property the fleet's own verification rules
say a gate must not have.
What would settle it
Establishing which of the two the local runs are doing, since the remedies differ:
- The local invocation is wrong, and the runbook should state the one that reproduces CI.
GOVERNANCE.md"Running the Linters Locally (Known-Working Invocations)" exists for exactly
this, and carries nodead-pathentry today. - The action and a local run genuinely differ, in which case the difference is a defect in
one of them, and the composite action is the one CI trusts.
Either way a regression test over a fixture repository that tracked and deleted a path would pin
the behavior, since the current suite passes while the two disagree.
Activity
Replace Three Hub-Only Pointers in a Carried Skill Reference With the…
Name the Prose Gate's Own Copy on Every Verdict (#1417)
ptr727 commentedon Sep 7, 2026
Settled by #1417, merged to
developas 0b4657d. This issue stays open until adevelop -> mainpromotion registers the closing reference.The answer is neither of the two candidates above
This issue proposed that either the local invocation was wrong, or the action and a local run genuinely differ. Both are wrong. The local invocation was correct and the composite action is not defective.
HomeAutomation-Configpins the hub reusable workflow at389f5b9. TheHUB_HOSTEDexemption that silencesrepo-config/README.mdandrepo-config/settings.jsonlanded ine31d3fc, the immediately following commit. Its CI therefore ran a prose gate exactly one commit behind the rule, and no local run of a current copy could reproduce it.Reproduced by extracting the pinned copy and running it against the same worktree and the same diff base:
389f5b9, what CI randevelopSo the three findings were stale-pin false positives, and the "ruled out" list above was sound as far as it went. What it could not rule out was a difference between the copy CI fetched and every copy available locally, because nothing in either verdict said which copy produced it.
Why the pin was stale
Dependabot version updates had never run on that repository. Account-level "Dependabot on self-hosted runners" was enabled, routing update jobs to runners that do not exist, which silently affected every private repository in the fleet and no public one. The maintainer has since disabled it. Filed separately as #1418, since the fleet's own conformance script asserts the two Dependabot security features and nothing about version updates.
What changed
Every prose-gate verdict now names the copy that produced it, on the scope line:
gate <owner>/<repo>@<ref>from a pinned remote action,gate local <sha>from a checkout tracking the script at that commit,-dirtywhere the working copy moved, andunknownwhere no commit describes it. A verdict with nogateclause predates the change, which dates the copy just as well.GOVERNANCE.mdgains the reproduction recipe this issue found missing, verified verbatim against the case above. So the remedy is option 1 from "What would settle it", the runbook entry, with the attribution added so the question answers itself before anyone reaches for the runbook.Three follow-ups were carried out of that pull request rather than left in its body: #1419, #1420 and #1421.
ptr727 commentedon Sep 7, 2026
Owed on the promotion pull request that closes this issue: trigger CodeRabbit with
@coderabbitai review.#1417 merged without one. CodeRabbit's open-source tier does not auto-review a repository under ten stars, so it posted its skip notice while its status check reported success, and I read the green check as coverage instead of prompting it, which
.agents/skills/pr-review-conduct/SKILL.md"Which Reviewers a Repository Actually Has" requires the driving agent to do.Triggering it after the merge does not recover it. CodeRabbit answers a closed pull request with "Action not completed - Pull request is closed", and it does not re-review already reviewed commits, so the only remaining opportunity for these five files to receive a CodeRabbit read is the
develop -> mainpromotion pull request that carries them.Recording it here rather than in a session log, since this issue is already the one held open until that promotion runs.
coderabbitai commentedon Sep 7, 2026
@ptr727, acknowledged. On the opendevelop -> mainpromotion pull request, post:This triggers the CodeRabbit review for the changes from
#1417before the promotion pull request closes.✏️ Learnings added
You are interacting with an AI system.
Promote develop to main: prose gate copy naming, reviewer doc split, …