File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 19681968 " Tests pass"
19691969 ],
19701970 "priority" : 117 ,
1971- "passes" : false ,
1971+ "passes" : true ,
19721972 "notes" : " LOW \u2014 found during PTY review. Multi-PTY isolation is tested at raw PTY level but not through openShell() integration path."
19731973 },
19741974 {
Original file line number Diff line number Diff line change @@ -1694,3 +1694,15 @@ PRD: ralph/kernel-hardening (46 stories)
16941694 - type() starts settlement timer before writing input — even with zero output it resolves after SETTLE_MS (50ms)
16951695 - Disabling echo via "noecho" command + ptySetDiscipline is a clean way to test zero-output type() scenarios
16961696---
1697+
1698+ ## 2026-03-18 - US-112
1699+ - What was implemented: Added two concurrent openShell() session isolation tests
1700+ - Output isolation: open two shells, send different commands (ALPHA vs BRAVO), verify each screen only contains its own output
1701+ - Exit isolation: exit shell A, verify shell B still works by running a command
1702+ - Files changed:
1703+ - packages/kernel/test/shell-terminal.test.ts — added "concurrent openShell sessions" describe block with 2 tests
1704+ - prd.json — marked US-112 (P117) as passes: true
1705+ - **Learnings for future iterations:**
1706+ - Multiple TerminalHarness instances on the same kernel work correctly — each gets its own PTY pair via openShell()
1707+ - MockShellDriver supports multiple concurrent shell processes since each spawn() creates independent state
1708+ ---
You can’t perform that action at this time.
0 commit comments