Repository navigation
refactor: organize shared lifecycle and runtime owners - #42792
Merged
nwparker merged 1 commit intoNov 15, 2026
Merged
Conversation
nwparker
force-pushed
the
module-layout-v2/shared-platform-lifecycle-b8c8d544
branch
from
November 15, 2026 20:09
3b72e0d to
5107d9f
Compare
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.
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.
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.
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.
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
Move application startup, profiles, updates, and runtime contracts out of the flat shared directory into their concrete domain folders. Callers import each defining file directly.
What Changed
Production declarations, non-path literals, wire names, initialization dependencies, the realm-global application environment, protocol aggregate order, and incoming terminal shutdown fixes are preserved. Historical release readers, timing records, reliability receipts, and ownership fingerprints keep their original provenance. No barrels or forwarding shims are introduced.
Why
Give startup, shutdown, host protocol, and update contracts explicit owners so the tree explains where code belongs. This continues the larger serial folder-cleanup batches.
Linked Issue
Existing module-layout cleanup; internal maintenance.
Visual Proof
N/A — production modules and import paths move without a UI or interaction change.
Testing
ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --base=e516efcb --maxWorkers=2 --timeout=3: all 49 non-unit checks passed. Broad units reported two development-rebuild watcher failures and reached the three-minute limit: failed/incomplete, not passing. Pristine current-parent and candidate controls reproduced exactly the same two failures under identical commands; shared dependencies were used and scratch removed. No full local unit pass is claimed.Risk
Level: Medium
A missed source-reader path or changed initialization edge could break application startup, packaging, paired phones, SSH hosts, or cross-version loading. Preserve the current-checkout negative provenance trap separately from archived-release paths. The PR can be reverted without a data migration.
The mandated test removals lose scenario alarms, including older-host fallback/refusal, account notification wiring, proxy rollback, newer-daemon hold and startup fallback, mailbox redrive, mocked census/layout/catalog routing, shutdown scheduling, updater caching, renderer restart/checkpoint wiring, pairing revisions, skill updates, and agent inventory/cache instrumentation. Several scenarios concern real safety or recovery behavior, but their removed oracles only used prohibited mocks, private state, constants, timing, counts, or derived expectations. Surviving tests do not establish equivalent replacement coverage. No assertion or parameter-row surgery was used to retain a prohibited callback.
Review
Production declarations, caller identities, initialization order, live resource paths and historical provenance were independently checked. The complete canonical dependency graph matches the independently reconstructed policy/transport model. Graph rules, ownership admissions, allowances and fingerprints are unchanged.
Agent skill upstream boundary
Checklist