[FEATURE] Monitor CI: keep auto-fix but make auto-replying to / resolving review threads opt-out
[FEATURE] Monitor CI / "auto-fix CI and address comments": let me keep auto-fix but turn OFF auto-replying to & resolving PR review threads
Problem
The Claude Desktop "auto-fix CI and address comments" monitor (and the harness-injected <ci-monitor-event> flow) bundles two behaviors that I want to control independently:
- Auto-fix CI — address review feedback, push commits. ✅ I want this.
- Address comments — for each inline review comment, post a one-line reply on the thread via
gh apiand then resolve the thread. ❌ I never want this.
The event ends with a hardcoded instruction like:
"Then, for each inline comment you addressed (those with a comment_id), post a one-line reply on the thread via gh api saying what you changed, and resolve the thread."
I want to author my own PR-thread replies. Comments posted by the agent under my identity blur authorship and clutter the PR's permanent conversation history. There is currently no setting, env var, or CLI flag to disable the "address comments" half while keeping auto-fix.
Request
A way to disable the auto-reply + auto-resolve behavior while keeping CI auto-fix. Ideally the two are decoupled. Possible shapes (any one works):
- A
settings.jsonkey, e.g.
``jsonc``
{ "monitor": { "replyToReviewComments": false, "resolveThreads": false } }
- An env var, e.g.
CLAUDE_CODE_MONITOR_NO_REPLY=1. - Honor the existing
attributionphilosophy — ifattribution.pr/comments are disabled, don't auto-post thread replies either.
Current workaround (and why it's not enough)
I block it with a global PreToolUse hook that denies gh pr comment / gh pr review / gh api …/comments writes / GraphQL resolveReviewThread. That works, but:
- It's a deny-by-pattern hack, brittle to command shape.
- It fights the injected instruction instead of the feature respecting a preference.
- The agent still tries (and reports the block), wasting a step.
A first-class toggle would be cleaner and discoverable.
Environment
- Claude Code on Windows (Git Bash), Desktop "Monitor CI" feature.
- Built-in monitor, not the
nx-claude-pluginsmonitor-ciskill (that one has no reply logic).
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