Seam
tools/post-execute
36 hook, and every one of them rewrites what passes here or advises on it.
Harness
The harness dispatches this seam as a waterfall, and it already has listeners here. The family adds its hooks beside them.
It carries the result before it becomes model content.
- Payload
- the result, with accept, block, replace, or add context
- Power
- A listener may replace what it passes on.
- Declared
- packages/core/tools/src/events.ts:41
- claude-code-mods
- hooks-claude-code
- hooks-codex
- repeat-tool-reminder
- spill-policy
- tool-fs-search
A waterfall listener receives the payload and may return a changed one, so a hook here can rewrite what the model reads next.
Fan
One event, many hands. The same listener list the table below details, drawn as the dispatch it is.
- hook-dsh-ccr rewrite
- hook-dsh-comment-filter rewrite
- hook-dsh-convention-suggester advise
- hook-dsh-doc-suggester advise
- hook-dsh-edit-suggester advise
- hook-dsh-graph-suggester advise
- hook-dsh-live-containers rewrite arm
- hook-dsh-normalize-dash rewrite arm
- and 28 more
Hook
One row per hook that declares this seam, with the effect it has and the knobs it documents.
| Hook | Effect | What it does | Configuration |
|---|---|---|---|
| rewrite | Compresses oversized tool output, caches it, and retrieves it on demand | 18 knob | |
| rewrite | Strips code comments out of read results | - | |
| advise | Names the repo's conventions before the model breaks them | - | |
| advise | Suggests the documents a documentation task should touch | - | |
| advise | Suggests the files an edit is about to touch | - | |
| advise | Widens a suggestion from a symbol to everything connected to it | - | |
| rewrite arm | Keeps live, editable blocks in the system prompt | 28 knob | |
| rewrite arm | Turns every unicode dash into a plain hyphen, live | 13 knob | |
| rewrite arm | Turns the unicode ellipsis into three dots, live | 13 knob | |
| rewrite arm | Turns fullwidth characters back into ASCII, live | 12 knob | |
| rewrite arm | Removes invisible characters from model output | 13 knob | |
| rewrite arm | Turns curly quotes into straight ones, live | 12 knob | |
| rewrite arm | Turns exotic spaces into plain spaces, live | 13 knob | |
| advise | Shows what the model touched the last time it did this | - | |
| advise | Suggests where to search before the model starts reading | - | |
| advise | Suggests the tests a task should run | - | |
| advise | Teaches the model to stop reading files through the terminal | 17 knob | |
| rewrite arm | Gates workspace changes before they happen | 10 knob | |
| rewrite | Compresses oversized tool output, caches it, and retrieves it on demand | 18 knob | |
| rewrite | Strips code comments out of read results | - | |
| advise | Names the repo's conventions before the model breaks them | - | |
| advise | Suggests the documents a documentation task should touch | - | |
| advise | Suggests the files an edit is about to touch | - | |
| advise | Widens a suggestion from a symbol to everything connected to it | - | |
| rewrite arm | Keeps live, editable blocks in the system prompt | 28 knob | |
| rewrite arm | Turns every unicode dash into a plain hyphen, live | 13 knob | |
| rewrite arm | Turns the unicode ellipsis into three dots, live | 13 knob | |
| rewrite arm | Turns fullwidth characters back into ASCII, live | 12 knob | |
| rewrite arm | Removes invisible characters from model output | 13 knob | |
| rewrite arm | Turns curly quotes into straight ones, live | 12 knob | |
| rewrite arm | Turns exotic spaces into plain spaces, live | 13 knob | |
| advise | Shows what the model touched the last time it did this | - | |
| advise | Suggests where to search before the model starts reading | - | |
| advise | Suggests the tests a task should run | - | |
| advise | Teaches the model to stop reading files through the terminal | 17 knob | |
| rewrite arm | Gates workspace changes before they happen | 10 knob |
Read
A seam is the harness event a hook listens on, named area/event. This page lists the hooks the repository declares at this seam, one row per hook, with the effect it has and the configuration it documents. A row marked as an arm is a listener the package's source registers here without documenting it in its README.