Skip to content

docs(adr): remove existing comments without per-deletion approval; block new ones - #16699

Merged
kyle-sexton merged 2 commits into
mainfrom
docs/adr-comment-removal-posture
Nov 17, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
docs/adr-comment-removal-posture

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: owner decision of 2026-11-17 recorded directly as an ADR.

Summary

Records and enforces the owner's decision on code comments. ADR 0110 withdraws ADR 0108's
per-deletion approval and its ruling-out of a repository-wide cleanup: /code-tidying:remove-comments
runs over each melodic-software and kyle-sexton repository at the necessary (aggressive)
posture, one pull request per repository, with no person approving each deletion. Two parts of ADR
0108's plan stay and land here.

Fix

  • docs/adr/0110-remove-existing-comments-without-per-deletion-approval-and-block-new-ones.md: the
    new record. ADR 0108's status line names the parts ADR 0110 supersedes.
  • docs/conventions/code-tidying.yaml: comment_lint moves from report to block. The commit
    hook and the CI comment-lint step (which reads the merge base's copy) then fail a change that
    adds a comment outside the posture. It takes effect in CI for pull requests based on main after
    this merges.
  • docs/review/comments.md: a new criterion flags a deleted comment that recorded why one of the
    repository's own decisions was made when its reason is in no ADR, commit message or linked
    source.

The removal runs themselves are not in this PR; they follow it, one PR per repository.

Verification

  • scripts/check-adr-numbers.sh --check: every ADR number unique.
  • markdownlint-cli2 on the three changed markdown files: 0 issues.
  • Citation sweep for ADR 0108 (git grep for 0108 and its filename): no citations outside the
    record itself.

Related

🤖 Generated with Claude Code

…ock new ones

ADR 0110 withdraws ADR 0108's per-deletion approval and its ruling-out
of a repository-wide cleanup: /code-tidying:remove-comments runs over
each repository at the necessary posture, one pull request per
repository. comment_lint moves from report to block, and the review
criteria flag a deleted comment that held a decision's only written
reason.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 17, 2026 05:56
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-17T05:57:19.050170Z ff52d01 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

Lane run report

Field Value
Activity pr-refine/fix-docs
Model rung 0
Leg handoff
Run job success
Activity step success
Commits pushed none (read lane)
Run 44027596001

Failed GitHub API calls

Method Path Status
GET /repos/{repo}/git/ref/tags/* 404

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review reviewed b2af4b71d5da2096181f8e5c9d51e44ca473f7ab: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #16699, incremental, no security issues found

I reviewed only what changed since ff52d0155ddf2ce474d31b60df5afe7c66574db6. That push changed one file, docs/adr/0110-remove-existing-comments-without-per-deletion-approval-and-block-new-ones.md, and I read its whole hunk.

What changed

  • Decision 1 of ADR 0110 gets one new sentence. A review lane reads the reviewed repository's own criteria. So a repository whose criteria lack decision 3's rule gets that rule in a separate pull request, which must merge before that repository's removal pull request opens.

Assessment

  • The file is documentation only and matches none of the trusted-path globs.
  • The sentence adds an ordering requirement and removes or softens no rule. It touches no trust control: not the trusted actors, the token scope, the kill switch, the merge holds, the handling of untrusted text, or any plugin manifest.
  • The instruction-surface lens found nothing to check. That is why I did not read the instruction exception register.

Earlier review

  • The prior-findings file says blocking only: yes, so this review reported only CRITICAL and IMPORTANT findings. There were none.
  • The earlier summary had no findings to carry forward. The person-approval hold removal noted there is unchanged and is still not a finding under the owner's threat model.

Spend

  • None in this change.

Embedded text

  • The PR context contains no directives aimed at this lane.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on ff52d0155ddf2ce474d31b60df5afe7c66574db6; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

claude-review reviewed b2af4b71d5da2096181f8e5c9d51e44ca473f7ab: read 1 of 1 changed file(s); 0 finding(s), 0 as inline comments.

Code review: PR #16699, incremental (ff52d01 → b2af4b7)

No new findings. This review covered only what changed since the last one: one hunk in docs/adr/0110-remove-existing-comments-without-per-deletion-approval-and-block-new-ones.md. I read all of it, plus the whole ADR at head for context. This lane already reviewed an earlier head, so it reported blocking findings only.

The earlier finding is fixed. Last round I flagged that the decision-comment rule in Decision 3 exists only in this repository's docs/review/comments.md. Review lanes in other repositories would not have it when they check those repositories' removal PRs. Decision 1 now says any repository whose review criteria lack Decision 3's rule gets it in a PR that merges before its removal PR opens (ADR 0110#L24-L26). That fix is one of the options I proposed. It agrees with REVIEW.md, which resolves criteria against the reviewed repository's own root. The owner's reply in the settled thread says the same, and that thread is marked lines changed since resolution: no.

Other checks:

  • The PR has no closing issue; the body records an owner decision directly, so there were no acceptance criteria to check.
  • No plugin manifest changed.
  • I found no embedded instructions in the PR context, the settled threads or the prior findings.

I ran no commands. The PR's verification (ADR-number check, markdownlint, citation sweep) is the author's claim, and I haven't confirmed it.

Verifier dropped 0 of 0 candidates.

…'s removal

A review lane reads the reviewed repository's own criteria, so a repository
without the deleted-decision-comment rule gets it first, in a pull request
that merges before its bulk removal opens.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 329c39a Nov 17, 2026
51 checks passed
@kyle-sexton
kyle-sexton deleted the docs/adr-comment-removal-posture branch November 17, 2026 06:20
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant