You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Native pre-tool-use hooks spread: gemini, windsurf, vscode, copilot now qualify -- probe and raise #48
P3a research for #32 (2026-08-22) found that four more agents now ship native pre-tool-use hooks with deny capability, so SURFACE_AGENTS in src/chock/compile/surfaces.py understates what is reachable:
Gemini CLI -- hooks system with BeforeTool/BeforeToolSelection (block capable), enabled by default since v0.26.0.
Windsurf -- Cascade Hooks, workspace .windsurf/hooks.json, exit-2 deny, including pre_mcp_tool_use.
VS Code (agent mode) -- Agent Hooks (Preview), permissionDecision: allow/deny/ask, discovered from .github/hooks/*.json and from Claude-format hook config.
Copilot CLI -- preToolUse hooks in .github/hooks/*.json with structured deny.
Codex -- experimental, deny-only, shell-only, not available on Windows (track, do not claim).
Two of these (VS Code, Copilot CLI) read the Claude hook format directly, so the existing emitter output may already be consumable with little adapter work.
Acceptance path, per the coverage-honesty rules: no matrix row changes until each hook is witnessed working -- a hands-on probe per client (install, matched command blocked, unmatched command passes, fail posture observed and documented). Each verified client then gets its PRE_TOOL_USE entry, an emitter (or reuse), and the per-client caveat paragraph.
Sequencing relative to #32: probing these is cheaper and stronger than the MCP gateway for these four clients (native hooks see native tools; the gateway sees only MCP traffic). The gateway's unique slice narrows to agents without hooks (grok, tabnine, codex-on-Windows, kimi) plus gateway-first gate kinds (egress).
Activity
Merge pull request #55 from open-coder-ai/feat/agent-hooks-surface