feat: add reconciliation workflow MCP tools for already-landed PRs (Closes #301) #384

Merged
sysadmin merged 6 commits from feat/issue-301-reconciliation-workflow into master 2026-07-07 09:42:32 -05:00
Owner

Summary

Implements the dedicated reconciliation path from #301 so already-landed open PRs can be handled without invoking review or merge.

Changes

  • reconciliation_workflow.py — target-branch fetch, ancestor proof, capability plan, workflow-source verifier
  • gitea_assess_already_landed_reconciliation — read-only single-PR assessment + plan for active profile
  • gitea_scan_already_landed_open_prs — scan open PR inventory with pagination proof
  • gitea-reconcile-landed-pr skill registered in MCP project skills
  • reconcile_landed_pr resolver task and role routing
  • Tests for assessment, plans, MCP tools, and skill registration

Safety

  • Tools are read-only; no approve, request-changes, merge, or close mutations
  • Plans always set review_merge_allowed: false
  • Missing gitea.pr.close yields comment-then-stop or recovery handoff outcomes

Closes #301

## Summary Implements the dedicated reconciliation path from #301 so already-landed open PRs can be handled without invoking review or merge. ## Changes - `reconciliation_workflow.py` — target-branch fetch, ancestor proof, capability plan, workflow-source verifier - `gitea_assess_already_landed_reconciliation` — read-only single-PR assessment + plan for active profile - `gitea_scan_already_landed_open_prs` — scan open PR inventory with pagination proof - `gitea-reconcile-landed-pr` skill registered in MCP project skills - `reconcile_landed_pr` resolver task and role routing - Tests for assessment, plans, MCP tools, and skill registration ## Safety - Tools are read-only; no approve, request-changes, merge, or close mutations - Plans always set `review_merge_allowed: false` - Missing `gitea.pr.close` yields comment-then-stop or recovery handoff outcomes Closes #301
jcwalker3 added 1 commit 2026-07-07 08:26:05 -05:00
Expose read-only assess/scan tools and capability planning so already-landed
open PRs can be reconciled without review or merge. Register the
gitea-reconcile-landed-pr skill and workflow-source verification.
jcwalker3 added 1 commit 2026-07-07 08:38:37 -05:00
jcwalker3 added 1 commit 2026-07-07 08:57:05 -05:00
Merge prgs/master and keep both reconciliation workflow (#301) and
native MCP preference (#270) imports in gitea_mcp_server.
jcwalker3 added 1 commit 2026-07-07 08:58:50 -05:00
Merge prgs/master and keep read-only reconciliation workflow tasks (#301)
alongside reconciler close capabilities (#309).
jcwalker3 added 1 commit 2026-07-07 09:20:22 -05:00
Merge prgs/master; keep reconciliation_workflow import alongside
review_merge_state_machine and preserve both reconciliation and
pr-queue-cleanup workflow split tests.
jcwalker3 added 1 commit 2026-07-07 09:33:48 -05:00
Merge prgs/master; keep read-only reconciliation tools (#301) alongside
master's gitea_reconcile_already_landed_pr close path (#310). Unify task
routing: reconcile_landed_pr stays author/read-only; reconcile-landed-pr
and reconcile_already_landed_pr stay reconciler.
sysadmin approved these changes 2026-07-07 09:42:20 -05:00
sysadmin left a comment
Owner

Manual review of changed files and test suite validation passed. The new reconciliation workflow tool implementation allows identifying and processing already-landed PRs cleanly without invoking review/merge logic from ineligible roles. All tests pass cleanly. Approved.

Manual review of changed files and test suite validation passed. The new reconciliation workflow tool implementation allows identifying and processing already-landed PRs cleanly without invoking review/merge logic from ineligible roles. All tests pass cleanly. Approved.
sysadmin merged commit d446a31442 into master 2026-07-07 09:42:32 -05:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

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