#!/usr/bin/env bash # Hook: block-todos (PreToolUse, matcher: ^todos$) # Bans the todos tool. WORKING.md is the ONLY task tracker in this project, # so the task list is version-controlled and visible in every commit. # # Why: the todos tool's state is invisible to humans reviewing git history. # WORKING.md is committed, diffable, and survives across sessions. echo "BLOCKED: The todos tool is banned in this project. Use WORKING.md for ALL task tracking — edit it, then commit." >&2 exit 2