Doc comments on every exported Go symbol and package, enforced in CI #2086
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#2086
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?
Why
CODING-STANDARDS.md requires a doc comment on every exported symbol and package. A count on 28 Oct found ~2,530 of 2,946 exported funcs/methods and 97 of 115 packages documented — about 416 funcs/methods and 18 packages still missing.
Done when
reviveexported) runs in CIAgent Brief
Category: enhancement
Summary: Add a CI lint check that every exported Go symbol and package has a doc comment (CODING-STANDARDS.md), and make the tree pass it.
Current behavior:
CODING-STANDARDS.md requires a doc comment on every exported symbol and package, but nothing enforces it — no
reviveconfig or exported-docs lint runs in CI (confirmed 2026-10-29). A 2026-10-28 count found ~2,530/2,946 exported funcs/methods and 97/115 packages documented — about 416 funcs/methods and 18 packages still undocumented.Desired behavior:
A lint for exported-symbol and package doc comments (e.g.
revive'sexportedrule, or equivalent) runs in CI, and the whole Go tree passes it.Acceptance criteria:
node_modules/and.sandcastle/nix-store/(the #1913 gofmt-scan convention)Out of scope:
Triage note (model): this is largely mechanical (~416 symbols). A
model-sonnetoverride may right-size it off the Opus default — applying that label stays a human decision (triage-labels.md).swarm-claim host=matou-dev-server-01 run=56890
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #2086 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
81644a7c6fis not reachable from origin/main (not landed)envelope
close-report for #2086 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope