Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

Hooks use lowercase 'raw-outputs' but directory is 'Raw-Outputs' (breaks on Linux)

Open hjbrandt opened this issue 3 weeks ago • 0 comments

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.

hjbrandt avatar Dec 21 '25 15:12 hjbrandt