Ask the human โ the scannable, one-decision handoff
You hit a fork. First apply the decide-vs-ask test (AGENTS.md โ *Deciding vs
asking*): ask only when it's irreversible/expensive and not derivable and
genuinely the human's call. If any one fails โ decide + log a Decisions-log line and
keep moving. Don't reach for this skill to dodge a call you can make.
If it is ask-worthy, this skill is how you ask well. The owner may be holding ~20
async threads on their phone: the comment must be graspable in ~10 seconds,
self-contained (a fresh session resumes from it with zero memory โ #639), and it must
always propose an answer. Never post a naked "what do you want?".
The template
Post this as a top-level issue comment (add_issue_comment) โ never a PR review body
(the owner misses those, #846). One decision per comment; batch related questions into it.
Before any of this: could you just DO your own recommendation?
If your recommended option is something you are permitted and able to do, and doing it
is reversible, then it is not a question โ **do it, log the assumption, and report the
result.** The AGENTS.md decide-vs-ask test has three conditions and this fails at least
two of them.
The failure looks like this (FRI-584, verbatim):
A) Ride
apps/velostaging โฆ Reply here with the preview URL if one's already live,
or say "deploy velo staging with review on" and a follow-up run will do it. _(recommended)_
B) Pick one of the three in-flight sibling PRs and redeploy that branch โฆ
Reply: A or B
The issue was "produce a walkable preview URL". The deliverable was the link. Both
options are ordinary staging deploys โ reversible, mechanical, no taste involved โ and the
agent could dispatch either. Asking converted a five-minute action into a round-trip, and
handed back a wall of setup choices instead of the one thing that was wanted.
Rule: an ask whose options are all things you could have done is not an ask. Pick the
recommendation, do it, and report. Ask only about the part you genuinely cannot resolve โ
and if the whole task turns out to be blocked by something structural, that is a `Needs:
action` hold naming that, not a menu.
First: which of the THREE shapes is this? (#2067)
A hold is not always a question. State which, on line 2, with a mandatory **Needs:**
line โ the gate reads it to word the follow-up, and guessing is what broke #2054:
| Needs: | You are asking the owner to | Typical cause |
|---|---|---|
| answer | pick between real options | a genuine fork โ taste, priority, product intent |
| action | do something you are not permitted to | .github/workflows/** (the App token can't write it, #1076) |
| approval | review a diff or a preview | the UI / schema / test sign-off gates |
Getting this wrong tells the owner to answer a question that was never asked. #2054 posted
a patch-to-apply under the question shape, and the gate dutifully announced *"asked you a
question"* above 4,372 characters containing no question.
The one hard layout rule
Everything that is not the ask goes inside <details>. The visible part is ~10 lines:
heading, provenance, Needs:, recommendation, reply instruction. Patches, diffs, findings,
status, stack traces โ all collapsed. Context and findings are welcome; they must not sit
in front of the ask. The owner is on a phone holding twenty threads.
`Needs: answer` โ a real fork
## ๐ Blocked โ <the one decision, in one line>
> ๐ค **Claude Code** ยท interactive agent ยท posted from `@pmcp`'s account (not Maarten) ยท _<one-line context>_
**Needs:** answer
**Recommend <X>** โ <why, one line>
**Reply:** `A` or `B` ยท your reply spawns a fresh session that resumes from THIS ticket
<details><summary>Options + context</summary>
- **A) <label>** โ <consequence> _(recommended)_
- **B) <label>** โ <consequence>
**Why it came up:** <what cannot proceed until this is answered>
**Status:** <what's done ยท `branch-name` pushed? ยท what's NOT done>
**Don't lose:** <decisions/assumptions the next agent must carry forward>
</details>
`Needs: action` โ you cannot do it; the owner must
## ๐ Blocked โ <the one thing to DO, in one line>
> ๐ค **pi.dev harness** ยท agent pipeline (CI) ยท _<one-line context>_
**Needs:** action โ apply the patch below
**Why me and not you:** <the permission//tooling reason, one line>
**Reply:** comment here when applied ยท that resumes the work in a fresh run
<details><summary>The patch (apply as-is)</summary>
<the diffs โ however long; they live here, never in the body>
</details>
`Needs: approval` โ a sign-off gate
## ๐ Blocked โ <what you're being asked to look at, in one line>
> ๐ค **pi.dev harness** ยท agent pipeline (CI) ยท _<one-line context>_
**Needs:** approval
**Reply:** `ok` to release (or `not ok: what's wrong`) ยท anything else is a change request
<details><summary>What changed + evidence</summary>
โฆ
</details>
Rules that make it work:
- Lead with the decision + a recommendation. The first two lines must answer "what's
being asked, and what does the agent suggest?" with no scrollback.
- Always a recommendation. You did the work; you have an opinion โ state it and why.
- Provenance header is mandatory (enforced by
require-comment-provenance). Interactive
agents post under @pmcp's account โ use the "not Maarten" disclaimer above. A bot-account
pipeline comment uses > ๐ค **<tool>** ยท agent pipeline (CI) ยท _<context>_ instead (no
@pmcp disclaimer โ it'd be false).
- @mention only because action is needed. This is an ask โ mention
@pmcp
(NOTIFY_HANDLE). Pure FYIs get no mention โ and note the mandatory provenance disclaimer
writes the handle in a code span (` @pmcp `) precisely so it names the account
without notifying. GitHub linkifies mentions inside blockquotes and <details> too; code
spans and fenced blocks are the only places it doesn't. (#2081: 17 of the last 29
notifications were that disclaimer line and nothing else.)
- Point at something live (#2111). If the ask names a PR for the owner to look at, that PR
must still be open โ never send them to a merged/closed one (the #2039 case). If it's gone,
name the open PR that replaced it, or say plainly that the target is gone. When the change has
a per-PR preview (<app>-pr<N>, its URL is in the PR's ๐ preview comment, #2020), point
there, not at shared <app>.pmcp.dev staging โ staging may not contain the change yet. The
require-live-review-target hook refuses a dead PR in the **You:** line on the MCP comment
path; when posting with gh (CI, shell), run node scripts/review-target.mjs <body-file>
first โ it exits 1 with the reason.
- Push before you block. If you've written anything,
git push -u origin <branch>first
and name that branch under Status โ an unpushed worktree is lost on stop (#639).
- Then apply
status:blockedand stop.
Attach the right medium
Prose is the fallback, not the default. If the question is visual or structural, a
paragraph is the wrong channel โ the owner shouldn't have to reconstruct a layout or a data
model in their head. Attach the artifact that shows it, and let them reply *on the artifact
itself* (the reply loop is WS5, #1191). We already own every medium โ pick by what the question
is, not by habit.
| Your question is aboutโฆ | Attach (medium) | Produce it with | Owner replies by |
|---|---|---|---|
| How it looks / feels (a rendered UI, spacing, copy, states) | live preview | ui-proposal (staging deploy, NUXT_PUBLIC_CROUTON_REVIEW=true) โ or a screenshot if no runnable app | pinning feedback on the preview โ ๐ฏ Preview feedback comment naming the file; or A/B |
| One screen / one state (a single view, an error, a before/after) | screenshot | node scripts/app-shots.mjs <baseUrl> <path[:name]> โ screenshots/<name>.png | commenting / A/B |
| A flow or interaction (multi-step, timing, motion) | short video | demo-video (WebM storyboard) | commenting |
| The data model (fields, types, relationships) | schema render | schema-review (โ PNG/HTML/MD) | inline comment on the committed .md; or A/B |
| Structure / status / dependencies (what depends on what, where the tree is) | diagram | ticket-diagram (Excalidraw on the epic) | editing the Excalidraw โ scripts/ticket-excalidraw-import.mjs round-trips it back; or A/B |
| A tradeoff / priority / naming (no visual or structural surface) | prose | the block above | A/B/ok |
Rules:
- One artifact, the most direct one. Don't attach three renders "to be safe" โ pick the
medium that answers this question fastest and link it from the blocking comment.
- The artifact supplements the block; it doesn't replace it. Still lead with the decision +
recommendation in text โ the artifact is the evidence, the block is the ask.
- Screenshots land in
screenshots/(gitignored) โ never the repo root or an app dir. - Reuse the skill, don't reinvent it. Each medium is its own skill/script with its own
gotchas; invoke it, don't hand-roll a render.
- If producing the artifact would cost more than the answer is worth (a deploy for a one-line
copy tweak), fall back to a screenshot or prose โ match the effort to the stakes.
Why this shape
- 10-second-scannable โ the owner triages 20 threads without opening each.
- Recommendation-first โ most replies collapse to
ok, one round-trip (epic metric #1). - Self-contained โ the resuming session (
resume-on-comment.yml, fresh, checks out
main) continues from the branch + comment without re-deriving or diverging (#639).
This extends #639 (the handoff block) โ it doesn't replace it. #639 gave the block its
state/after/don't-lose fields; this adds the scannable lead + the always-a-recommendation
rule and packages it so every agent emits the same shape.