Skip to content

refactor(main): group RPC and orchestration modules by feature ownership - #38813

Merged
nwparker merged 1 commit into
mainfrom
module-layout-v2/rpc-feature-owners-1464
Nov 6, 2026
Merged

nwparker merged 1 commit into
mainfrom
module-layout-v2/rpc-feature-owners-1464

Conversation

@nwparker

@nwparker nwparker commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

RPC and orchestration directories mixed unrelated feature implementations. This groups 576 modules under their feature owners and updates consumers, resources and test selectors to use concrete defining modules, without barrels or compatibility facades.

Includes adjacent session-fork admission owners and bounded existing-test corrections: marker/hostname fixtures, redundant title-case removal and one internal-work-counter test retirement. Meaningful mixed coverage is retained; the retired coverage remains explicitly qualified in the local audit evidence.

The refresh preserves the granted-file stat RPC and the new recipe-VM wake registration; its new handler belongs to the concrete host-management owner. It also fixes the plugin guest preload build: the previous CI artifact required a shared chunk that Electron's sandbox cannot load. The preload now uses the existing independent CommonJS guest bundler and sandbox import guard. Its source, security policy and IPC contract are unchanged.

Validation: all 40 selected repository non-unit checks, 97 focused tests across eight files, normal commit hooks and the full Vite build passed on the current head. The preceding refresh also passed 99 focused tests across nine files. The actual emitted preload imports only electron and passes a restricted-VM send/receive check. Earlier focused coverage passed 198 tests across 12 files. Current independent source/loading audits and fresh full hosted checks are required before merge.

Files Added Deleted Net
Test 535 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​3277 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2980 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​297
Prod 659 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​3192 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3023 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​169

@nwparker nwparker changed the title refactor(rpc): group methods by defining feature owner refactor(main): group RPC and orchestration modules by feature ownership Nov 6, 2026
@nwparker
nwparker force-pushed the module-layout-v2/rpc-feature-owners-1464 branch from 16a116b to ddeb4c2 Compare November 6, 2026 14:06
@nwparker
nwparker changed the base branch from module-layout-v2/b07-session-owners-439e to main November 6, 2026 14:07
@nwparker
nwparker marked this pull request as ready for review November 6, 2026 14:07
@nwparker
nwparker force-pushed the module-layout-v2/rpc-feature-owners-1464 branch from d62d9fa to 34245d6 Compare November 6, 2026 14:55
@nwparker
nwparker force-pushed the module-layout-v2/rpc-feature-owners-1464 branch from 34245d6 to e8dd89f Compare November 6, 2026 15:00
@nwparker
nwparker merged commit 0314da7 into main Nov 6, 2026
91 checks passed
j-madrone added a commit to j-madrone/orca that referenced this pull request Nov 7, 2026
…, store-test-helpers gone

Main stablyai#38813 grouped runtime/orchestration into owner subdirs: db (no index),
workers/launch (preamble, cli-command), turn-delivery (send-agent-turn),
db/orchestration-records (MessageRow/MessageType). makeWorktree moved to
worktrees/worktree.test-fixture. Voice control imports re-pointed; locale and
voice-settings conflicts kept both sides (dictation language + model unload vs
voice control defaults).

Co-Authored-By: Claude Code <noreply@anthropic.com>
j-madrone added a commit to j-madrone/orca that referenced this pull request Nov 9, 2026
…, store-test-helpers gone

Main stablyai#38813 grouped runtime/orchestration into owner subdirs: db (no index),
workers/launch (preamble, cli-command), turn-delivery (send-agent-turn),
db/orchestration-records (MessageRow/MessageType). makeWorktree moved to
worktrees/worktree.test-fixture. Voice control imports re-pointed; locale and
voice-settings conflicts kept both sides (dictation language + model unload vs
voice control defaults).

Co-Authored-By: Claude Code <noreply@anthropic.com>
j-madrone added a commit to j-madrone/orca that referenced this pull request Nov 9, 2026
…, store-test-helpers gone

Main stablyai#38813 grouped runtime/orchestration into owner subdirs: db (no index),
workers/launch (preamble, cli-command), turn-delivery (send-agent-turn),
db/orchestration-records (MessageRow/MessageType). makeWorktree moved to
worktrees/worktree.test-fixture. Voice control imports re-pointed; locale and
voice-settings conflicts kept both sides (dictation language + model unload vs
voice control defaults).

Co-Authored-By: Claude Code <noreply@anthropic.com>
j-madrone added a commit to j-madrone/orca that referenced this pull request Nov 9, 2026
…, store-test-helpers gone

Main stablyai#38813 grouped runtime/orchestration into owner subdirs: db (no index),
workers/launch (preamble, cli-command), turn-delivery (send-agent-turn),
db/orchestration-records (MessageRow/MessageType). makeWorktree moved to
worktrees/worktree.test-fixture. Voice control imports re-pointed; locale and
voice-settings conflicts kept both sides (dictation language + model unload vs
voice control defaults).

Co-Authored-By: Claude Code <noreply@anthropic.com>
j-madrone added a commit to j-madrone/orca that referenced this pull request Nov 9, 2026
…, store-test-helpers gone

