mirror of
https://github.com/instructkr/claw-code.git
synced 2026-04-08 00:54:49 +08:00
The CLI was using a flat cwd/.claw/sessions/ path without workspace fingerprinting, while SessionStore::from_cwd() adds a hash subdirectory. This mismatch meant the isolation machinery existed but wasn't actually used by the main session management codepath. Now sessions_dir() delegates to SessionStore::from_cwd(), ensuring all session operations use workspace-fingerprinted directories.