Skip to content

Commit 8738726

Browse files
committed
IOS-5420 Add auto-proceed behavior for approved code reviews in /cpp workflow
1 parent 38b12a9 commit 8738726

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.claude/commands/cpp.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,19 @@ Commits the current changes, performs a code review, applies fixes if needed, th
2727
- Apply CODE_REVIEW_GUIDE.md standards
2828
- Check for bugs, best practices violations, performance issues, security concerns
2929

30-
### 3. Review Findings
30+
### 3. Review Findings and Auto-Proceed
3131
- Present review results to developer
3232
- If issues found, **STOP and discuss** with developer:
3333
- Should we fix the issues now?
3434
- Are the findings valid or false positives?
3535
- Should we proceed anyway?
3636
- **Developer decides next steps** - never auto-amend commits
37+
- **If review is approved (✅)**: Automatically proceed to push and PR without asking
3738

38-
### 4. Push and PR (when approved)
39-
- Only proceed when developer approves
39+
### 4. Push and PR (auto-proceed when approved)
4040
- Push to remote with tracking
4141
- Create pull request with summary
42+
- No confirmation needed when code review is approved
4243

4344
## Branch Handling
4445
When a branch name is provided:

.claude/settings.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@
4343
"mcp__linear__list_issue_labels",
4444
"mcp__linear__get_team",
4545
"mcp__linear__search_documentation",
46-
46+
47+
"SlashCommand(/codeReview)",
48+
4749
"Bash(gh pr list:*)",
4850
"Bash(gh pr diff:*)",
4951
"Bash(git fetch:*)",

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ make setup-middle # Initial setup
3838

3939
### AI Assistance
4040
- **Always present a detailed action plan before implementing multi-step changes and await approval before proceeding**
41+
- **When code review is approved**: Proceed directly with push and PR creation without asking for confirmation
4142

4243
### 📚 Skills System & Documentation (Progressive Disclosure)
4344

0 commit comments

Comments
 (0)