Skip to content

refactor: group renderer agent sessions and runtime modules by owner - #40911

Merged
nwparker merged 3 commits into
mainfrom
module-layout-v2/renderer-owner-wave3-633e
Nov 11, 2026
Merged

nwparker merged 3 commits into
mainfrom
module-layout-v2/renderer-owner-wave3-633e

Conversation

@nwparker

@nwparker nwparker commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Put renderer agent-session, link-opening, terminal, browser and host-runtime modules beside the features they own. Each consumer imports the concrete defining module.

Files Added Deleted Net
Test 91 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​439 $\color{#cf222e}{\Huge{\mathbf{−}}}$​15514 $\color{#cf222e}{\Huge{\mathbf{−}}}$​15075
Prod 259 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1453 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1723 $\color{#cf222e}{\Huge{\mathbf{−}}}$​270

What Changed

  • Move 52 module identities into their ownership folders and extract the paired host-seed adoption function beside structured launch.
  • Remove forwarding exports and redundant aliases from the selected surface; preserve production bodies, singleton state, eager admission order and dynamic loading boundaries.
  • Apply the repository test policy to complete touched registrations: 113 authored KEEP decisions and 225 authored RETIRE decisions, with 53 authored whole-file cuts (including one unused case-free fixture). Preserve ten prior Wave2 absences. The original ledger was 114/227/54; latest main independently retired one previous KEEP registration (five expanded cases), two previous RETIRE registrations and one overlapping whole suite. Those inherited absences receive no new-cut credit. Lost alarms remain in ignored local evidence; no equivalent coverage is claimed.
  • Reconcile affected path keys in reliability and timing metadata while preserving history and unrelated measurements.

Why

The renderer library root mixes unrelated responsibilities. Concrete folders make ownership and imports easier to follow.

Linked Issue

Continuation of the maintainer-authorized module-layout cleanup.

Visual Proof

N/A — module relocation preserves presentation and interaction behavior.

Testing

  • Full pnpm tc passed. All 34 complete retained suites passed: 119 tests.
  • Final dd7f500 changed-file checks passed all 37 non-unit gates. The broad related-unit selection timed out at 180 seconds; this is not a local full-unit pass. The repository excessive-selection exception applies, with the complete 34 retained suites as scoped evidence. Fresh hosted full-unit shards and platform checks remain required.
  • Two independent audits accepted complete production bodies, defining bindings, compiler output, singleton identity and eager/dynamic loading boundaries. Bounded final reviews accepted two import-only corrections and exact ratchet identity corrections, with all other entries unchanged.
  • Rebased onto main efc62d1 after preserving its exact current sleep-recovery test body with only the moved owner import path. The applied recipe, bounded rebase and final four-file correction are recorded locally; no planning documents or evidence are committed. Independent SOURCE and BOUNDARY reviews accepted the exact latest preservation supplements.
  • No new tests or rendered UI/native-device validation claimed.

Risk

Level: Medium. Broad import moves can affect module identity and initialization order. Independent SOURCE and BOUNDARY audits check complete bodies, defining bindings, compiler emission and eager/loading boundaries. Test retirements intentionally remove their recorded alarms. No persisted-data migration is introduced.

Agent skill upstream boundary

  • This change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Current hosted CI 42925541677 on dd7f500 / merge source c49958e / tree 64f7e0a passed all 12 full unit shards, static analysis, Linux/Windows packages, layout oracle and the required aggregate. Headless also passed. Pending advisory E2E jobs are checked live and are not counted as passes. The first run failure remains historical; no old result substitutes for current validation.

The latest 50-endpoint main preservation review accepted exact keyed histories, four timing removals and current activation-case bodies/import owners. The authored ledger remains 113 KEEP decisions / 225 RETIRE decisions; two more KEEP registrations were removed upstream, leaving 111 surviving KEEP registrations. There are 53 policy whole-file cuts plus the case-free scaffold cut. Those upstream absences receive no new-cut credit.

Main c366202 subsequently adds 10 disjoint endpoints for workspace-delete shortcut targeting. An independent native Codex review accepted their exact whole-entry preservation, import-owner identity and eager order; CI covers the earlier 8b02/64f7 union. No fresh CI result is claimed for the later union.

Main 6192c9b subsequently changes 16 endpoints. An independent native Codex audit and root replay accepted all 14 exact upstream test endpoints, 29 keyed reliability fields and six timing cuts. The composed latest tree is 29e5516; CI remains qualified to the earlier 8b02/64f7 union. No new production behavior or authored test-retirement credit is introduced by this preservation step.

@nwparker
nwparker force-pushed the module-layout-v2/renderer-owner-wave3-633e branch from fcbee12 to b358310 Compare November 10, 2026 23:30
@nwparker
nwparker merged commit 1af6419 into main Nov 11, 2026
55 of 56 checks passed
hiphapis added a commit to hiphapis/orca that referenced this pull request Nov 11, 2026
stablyai#40911 moved the renderer lib modules this row reads and split AgentIcon
out of the agent catalog; connection-owner-resolution now owns
getConnectionIdFromState, which connection-context only re-reads.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016bQwYpaLivvvMAvmeUKDbH
hiphapis added a commit to hiphapis/orca that referenced this pull request Nov 11, 2026
stablyai#40911 moved orchestration-setup-state under components/orchestration/setup,
which only the e2e typecheck sees.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016bQwYpaLivvvMAvmeUKDbH
audichuang added a commit to audichuang/orca that referenced this pull request Nov 12, 2026
…40337, stablyai#40562, stablyai#40688, stablyai#40745, stablyai#40761, stablyai#40777, stablyai#40895, stablyai#40911, stablyai#40936)

Rewrites fork import and vi.mock specifiers to the moved modules, moves the three fork tests that sit
beside moved modules (git-graph-tab, lazy-chunk-recovery-reload, folder-repo-launch-chat-route) and
their seam list entries, takes GIT_GRAPH_REFRESH_EVENT from its own module, and drops the fork's
OpenFile type import that upstream's editor-autosave now carries itself.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 13, 2026
…40337, stablyai#40562, stablyai#40688, stablyai#40745, stablyai#40761, stablyai#40777, stablyai#40895, stablyai#40911, stablyai#40936)

Rewrites fork import and vi.mock specifiers to the moved modules, moves the three fork tests that sit
beside moved modules (git-graph-tab, lazy-chunk-recovery-reload, folder-repo-launch-chat-route) and
their seam list entries, takes GIT_GRAPH_REFRESH_EVENT from its own module, and drops the fork's
OpenFile type import that upstream's editor-autosave now carries itself.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 14, 2026
…40337, stablyai#40562, stablyai#40688, stablyai#40745, stablyai#40761, stablyai#40777, stablyai#40895, stablyai#40911, stablyai#40936)

Rewrites fork import and vi.mock specifiers to the moved modules, moves the three fork tests that sit
beside moved modules (git-graph-tab, lazy-chunk-recovery-reload, folder-repo-launch-chat-route) and
their seam list entries, takes GIT_GRAPH_REFRESH_EVENT from its own module, and drops the fork's
OpenFile type import that upstream's editor-autosave now carries itself.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 16, 2026
…40337, stablyai#40562, stablyai#40688, stablyai#40745, stablyai#40761, stablyai#40777, stablyai#40895, stablyai#40911, stablyai#40936)

Rewrites fork import and vi.mock specifiers to the moved modules, moves the three fork tests that sit
beside moved modules (git-graph-tab, lazy-chunk-recovery-reload, folder-repo-launch-chat-route) and
their seam list entries, takes GIT_GRAPH_REFRESH_EVENT from its own module, and drops the fork's
OpenFile type import that upstream's editor-autosave now carries itself.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
…40337, stablyai#40562, stablyai#40688, stablyai#40745, stablyai#40761, stablyai#40777, stablyai#40895, stablyai#40911, stablyai#40936)

Rewrites fork import and vi.mock specifiers to the moved modules, moves the three fork tests that sit
beside moved modules (git-graph-tab, lazy-chunk-recovery-reload, folder-repo-launch-chat-route) and
their seam list entries, takes GIT_GRAPH_REFRESH_EVENT from its own module, and drops the fork's
OpenFile type import that upstream's editor-autosave now carries itself.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
…40337, stablyai#40562, stablyai#40688, stablyai#40745, stablyai#40761, stablyai#40777, stablyai#40895, stablyai#40911, stablyai#40936)

Rewrites fork import and vi.mock specifiers to the moved modules, moves the three fork tests that sit
beside moved modules (git-graph-tab, lazy-chunk-recovery-reload, folder-repo-launch-chat-route) and
their seam list entries, takes GIT_GRAPH_REFRESH_EVENT from its own module, and drops the fork's
OpenFile type import that upstream's editor-autosave now carries itself.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 19, 2026
…40337, stablyai#40562, stablyai#40688, stablyai#40745, stablyai#40761, stablyai#40777, stablyai#40895, stablyai#40911, stablyai#40936)

Rewrites fork import and vi.mock specifiers to the moved modules, moves the three fork tests that sit
beside moved modules (git-graph-tab, lazy-chunk-recovery-reload, folder-repo-launch-chat-route) and
their seam list entries, takes GIT_GRAPH_REFRESH_EVENT from its own module, and drops the fork's
OpenFile type import that upstream's editor-autosave now carries itself.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
…40337, stablyai#40562, stablyai#40688, stablyai#40745, stablyai#40761, stablyai#40777, stablyai#40895, stablyai#40911, stablyai#40936)

Rewrites fork import and vi.mock specifiers to the moved modules, moves the three fork tests that sit
beside moved modules (git-graph-tab, lazy-chunk-recovery-reload, folder-repo-launch-chat-route) and
their seam list entries, takes GIT_GRAPH_REFRESH_EVENT from its own module, and drops the fork's
OpenFile type import that upstream's editor-autosave now carries itself.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
…40337, stablyai#40562, stablyai#40688, stablyai#40745, stablyai#40761, stablyai#40777, stablyai#40895, stablyai#40911, stablyai#40936)

Rewrites fork import and vi.mock specifiers to the moved modules, moves the three fork tests that sit
beside moved modules (git-graph-tab, lazy-chunk-recovery-reload, folder-repo-launch-chat-route) and
their seam list entries, takes GIT_GRAPH_REFRESH_EVENT from its own module, and drops the fork's
OpenFile type import that upstream's editor-autosave now carries itself.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
…40337, stablyai#40562, stablyai#40688, stablyai#40745, stablyai#40761, stablyai#40777, stablyai#40895, stablyai#40911, stablyai#40936)

Rewrites fork import and vi.mock specifiers to the moved modules, moves the three fork tests that sit
beside moved modules (git-graph-tab, lazy-chunk-recovery-reload, folder-repo-launch-chat-route) and
their seam list entries, takes GIT_GRAPH_REFRESH_EVENT from its own module, and drops the fork's
OpenFile type import that upstream's editor-autosave now carries itself.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 21, 2026
…40337, stablyai#40562, stablyai#40688, stablyai#40745, stablyai#40761, stablyai#40777, stablyai#40895, stablyai#40911, stablyai#40936)

Rewrites fork import and vi.mock specifiers to the moved modules, moves the three fork tests that sit
beside moved modules (git-graph-tab, lazy-chunk-recovery-reload, folder-repo-launch-chat-route) and
their seam list entries, takes GIT_GRAPH_REFRESH_EVENT from its own module, and drops the fork's
OpenFile type import that upstream's editor-autosave now carries itself.
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