Main stablyai#38813 grouped runtime/orchestration into owner subdirs: db (no index),
workers/launch (preamble, cli-command), turn-delivery (send-agent-turn),
db/orchestration-records (MessageRow/MessageType). makeWorktree moved to
worktrees/worktree.test-fixture. Voice control imports re-pointed; locale and
voice-settings conflicts kept both sides (dictation language + model unload vs
voice control defaults).

Co-Authored-By: Claude Code <noreply@anthropic.com>
j-madrone added a commit to j-madrone/orca that referenced this pull request Nov 9, 2026
…, store-test-helpers gone

Main stablyai#38813 grouped runtime/orchestration into owner subdirs: db (no index),
workers/launch (preamble, cli-command), turn-delivery (send-agent-turn),
db/orchestration-records (MessageRow/MessageType). makeWorktree moved to
worktrees/worktree.test-fixture. Voice control imports re-pointed; locale and
voice-settings conflicts kept both sides (dictation language + model unload vs
voice control defaults).

Co-Authored-By: Claude Code <noreply@anthropic.com>
j-madrone added a commit to j-madrone/orca that referenced this pull request Nov 10, 2026
…, store-test-helpers gone

Main stablyai#38813 grouped runtime/orchestration into owner subdirs: db (no index),
workers/launch (preamble, cli-command), turn-delivery (send-agent-turn),
db/orchestration-records (MessageRow/MessageType). makeWorktree moved to
worktrees/worktree.test-fixture. Voice control imports re-pointed; locale and
voice-settings conflicts kept both sides (dictation language + model unload vs
voice control defaults).

Co-Authored-By: Claude Code <noreply@anthropic.com>
j-madrone added a commit to j-madrone/orca that referenced this pull request Nov 10, 2026
…, store-test-helpers gone

Main stablyai#38813 grouped runtime/orchestration into owner subdirs: db (no index),
workers/launch (preamble, cli-command), turn-delivery (send-agent-turn),
db/orchestration-records (MessageRow/MessageType). makeWorktree moved to
worktrees/worktree.test-fixture. Voice control imports re-pointed; locale and
voice-settings conflicts kept both sides (dictation language + model unload vs
voice control defaults).

Co-Authored-By: Claude Code <noreply@anthropic.com>
j-madrone added a commit to j-madrone/orca that referenced this pull request Nov 11, 2026
…, store-test-helpers gone

Main stablyai#38813 grouped runtime/orchestration into owner subdirs: db (no index),
workers/launch (preamble, cli-command), turn-delivery (send-agent-turn),
db/orchestration-records (MessageRow/MessageType). makeWorktree moved to
worktrees/worktree.test-fixture. Voice control imports re-pointed; locale and
voice-settings conflicts kept both sides (dictation language + model unload vs
voice control defaults).

Co-Authored-By: Claude Code <noreply@anthropic.com>
j-madrone added a commit to j-madrone/orca that referenced this pull request Nov 12, 2026
…, store-test-helpers gone

Main stablyai#38813 grouped runtime/orchestration into owner subdirs: db (no index),
workers/launch (preamble, cli-command), turn-delivery (send-agent-turn),
db/orchestration-records (MessageRow/MessageType). makeWorktree moved to
worktrees/worktree.test-fixture. Voice control imports re-pointed; locale and
voice-settings conflicts kept both sides (dictation language + model unload vs
voice control defaults).

Co-Authored-By: Claude Code <noreply@anthropic.com>
j-madrone added a commit to j-madrone/orca that referenced this pull request Nov 15, 2026
…, store-test-helpers gone

Main stablyai#38813 grouped runtime/orchestration into owner subdirs: db (no index),
workers/launch (preamble, cli-command), turn-delivery (send-agent-turn),
db/orchestration-records (MessageRow/MessageType). makeWorktree moved to
worktrees/worktree.test-fixture. Voice control imports re-pointed; locale and
voice-settings conflicts kept both sides (dictation language + model unload vs
voice control defaults).

Co-Authored-By: Claude Code <noreply@anthropic.com>
j-madrone added a commit to j-madrone/orca that referenced this pull request Nov 16, 2026
…, store-test-helpers gone

Main stablyai#38813 grouped runtime/orchestration into owner subdirs: db (no index),
workers/launch (preamble, cli-command), turn-delivery (send-agent-turn),
db/orchestration-records (MessageRow/MessageType). makeWorktree moved to
worktrees/worktree.test-fixture. Voice control imports re-pointed; locale and
voice-settings conflicts kept both sides (dictation language + model unload vs
voice control defaults).

Co-Authored-By: Claude Code <noreply@anthropic.com>
j-madrone added a commit to j-madrone/orca that referenced this pull request Nov 20, 2026
…, store-test-helpers gone

Main stablyai#38813 grouped runtime/orchestration into owner subdirs: db (no index),
workers/launch (preamble, cli-command), turn-delivery (send-agent-turn),
db/orchestration-records (MessageRow/MessageType). makeWorktree moved to
worktrees/worktree.test-fixture. Voice control imports re-pointed; locale and
voice-settings conflicts kept both sides (dictation language + model unload vs
voice control defaults).

Co-Authored-By: Claude Code <noreply@anthropic.com>
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