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>
143 B
143 B
type, pr
| type | pr |
|---|---|
| Fixed | 317 |
context-monitor hook no longer performs a redundant stat syscall before each file read on the PostToolUse hot path