{"version":"2.1.84","anchor":"taskcreated-hook-event","canonical_anchor":"taskcreated-hook-event","heading":"TaskCreated Hook Event","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.84\/e\/taskcreated-hook-event","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.84","markdown":"### TaskCreated Hook Event\n\n**What**\n\nA new hook event type that fires when a task (e.g., from `\/loop` or teammate creation) is being created.\n\n**Details**\n\n- Hook receives JSON input with `task_id`, `task_subject`, `task_description`, `teammate_name`, and `team_name`\n- Exit code 0: stdout\/stderr not shown\n- Exit code 2: show stderr to model and prevent task creation\n- Other exit codes: show stderr to user but proceed\n- Allows organizations to gate or customize task creation behavior\n\n**Evidence**\n\nTaskCreated hook (search for `\"TaskCreated\"`, `\"When a task is being created\"`)"}