Commit 7a83b0c
fix(session): keep shipped session dir key, rely on cwd verification
Revert the percent-encoding change of the default session directory key.
Changing the key would make existing project transcripts invisible after
upgrade without migration. Literal percent-escapes in cwd paths (e.g.
/home/a%2Fb) would also collide with the encoded separators.
The continueRecent cwd-verification guard already prevents wrong-project
resume when two cwds map to the same safe-path — keep the shipped key
and let the header.cwd check handle collisions.
ClawSweeper: keep shipped key, cwd verify (#96906)
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>1 parent 266c66e commit 7a83b0c
1 file changed
Lines changed: 4 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
448 | 444 | | |
449 | 445 | | |
450 | 446 | | |
| |||
0 commit comments