Turn engineering work into copy-ready text for product or management. Return
it in a fenced code block; write no files unless asked to save it, then use
$TMPDIR/summary-<branch>-<format>.md.
Agree on the source and shape first
Ask the user all three questions in one message; do not silently detect or choose these settings:
- Source. Offer applicable choices: the branch-matched plan
(
projects/<branch-slug>/plan.md); latestprojects/*/plan.mdor legacydocs/plans/*.md; a user-named path; the branch diff (git diff origin/<main>...HEAD); or unpushed commits (git log origin/<main>..HEADwith diffs). Base diffs and logs onorigin/mainororigin/master, never localmain, or local commits may be missed. If no plans exist, offer only diff or commits. - Shape:
pr(problem, solution, impact, verification),slack(one short paragraph, 2–4 bullets), oremail(multi-paragraph, subject line). - Rendering: default to
markdownforpr,plainforemail(also safe for Slack, which displays**bold**literally), orslack-mrkdwn(*bold*,_italic_,<url|text>) for formatted Slack.
Read OUTPUT-TEMPLATES.md for the chosen shape before writing. Continue only after the user chooses all three.
Support claims with the source
A proposed-plan summary describes intent, not delivered work. For
implementation claims or plan-drift checks, read the full relevant diff and
enough code to support material claims; --stat alone cannot establish
behaviour. Distinguish planned, implemented, tested, and deployed work. Mark
unsupported claims unverified.
Use voice-product and CONCISE-PROSE.md. Cite the plan path and PR or branch URL at the bottom for engineers.
Deliver
Return the rendered text in the reply.


