fix(ci): a sweep that sees fewer repos must say so - #44
Merged
Conversation
The daily run inspected 32 repos; the same script run locally inspected 34. The two missing were `go-to-market` and `lifeops` — private, and a workflow's default GITHUB_TOKEN is scoped to its own repo, so `gh repo list` returns only public ones. Neither carries a model pin today, so nothing was actually missed. The problem is the shape of the failure: a sweep that quietly sees fewer repos than it did yesterday reports a CLEANER fleet, not a smaller one, and that is the same false ✓ the self-test exists to prevent one layer down. It cannot know the true count, but it can notice that not one private repo came back — which means either there are none, or this token cannot see them. Both are worth a line. Set GH_TOKEN to a PAT with repo scope to cover them. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The first scheduled run inspected 32 repos; the same script locally inspected 34. The two missing were
go-to-marketandlifeops— private, and a workflow's defaultGITHUB_TOKENis scoped to its own repo, sogh repo listreturns only public ones.Neither carries a model pin today, so nothing was missed. The problem is the shape of the failure: a sweep that quietly sees fewer repos than yesterday reports a cleaner fleet, not a smaller one — the same false ✓ the self-test exists to prevent one layer down.
It can't know the true count, but it can notice that not one private repo came back, which means either there are none or this token can't see them. Both deserve a line in the report. Set
GH_TOKENto a PAT withreposcope to cover them.