Part of EPIC #193. Depends on #201.
Description
Diagnose whether terminal sessions leak across windows. Test: open two windows with different projects, create an agent session in each, verify AgentOrchestratorFeature.State.sessions in window A shows only its own sessions. If the diagnostic fails, scope sharedTerminalRegistry — add a windowID to TerminalSession and filter in AgentOrchestratorFeature by the owning window.
Acceptance Criteria
Module / Layer
AgentOrchestrator / TerminalFeature + sharedTerminalRegistry
Complexity
Medium (up to Large if a scope fix is required)
Notes
Research-recommended task — diagnostic work precedes any implementation decision.
Part of EPIC #193. Depends on #201.
Description
Diagnose whether terminal sessions leak across windows. Test: open two windows with different projects, create an agent session in each, verify
AgentOrchestratorFeature.State.sessionsin window A shows only its own sessions. If the diagnostic fails, scopesharedTerminalRegistry— add awindowIDtoTerminalSessionand filter inAgentOrchestratorFeatureby the owning window.Acceptance Criteria
sharedTerminalRegistry.allSessionsenumeration works without crash under multi-windowTerminalSessionis extended withwindowIDwithout breaking external APIsModule / Layer
AgentOrchestrator / TerminalFeature + sharedTerminalRegistry
Complexity
Medium (up to Large if a scope fix is required)
Notes
Research-recommended task — diagnostic work precedes any implementation decision.