Responding to Code Review Feedback

lesson communication active communication/responding-to-code-review-feedback.md View on GitHub

Responding to Code Review Feedback

Rule

Respond promptly and constructively to code review feedback, providing clear action plans and seeking clarification when feedback is ambiguous.

Context

When receiving feedback on PRs from maintainers or collaborators, especially during autonomous work sessions.

Detection

Observable signals that you need to respond to code review feedback:

Pattern

Immediate Response Framework

Within one autonomous session (max 24 hours):

  1. Acknowledge Receipt (immediate)

    ## Response to [Maintainer]'s Feedback
    
    Thank you for the review! I understand your concerns about [specific issue].
    
  2. Clarify Understanding (if needed)

    Let me confirm I understand correctly:
    - You're suggesting [specific change]
    - Concern is about [specific issue]
    - Preferred approach would be [alternative]
    
    Is that accurate?
    
  3. Provide Action Plan (critical)

    ### My Plan to Address:
    
    **Option [A/B]**: [Brief description]
    - **Pros**: [Why this works]
    - **Cons**: [Any trade-offs]
    - **Timeline**: [When you'll do it]
    
    Does this approach work for you?
    

Common Feedback Types and Responses

Type 1: "Rebase needed" / "Clean up history"

## Rebase Plan

You're right - this PR has accumulated messy history:

**Current commits**: [List them]

**Decision needed**:
- Option A: [Approach]
- Option B: [Alternative]

**My recommendation**: [Your preference with rationale]

**Action I'll take**:
1. [Specific steps]
2. [Timeline]

Does this approach work for you?

Type 2: "Should this be split?" (Scope questions)

## Scope Clarification

Good question about scope. Let me explain the relationship:

**Current contents**:
1. [Item 1]
2. [Item 2]

**They're related because**: [Rationale for keeping together]

**Alternatives**:
- **Keep together**: [Pros/cons]
- **Split apart**: [Pros/cons]

My recommendation: [Choice with reasoning]

Would you prefer I split them or keep as-is?

Type 3: Technical suggestions

## Technical Feedback Response

Good catch on [issue]! I'll make these changes:

- [ ] [Specific fix 1]
- [ ] [Specific fix 2]
- [ ] [Specific fix 3]

**Question**: [Any clarifications needed]

I'll push updates within [timeframe].

Anti-Patterns

❌ Wrong: Silent delay

❌ Wrong: Immediate action without confirmation

❌ Wrong: Defensive responses

✅ Right: Constructive dialogue

Outcome

Following this pattern results in:

Example Success

Scenario: Erik commented on PR #261 asking for rebase and questioning commit structure

My Response:

Result: Clear communication loop, maintainer knows I'm on it, specific plan agreed upon

Related

Origin

Created 2026-02-09 from experience responding to Erik's rebase request on PR #261. Pattern extracted from successful maintainer feedback response during blocked-period autonomous work.

Match Keywords

code review feedback pull request review maintainer feedback respond to review review comments address review feedback