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>
This commit is contained in:
5
.changeset/curious-cats-parade.md
Normal file
5
.changeset/curious-cats-parade.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
type: Fixed
|
||||
pr: 317
|
||||
---
|
||||
context-monitor hook no longer performs a redundant stat syscall before each file read on the PostToolUse hot path
|
||||
Reference in New Issue
Block a user