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

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.
This commit is contained in:
2026-07-07 09:25:55 -04:00
parent e26398b7a9
commit 749e480baf
8 changed files with 769 additions and 0 deletions
+10
View File
@@ -118,6 +118,16 @@ def test_start_issue_template_references_work_issue_workflow():
assert "workflows/work-issue.md" in text
def test_reconcile_skill_registered_in_mcp_server():
from mcp_server import _PROJECT_SKILLS
assert "gitea-reconcile-landed-pr" in _PROJECT_SKILLS
steps = _PROJECT_SKILLS["gitea-reconcile-landed-pr"]["steps"]
joined = " ".join(steps).lower()
assert "gitea_scan_already_landed_open_prs" in joined
assert "gitea_assess_already_landed_reconciliation" in joined
def test_reviewer_fallback_verifier_exported():
from review_proofs import assess_reviewer_fallback_report