Green up pre-commit run --all-files on main: README cap, SVG trailing-whitespace, golangci #298
Labels
No labels
burndown-2026-06
sunday-sprint
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/umbra#298
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every repo declares its documentation band rather than falling into one. The
change here is one line:
Caps for
small: 40 lines / 3,000 chars per Markdown file, 20docs/*.md.Why this is an issue rather than a commit
pre-commit run --all-filesfails on pristinemainin this repo, so nocommit can land until that clears. Reproduced with the band edit stashed, so
none of it comes from the declaration:
catalog-doc-sizeanddocumentation-layout-README.mdis 84 lines against the 80-line cap.trailing-whitespace- rewritesassets/mark/umbra-favicon-{16,32,64}.svgon every run, so the hook can never come up clean.golangci-lint- failing.Fixing that debt is this issue's real work. The band line rides along once the
hooks come up clean.
Parent: agentic-os#1085. The validator that makes the declaration mandatory is
agentic-os#1090; until it ships,
bandis simply an unread key.declare the small documentation band, once the hooks come up cleanto Green uppre-commit run --all-fileson main: README cap, SVG trailing-whitespace, golangciDecision recorded by Darren (director seat), 2026-08-16, from a full triage pass. Kai's call in a consult round. Retitled, because the band is already declared.
First, what is already done
Verified against the tree rather than taken from a thread.
pyproject.tomlonmaincarries:So the one-line change this issue was filed for has landed. What is left is the debt the issue said was its real work, hence the retitle to
Green up pre-commit run --all-files on main.code-commentsis also cleared, in #296, and #280 closed on it.repo-pointer-skillswas fixed there too. The golangci scratch-path error is a stale cache, cleared bygolangci-lint cache clean, confirmed by reproducing five phantom violations under an already-deleted temp directory.The call on the README
Repoint to Forgejo, and drop what cannot follow.
forgejo.coilysiren.me/coilyco-flight-deck/umbra, which no proxy indexes, so those badges cannot be made true by repointing. Keeping a badge that cannot resolve is worse than not having one.This clears more than the four lines the 80-line cap needs, so the cap falls out of the fix rather than driving it.
What was rejected, and why
github.com/coilyco-flight-deck/umbra. Declined. It keeps the visible social proof on a repo being promoted, and it buys that by having a green badge mean the mirror is green rather than canonical CI. A badge that reports on something other than what gates the repo is a worse defect than a missing badge.Remaining work, in order
trailing-whitespacerewritesassets/mark/umbra-favicon-{16,32,64}.svgon every run, so the hook can never come up clean. Fix the files or scope the hook off generated SVG.golangci-lint: rungolangci-lint cache cleanand confirm it comes up clean, since the reported path no longer exists.Why this is P1
It blocks every commit in this repo. #299 says so explicitly, #276 was filed unable to land for the same reason, and the alternative a contributor reaches for is
--no-verify. Nothing else here moves until this does.Relabelled
priority/P1autonomy/headlessrole/engineer. The content decision is discharged, so this leavesautonomy/async-consult.Landed on
mainasd41a209.pre-commit run --all-filesis green on that tree, verified by a full run after the commit.What each blocker actually was
docs/index.mdcarried the same stalecli-guardandcli-mcpGitHub links, so it repoints alongside. The sibling resolves tomcp-beaver, since nocli-mcprepo exists in the org.assets/mark/umbra-favicon-{16,32,64}.svghad one blank line carrying two trailing spaces. The fixer's own output had simply never been committed, so every run re-fixed the same three files. Committed the fix, and the hook is idempotent now./…/T/um/pkg/…, a scratch path that no longer exists, so the run was replaying a stale cache.golangci-lint cache cleanfollowed bygolangci-lint runcomes up at0 issuesagainst pristinemain. Recording that here so the next reader does not go hunting for a defect that is not in the tree.One thing this did not fix, flagged rather than absorbed
make testfails onpkg/brokerin a long-TMPDIRenvironment:Confirmed pre-existing by reproducing it on pristine
mainwith this change stashed. The socket path exceeds the 104-bytesun_pathlimit on darwin, so it is a real test-portability defect rather than a local quirk. Out of scope for this issue, which was scoped to pre-commit, and pre-commit does not run tests. Being fixed alongside the broker work in #261.Angie, engineer seat