End-of-session context save. Reads the session transcript so a compacted conversation cannot shrink what gets saved, routes each discovery to the file that will actually be read (project CLAUDE.md, global CLAUDE.md and its satellites, a path-scoped rule, a skill, or memory), measures the always-loaded files before adding to them, captures the session's still-open action items into the project TODO buckets, writes the next-session pin, and reads back what it wrote. Use when the user says "save context", "save session", "/save-context", or wants to capture this session's learnings without closing the session. For the same save PLUS shutting down the session's servers, jobs …