Reviewer controller handoffs must remove legacy Workspace mutations field #320

Closed
opened 2026-07-07 01:30:07 -05:00 by jcwalker3 · 1 comment
Owner

Reviewer reports now include precise mutation categories, but controller handoffs still include legacy wording such as:

Workspace mutations: none (no local file changes outside temporary worktree)

Problem

This field is ambiguous and conflicts with precise mutation categories when the workflow creates/removes worktrees, fetches refs, submits reviews, or merges PRs.

Required behavior

Remove Workspace mutations from reviewer controller handoffs and replace it with:

  • File edits by reviewer:
  • Worktree/index mutations:
  • Git ref mutations:
  • MCP/Gitea mutations:
  • Review mutations:
  • Merge mutations:
  • Cleanup mutations:
  • External-state mutations:
  • Read-only diagnostics:

Acceptance criteria

  • Reviewer handoffs do not include Workspace mutations.
  • Final-report validator rejects Workspace mutations: none.
  • Reports distinguish no file edits from worktree/index mutations.
  • Tests cover request-changes, approval, merge, worktree cleanup, fetch-only, and blocked handoffs.
Reviewer reports now include precise mutation categories, but controller handoffs still include legacy wording such as: `Workspace mutations: none (no local file changes outside temporary worktree)` ## Problem This field is ambiguous and conflicts with precise mutation categories when the workflow creates/removes worktrees, fetches refs, submits reviews, or merges PRs. ## Required behavior Remove `Workspace mutations` from reviewer controller handoffs and replace it with: - File edits by reviewer: - Worktree/index mutations: - Git ref mutations: - MCP/Gitea mutations: - Review mutations: - Merge mutations: - Cleanup mutations: - External-state mutations: - Read-only diagnostics: ## Acceptance criteria - [ ] Reviewer handoffs do not include `Workspace mutations`. - [ ] Final-report validator rejects `Workspace mutations: none`. - [ ] Reports distinguish no file edits from worktree/index mutations. - [ ] Tests cover request-changes, approval, merge, worktree cleanup, fetch-only, and blocked handoffs.
jcwalker3 added the status:in-progress label 2026-07-07 04:04:17 -05:00
Author
Owner

Implementation PR opened: #357 (branch feat/issue-320-remove-workspace-mutations, head c2bba27).

assess_controller_handoff(role="review") now rejects any legacy Workspace mutations: line fail-closed and requires the nine precise mutation categories from schemas/review-merge-final-report.md. Tests cover approval, request-changes, merge, worktree-cleanup, fetch-only, and blocked handoffs. Awaiting reviewer.

Implementation PR opened: #357 (branch `feat/issue-320-remove-workspace-mutations`, head c2bba27). `assess_controller_handoff(role="review")` now rejects any legacy `Workspace mutations:` line fail-closed and requires the nine precise mutation categories from `schemas/review-merge-final-report.md`. Tests cover approval, request-changes, merge, worktree-cleanup, fetch-only, and blocked handoffs. Awaiting reviewer.
sysadmin removed the status:in-progress label 2026-07-07 04:33:33 -05:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Scaled-Tech-Consulting/Gitea-Tools#320