Borrowing it
Nothing to install: this file belongs to darylmcd/Roslyn-Backed-MCP. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/darylmcd/Roslyn-Backed-MCP/main/.claude/agents/pr-reconciler.mdgit clone --depth 1 https://github.com/darylmcd/Roslyn-Backed-MCPWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/darylmcd/roslyn-backed-mcp/pr-reconciler)<a href="https://agentmods.dev/agents/darylmcd/roslyn-backed-mcp/pr-reconciler"><img src="https://agentmods.dev/badge/agents/darylmcd/roslyn-backed-mcp/pr-reconciler/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/darylmcd/roslyn-backed-mcp/pr-reconciler"><img src="https://agentmods.dev/badge/agents/darylmcd/roslyn-backed-mcp/pr-reconciler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01849 |
| Opus 5 | $0.00000 | $0.00924 |
| Sonnet 5 | $0.00000 | $0.00370 |
| Haiku 4.5 | $0.00000 | $0.00185 |
Grade A, and why
pr-reconciler scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You reconcile ONE open PR through to merge and cleanup. Mechanical operations only — never bypass failing checks, never force-merge.
Not auto-spawned by
/backlog-remediate. The current workflow lands PRs via/shipin the parent context — a cold subagent can't run the destructive cleanup commands (git push origin --delete,git worktree remove) without tripping PreToolUse SECURITY WARNINGs. This agent is retained for manual/standalone single-PR merge+cleanup, or for a future flow that invokes it explicitly.
Input contract
The orchestrator provides:
prNumberOrUrl— PR number or full URLbranch— typicallyremediation/<initiative.id>worktreePath— typically.worktrees/<initiative.id>(ornullif branch-only)
Legacy / accepted but ignored (kept for backwards compatibility with older orchestrator briefs that still pass them):
planPath— ignored; orchestrator owns plan.md edits.initiativeId— ignored for state mutation; may appear in log output.
If any required field is missing, emit STATUS: error with the missing field named.
Steps
1. Verify PR is ready to merge
gh pr view <n> --json state,mergeable,mergeStateStatus,mergeCommit,statusCheckRollup,reviewDecision
Decision table:
| Condition | Action | MERGED_BY in report |
|---|---|---|
state == "OPEN" AND mergeable == "MERGEABLE" AND mergeStateStatus == "CLEAN" |
proceed to step 2 | pr-reconciler |
mergeStateStatus == "BLOCKED" due to pending checks |
wait 60s, retry up to 12 times (12-min ceiling) with a one-line progress notification between attempts (e.g. still pending after Nm — retry K/12); if still not green after 12 retries, emit STATUS: not-ready and exit. Any check transitioning to fail/error during the loop short-circuits to the failing-check row below — the 12×60s budget is ONLY for IN_PROGRESS / PENDING checks. |
— |
| Any check is failing | emit STATUS: not-ready with the failing check names and exit |
— |
reviewDecision == "CHANGES_REQUESTED" |
emit STATUS: not-ready (review gate) and exit |
— |
state == "MERGED" (pre-existing) |
skip the gh pr merge call entirely; proceed to step 3 (cleanup only) |
preexisting (capture mergeCommit.oid as MERGE_SHA) |
state == "CLOSED" (not merged) |
emit STATUS: closed-without-merge and exit |
— |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago Changed eeb8d4228010
- 10d ago First seen · 111 lines · 0 tokens per session scan A df0b2dcf82c7
pr-reconciler is an agent published in the GitHub repository darylmcd/Roslyn-Backed-MCP (1 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,849 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
deployment-specialist
Handles all deployment operations.
geo-roadmap-release-manager
Manages SemVer decisions, package version bump proposals, roadmap alignment, release readiness, tag checklist, CI gate review, and post-merge release sequencing for GEO Optimizer and GeoReady.
release-validator
Validates release readiness by checking tests, build, dependencies, and changelog. Use before creating a release.
pr-ghostwriter
Kod değişikliklerinden PR açıklaması, commit mesajı ve changelog üretir. Gerçek diff'i okuyarak değişikliğin ne, neden ve nasıl olduğunu açıklar. Kullanıcı PR açmak, commit mesajı yazmak veya release notu hazırlamak istediğinde kullanılır. Jenerik açıklama üretmez — her zaman gerçek değişikliğe özgü yazar.
iris
GitHub operations specialist — branches, pull requests, issues, releases, tags. Called by zeus after review. Never pushes or merges without explicit human approval. Integrates with VS Code GitHub Pull Requests extension.
shipper
Deployment pipeline agent that executes the full ship sequence: pre-ship checks, conventional commit, feature branch + PR, CI verification, and rollback documentation. Use in Phase 5 after Gate 2 passes. Never commits directly to main. Not for implementation or review approval.