{ "env": { "RSTACK_STATE_DIR": "~/.local/state/rstack", "RSTACK_MAIN_TREES": "~/src/my-repo", "CONDUCTOR_NAME": "conductor", "CONDUCTOR_CWD_SUFFIX": "/src/conductor" }, "hooks": { "PreToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "python3 ~/src/rstack/rstack/hooks/block-main-tree-commit.py" }, { "type": "command", "command": "python3 ~/src/rstack/rstack/hooks/poll-guard.py" }, { "type": "command", "command": "python3 ~/src/rstack/rstack/hooks/trash-guard.py" }, { "type": "command", "command": "python3 ~/src/rstack/rstack/hooks/gate-pipe-guard.py" }, { "type": "command", "command": "python3 ~/src/rstack/rstack/hooks/agent-stdin-guard.py" } ] }, { "matcher": "mcp__plugin_runpod_runpod__create-pod", "hooks": [ { "type": "command", "command": "python3 ~/src/rstack/rstack/hooks/pod-deadline-gate.py" }, { "type": "command", "command": "python3 ~/src/rstack/rstack/hooks/pod-create-gate.py" } ] }, { "matcher": "SendMessage", "hooks": [ { "type": "command", "command": "python3 ~/src/rstack/rstack/hooks/conductor-inbox-gate.py" } ] }, { "matcher": "mcp__claude-in-chrome__computer|mcp__claude-in-chrome__browser_batch|mcp__claude-in-chrome__get_page_text|mcp__claude-in-chrome__read_page", "hooks": [ { "type": "command", "command": "python3 ~/src/rstack/rstack/hooks/read-the-thread-first.py" } ] }, { "matcher": "Agent", "hooks": [ { "type": "command", "command": "python3 ~/src/rstack/rstack/hooks/results-brief-guard.py" } ] }, { "matcher": "AskUserQuestion", "hooks": [ { "type": "command", "command": "python3 ~/src/rstack/rstack/hooks/lane-no-questions.py" } ] } ], "SubagentStop": [ { "hooks": [ { "type": "command", "command": "python3 ~/src/rstack/rstack/hooks/results-report-guard.py" } ] } ], "UserPromptSubmit": [ { "hooks": [ { "type": "command", "command": "python3 ~/src/rstack/rstack/tools/asks-waiting --hook" } ] }, { "hooks": [ { "type": "command", "command": "python3 ~/src/rstack/rstack/hooks/general-inbox-relay.py" } ] } ], "Stop": [ { "hooks": [ { "type": "command", "command": "python3 ~/src/rstack/rstack/hooks/general-relay-check.py" } ] } ] } }