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

@@ -235,7 +235,7 @@ async function main() {
}
// Optional workstream override for parallel milestone work.
// Priority: --ws flag > GSD_WORKSTREAM env var > active-workstream file > null (flat mode)
// Priority: --ws flag > GSD_WORKSTREAM env var > session-scoped pointer > shared legacy pointer > null
const wsEqArg = args.find(arg => arg.startsWith('--ws='));
const wsIdx = args.indexOf('--ws');
let ws = null;