Skip to content

docs(contributing): make AI-review-comment handling an explicit convention#728

Merged
blove merged 1 commit into
mainfrom
docs/review-comment-convention
Jun 23, 2026
Merged

docs(contributing): make AI-review-comment handling an explicit convention#728
blove merged 1 commit into
mainfrom
docs/review-comment-convention

Conversation

@blove

@blove blove commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

What

Codifies how we handle the advisory AI code review's comments, per a process decision: convention, not a gate.

The claude-review.yml review is advisory — it never blocks merge — so its comments can be silently inherited or ignored (and a flaky red review check can even look like a blocker while enforcing nothing). This adds one paragraph to the existing Code-review section of CONTRIBUTING.md:

Before arming auto-merge, the author reads each AI comment and either addresses it in a follow-up commit or replies on the thread with the reason for deferring/declining. Don't merge past unread review comments — the check going green (or red) says nothing about whether the comments were considered.

Why convention over enforcement

We explicitly chose the lowest-friction option (over required-conversation-resolution or making the review check required), because the review workflow has been flaky (success → action_required → failure across recent commits) and we don't want merges coupled to its reliability. The norm lives in docs; discipline applies it.

Docs-only. No code or workflow changes.

🤖 Generated with Claude Code

…ntion

The advisory AI review never blocks merge, so its comments can be silently
inherited or ignored. Codify the team norm: before arming auto-merge, the
author reads each AI comment and either addresses it in a follow-up commit or
replies on the thread with the reason for deferring. A green/red review check
says nothing about whether the comments were considered.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
threadplane Ready Ready Preview, Comment Jun 23, 2026 3:58am

Request Review

@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.

Automated approval: this PR received an intelligent (AI) code review. See the review comments on this PR.

@blove blove enabled auto-merge (squash) June 23, 2026 03:56
@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Claude finished @blove's task in 32s —— View job


Review

  • Gather context
  • Read diff and CONTRIBUTING.md
  • Post review findings

Docs-only change — looks good. The new paragraph fits naturally between the existing description of the advisory review workflow and the OSSF Scorecard note. A few observations:

Clarity / wording

The sentence "before arming auto-merge" ties the convention specifically to the auto-merge flow. That's accurate for the current setup but could silently exclude PRs that are merged manually without ever enabling auto-merge. Consider whether the intent is broader — e.g. "before merging (or arming auto-merge)" — so the norm applies regardless of how the merge is triggered.

Completeness

The paragraph describes what to do (address or reply with reason) but doesn't say where that response should live. Inline thread reply is implied, but a brief clarifying phrase like "replies on the thread" (already present) vs. "resolves the conversation" makes a difference if GitHub conversation-resolution is ever toggled on later. The current wording ("replies on the thread") is fine for now.

No issues with correctness, security, or the @threadplane/* public API surface — this is purely a documentation update.


@blove blove merged commit f404906 into main Jun 23, 2026
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant