Task Complete Reflect
PostToolUse hook for auto-reflection nudge
Event: PostToolUse
Matches: mcp__task__task_complete
Fires after mcp__task__task_complete. When the completed task has sufficient observations and no prior reflection, injects a system reminder nudging the agent to run /kli:reflect. This breaks the cold-start spiral where playbooks stay sparse because reflection requires explicit human invocation.
Handler
task-complete-reflect-handler — PostToolUse handler for task_complete: nudge reflection when warranted.
Returns post-tool-context with nudge, or empty-response when silent.