TaskCompleted
A Claude Code hook event, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
When a task is being marked as completed
Anthropic's own wording. Read off Hooks reference, captured 2026-10-22.
In the changelogs
8Releases whose published page names TaskCompleted.
-
v2.1.295
Hooks can now block the action when they fail
A new hook option set to
blockmakes a hook that fails, times out or returns bad output stop the action it guardsfound in this entry's text
-
v2.1.248
New hook events and compiled-in plugin admission defaults
Three new hook event names appear, and unverified plugins are still allowed to load.
named in this entry, found in this entry's text
-
v2.1.236
Some hook events take a separate dispatch path
Six hook events now wait on a readiness step before running; the rest are unchanged.
found in this entry's text
-
v2.1.223
Hook-feedback meta messages identified by hook name instead of a line suffix
Your own messages won't be mistaken for hook feedback just because they end with a marker.
found in this entry's text
-
v2.1.223
Only four hook types produce non-user content
Only Stop, TeammateIdle, TaskCreated and TaskCompleted hooks are treated as internal; other hook feedback reads as your text.
named in this entry, found in this entry's text
-
v2.1.69
New Hook Events
found in this entry's text
-
v2.1.64
TaskCompleted and TeammateIdle Hooks Can Block Continuation
found in this entry's text
-
v2.1.33
TeammateIdle and TaskCompleted Hooks
found in this entry's text
First cited
2The earliest release whose published evidence quoted TaskCompleted was v2.1.64, 3 Mar 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table below.
Presence across releases
0The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the hook event does. All hook events.