mach10 icon indicating copy to clipboard operation
mach10 copied to clipboard

Remove obsolete pr-review-validate command

Open LeanAndMean opened this issue 7 months ago • 3 comments

Summary

The pr-review-validate command duplicates functionality that is already built into pr-review (Steps 5-8). Since pr-review performs the independent assessment automatically at the end of every review, there is no practical reason to invoke pr-review-validate separately. CLI history on the authoring machine confirms it has essentially never been used for real work.

Current Behavior

pr-review-validate exists as a standalone command (152 lines) that independently assesses review findings, classifies them as genuine/nitpick/false positive/deferred, posts an assessment comment, and hands off to pr-review-fix. This same workflow is already performed by pr-review Steps 5-8.

Proposed Behavior

Remove pr-review-validate and all references to it throughout the codebase.

Acceptance Criteria

  • commands/pr-review-validate.md is deleted
  • All references to pr-review-validate are removed from CLAUDE.md (sync notes, marker documentation, finding-identifier sync, decision-comment marker sync)
  • All references to pr-review-validate are removed from README.md (command table, workflow descriptions, quick reference)
  • No dangling references to pr-review-validate remain in any other command files
  • Plugin version is bumped in .claude-plugin/plugin.json

Technical Notes

  • The <!-- mach10-assessment --> marker is also emitted by pr-review (Step 6), so marker conventions are unaffected by removal.
  • The <!-- mach10-decisions --> marker is emitted by pr-review (Step 8) and issue-plan-review, so the CLAUDE.md sync note for that marker needs updating but not removal.
  • The finding-identifier sync note in CLAUDE.md lists pr-review-validate as one of the synchronized locations -- this reference must be removed.
  • The pr-review-fix command does not depend on pr-review-validate -- it accepts review/assessment comment IDs that pr-review already provides directly.

LeanAndMean avatar Apr 08 '26 20:04 LeanAndMean

Implementation Plan

Stage 1: Remove pr-review-validate and clean up all references

Files deleted:

  • commands/pr-review-validate.md

Files modified:

  • CLAUDE.md:
    • Update command count from "15 slash commands" to "14 slash commands" (Project Overview)
    • Remove pr-review-validate from PR workflow list (Command Structure)
    • Update decision-comment marker sync note: remove pr-review-validate as a standalone emitter, reduce location count from five to four (Writing Commands)
    • Update finding-identifier sync note: remove all pr-review-validate references -- Step 3 classification instruction, Step 5 plain-words reminder, Step 6 handoff variants (Writing Commands)
  • README.md:
    • Remove the pr-review-validate row from the PR lifecycle command table
  • .claude-plugin/plugin.json:
    • Bump version from 1.13.1 to 1.14.0 (minor bump: command removal is a user-visible change)

No other files affected -- grep confirms no references to pr-review-validate in other command files or agents.


This comment will guide staged implementation via /mach10:issue-implement 88 1.

LeanAndMean avatar Apr 08 '26 20:04 LeanAndMean

Implementation Plan

Stage 1: Remove pr-review-validate and clean up all references

Files deleted:

  • commands/pr-review-validate.md

Files modified:

  • CLAUDE.md:
    • Update command count from "15 slash commands" to "14 slash commands" (Project Overview)
    • Remove pr-review-validate from PR workflow list (Command Structure)
    • Update decision-comment marker sync note (Writing Commands):
      • Remove commands/pr-review-validate.md from the standalone emitter list
      • Change "all five locations" to "all four locations"
    • Update finding-identifier sync note (Writing Commands):
      • Remove commands/pr-review-validate.md (Step 3 classification instruction, Step 6 handoff variants) from the primary location list
      • Remove pr-review-validate.md (Step 5) from the "plain words reminder lines" sub-clause
  • README.md:
    • Update command count from "15 slash commands" to "14 slash commands" (opening paragraph)
    • Remove the pr-review-validate row from the PR lifecycle command table
  • .claude-plugin/plugin.json:
    • Bump version from 1.13.1 to 1.14.0 (minor bump: command removal is a user-visible change)

No other files affected -- grep confirms no references to pr-review-validate in other command files or agents.


This comment will guide staged implementation via /mach10:issue-implement 88 1.

LeanAndMean avatar Apr 08 '26 20:04 LeanAndMean

Progress: Stage 1 complete

Removed the pr-review-validate command and cleaned up all references.

Changes (commit 4ad0301):

  • Deleted commands/pr-review-validate.md
  • Updated CLAUDE.md: command count 15 to 14, removed from PR workflow list, updated decision-comment marker sync note (removed as standalone emitter, five to four locations), updated finding-identifier sync note (removed as synchronized location, seven to five plain-words reminders)
  • Updated README.md: command count 15 to 14, removed pr-review-validate row from PR lifecycle command table
  • Bumped plugin version to 1.14.0 in .claude-plugin/plugin.json

Verification: Zero remaining references to pr-review-validate across the entire codebase.

LeanAndMean avatar Apr 08 '26 21:04 LeanAndMean