# Reading the inputs Every read here comes before any waiting: each stop below would otherwise cost a 45-minute wait first. - PR: `mcp__gitea__pull_request_read` `get` (title, body, `html_url`, base branch, and `merge_commit_sha`: the **merge commit**), `get_files` and `get_commits`, every page. - Shape: `rtk git fetch origin`, then `rtk git rev-list --parents -n 1 `. One parent and more than one PR commit → stop with "PR # was squash- or rebase-merged from several commits; verify and revert it by hand": a rebase leaves the merge commit as only the last rebased commit, and equal file sets would not tell a squash from it. - `docs/agents/delivery.md` at the merge commit's **first parent**, with `mcp__gitea__get_file_contents` `ref` set to that SHA, never a branch: the rules as they stood before this PR, so a PR cannot loosen its own post-merge checks. Format: `delivery-repo-doc`'s `references/format.md`. Parse only `## Post-merge checks`: items `` - ``: ``, … `` or `` - ``: none ``, or the single item `- none`. Anything else → stop with "`docs/agents/delivery.md` ". - Assertions: every `post-merge: — reason: ` in the PR body's `## Acceptance checks` block, keeping its line's quoted criterion. No block → no assertions. - Revert: read `references/already-reverted.md` and run its check.