Skip to content

refactor: place terminal and workspace contracts with concrete owners - #38061

Merged
nwparker merged 1 commit into
mainfrom
module-layout-v2/s03c-actual-B8d0e
Nov 4, 2026
Merged

nwparker merged 1 commit into
mainfrom
module-layout-v2/s03c-actual-B8d0e

Conversation

@nwparker

@nwparker nwparker commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Terminal and workspace contracts are spread across flat shared directories and forwarding exports, making implementation ownership hard to follow. Move 140 whole modules into concrete PTY lifecycle, ingress, native-process, diagnostics, shell-launch, workspace-layout, and workspace-session owners, and update callers to import their definitions directly.

Retire 36 forwarding bindings and move WorkspaceKey/WorkspaceScope to their defining workspace-scope module. Preserve runtime bodies, cache and singleton identities, dependency order, wire values, platform guards, and resource paths. Keep existing substantive test mocks; migrate interception paths to the concrete owners. Three type-only extractions keep existing declarations within file-size limits.

Validation on the actual merged R03-B base:

  • Two independent source and boundary audits passed; normal commit hooks preserved the exact reviewed tree.
  • 44 existing focused test files / 610 tests passed, with no skips.
  • All five Bun typecheck projects passed.
  • Final pnpm check:changed: all 40 non-unit checks passed. Related unit selection exceeded the declared two-minute local budget, so the combined local gate did not pass. The 610 focused tests above passed separately; hosted required checks must pass before merge.
Files Added Deleted Net
Test 970 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1336 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1225 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​111
Prod 1394 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2530 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2201 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​329

@nwparker
nwparker merged commit 7bf0377 into main Nov 4, 2026
99 of 102 checks passed
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 5, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 5, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 5, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 6, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 6, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 7, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 7, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 7, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 9, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 9, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 9, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 9, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 10, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 11, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 12, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 12, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 13, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 13, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 13, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 13, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 13, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 13, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 14, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 14, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 16, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 16, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 16, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 18, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 18, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 18, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 18, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 19, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 20, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 20, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 20, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 20, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 21, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 21, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 21, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 21, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 22, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 23, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 23, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 24, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 24, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 24, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 26, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 26, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 26, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 27, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 27, 2026
…lders

Upstream moved the modules they import into owner folders: the guest
shortcut dispatch (stablyai#37872), stable pane ids (stablyai#38061), agent status types
(stablyai#37961) and the focused agent row highlight (stablyai#38081).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant