## Lesson — Ensure resilient continuation in session hooks

**Tags:** architecture, hooks, error-handling
**Scope:** .claude/hooks/**/*.js, !**/*.test.*, !**/*.spec.*

Session-start hooks must use `process.stderr.write` and continue instead of throwing in inner catch blocks. This ensures the session boot never crashes and allows the agent to function with partial context if specific data sources fail.
