Skip to content

refactor: organize shared agent accounts and usage owners - #42781

Merged
nwparker merged 1 commit into
mainfrom
module-layout-v2/shared-account-usage-ad298349
Nov 15, 2026
Merged

nwparker merged 1 commit into
mainfrom
module-layout-v2/shared-account-usage-ad298349

Conversation

@nwparker

@nwparker nwparker commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Moves 37 shared modules into concrete owners for agent accounts, usage analytics and rate limits, status-bar settings, and secure storage. Consumers import the defining owners directly. Removes the selected DEFAULT_STATUS_BAR_ITEMS forwarding export while preserving constants initialization and defaults array identity. Two surviving tests move beside their owners; the shared root shrinks from 343 to 304 files. The generated RPC catalog is refreshed for its sorted concrete-owner import order.

Applies the repository's test policy to touched tests: 168 registrations become 149, with four whole test files retired. Retained mixed callbacks stay whole; no replacement tests or production instrumentation changes are introduced. This intentionally loses alarms for revision invalidation, malformed credential shaping, decrypt work, secret-protection diagnostics, speech readiness, departed/older-host sign-in routing, undefined-provider static rendering, and web usage stream delivery/lifecycle. Retained tests are not equivalent replacements.

Validation: 45 focused files / 169 tests passed, plus the existing worker-persistence registration aggregator / 14 tests. All 41 non-unit checks in pnpm check:changed passed after regeneration, including typechecks, lint, formatting, import boundaries, and generated-catalog verification. The broad local unit selection hit two development-rebuild watcher timeouts and the three-minute cap; the same two failures reproduce on the pristine merged parent under the same setup. No local full-suite pass is claimed. Hosted full-PR qualification is required before merge.

Two independent source/initializer reviews, test-conservation reviews, and dependency/physical-inventory audits passed. The catalog import-order change is explicitly qualified: it moves an independent schema initializer across unchanged schema/constant owners, with bindings and resulting contracts preserved. Raw/admitted dependency graphs agree, with the four retired tests accounting for the complete reduction in opaque test names. Historical timing maps, archived fixtures, reliability evidence, and ownership records are unchanged. Planning and detailed evidence remain local.

@nwparker
nwparker merged commit 9b3737e into main Nov 15, 2026
72 checks passed
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]>
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 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]>
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]>
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]>
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