v2026.4.13
What's Changed
Fixes
-
Auto-memory redirect now actually works. cs has been exporting
CLAUDE_CODE_AUTO_MEMORY_PATHto redirect Claude Code's auto-memory writes into<session>/.cs/memory/. Verified across three independent methods (binarystrings-grep, black-boxclaude --printintrospection, and a community-maintained env-var index): Claude Code 2.1.x ignores that name entirely — the resolver readsCLAUDE_COWORK_MEMORY_PATH_OVERRIDE. cs now exports both names defensively, so memory writes from new sessions land in the cs-controlled path during the session instead of relying on the post-launchcp+rmmigration to move them on the next session start. -
Side note for users: orphan memory files at
~/.claude/projects/<encoded-cwd>/memory/from past sessions get migrated automatically on next launch by the existingsetup_auto_memory()cleanup — no manual action required.
Improvements
/simplifyreview caught a recurrence of writing temporal/historical context into source comments (a CLAUDE.md violation). The auto-memory comment was rewritten to evergreen form and the duplicated"$session_dir/.cs/memory"literal was extracted into a local variable.- README paragraph on auto-memory tightened to user-facing behavior; internal helper names and migration mechanics moved out of the public surface.
Tests
- All 20 test files pass (97 tests across command-tracker, doctor, hooks, sync, secrets, etc.).
Full Changelog: v2026.4.12...v2026.4.13
Full Changelog: v2026.4.12...v2026.4.13