fix: isolate active workstream state per session

This commit is contained in:
LakshmanTurlapati
2026-04-02 04:13:52 -05:00
parent 2f7f317c24
commit 5ce8183928
7 changed files with 235 additions and 16 deletions

View File

@@ -44,7 +44,9 @@ Display detailed phase breakdown and state information.
### switch
Run: `node "$GSD_TOOLS" workstream set <name> --raw --cwd "$CWD"`
Also set `GSD_WORKSTREAM` env var for the current session.
Also set `GSD_WORKSTREAM` for the current session when the runtime supports it.
If the runtime exposes a session identifier, GSD also stores the active workstream
session-locally so concurrent sessions do not overwrite each other.
### progress
Run: `node "$GSD_TOOLS" workstream progress --raw --cwd "$CWD"`