c7f7f87321
Init was incorrectly placed in before_agent_start, which fires on every agent attempt (retries, context overflow, auth rotation). Session init should fire once on /new or /reset (session_start) and after compaction (after_compaction). before_agent_start now only syncs MEMORY.md and tracks workspace dirs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>