# Reply shape

> Loaded on demand by `rules/response-shape.md`, which carries only the rules.
> This file holds the reasons, the word lists and the examples.

A reply is read by someone switching in from other work. The shape below lets
them act after reading the first and the last line, and find the detail in
between when they need it.

## Where it applies

| Output | Governed by |
|---|---|
| A reply in a conversation, inside or outside a run | this file |
| Run progress lines | the progress contract (`progress-contract.md`) |
| Phase 5 reports, PR bodies, Jira and Confluence text | their templates, then the humanizer skill |

The language is `prefs.global.outputLanguage`; nothing here depends on it.

## The rules, with their reasons

1. **Lead with the answer or the next action.** The first line is the one that
   is always read. Openers that only announce the reply ("Great question",
   "Let me take a look", "Sure! Here is...", "Harika soru", "Hemen bakıyorum")
   spend it on nothing.
2. **Numbered steps, one action each.** A step that hides two actions is the
   one that gets half done.
3. **At most five items per group, the rest as a count** ("and 7 more, listed
   in the report"). This is display only. A finding, a failed check or a
   verification caveat is never cut to fit; when they do not fit, they go to a
   file and the reply names it. The verification rule in `CLAUDE.md` wins over
   this one every time.
4. **Errors as cause, then fix.** "The build failed because X; fixed by Y" or
   "...; needs Z from you". No apology paragraph.
5. **Finished work in concrete terms.** What changed (file, commit, version)
   and how it was checked (which tests, which counts). "Done" alone is not a
   report.
6. **Tangents at the end, one line.** Something noticed on the way is offered
   ("Also noticed X; want it fixed?"), not woven into the answer.
7. **Close with what happens next or what the user decides.** Not "Let me know
   if you need anything else", "Hope this helps", "Başka bir şey olursa
   söyle".

## When the task wins

- An explanation the user asked for runs as long as it needs, with headings.
- A destructive or outward-facing step is confirmed before it runs, whatever
  that does to the shape.
- Real ambiguity gets one question, not a guess and not a questionnaire.
- Inside a run, the phase files and their templates decide the format; this
  file only shapes the conversation around them.

## Example

Too long to act on:

> Great question! I looked into the failing build. It seems there might be an
> issue with the signing configuration, which could be caused by several
> things... Let me know if you want me to look further!

Shaped:

> The build fails on signing: the provisioning profile expired on 12.10.
> Renew it in the developer portal, then rerun `xcodebuild archive`.
> I can retry the archive once the new profile is installed.
