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
pre-edit-recall: most recorded runs have no file_path in the tool input #370
In the most recent 22 recorded pre-edit-recall outcomes on a real machine (2026-09-20), 13 are skipped / no file_path in the tool input, 6 are nothing to recall and 3 are notified.
hooks/hooks.json registers the hook with matcher: "Edit|Write". A plain Edit or Write always carries file_path, so something else is matching. Not verified which tool: the outcome record does not store the tool name. Candidates are tools whose NAME contains Edit or Write if the host treats the matcher as an unanchored regular expression (TodoWrite, NotebookEdit — which uses notebook_path — or an MCP tool with write in its name).
Each such run pays a process spawn and an outcome line for nothing, and returns before the guard pass — so if one of those tools can carry content a guard should see, it is not evaluated.
Suggested direction
Record tool_name on the outcome line so this can be answered from data.
Anchor the matcher if the host supports it, or return early (without an outcome line, or with a distinct reason) for tool names the hook does not handle.
Decide whether NotebookEdit should be supported (notebook_path).
Remaining scope: use the bounded tool classification in #650 to identify an actual missing-path event before changing the matcher. The historical sample did not record the tool that triggered it.
Activity
kevintseng commentedon Dec 2, 2026
Remaining scope: use the bounded tool classification in #650 to identify an actual missing-path event before changing the matcher. The historical sample did not record the tool that triggered it.