Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.84 ·

TaskCreated Hook Event

Entry
JSON All of v2.1.84
EntryKind: in v2.1.84,
ChangesSection of the release
What

A new hook event type that fires when a task (e.g., from /loop or teammate creation) is being created.

Details
  • Hook receives JSON input with task_id, task_subject, task_description, teammate_name, and team_name
  • Exit code 0: stdout/stderr not shown
  • Exit code 2: show stderr to model and prevent task creation
  • Other exit codes: show stderr to user but proceed
  • Allows organizations to gate or customize task creation behavior
Evidence

TaskCreated hook (search for "TaskCreated", "When a task is being created")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded TaskCreated hook that fires when a task is created via TaskCreate

See this entry in the whole of v2.1.84 →

Feedback