Repository navigation
Description
Decision (owner, 2026-11-14, after /planning:interview, /planning:design and /planning:plan)
Source: the talk "All Code Is Slop (Except Mine)" (Lauren Tan, AI Engineer Code Summit, 2026-11-11), slides 21-22 and 39, and her no-comments skill and review agent.
-
Posture. The shipped default of
/code-tidying:remove-commentsstaysnecessary, which is her policy: the floor plus the keep list. This repository pinscomment_posture: necessaryindocs/conventions/code-tidying.yaml; the owner's user scope pins the same value. The three postures and their names stay. -
Floor. It stays fixed and gains one shape: the comment trailing a
uses:line pinned to a full commit id. Its three differences from her review agent are recorded indocs/upstream/cursor-pstack.md. -
The lint. The
code-tidyingplugin ships one language-agnostic git-hook entry,comment-lint, which judges the comment lines a change adds through the pygments token stream and names the fix for each one outside the posture. Two team-only settings:comment_lint: off | report | block(defaultoff;reportprints and passes).comment_lint_allow: extended regular expressions for a repository's own markers.
It passes: a shebang or encoding cookie, a tool directive, a license cue,
TODO(#issue)andFIXME(#issue), a pinneduses:line's trailer, a line carrying or following an ignore marker, a structured doc comment, a suppression's reason beside its waiver, and undernecessarya comment run holding a URL or an RFC number. Underexplanatoryit does not run. A CI gate reads the level, posture and allow list from the merge base, so a branch cannot lower its own level. -
Stage ownership.
Stage Owner Job Plan and implement, before the first edit the repository's review-criteria file, named in the plan and carried in each worker brief tells the author the posture Commit and CI the code-tidyingcomment lintdetects a comment a change adds outside the allowed shapes Local review the review rule, read by /review:quality-gatejudges added comments, an ignore marker included Pull-request prep /code-tidying:remove-comments --pipeline --base <ref>cleans comments in the files a pull request touches, a person approving each edit Pull request review lane the review rule second catch -
Existing comments. This repository sets
comment_edit_scope: files, so existing comments go as files are touched. No repository-wide cleanup, no comment count or ratchet, no unattended deletion. -
/code-tidying:tidyreads the posture and adds only keep-list comments undernecessary. -
Level here.
reportin the build pull request and in the follow-up one that turns the commit-time hook on (owner, 2026-11-15). Moving toblockis a later owner decision, after the generated-file marker is narrowed. The dry run over the last 50 merged pull requests is in ADR 0108: 631 findings, no false positive.
Done when
-
docs/conventions/code-tidying.yamlholdscomment_posture: necessaryandcomment_edit_scope: filesand passes its schema. - With the lint on, a commit or pull request that adds a comment outside the allowed shapes fails with a message naming the fix; an allowed shape passes; the same command runs at commit time and in CI; with the lint off, nothing changes.
- Under
necessaryandnone, the comment pass keeps the version comment on a pinned action. - A planning or implementing agent in this repository is given the comment rule's file before it writes code.
- Under
necessary,/code-tidying:tidyadds no comment outside the keep list; underexplanatoryit is unchanged. -
docs/upstream/cursor-pstack.mdstates the three floor differences. - One decision record: new comments are stopped by a lint on added lines and by review, not by a count gate.
- The commit-time hook is on in this repository (second pull request). It needs Python 3 with pygments on each machine that commits.
Out of scope
- A repository-wide cleanup of existing comments: a later owner decision; the comment pass already takes an explicit target.
- Renaming
none; a rule in each language's own linter; the lane's tidy step applying the posture.
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 12, 2026
Size: Large
Complexity: Medium
Uncertainty: Knowable
Flags: intent
Blocked by: none
Understood: adopt a no-comments posture in this repo, add a plugin setting for it, and add a comment-count ratchet. The issue says a planning interview must lock the contract first, so these are open:
nonesetting live for this repo and for the owner's user scope? RECOMMENDED: the repo's conventions file plus user-level settings, because the issue names both scopes and the repo's conventions file is already where posture is set.To answer, post a comment that starts with this line:
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 12, 2026
The triage verdict left this issue at
needs-owner-decision:Reason:
intentmelodic-automation-lanes commentedon Nov 12, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: Set comment_posture none for this repository, support a no-comments setting across plugins, and land a code-comment-count ratchet in this repository's CI.
Related work
Open questions
RECOMMENDED: Reuse the existing code-tidying comment_posture setting: set none in this repository's plugin settings and in the owner's user-scope settings, and add no new setting. Basis: plugins/code-tidying/.claude-plugin/plugin.json:39
RECOMMENDED: Detect and suggest only, and ship no language-specific lint, as the issue states. The detection lives in an existing skill such as remove-comments or toolchain setup. Basis: judgment
RECOMMENDED: Count code comments only, with Markdown excluded. Use a repository script that /toolchain:ratchet runs as a count, with the ceiling set to the current count and checked in CI. Basis: plugins/toolchain/skills/ratchet/SKILL.md
RECOMMENDED: Split into a dogfood issue (set none, land the ratchet) and a plugin-support issue (setting and discovery docs), after the interview locks the contract. Basis: judgment
RECOMMENDED: Yes. Keep the needs-owner-decision label until a Decision recorded comment answers the questions above. Basis: judgment
Sources read
To answer, post a comment that starts with this line:
Automated refinement by the lanes App. Answer with a comment whose first line is
**Decision recorded.**.fix(code-tidying): let a link pass only its own block-comment paragraph
fix(code-tidying): read the convention home from the merge base in CI
fix(code-tidying): name skipped generated files and list untracked fi…