fix(agents): add confirmation gate to triage-issue batch mode#2239
Merged
Conversation
Batch triage previously processed all state:triage-needed issues immediately without any confirmation. This led to accidental mass-commenting (29 triage comments on a public repo) when the skill was invoked by mistake. Add a mandatory preview-and-confirm step: the agent must show the issue count and titles, then ask for explicit user confirmation before posting any comments. Single-issue mode is unchanged. Assisted-By: 🤖 Claude Code Signed-off-by: Roland Huß <rhuss@redhat.com>
8ade8e7 to
47a9199
Compare
TaylorMutch
approved these changes
Jul 13, 2026
Collaborator
|
/ok to test 47a9199 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
triage-issueskill's batch mode before processing any issuestriage issue #250) is unchangedRelated Issue
No existing issue. This addresses an operational incident where batch triage was accidentally invoked and posted 29 triage-agent comments on public issues that had to be manually cleaned up.
Changes
.agents/skills/triage-issue/SKILL.md: Replace the immediate-process batch flow with a three-step preview/confirm/process gateTesting
triage issuesand verify the skill presents a preview with issue count and titles before asking for confirmationtriage issue #250still works without any confirmation promptChecklist