Merged
Conversation
Add comment tracking to MGW's pipeline so it detects new comments posted on issues between triage and execution. Comments are classified as material (scope change), informational (no impact), or blocking (halt). State schema changes: - Add triage.last_comment_count and triage.last_comment_at fields - Add "blocked" as valid pipeline_stage Pipeline changes: - issue.md: capture comment snapshot during triage - run.md: pre-flight comment check before GSD execution - sync.md: include comment delta in drift detection - review.md: standalone comment review command (new) Workflow changes: - state.md: document comment tracking schema and classification - github.md: add comment-fetching CLI patterns - gsd.md: add comment classification agent spawn pattern - validation.md: add review.md to delegation boundary table Co-Authored-By: Claude Opus 4.6 <[email protected]>
This was referenced Feb 27, 2026
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
/mgw:reviewcommand for on-demand comment classificationCloses #36
Milestone Context
Changes
workflows/state.md): Addedtriage.last_comment_countandtriage.last_comment_atfields to issue state schema; addedblockedas valid pipeline stage; documented comment tracking lifecycle, classification rules, and drift detectioncommands/run.md,.claude/commands/mgw/run.md): Addedpreflight_comment_checkstep between worktree creation and triage comment posting; spawns classification agent when new comments detected; handles material/informational/blocking responsescommands/issue.md,.claude/commands/mgw/issue.md): Added comment snapshot capture infetch_issuestep; populateslast_comment_countandlast_comment_atinwrite_statestepcommands/sync.md,.claude/commands/mgw/sync.md): Added comment delta check incheck_eachstep; reports unreviewed comments in sync summarycommands/review.md,.claude/commands/mgw/review.md): New standalone command for on-demand comment review with interactive action selectionworkflows/github.md): Added comment count, recent comments, and last comment timestamp CLI patternsworkflows/gsd.md): Added comment classification agent spawn templateworkflows/validation.md): Added review.md to delegation boundary tableTest Plan
triage.last_comment_countandtriage.last_comment_atare populated when/mgw:issueruns triage on an issue with existing comments/mgw:runpre-flight check correctly detects new comments when count exceeds stored valuepipeline_stagetoblockedand halts execution/mgw:syncreports comment drift in sync summary/mgw:reviewworks standalone for manual comment triagecommands/and.claude/commands/mgw/mirrors are in sync