Skip to content

refactor: group shared browser and speech owners - #42702

Merged
nwparker merged 1 commit into
mainfrom
module-layout-v2/shared-browser-speech-7f38c5d
Nov 15, 2026
Merged

nwparker merged 1 commit into
mainfrom
module-layout-v2/shared-browser-speech-7f38c5d

Conversation

@nwparker

@nwparker nwparker commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Put browser and speech files in folders that describe their owners, so related code is easier to find.

Files Added Deleted Net
Test 38 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​51 $\color{#cf222e}{\Huge{\mathbf{−}}}$​707 $\color{#cf222e}{\Huge{\mathbf{−}}}$​656
Prod 517 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​703 $\color{#cf222e}{\Huge{\mathbf{−}}}$​649 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​54

What Changed

Move 60 existing owners into browser navigation, automation, client hosting, guest lifecycle, passwords and other browser domains; speech dictation, model and native recognizer domains; and the renderer components that exclusively own several speech modules. Update consumers to import the defining files directly and remove an unused STT forwarding export.

Preserve the lazy dictionary module, worklet URL, native package table, generated dictionary/license data, schema bindings, singleton identity and platform behavior. Refresh the generated RPC catalog and only the relocated browser URL ownership record's two dependency fingerprints after independent review and actual collector validation.

Retire three caller suites and seven registrations identified as mock, internal-work or focus assertions under the repository test policy. Retain meaningful mixed callbacks whole. No new tests or forwarding modules are introduced.

Why

This cohesive batch reduces the shared root from 729 files to 669 and continues the module-layout cleanup with concrete domain ownership.

Visual Proof

N/A — module paths and imports change; rendered UI and interaction behavior are preserved.

Testing

  • 34 existing focused suites: 111 tests passed after rebasing onto 3ff5e3aa27e.
  • Node, CLI, web, mobile production and mobile test type projects passed.
  • E2E typecheck admission passed after rebase. Fresh paired raw E2E checks on pristine 3ff5e3aa27e and this branch produced the same 10 diagnostics outside tests/ after normalizing only their absolute checkout prefixes; a passing raw E2E typecheck is not claimed.
  • Independent source, effects, test, final-tree and upstream-preservation reviews passed. The actual collector admits the moved browser URL owner.
  • Final pre-push pnpm check:changed --maxWorkers=2 --timeout=3: all 41 non-unit checks passed. The broad related-unit step reported two development-rebuild failures and timed out; it is incomplete, not a pass. Fresh pristine 3ff5e3aa27e and candidate controls reproduced both development-rebuild failures. The 34 focused suites passed separately. Full hosted CI remains required.
  • Required hosted checks and full aggregate must pass before merge.

Risk

Level: Medium. Broken import or resource paths could affect browser navigation, remote/mobile browser contracts or dictation. Direct-owner resolution, lazy loading, initialization, generated catalog bindings and byte-exact resources were reviewed; focused tests and typechecks cover the moved paths. Platform, remote and mobile behavior are unchanged. A plain revert restores the previous layout; no persisted-data migration is introduced.

Review

Independent refactor and repository audits include exact function/body preservation, runtime/type imports, schema initialization, resources and newer upstream changes. The final independent rebase audit preserves all 604 incoming upstream paths: 597 byte-exact and seven with only the approved concrete-owner import or allowance relocation. A separate audit confirms the final hook changed only the two reviewed URL metadata fingerprints.

Agent skill upstream boundary

  • Not applicable; no upstream skill-installer implementation is copied or translated.

Checklist

  • Cohesive browser/speech scope with direct defining-owner imports.
  • Change, validation and risks described.
  • Cross-platform, SSH/remote and mobile impact considered.
  • Existing tests reused; test removals reviewed under repository policy.
  • Required hosted validation and aggregate pass before merge.

@nwparker
nwparker force-pushed the module-layout-v2/shared-browser-speech-7f38c5d branch from 3534da0 to 415577f Compare November 15, 2026 11:22
@nwparker
nwparker merged commit 54861a1 into main Nov 15, 2026
135 of 137 checks passed
audichuang added a commit to audichuang/orca that referenced this pull request Nov 16, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 16, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 16, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 18, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 18, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang added a commit to audichuang/orca that referenced this pull request Nov 18, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 18, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 18, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 19, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang added a commit to audichuang/orca that referenced this pull request Nov 19, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 20, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 20, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
audichuang added a commit to audichuang/orca that referenced this pull request Nov 20, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 20, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 20, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
audichuang added a commit to audichuang/orca that referenced this pull request Nov 21, 2026
Upstream reorganised src/shared, editor and right-sidebar into owner folders
(stablyai#42325, stablyai#42310, stablyai#42528, stablyai#42757, stablyai#42777, stablyai#42332, stablyai#42792, stablyai#42742, stablyai#42702). Fork imports,
including string vi.mock paths, now point at the moved modules (fork-follow-upstream-moves.mjs
FIX lines); the split keybindings barrel (stablyai#42772) is imported from keybindings/types, and the
toast-options test type that stablyai#42265 deleted lives in the fork test.
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 21, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 21, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 21, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 21, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 22, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 23, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 23, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 24, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 24, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 24, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 26, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 26, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 26, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 27, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
registered2nd added a commit to registered2nd/orca that referenced this pull request Nov 27, 2026
…261's moved modules

Upstream regrouped the modules they import: speech types (stablyai#42702), the
secret store (stablyai#42781), the window shortcut policy (stablyai#42772), the
non-secure-context UUID helper (stablyai#42777), the CLI runtime client types
(stablyai#42378), and the browser grab hook and context menu folder (stablyai#42478). The
shared keybindings facade is gone, so the CLI preference service imports
each owner directly.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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