{"name":"patiently-anti-tangent-guard-plugin-anti-tangent-guard","owner":{"name":"ClaudePluginHub"},"plugins":[{"name":"patiently-anti-tangent-guard-plugin-anti-tangent-guard","source":{"source":"git-subdir","url":"https://github.com/patiently/anti-tangent-mcp","path":"plugin/anti-tangent-guard"},"description":"Five hooks enforcing anti-tangent-mcp's conventions (six registrations: the stop check is registered on both Stop and SubagentStop). A PreToolUse hook on Edit/Write/NotebookEdit refuses a dispatched implementer's first edit until validate_task_spec has been called; with ANTI_TANGENT_EDIT_GATE=subagents or all (off by default) it refuses edits to project files in every subagent, or every session including the main one, until that session has made its own successful validate_task_spec call, exempting paths outside the project root (CLAUDE_PROJECT_DIR, else the session cwd) and ANTI_TANGENT_EDIT_GATE_EXEMPT globs (default docs/**/*.md). Under the same switch, a Stop/SubagentStop hook asks a session to call validate_completion before it stops when its validate_task_spec opened a task it has edited and nothing closed, once per stretch of edits. A PostToolUse hook on TaskUpdate mandates the validate_completion gate when a protocol task closes, blocks a full-protocol close whose completion ran with no task session, and, when the evidence that call submitted adds comments carrying change history, returns a blocking instruction to reopen and fix — reading the submitted diff, or a final_files completion through git, which reports nothing for work already committed. It detects rather than prevents: PostToolUse fires after the state change. A PreToolUse hook on Edit/Write refuses such a comment before it is written. A second, optional tier reads the whole touched comment block semantically when ANTI_TANGENT_JEV=1 and a TYPESAFE_API_KEY is present, refusing the write when TypeSafe's Jev reads it as change history the pattern tells missed. A PostToolUse hook on Edit/Write/NotebookEdit asks a task once for a check_progress call when it reaches ten edits since validate_task_spec without one; it refuses nothing. Set ANTI_TANGENT_TICKET_PATTERN to your tracker's key shape to have tracker keys caught. Kill switches: ANTI_TANGENT_SESSION_GUARD=0 (fingerprinted start gate and no-session close rule), ANTI_TANGENT_COMPLETION_GUARD=0 (TaskUpdate completion gate only), ANTI_TANGENT_COMMENT_GUARD=0 (comment scan, both hooks), ANTI_TANGENT_PROGRESS_GUARD=0 (progress reminder), ANTI_TANGENT_STOP_GUARD=0 (stop check only).","version":"0.8.1","keywords":["anti-tangent","drift-protection","mcp","hooks","completion-gate"],"category":"documentation"}]}