Session lifecycle management with Serena MCP integration for session context persistence
3f:T10cd, <codex_skill_adapter>
$sc-save.$sc-save as {{SC_ARGS}}.{{SC_ARGS}} as empty.spawn_agent(...) patterns to Codex spawn_agent(...).update_plan.config.toml when the original command mentions MCP.save.$sc-save.$sc-save [--type session|learnings|context|all] [--summarize] [--checkpoint]
Key behaviors:
$sc-save
# Saves current session discoveries and context to Serena MCP
# Automatically creates checkpoint if session exceeds 30 minutes
$sc-save --type all --checkpoint
# Complete session preservation with recovery checkpoint
# Includes all learnings, context, and progress for session restoration
$sc-save --summarize
# Creates session summary with discovery documentation
# Updates cross-session learning patterns and project insights
$sc-save --type learnings
# Saves only new patterns and insights discovered during session
# Updates project understanding without full session preservation
Will:
Will Not: