Summary
The capture-all-events.ts hook uses lowercase 'raw-outputs' in the path, but the actual History directory is Raw-Outputs (TitleCase with hyphen). This causes the hook to fail on case-sensitive filesystems (Linux).
Problem
In Hooks/capture-all-events.ts:
const monthDir = join(HISTORY_DIR, 'raw-outputs', `${year}-${month}`);
Actual directory structure:
History/
├── Raw-Outputs/ ← TitleCase
├── Sessions/
├── Learnings/
└── ...
Impact
- ✅ Works on macOS (case-insensitive filesystem)
- ❌ Fails on Linux (case-sensitive filesystem) - events not captured
Fix
Change 'raw-outputs' to 'Raw-Outputs' to match the actual directory name:
const monthDir = join(HISTORY_DIR, 'Raw-Outputs', `${year}-${month}`);
Related
This is similar to the TitleCase issues fixed in PR #236, but affects TypeScript hook files rather than markdown skill files.