Per-PostToolUse hot path did stat-then-read ×3 (config.json, metrics bridge, warn sentinel); collapsed to read-with-ENOENT-catch (fewer blocking syscalls, no TOCTOU), behavior identical. Fixes #317. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6 lines
143 B
Markdown
6 lines
143 B
Markdown
---
|
|
type: Fixed
|
|
pr: 317
|
|
---
|
|
context-monitor hook no longer performs a redundant stat syscall before each file read on the PostToolUse hot path
|