From d0937940a93d1383487da0cff313fe5db7491884 Mon Sep 17 00:00:00 2001 From: Martin Vogel Date: Sun, 25 Oct 2026 20:03:40 +0100 Subject: [PATCH] docs(readme): name the Codex PreToolUse and Copilot PostToolUse search hooks The Codex CLI row still listed only SessionStart and SubagentStart after the PreToolUse Bash hook landed (#2719), and the hook section described only Claude Code's search context. The row now names the Codex search hook, and the section says how Codex, Copilot CLI and VS Code's Copilot runtime get search context. Refs #509 Signed-off-by: Martin Vogel --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 224daeb71..8fd5c68a9 100644 --- a/README.md +++ b/README.md @@ -695,7 +695,7 @@ overwrite user-modified agents. | Agent | Activation | MCP config | Durable context / augmentation | |-------|------------|------------|--------------------------------| | Claude Code | Detected | `~/.claude.json` | Skill + three exact-tool graph agents; `SessionStart`, `SubagentStart`, non-blocking `PreToolUse` for `Grep`/`Glob`/`Bash`, and post-`Read` coverage | -| Codex CLI | Detected | `$CODEX_HOME/config.toml` | Managed `AGENTS.md` activation pointer, skill, three read-only agents; `SessionStart` + `SubagentStart` | +| Codex CLI | Detected | `$CODEX_HOME/config.toml` | Managed `AGENTS.md` activation pointer, skill, three read-only agents; `SessionStart` + `SubagentStart`, `PreToolUse` graph lookup for `Bash` searches | | Gemini CLI | Detected | `.gemini/settings.json` | `GEMINI.md`, three explicit read/graph-tool subagents; `BeforeTool`, `AfterTool` `read_file` coverage, and `SessionStart` | | Zed | Detected | platform `settings.json` (JSONC) | `AGENTS.md` + shared skill | | OpenCode | Detected | `$OPENCODE_CONFIG` or resolved global config | `AGENTS.md`, skill, three deny-by-default read-only agents; plugin adds grep/glob graph lookup, post-`read` coverage, first-tool-result session context, and post-compaction reinjection | @@ -751,7 +751,11 @@ Hooks installed by this project are fail-open and context-only. Claude Code's `PreToolUse` observes `Grep`/`Glob`/`Bash` and injects matching graph symbols as `additionalContext`; `PostToolUse` on `Read` adds targeted coverage context when the graph could not fully parse or index that file. It never denies or replaces -the requested tool call. +the requested tool call. Codex CLI's `PreToolUse` on `Bash` gives its shell +searches the same context. GitHub Copilot CLI and VS Code's Copilot runtime get +it after the search: their `preToolUse` can only decide permissions, so a +`PostToolUse` entry for `Bash`, `Grep` and `Glob` appends the graph symbols to +the tool result. Claude Code, Codex CLI, Qwen Code, GitHub Copilot CLI, and VS Code's Copilot runtime receive paired session/subagent context where the vendor exposes a