# body.md — maintain PR title or body Entry: an open PR plus a requested title/body change. Saves `.thinkrail/context/pr-body.md` when editing the body (kept as an artifact; the next edit overwrites it). Default completion is snapshot mode; preserve wait mode only when selected by the spine's explicit remote-completion rule. 1. Fetch the current title and body (`gh pr view --json title,body`) and read the repository's `.github/PULL_REQUEST_TEMPLATE.md` when present. Preserve existing sections, issue links, checklist items, and unrelated content; apply only the requested mutation. 2. For a body edit, write the complete candidate to `.thinkrail/context/pr-body.md`. Immediately before `gh pr edit`, fetch the current body again; if it changed, merge the requested mutation into that fresh body instead of overwriting concurrent edits. Use `gh pr edit --body-file ...`, never an inline body. For a title edit, immediately re-fetch the current title too; if it changed, reapply only the requested mutation to that fresh title before `gh pr edit --title ...`. 3. Fetch the resulting title/body once to verify the requested mutation landed. Leave the body file in place. ## Next Read and follow `checks.md` in the selected completion mode.