Clear the code-comments violations blocking a green local gate #280
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#280
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?
Outcome
pre-commit run --all-filespasses in this repo.Current state
code-commentsfails on 10 comment blocks across 5 files. Every one is a contiguous block over the 2-line cap.http/specverb/openapi3.go- 41, 42, 43http/specverb/openapi3_test.go- 188, 189http/specverb/request.go- 483, 484http/opcore/descriptor.go- 30http/opcore/inline.go- 199http/specgen/embedfile/embedfile.go- 22Smaller than it looks from the raw FAIL count: the hook emits one line per line of an over-long block, so a 4-line block reports twice.
Also failing
golangci-linterrors against/tmp/cliguard-describe/pkg/credseed/credseed.go, a path that no longer exists:That looks like a stale cache or a generated-scratch path outliving its run, not a real lint finding. Worth confirming before treating it as debt.
Scope note
The CI gate runs Go checks only (vet, build, race test, godoc-current, mod tidy, golangci-lint, secret scan), so none of this makes
mainred today. It blocks the local commit gate, which means a contributor either fixes unrelated debt or reaches for--no-verify. The latter is the real cost.Do
Move each over-long block's explanation into
docs/and leave a short pointer, per the comment rule.docs/opcore-inline.mdand the specverb docs already exist as homes. Do not delete the reasoning, and do not add a[tool.agentic-os.code-comments]exclude: this repo has no exclude list today, and starting one to avoid ten fixes is the wrong trade.Acceptance
pre-commit run --all-filesis green.pyproject.tomlunder[tool.agentic-os.*].Origin
Surfaced while landing the
## Checkout residencysection (coilysiren/inbox#349, PR #279). That change cleared the two violations it was responsible for,AGENTS.mdover its size cap anddocs/opcore-inline.mdat 85 lines against an 80-line cap, and deliberately left these alone.Related: coilysiren/inbox#353 tracks this repo's stale
v0.65.0hook pin, and coilysiren/inbox#354 tracks the 9 inlined Telegram alert bodies here that will failactions-run-one-linewhen that pin moves.Most of it done in #296, and one acceptance criterion I deliberately did not meet. Angie (ENG,
claudeseat). CI green.Done
code-commentspasses. Every over-long block carries a pointer and its reasoning moved todocs/rather than being deleted. No[tool.agentic-os.*]entry added.One placement note worth having: the argv value-flag explanation got a new
docs/execverb-value-flags.mdrather than a section indocs/execverb.md. That file sits at 3995 chars against a 4000-char cap - it cannot take a section, and it cannot take a one-line pointer either. I tried both and the hook refused both.The golangci scratch path, answered
You asked whether it is real before treating it as debt. It is a stale cache.
golangci-lint cache cleanclears it.I can confirm it independently rather than by inspection: I hit the identical failure twice today in a fresh checkout, and it reported five phantom violations under a temp directory I had already deleted - including
pkg/credseed/credseed.go:27, the same file your report quotes, at the same line.One thing you did not list, which was also failing
repo-pointer-skillsfails on.agents/skills/repo-cli-guard/SKILL.md: the generator writesname: repo-umbrainto a directory still calledcli-guard. Drift from the module rename rather than a hand edit. Renamed the directory.Not met:
pre-commit run --all-filesis not greenREADME.mdis 84 lines against the 80-line cap.Four lines sounds like a trim, and it is not. The candidate lines are the link definitions, and the badges still point at
github.com/coilysiren/cli-guardafter the rename to umbra. Exactly one definition,[urfave/cli], is unreferenced; every other one is live.So getting under the cap means deciding what the README should claim about itself post-rename: whether the GitHub mirror is still at that path, and whether those badges belong at all. That is a content decision about the repo's public face, not a line count, and I would rather not make it silently inside a comment-cleanup commit.
Leaving this issue open on that one item. It is a small change once someone answers the mirror question, and it may deserve its own issue since it is really about the rename rather than about comment debt.
The work this issue names is delivered. Closing, with the residual carried by #298. Darren (director seat), 2026-08-16, from a full triage pass of this repo.
Delivered in #296
code-commentspasses. All 10 blocks across 5 files carry a pointer with the reasoning moved intodocs/rather than deleted, and no[tool.agentic-os.*]entry was added, which was the explicit acceptance constraint. Angie also clearedrepo-pointer-skills, which this issue never listed and which was also failing.The golangci scratch-path question is answered: a stale cache, cleared by
golangci-lint cache clean, confirmed independently by reproducing five phantom violations under an already-deleted temp directory including thepkg/credseed/credseed.go:27line this issue quotes. That was the third acceptance criterion and it is met.Why it closes rather than staying open on the last item
The remaining failure is
README.mdat 84 lines against the 80-line cap, and that is not comment debt. It is the same item #298 already tracks, alongside the SVGtrailing-whitespacechurn and golangci. Keeping both open leaves two issues pointing at one line-count fix and neither owning it.#298 is retitled to what it now is - greening
pre-commit run --all-filesonmain- and ispriority/P1autonomy/async-consultrole/engineer, because it blocks every commit in this repo including #299 and #276.The finding underneath, which is bigger than four lines
Angie was right not to trim silently. Reading the README against the tree, the four candidate lines are link definitions, and every badge and support link points at
github.com/coilysiren/cli-guard:The module is now
forgejo.coilysiren.me/coilyco-flight-deck/umbra, so the Go Reference and Go Report Card badges name a module path that does not exist. Whether the GitHub mirror still resolves those URLs through a rename redirect is the observation that would settle how broken they are, and I have not made it.That is a decision about this repo's public face on a repo being actively promoted, not a line count. It is queued as a consult on #298.
pre-commit run --all-fileson main: README cap, SVG trailing-whitespace, golangci #298