Seam
tools/pre-execute
8 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 tool call the model asked for.
- Payload
- the call, with allow, deny, or ask
- Power
- A listener may replace what it passes on.
- Declared
- packages/core/tools/src/events.ts:18
- auto-review
- hooks-claude-code
- hooks-codex
- liveshare
- tool-jobs
- workspace-changes
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-live-containers rewrite arm
- hook-dsh-tool-coach advise arm
- hook-dsh-workspace-govern rewrite
- hook-dsh-workspace-operate advise
- ets-hook-dsh-live-containers rewrite arm
- ets-hook-dsh-tool-coach advise arm
- ets-hook-dsh-workspace-govern rewrite
- ets-hook-dsh-workspace-operate advise
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 arm | Keeps live, editable blocks in the system prompt | 28 knob | |
| advise arm | Teaches the model to stop reading files through the terminal | 17 knob | |
| rewrite | Gates workspace changes before they happen | 10 knob | |
| advise | Turns intent into typed proposals: rename, connect, replace | 8 knob | |
| rewrite arm | Keeps live, editable blocks in the system prompt | 28 knob | |
| advise arm | Teaches the model to stop reading files through the terminal | 17 knob | |
| rewrite | Gates workspace changes before they happen | 10 knob | |
| advise | Turns intent into typed proposals: rename, connect, replace | 8 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.