Repository navigation
Conversation
Keep CLI parent selection, automation host matching, and Settings setup grouping unchanged while moving them into their existing domain modules. Split the existing repo-removal routing cases without changing their assertions.
9 of 10 tasks
nwparker
marked this pull request as ready for review
October 9, 2026 23:25
Collaborator
|
Closing: this is a behavior-neutral file move stacked on #26959 (now closed) to make room for the held setup-owner follow-up. It doesn't reduce or clarify code on its own (net +6 production lines), so it isn't worth landing by itself. |
8 of 9 tasks
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
Keep Orca's current behavior while putting existing parent selection, automation host matching and Settings setup grouping in the modules that already own those concepts.
What Changed
Move five existing functions into three existing domain modules and update their imports. Move seven existing repository-removal tests into a focused file that uses the same routing harness and assertions. No product function, handler, hook, state, style or wire name changes.
Why
This prerequisite gives the following setup-owner repair room within the existing file-size limits. Reusing the existing modules avoids another implementation or a larger unrelated file, and keeps the behavior change in a separate PR.
Linked Issue
Maintainer prerequisite for the setup-owner follow-up, based on metadata authority #26959. No issue is claimed as fixed by this refactor.
Visual Proof
N/A — the component body, hooks, state and classes are unchanged, and this PR changes no visual or interaction behavior.
Testing
The canonical CLI parent/target/agent, automation context/availability, Settings section/selection/options and repository suites pass: 86 cases in nine files before, the same 86 cases in ten files after. All tests use
ORCA_BACKGROUND_LAUNCH=1.All 23 function bodies, parameter and return declarations, 25 repository-test callbacks, three React hooks, the CLI handler table, call counts and method-name lists match the exact
e768c221baseline. The mechanical move check has no vanished lines; its four added lines are multiline import entries. The only added non-import literals are the new test-file mock registration and describe label.Node, CLI and web typechecks, full-file lint and React Doctor for all eight paths, parent/default changed-code quality, formatting and whitespace checks pass. Web types use a private copy of the actual pinned Shiki dependency closure: all 2,426 files in 46 packages match their recorded hashes, and the canonical source files, compiler options and existing aliases are preserved. No dependency install, shared dependency change or app launch was performed during local validation. Ordinary CI is now complete: all 35 latest checks pass or skip, including all five unit shards, static/types, relay, Linux/Windows packaging and native smoke checks. One original NativeChat highlight case timed out; its failure remains preserved and unclassified. The single root-approved job retry passed that case in 314 ms and the entire shard on the same
501ddb999b5630cff6e99f3ffff5977a9cafc8f0checkout without a source change. No broader rerun or timeout/expectation change was made.AI Disclosure
Codex assisted the extraction, verification and review.
Review
Independent and root review of exact a7ae7d1 source found no blockers. The independent reviewer also passed all 86 tests in 10 suites with no skips.
Agent skill upstream boundary
Notes
This changes no cross-platform, SSH, folder-workspace, mobile or mixed-version policy. The existing metadata-authority contribution remains in the parent ancestry; this PR adds no human coauthor trailer.
Checklist