--- name: shipped description: Draft plain-English Slack deploy notes for work about to ship or the last observed production push. Use for deploy previews and retrospective release summaries; drafts only, never deployed or posted by the agent. disable-model-invocation: true allowed-tools: - Bash(git fetch:*) - Bash(git reflog:*) - Bash(git rev-parse:*) - Bash(git rev-list:*) - Bash(git symbolic-ref:*) - Bash(git log:*) - Bash(git show:*) - Bash(git merge-base:*) - Bash(git remote:*) - Bash(gh pr list:*) - Bash(gh pr view:*) - Bash(gh issue view:*) - Bash(gh api:*) - Bash(date:*) - Bash(echo:*) - Bash(sed:*) - Bash(tr:*) - Bash(head:*) --- # Deploy updates Never deploy. Output obeys [../../recap-format.md](../../recap-format.md). Mode: - Pre-deploy default: remote default branch to user branch, first of `dev`, `staging`, `develop`, `release`, else `HEAD`. - Retrospective: previous to current observed remote-default reflog tip. Fetch `origin`; stop on failure. Resolve endpoints, short SHAs, dates, count, then write the update. Never ask the user to confirm the range; a range the user named in the invocation is already the answer. Zero: nothing pending/shipped. Empty retrospective reflog: request one. No origin: request deployment repo. An explicit range accepts reflog entry, SHA, tag, date. Inspect non-merge commits. Resolve PR by referenced number or SHA; read PR body, then linked issues and diff stat as needed. Exclude work ancestral to start. Translate unsupported commits cautiously. Collapse related work and routine dependency/CI noise. Return only: ```text 🚀 *Deploys: (M/D/YY)* ✨ *Features* • *Label:* Outcome in one short sentence. 🛠️ *Fixes* • *Label:* Outcome in one short sentence. ``` Window names the range in the reader's terms: `Last N Days` retrospective, `Pending` pre-deploy. Keep every label and sentence neutral. Name the surface with a generic noun and state what it now does. Never imply the prior behavior was wrong or that anyone erred: no comparatives or corrective framing (`Smarter Search`, `Right Order`, `Finally`, `No Longer Broken`). Use `Search`, `Sort Order`. Sections in this order, only those needed: ✨ Features, 🛠️ Fixes, ⚡ Performance, 📈 SEO & Marketing, 🗂️ Admin & Internal, ⚙️ Behind the Scenes.