MCP infra_stop conflict state must be recomputed live, not cached across resolved worktree states #285

Closed
opened 2026-07-06 23:19:30 -05:00 by jcwalker3 · 2 comments
Owner

A reviewer session was blocked from reviewing Gitea-Tools PR #276 because gitea_resolve_task_capability returned infra_stop for an unresolved merge conflict. Manual checks showed the main checkout was clean and no merge/rebase state existed, but the long-running MCP server still returned the stale conflict gate.

Acceptance criteria:

  1. infra_stop conflict checks are recomputed from live git state on every capability resolution.
  2. Resolved merge/rebase state clears without requiring manual process restart.
  3. Capability responses include the exact path and conflict file that triggered infra_stop.
  4. Tests cover conflict present  infra_stop, conflict resolved  allowed.
  5. Stale cached infra_stop cannot block review/merge after the worktree is clean.
A reviewer session was blocked from reviewing Gitea-Tools PR #276 because gitea_resolve_task_capability returned infra_stop for an unresolved merge conflict. Manual checks showed the main checkout was clean and no merge/rebase state existed, but the long-running MCP server still returned the stale conflict gate. Acceptance criteria: 1. infra_stop conflict checks are recomputed from live git state on every capability resolution. 2. Resolved merge/rebase state clears without requiring manual process restart. 3. Capability responses include the exact path and conflict file that triggered infra_stop. 4. Tests cover conflict present  infra_stop, conflict resolved  allowed. 5. Stale cached infra_stop cannot block review/merge after the worktree is clean.
Author
Owner

Correction to acceptance criterion 4: the intended text is:

  1. Tests cover conflict present -> infra_stop, conflict resolved -> allowed.

The issue body creation path encoded the arrow glyph incorrectly; this comment preserves the required criterion in plain ASCII.

Correction to acceptance criterion 4: the intended text is: 4. Tests cover conflict present -> infra_stop, conflict resolved -> allowed. The issue body creation path encoded the arrow glyph incorrectly; this comment preserves the required criterion in plain ASCII.
jcwalker3 added the status:in-progress label 2026-07-06 23:20:30 -05:00
Author
Owner

Claimed. Branch: feat/issue-285-live-infra-stop-recompute. Worktree: branches/feat-issue-285-live-infra-stop-recompute.

Claimed. Branch: `feat/issue-285-live-infra-stop-recompute`. Worktree: `branches/feat-issue-285-live-infra-stop-recompute`.
sysadmin removed the status:in-progress label 2026-07-07 03:37:24 -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#285