feat(start): announce auto-merge default before the run#76
Conversation
auto-merge is on by default and merges via a gh subprocess, outside Claude Code's tool boundary, so a host repo's git-guard hook can't intercept it. Print a banner at start when auto-merge is active, pointing at --no-automerge, and document the behavior. Closes #73
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 44 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughAdds a Auto-merge notice banner
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related issues
Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Match the consuming-tool message: state that merges run via gh (outside Claude Code's tool boundary, so host git-guard hooks can't intercept them) and offer the persistent disable (aitm config set autoMerge false), not just --no-automerge. Tests assert the full contract; docs updated.
Release 0.0.8 — bumps `aitm` + `@developerz.ai/ai-claude-compat` to 0.0.8 (lockstep) and the aitm→compat dep pin. ## Included since 0.0.7 - #74 — open a PR for committed work when a later task blocks (multi-task reliability) - #75 — anchor the PR title on the group goal, not the last task's commit message - #76 — announce the auto-merge default + git-guard bypass before the run Merging this and cutting GitHub Release `v0.0.8` triggers the OIDC npm publish for both packages. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Bumped the `@developerz.ai/ai-claude-compat` package version to `0.0.8`. * Updated the `@developerz.ai/aitm` package version to `0.0.8`. * Aligned the `aitm` package to use the latest compatible `ai-claude-compat` release. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: marshall <marshall@developerz.ai>
Summary
Auto-merge is on by default and merges PRs via a
ghsubprocess — outside Claude Code's tool boundary, so a host repo's git-guard hook can't intercept it.startnow prints a banner when auto-merge is active, making the default explicit and pointing at the off switch. Per the chosen direction, the default stays ON (non-breaking).Changes
src/cli/commands.ts— new exportedautoMergeNotice(autoMerge)helper;runStartprints it (via a new optionalstdoutseam onStartCtx) before launching the loop.docs/commands/start.md— new "Auto-merge" section documenting the default, the banner, and how to disable.Testing
src/cli/commands.test.ts: pureautoMergeNoticeon/off, plusrunStartemits the banner by default and suppresses it under--no-automerge.bun test+node --testgreen;biome checkandtsc --noEmitclean.Closes #73
Summary by CodeRabbit
New Features
Documentation