Merge pull request #1560 from LakshmanTurlapati/fix/session-scoped-workstream-routing

[codex] isolate active workstream state per session
This commit is contained in:
Tom Boucher
2026-04-03 11:26:36 -04:00
committed by GitHub
7 changed files with 482 additions and 15 deletions

View File

@@ -321,7 +321,7 @@ Workstreams let you work on multiple milestone areas concurrently without state
### How It Works
Each workstream maintains its own `.planning/` directory subtree. When you switch workstreams, GSD swaps the active planning context so that `/gsd:progress`, `/gsd:discuss-phase`, `/gsd:plan-phase`, and other commands operate on that workstream's state.
Each workstream maintains its own `.planning/` directory subtree. When you switch workstreams, GSD swaps the active planning context so that `/gsd:progress`, `/gsd:discuss-phase`, `/gsd:plan-phase`, and other commands operate on that workstream's state. Active context is session-scoped when the runtime exposes a stable session identifier, which prevents one terminal or AI instance from repointing another instance's `STATE.md`.
This is lighter weight than `/gsd:new-workspace` (which creates separate repo worktrees). Workstreams share the same codebase and git history but isolate planning artifacts.