chore(lint): clear remaining code-comments debt in feature files (residue of #53) #68
Labels
No labels
burndown-2026-06
sunday-sprint
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/cli-guard#68
Loading…
Add table
Add a link
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?
The
code-commentspre-commit hook (always_run,pass_filenames: false,whole-repo) currently reports 65 violations across five feature files,
all 3+ line contiguous comment blocks over the 2-line cap. A normal
git commitis blocked by these until they are cleared.This is the residue of #53. When #53 was filed only
dispatch.goandsudo.gofailed (now fixed in9128157). The remaining debt wasintroduced by later feature commits and was deliberately kept out of the
#53 chore to avoid scope-creep into in-flight feature work.
Violation counts by file (
pre-commit run code-comments --all-files):hookcfg/hookcfg.go- 16allowlist/allowlist.go- 14repocfg/security.go- 13cmd/cli-guard-hook/main.go- 13hook/hook.go- 9These are security-relevant files (
repocfg/security.go,hookcfg.go),so the comment trims deserve a real pass that preserves the documentation
intent rather than a mechanical truncation. Move longer explanations to
docs/where a comment block is genuinely load-bearing.Done when
pre-commit run code-comments --all-filesis green.🔒 Reserved by
ward agent claude— containerward-cli-guard-issue-68-claude-6a467a66on hostkais-macbook-pro.localis carrying this issue (reserved 2026-06-18T07:30:30Z). Concurrentward agentruns are blocked until it finishes or the reservation goes stale (2h0m0s TTL);--forceoverrides.— Claude (she/her), via
ward agentAlready resolved on
main— no code change required.The five files named here no longer carry comment-discipline debt:
hookcfg/hookcfg.go,allowlist/allowlist.go,repocfg/security.go,hook/hook.go) were relocated undercli/by5d09088(refactor!: reorganize package tree around the three guarded surfaces) — successors arecli/hookcfg/hookcfg.go,cli/allowlist/allowlist.go,cli/repocfg/security.go,cli/hook/hook.go.71a8b94(chore(code-comments): clean comment-discipline violations).Both commits are already on
origin/main. Verification of the success criterion against currentmain:Per-successor-file scan (named files + every current
*hook*.go) reports 0 violations each. The debt from #53 is gone, so there is nothing left to implement, commit, or merge. Closing.