Skip to content

fix: isolate sessions by header cwd - #157

Open
dangzitou wants to merge 2 commits into
stepfun-ai:mainfrom
dangzitou:fix/session-cwd-isolation
Open

dangzitou wants to merge 2 commits into
stepfun-ai:mainfrom
dangzitou:fix/session-cwd-isolation

Conversation

@dangzitou

Copy link
Copy Markdown

Summary

  • Filter current-project session listing and --continue by the session header's actual cwd, even in a default encoded directory. This prevents two paths such as project-a and project/a from selecting each other's sessions.
  • Add a regression check for both native and Step session managers, including the cross-project append case.
  • Limit coding-agent test workers to two and allow the existing 12 MB feedback redaction stress test 90 seconds on slower hosts; its assertions are unchanged.

Fixes #156.

Verification

  • Reproduced the bug in five independent runs before the fix.
  • npm run check
  • ./test.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] --continue can append to another project session when paths collide

1 participant