singularity-forge/docs/records
Mikael Hugo b719169ed5 perf + docs: KNOWLEDGE/ARCHITECTURE mtime cache + notification cluster JSDoc
Performance fix from audit:
- bootstrap/system-context.ts: cachedReadFile() with mtime-keyed in-process
  cache for KNOWLEDGE.md (global + project) and ARCHITECTURE.md. Eliminates
  3-4 sync readFileSync calls per agent turn on the common case where these
  files haven't changed. Live edits still picked up via mtime invalidation.

Docstring sweep on the notification + detection cluster:
- headless-events.ts: 17 JSDoc blocks (exit codes + every classification fn)
- notification-store.ts, notification-overlay.ts, notification-widget.ts,
  notifications.ts: ~17 blocks
- detection.ts, codebase-generator.ts: ~5 blocks

Typecheck clean. 3/3 perf tests pass.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 02:18:40 +02:00
..
2026-05-01-repo-vcs-and-notifications.md feat: implement ADR-001 gitignore split and fill placeholder docs 2026-05-01 22:32:28 +02:00
2026-05-02-bug-hunt-findings.md perf + docs: KNOWLEDGE/ARCHITECTURE mtime cache + notification cluster JSDoc 2026-05-02 02:18:40 +02:00
index.md feat: implement ADR-001 gitignore split and fill placeholder docs 2026-05-01 22:32:28 +02:00