disinto/lib/hooks
openhands 809dd93c3b fix: distinguish phase file writes from reads in PostToolUse hook
- Parse tool_name via jq: Write tool checks file_path match,
  Bash tool checks for redirect operator (>) with phase file path
- Reads (cat, head) no longer trigger false-positive markers
- Split guard into separate statements for clarity
- Move marker cleanup inside hook-install guard
- Expand tests: 5 cases covering Bash write, Write tool, Bash read,
  unrelated Bash, and Write to different file

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 18:14:49 +00:00
..
on-idle-stop.sh fix: replace fragile pane grep with Stop hook for idle detection (#272) 2026-03-19 14:57:54 +01:00
on-phase-change.sh fix: distinguish phase file writes from reads in PostToolUse hook 2026-03-19 18:14:49 +00:00