- session-manager: replace readMetadata with readMetadataRaw (no unsafe casts),
add safeJsonParse for JSON.parse guards, escapeRegex for session prefix,
explicit branch priority, convert from this-based to closure-based methods
- tmux: named buffers (load-buffer -b / paste-buffer -b -d) to prevent
global paste buffer race on concurrent sendKeys; send Escape before text
to clear partial input
- lifecycle-manager: concurrent polling with Promise.allSettled instead of
sequential for-of await, allCompleteEmitted guard to prevent repeated
summary.all_complete events, polling re-entrancy guard, safe reaction
config handling with action/auto checks
- tests: update tmux tests for Escape-first and named buffer changes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>