{
    "description": "Spur (sp) plugin hooks — task corpus write protection + indexed-context token-ledger tracking.",
    "hooks": {
        "PreToolUse": [
            {
                "matcher": "Write|Edit",
                "hooks": [
                    {
                        "type": "command",
                        "command": "superskill hook run sp task-write-guard",
                        "timeout": 10
                    }
                ]
            }
        ],
        "PostToolUse": [
            {
                "matcher": "Bash|Grep|Glob|Read|Write|Edit",
                "hooks": [
                    {
                        "type": "command",
                        "command": "superskill hook run sp context-post-tool",
                        "timeout": 10
                    }
                ]
            }
        ],
        "SessionStart": [
            {
                "hooks": [
                    {
                        "type": "command",
                        "command": "superskill hook run sp context-session-start",
                        "timeout": 15
                    }
                ]
            }
        ],
        "SessionEnd": [
            {
                "hooks": [
                    {
                        "type": "command",
                        "command": "superskill hook run sp context-session-stop",
                        "timeout": 15
                    }
                ]
            }
        ]
    }
}
