049eaf0dfc
5 тестов для Task git-safety inject хука: - inject SUBAGENT GIT-SAFETY HEADER в Task-prompt - inject real cwd/branch/HEAD/worktree-root - passes through non-Task tools - fail-open on malformed stdin - fail-open when git unavailable Tests FAIL — hook implementation в следующем коммите (TDD green-phase). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>