Repository navigation
Description
A fourth whole-unit carried-content pass over AUDIT.md section 6, run to record the pass that closes #1599, raised eight findings. The two it judged severe were fixed on that branch: the Dependabot-run query read only the newest page of an event the Copilot reviewer shares, so it reported a clean result on a repository that was still failing, and a comment stated a false resolution order for the registry groundTruthBranch field. The six below are the lesser imprecisions from the same pass, filed together because they are one unit's worth and are worked as one bundle. The pass ran both snippets against live fleet repositories.
-
"confirm by inspection that each declared ecosystem dual-targets
main+developper the [Branching Model][governance-branching-model]" cites a section that states no Dependabot rule.GOVERNANCE.md"Branching Model" names the dual-target bot wiring only as a pointer onward to the hub-localoperational-vs-release-workflowSkill, which a carrying repository does not hold, and the rule a downstream reader can actually reach sits inGOVERNANCE.md"Foundational Principles". This is also finding 5 of Fix the Pre-Existing Defects Later Whole-Unit Reads of AUDIT.md Section 6 Found #1606, filed there against the same sentence before this pass ran, and the two should be settled together. -
decl=$(... ) || decl=""is commented as absorbing grep's exit 1 on a file declaring no ecosystem, and it catches every non-zero exit, grep's exit 2 for a bad regex or a read error included. An errored grep then yields an emptydecl, so every implied ecosystem printsMISSINGwhile the script exits 0, turning a tool failure into a positive drift finding. The narrow fix is to test for exit 1 specifically rather than for failure. -
The snippet's header comment promises that "its exit status reports whether the reads succeeded rather than whether an ecosystem is missing", and two paths break that. An empty
yaml_countmakes[ "$yaml_count" -gt 0 ]printinteger expression expectedand skip thegithub-actionscheck while still exiting 0, and the four separate?ref=$groundreads are a TOCTOU against a moving branch, so a push between them judges a file read at one commit against a tree read at another.spec/audit.pypins its own tree read to a resolved head sha and the snippet pins nothing. The TOCTOU half is also finding 6 of Fix the Pre-Existing Defects Later Whole-Unit Reads of AUDIT.md Section 6 Found #1606. -
"It reports three things: a required name missing from a store, a forbidden name present in either store, and a configured name no applicable mechanism claims" gives no verdict tier for any of them, where
spec/audit.pyfiles the first two atDEFECTand the third atDRIFT, and section 7 turns that tier into the verdict. The neighbouring Dependabot bullet does name its tier. A reader files all three at the same weight. -
"Read a recent one as the routing still in place, and an old one as that click still owed" gives no threshold, and the live data offers no natural break: newest cancelled Dependabot runs across the private fleet today range from 2026-07-31 through 2026-08-06 to 2026-08-26. Two auditors reading the same output reach different verdicts. What actually settles it is whether a run exists after the account toggle was turned off, which the unit does not say.
-
"The Dependabot page says which in words, reading
Self-hosted runner unavailablewhile the routing is live" names a web-UI string with no API route, so it is unverifiable with the tools the unit itself hands the reader. It is sourced internally to Document Dependabot Self-Hosted-Runners Account Setting #1015, which uses the same wording, so this is a limit worth stating rather than a claim to remove.
Activity
ptr727 commentedon Sep 14, 2026
A closing pass over the same unit, run once the two severe defects above were fixed, confirmed both fixes hold and raised six further lesser findings. They belong with the six already listed here rather than in an issue of their own, and findings 1, 3 and 6 below restate items 1, 3 and 6 above from a second reading rather than adding to them.
The pagination fix was measured as load-bearing: on
ptr727/HomeAutomation-Configall 100 runs on page 1 of?event=dynamicare Copilot reviewer runs and the newest Dependabot run sits on page 2, so the unpaginated form reported nothing on a repository that is still stalled.The paginated read is not exhaustive, and the unit implies it is.
?event=dynamiconptr727/ProjectTemplatereports atotal_countof 2725 while--paginatereturns exactly 1000, page 11 answering with an empty array, so the window is the 1000 newestdynamicruns and is further bounded by Actions retention. Compounding it, the unit assigns no verdict to the script's own third output,no Dependabot run in this repo's dynamic run history: the prose interprets a cancelled newest run and a healthy one and stops there, so a reader reaching the empty branch has no rule, and that branch is where the remedied-but-click-still-owed case lands once its runs age out.ground=main # Section 1's ground truth. Set this to the repo's own groundTruthBranch where its registry entry, or the registry defaults, declares another.states the resolution order correctly and then instructs the auditor to follow the registry unconditionally, where section 1 of the same file says a registrygroundTruthBranchnamingdevelopcontradicts that section for either model. A registry declaringdevelopwould send the reader to audit a branch section 1 forbids, with no note of the conflict. Latent, since every cataloged entry declaresmain."It resolves what each store must hold from the hub's own
spec/secrets.jsonplus the registry entry'spublish[]/types[]/requiredSecrets[]" reads as though all three feed both stores, wherespec/audit.pyadds the registryrequiredSecretsnames to the Actions store only. Latent today, since every currentrequiredSecretsname is also mechanism-mapped, but a repository declaring a domain-specific secret would be audited in one store while the text implies both.github_paths=$(gh api "repos/$repo/contents/.github?ref=$ground" --jq '.[].path')assumes an array, where the structurally identical workflows read three lines below is guarded with atype == "array"test and carries a comment saying why. The guard is applied to one read of that shape and not the other two. Barely reachable, since it needs.githubto be a file, and the asymmetry reads as an oversight against the snippet's own stated rule.In the routing snippet's
--jq,runner_nameandstepsare both guarded against null while.labels | join(",")is not, so a null there raises rather than printing."The trailing class is the mechanical check's own" overstates the parity it claims. The snippet uses
[[:alnum:]_-], which is locale-dependent in grep, wherespec/audit.pyuses[\w-], which is Unicode-aware in Python 3. The two agree on every real ecosystem name, so the substantive half holds and the word "own" does not."The command checks what
configure.sh applywrites: the declared settings, the derived settings and the registry description, ..." lists the description among what the command asserts, wherecheck_settingsasserts it only when the registry declares one and otherwise emits a note telling the operator to verify it by hand.ptr727 commentedon Sep 14, 2026
One more observation from running the routing snippet repeatedly against
ptr727/HomeAutomation-Configwhile otherghcalls were in flight:gh api --paginatetwice returned a short or reordered result and still exited 0, so the snippet'shead -n 1named a 2026-07-31 run as the newest where three consecutive quiet runs all name the 2026-08-26 one. An earlier measurement onptr727/KiCadLibraryshowed the same shape, 14 matching runs against 36 on every repeat.That matters for finding 7 above rather than adding a new one: the snippet's correctness rests on the endpoint answering newest-first across every page, and a silently truncated pagination breaks that without failing. Whatever bounds the window should also make a short read loud, since a wrong newest run is read as a verdict here.
ptr727 commentedon Sep 14, 2026
A sixth pass, run to record the branch that closes #1599, raised one finding it judged severe and several lesser ones. The severe one is listed first because it is the only item on this issue that makes the unit's own two checks disagree, and it was introduced by that branch rather than inherited.
The empty-
dependabot.ymlclaim is inverted for a file holding only whitespace. The prose says an empty file "is caught by neither check ... so an empty file is reported by hand", and the snippet comment says "The mechanical check gates on a non-empty file, so an empty one skips here too". That holds for a zero-byte file and fails for a newline-only one.spec/audit.pygates onif db and db.get("content"), and the base64 of a single newline is"Cg==", which is truthy, so the mechanical check runs and emits a drift finding per implied ecosystem. The snippet assigns throughdependabot_yaml=$(gh api ...), and command substitution strips trailing newlines, so its own emptiness test is true and it skips. Measured:spec/audit.py"\n""\n\n"" \n".editorconfigsetsinsert_final_newline = true, so an editor emptying adependabot.ymlin any fleet repo produces exactly the one-byte case. The effect carried to every repository is that the auditor is told to hand-report a file the runner already reported, and told the two agree where they disagree. The fix is either to test the raw content the way the runner does rather than the newline-stripped string, or to state the disagreement instead of claiming parity.echo "no Dependabot run in this repo's dynamic run history"asserts absence across the whole history, which the 1000-run cap the comment above it now admits cannot support. Measured onptr727/ProjectTemplate, that window reaches back 29 days, so the lookback on an active repository is about a month, and the unit gives that output line no reading at all."so it is reported as a maintainer action rather than converged under section 10" names a disposition no other section defines. Section 7 requires a letter verdict and an intent verdict per dimension, section 8's template is a
{letter, intent, verdict, evidence}table plus a drift section, and section 10 says drift is resolved by applying fixes rather than left as a report. A reader has no row to put a maintainer action in. This is the same gap as item 7 of Fix the Pre-Existing Defects Later Whole-Unit Reads of AUDIT.md Section 6 Found #1606, reached from the other direction.Two hand-judged results in the section carry no verdict tier where the adjacent mechanical ones state theirs explicitly: the new "an empty file is reported by hand", and the existing "confirm by inspection that each declared ecosystem dual-targets
main+develop".The closing comment
# Then read dependabot.yml and confirm each present ecosystem has both a main and a develop target-branch entry.sits after everyechoand bothexit 0paths of a script the header tells the reader to save and run, so a reader who follows that instruction never sees it, and it asks for a file the script already holds in$dependabot_yaml.Every runnable the section gives is bash, using herestrings,
grep -oEandsort -u, while the section itself contemplates a Windows host by namingpy -3as an accepted interpreter. Nothing says a Windows auditor needs Git Bash or WSL, and none of it runs under PowerShell.The reading the bullet gives covers a cancelled run and a GitHub-runner success, and not a run still inside the 24-hour queue the same bullet describes. That run prints
null labels=dependabot runner= steps=0, or nothing at all after thenewest Dependabot run:line while its job does not yet exist, since.jobs[]over an empty array emits nothing and exits 0.ptr727 commentedon Sep 14, 2026
Three findings from the branch-level review of the same change, filed rather than fixed because the edit budget for this branch is spent. The fourth finding that review raised,
STANDUP.mdstill carrying the claim this branch disproved, was fixed on the branch instead, since leaving two hub files contradicting each other about a measurable fact is the cross-surface defect a settled rule exists to prevent."The Dependabot page says which in words, reading
Self-hosted runner unavailablewhile the routing is live" contradicts its own paragraph two clauses earlier. That paragraph establishes that turning the toggle off reruns nothing already queued and starts no new run, so a remediated repository's Dependabot page still shows the last attempt'sSelf-hosted runner unavailableuntil someone clicksCheck for Updates. The page is frozen at the same stale attempt the date reading was introduced to work around, so it reads "live" in both cases and cannot break the tie it is offered for.ptr727/MediaToolsandptr727/HomeAssistant-Config, with no Dependabot run since 2026-08-06 and 2026-07-31, are the case it mis-resolves.ground=main # ... Set this to the repo's own groundTruthBranch where its registry entry, or the registry defaults, declares another.is the first place in the file that tells an auditor to follow a non-maingroundTruthBranch. Section 1 says to readmainas ground truth anddeveloponly to detect divergence, and says a registrygroundTruthBranchnamingdevelopcontradicts that section for either model, meaning report it rather than obey it.registry/repos.schema.jsonadmits any ref-shaped string andspec/validate.pydoes not refusedevelop, so the conflicting instruction is reachable as soon as an entry declares one. This restates item 8 above with the schema evidence that makes it reachable rather than merely latent."a mechanism adds to a store only where the mechanism's own
storeslist names that store" covers mechanisms and not the registry's ownrequiredSecrets[], whichspec/audit.pyadds to the Actions store alone and never to the Dependabot store. The wording this branch replaced did say "in the Actions store and, where the mechanism needs it, the Dependabot store too", so an auditor now reads arequiredSecretsname as required in whichever stores its mechanism names. The reachable case isCODECOV_TOKEN, which appears in nine entries'requiredSecrets[]and is owed in both stores through the codecov mechanism: for a repository whose codecov claim is suppressed, by alint-onlyprofile or by no tests being detected, the entry's ownrequiredSecretsstill requires it in Actions while the Dependabot copy goes unchecked, and a clean run reads as coverage of both.ptr727 commentedon Sep 14, 2026
One further finding from the closing branch review, filed rather than fixed for the same reason as items 21 to 23.
The run selector reads a different workflow than the prose says it reads.
select((.path // "") | startswith("dynamic/dependabot"))matches two GitHub-generated workflows rather than one:dynamic/dependabot/dependabot-updates, the update jobs this account setting routes, anddynamic/dependabot/update-graph, the dependency-graph submission. The comment above it says "Dependabot's own update jobs run under the dynamic event ... so they are selected by path", and the line below takes the first match as "the newest Dependabot run". On the repositories carrying both, the newer run is the graph submission, so that is what gets read:dependabot-updatesupdate-graphFinancial-ModelingsuccesssuccessHomeAutomation-ConfigcancelledcancelledKiCadLibrarycancelledcancelledTwo failures follow. A repository whose update jobs are routed while its graph submissions are not reads as clean, and the date reading item 5 above asks for is applied to the wrong run population, where the two dates differ by 26 days on two of these repositories. Both workflows happen to reach the same conclusion on every fleet repository today, which is why the reported classification held, so this is a latent wrong answer rather than a current one. The block also never prints
.path, so the substitution is invisible to the reader. Either narrow the prefix todynamic/dependabot/dependabot-updatesor emit the path beside the id and the date.ptr727 commentedon Sep 14, 2026
The terminal pass for the #1599 branch. Its first finding is the one that matters most on this issue, because it undermines the routing check rather than describing it imprecisely, and it corroborates the pagination flakiness reported in an earlier comment here with a reproduction.
The newest-run walk intermittently misses the newest runs, so the routing verdict can invert. The block asserts "The endpoint answers newest first and paginates in that order, so the first line is the newest Dependabot run whichever page it landed on". Ordering within a successful walk holds, measured at zero
created_atinversions across 1000 rows, and the failure is that some walks come back without the newest runs at all. Reproduced three times in one session with the block exactly as printed:ptr727/PlexCleaneranswered34087825778 2026-09-07T05:42:25Zon two invocations and34810650156 2026-09-14T05:43:17Zon others minutes apart, andptr727/Utilitiesanswered34241145957 2026-09-08T14:52:59Zon two consecutive invocations where the same query run directly answered34858644756 2026-09-14T14:54:17Z. GitHub documents no sort guarantee forGET /repos/{owner}/{repo}/actions/runs, and the block carries nosortormax_by(.created_at)guard. The disposition rests on "a later success would be the newest run instead", so a repository that has recovered is reported as still failing, carrying a stale date the report then publishes. A guard over the emitted lines would harden the ordering half and not the truncation half, so this needs deciding rather than patching."Why they are still failing is not something the API answers, since the toggle's own state, whether a matching runner is registered and online, and whether the queue was ever restarted all sit outside it." The middle item is answerable with the admin token this section already requires:
gh api repos/<owner>/<repo>/actions/runnersreturns a count and astatusof online or offline per runner, and it answers{"total_count":0,"runners":[]}onptr727/MediaTools. That sentence is what justifies stopping detection where it stops, so a false premise in it costs the auditor a read that would narrow the two remaining explanations. The other two items are confirmed unanswerable:repos/{owner}/{repo}exposes no self-hosted-runner field, itssecurity_and_analysisobject holding only the Dependabot and secret-scanning keys."With none registered on the owner" and "bring a matching self-hosted runner online instead" name a registration point that does not exist for a user-account owner. GitHub registers self-hosted runners at repository, organization, or enterprise level, and
gh api user/actions/runnersanswers 404, so the remedy tells the maintainer to bring a runner online without saying where it would register."The run's date is carried out with its id so the report can say when this repo's updates last ran" names
created_at, which is when the run was queued. In exactly the case this check exists for, routed and cancelled with no step, nothing ran, so the report line it feeds is read as a last-successful-run date."a repo whose toggle is already off needs only that click" attributes the toggle to a repository, where the bullet's own first sentence scopes it to the owner and names the owner-level URL, and no per-repository field for it exists in the API.
AUDIT.mdsays "GitHub routes only a private repo through this setting" andSTANDUP.mdsays "GitHub never routes a public repo through this setting". These are not the same claim, since the first additionally excludes an internal repository and the second does not. The fleet's owner is a user account, so no internal repository can exist and the effect is identical today, and the two carried surfaces state the scope question at different strengths, which is the shape that produced a contradictory internal arm once already."Language ecosystems (
nuget/uv/npm) are directory-scoped and audited by inspection too" states no criterion for what implies one and no pass condition, so it cannot be carried out as written.spec/audit.pyrecords the same set as not yet cross-checked, so nothing anywhere defines the expectation the auditor is told to check by hand."It reports three things: ... and a configured name no applicable mechanism claims" sits after two sentences setting up a per-store model, where
spec/audit.pybuilds the claimed set as the union across both stores. A name required in the Actions store and configured only in the Dependabot store is reported missing from Actions and never reported as unclaimed in Dependabot, so the misfiling itself stays invisible.The ecosystem block's normal path can print nothing and exit 0. A repository carrying
.github/dependabot.ymlwith no.github/workflowsand no.devcontainerfires neither early-exit message and neither ecosystem arm, so the reader sees empty output and a zero exit, which is indistinguishable from the script not having run. Both deliberate stop conditions announce themselves and this one does not.Answer Round One's Findings, and Guard the Snippets a Markdown File H…
Fix the Pre-Existing Defects a Whole-Unit Read of AUDIT.md Section 6 …
Quote the Placeholders a Reader Pastes, and Stop the Ground Comment C…
Promote the AUDIT.md Section 6 Fixes and the Fence Scanner to Main (#…
ptr727 commentedon Oct 23, 2026
Closed under the maintainer's decision (ptr727, 2026-10-23) on #3391, item 3: the prose and documentation backlog frozen by #1311 in September is closed rather than worked one issue at a time, keeping open only the issues where a document states something the shipped code or workflow does not do. This issue was read as wording, structure, restatement, or a gap in guidance rather than a falsified claim. Reopen with the sentence and the behavior it misstates if that reading is wrong.