Affected version
graphifyy 0.9.25 (uv tool install)
- Windows 11, Codex CLI
Summary
graphify codex install registers a PreToolUse hook that invokes graphify hook-check. That subcommand does not exist in 0.9.25. The result is a silent no-op that costs a process spawn on every matching tool call, and gives the user a hook they believe is enforcing graph usage when it is doing nothing.
What gets written
~/.codex/hooks.json:
{
"matcher": "Bash",
"hooks": [
{ "type": "command", "command": "c:/users/<user>/.local/bin/graphify.EXE hook-check" }
]
}
Evidence it is not a real command
graphify --help lists the hook-related commands as:
hook install install post-commit/post-checkout git hooks (all platforms)
hook uninstall remove git hooks
hook status check if git hooks are installed
check-update <path> check needs_update flag and notify if semantic re-extraction is pending (cron-safe)
hook-check appears nowhere in --help. Invoking it directly, both outside and inside a repo with a valid graphify-out/graph.json:
$ graphify hook-check
$ echo $?
0
No output, exit 0 — indistinguishable from success, so nothing surfaces the misconfiguration.
Expected
Either:
- the installer registers whatever the current equivalent is (
check-update?), or
- the hook entry is dropped if there is no longer a per-tool-call check, or
hook-check is restored as an alias.
In all cases an unrecognized subcommand should exit non-zero rather than 0, so a stale hook fails loudly instead of silently.
Impact
Low severity, but the failure mode is bad: the user is told "Codex will now check the knowledge graph before answering codebase questions" while the mechanism that would enforce it is inert. I only found it by grepping --help after the hook never appeared to do anything.
Affected version
graphifyy0.9.25 (uv tool install)Summary
graphify codex installregisters aPreToolUsehook that invokesgraphify hook-check. That subcommand does not exist in 0.9.25. The result is a silent no-op that costs a process spawn on every matching tool call, and gives the user a hook they believe is enforcing graph usage when it is doing nothing.What gets written
~/.codex/hooks.json:{ "matcher": "Bash", "hooks": [ { "type": "command", "command": "c:/users/<user>/.local/bin/graphify.EXE hook-check" } ] }Evidence it is not a real command
graphify --helplists the hook-related commands as:hook-checkappears nowhere in--help. Invoking it directly, both outside and inside a repo with a validgraphify-out/graph.json:No output, exit 0 — indistinguishable from success, so nothing surfaces the misconfiguration.
Expected
Either:
check-update?), orhook-checkis restored as an alias.In all cases an unrecognized subcommand should exit non-zero rather than 0, so a stale hook fails loudly instead of silently.
Impact
Low severity, but the failure mode is bad: the user is told "Codex will now check the knowledge graph before answering codebase questions" while the mechanism that would enforce it is inert. I only found it by grepping
--helpafter the hook never appeared to do anything.