mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-25 14:43:05 +09:00
start() created SESSION_DIR (mkdirSync / ensureDir) before checking that it resolves inside the project, so a symlinked .claude-flow still got an empty sessions/ directory created at the symlink target. assertSessionDirContained() now resolves the deepest existing part of the path (lstat, so a symlink counts) and start() calls it before creating anything. Applied to all five session helper variants. Test: session-helper-trust.test.ts gains a symlinked-.claude-flow case per variant (5 cases, all fail without this change).