Reviewer reports must classify git fetch as a git ref mutation, not read-only diagnostics #297

Closed
opened 2026-07-07 00:33:07 -05:00 by jcwalker3 · 0 comments
Owner

Reviewer reports currently treat git fetch prgs master as read-only diagnostics, while also claiming Git/worktree mutations: None.

Problem:

git fetch may not edit files, but it updates remote-tracking refs such as prgs/master. It should not be hidden under read-only diagnostics.

Required behavior:

  1. Final reports must distinguish:

    • file edits
    • worktree mutations
    • git ref mutations
    • MCP/Gitea mutations
    • review mutations
    • merge mutations
    • cleanup mutations
    • read-only diagnostics
  2. git fetch, git remote update, or any command that updates refs must be reported under Git ref mutations.

  3. Git/worktree mutations: None must be rejected if any git ref update occurred.

  4. Read-only diagnostics should be limited to commands that do not mutate files, worktrees, refs, MCP state, Gitea state, or external state.

Acceptance criteria:

  • Reports using git fetch include Git ref mutations: fetched <remote>/<branch>.
  • Reports cannot classify fetch as purely read-only.
  • Final-report validator rejects Git/worktree mutations: None when fetch occurred.
  • Tests cover fetch-only review, worktree creation, merge, cleanup, and no-mutation blocked handoff.
Reviewer reports currently treat `git fetch prgs master` as read-only diagnostics, while also claiming `Git/worktree mutations: None`. Problem: `git fetch` may not edit files, but it updates remote-tracking refs such as `prgs/master`. It should not be hidden under read-only diagnostics. Required behavior: 1. Final reports must distinguish: * file edits * worktree mutations * git ref mutations * MCP/Gitea mutations * review mutations * merge mutations * cleanup mutations * read-only diagnostics 2. `git fetch`, `git remote update`, or any command that updates refs must be reported under `Git ref mutations`. 3. `Git/worktree mutations: None` must be rejected if any git ref update occurred. 4. Read-only diagnostics should be limited to commands that do not mutate files, worktrees, refs, MCP state, Gitea state, or external state. Acceptance criteria: * Reports using `git fetch` include `Git ref mutations: fetched <remote>/<branch>`. * Reports cannot classify fetch as purely read-only. * Final-report validator rejects `Git/worktree mutations: None` when fetch occurred. * Tests cover fetch-only review, worktree creation, merge, cleanup, and no-mutation blocked handoff.
jcwalker3 added the status:in-progress label 2026-07-07 03:23:18 -05:00
sysadmin removed the status:in-progress label 2026-07-07 04:07:13 -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#297