Unclear What a hook on turn.start now switches on is not stated.
What
Hooks are small pieces of code a plugin runs at set points while Claude Code works. The engine that runs them changed in several ways.
turn.startnow counts, together withturn.stepandturn.complete, when Claude Code decides whether any hooks are active. A try/catch that called an error handler was removed in the same area.- A new status explains that, where an organization manages Claude Code, a plugin's hooks on certain events do not run: "these events pass over the plugins you install". Only the organization's own plugins run hooks on those events.
- A new
tool.registerhook event is added. - A plugin with a module path (
modulePath) now counts as having hooks in the reports sent when a plugin loads or is enabled. Before, onlyhooksConfigcounted. - The engine gains
restoreArgumentforprompt.submitandskill.prompt. - A check on frontmatter data, the settings block at the top of a skill file, rejects prototype keys, proxies, cycles and accessors.
skill.promptnow also receives the skill's frontmatter as written in the file, afrontmatterProblemfield, and the skill's source, plugin name and path. Before, it received only{ skill, text }. If the frontmatter cannot be copied, it gets{}and a warning is logged.- Separately, several functions that write session files return early in what looks like a diskless session mode. One throws "A diskless session writes no side file to disk".
Why
Plugin authors can react to the start of a turn and read or rewrite a skill's frontmatter. People on managed installs get a reason when their own plugins' hooks do not run.
Names in the bundleturn.start
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up turn.start, on Draw in the interface with a mod.
* **Opened by your mod acting by itself**, such as from a timer or a [`turn.start`](https://code.claude.com/docs/en/plugins/mods/events#follow-a-turn) hook, the pane appears only in a terminal at least 144 columns wide. After the user has …plugins/mods/interface see the edit
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What a hook on `turn.start` now switches on is not stated.
Anthropic's documentation agrees
Anthropic's documentation has since written up turn.start, on Draw in the interface with a mod.
Anthropic's release notes agree
Changed the turn.start mod hook to also hear subagents' and teammates' turns, not only the main loop's; tell them apart by e.agentId (absent…