Skip to content

refactor(cli): group runtime modules by responsibility - #42378

Merged
nwparker merged 2 commits into
mainfrom
module-layout-v2/cli-runtime-owners-a14a19b
Nov 14, 2026
Merged

nwparker merged 2 commits into
mainfrom
module-layout-v2/cli-runtime-owners-a14a19b

Conversation

@nwparker

@nwparker nwparker commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Group CLI runtime modules by the responsibility they own so connection, pairing, launching, and supervision code is easier to find.

What Changed

Move 71 whole modules into commands, status, connection, app-launch, pairing, profile, and serve startup/supervision/updates groups. Keep the substantive client, launcher, and executable-discovery owners at the root with seven associated tests. Executable discovery keeps its native resource anchor.

Update real consumers and replace 21 surviving borrowed bindings with concrete defining-owner imports. Remove two forwarding declarations and the one-statement envelope-schema facade. Keep the shared envelope schema at its single real owner. No barrels or forwarding wrappers are added.

Transport compiler/workflow/E2E selectors and 11 active metadata paths without changing budgets or rules. Preserve current plugin build/package entries and complete historical timing. Add the supported current-command mapping for one dated test receipt while preserving its originally executed command and results. The response-framing benchmark keeps its historical Git source path, baseline source, workloads, mocks, and algorithm; a bounded resolver maps three old sibling paths to the same current owners while the current arm loads the moved transport.

Why

The flat runtime directory mixed connection handling, installation/profile paths, pairing, application discovery, and long-running serve supervision. This batch groups whole owners while retaining the central entry points.

Linked Issue

Internal maintenance; no existing issue.

Visual Proof

N/A

No intended visual or interaction change; no renderer or mobile Programs are affected. Two existing hidden runtime flows exercised the real CLI connection and terminal lifecycle surfaces.

Testing

  • Full pnpm tc; desktop production, CLI, and desktop E2E builds.
  • 51 affected unit files: 192 passed, 5 skipped; hosted-review corrections: 2 files, 9 passed. Two hidden Electron flows passed: headless CLI terminal retention and durable whole-tab close across restart.
  • Two independent source audits and an independent test audit bind the exact final tree, owner identity, runtime order, selectors, historical benchmark resolution, and metadata carry.
  • No new tests for moves. Apply the repository test policy to two mock-only local tests and 62 original-coordinate spans across 19 local test modules; remove the now-unobserved counter declaration/increment in the supervision test. Retain 156 local registrations, 200 known cases, and 431 original expectations. Hosted review prompted two narrow observations in existing cases: forbid QR payload glyphs in redacted output and observe the valid mounted-AppImage source path; no new test cases or production-derived output oracle. Preserve retained calls/awaits, socket/filesystem/security/process-argument contracts, all incoming test bodies, and support modules.
  • Final pnpm check:changed: all 36 checks passed in 53.7s immediately before publication. Required hosted aggregate remains a merge gate.

Risk

Level: Low. Incorrect paths could break CLI discovery, pairing, requests, serve startup, or supervision. Whole bodies, binding names, canonical schema/error owners, runtime requests, resource anchors, selectors, and supervisor state are audited. The packaged interpreter retains its early environment handling. A plain revert restores the old layout; there is no data migration. Native-focus and Windows-only tests are not run on the local macOS desktop.

Review

Independent source and test audits precede application; required hosted checks must pass before merge. No human approval claimed.

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Tracker and detailed evidence stay local. No design docs are committed.

Checklist

  • Focused on CLI runtime ownership
  • Explained what changed and why
  • Stated risks and revert plan
  • N/A visual change with reason
  • Audited final candidate and completed validation
  • Cross-platform, remote, mobile, and folder workspace impacts considered
  • Final changed checks before publication

@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The CLI runtime modules now use reorganized subdirectories for connection, profile, pairing, app launch, status, and serve functions. CLI consumers, tests, workflow filters, baselines, configuration, and scripts now reference those paths. The changes also remove selected type re-exports and test assertions. Most listed runtime behavior and function signatures remain unchanged.

Merge Risk: Low · up to 51249

This is a mechanical path reorganization with no intended runtime behavior change. Some tests had assertions weakened, including the pairing-output redaction check, so a regression in that output could go unnoticed. Restoring those assertions is a low-effort follow-up that does not block merging.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title uses the conventional refactor(cli) prefix and names the main change: CLI runtime modules were regrouped by responsibility. The raw summary and PR objectives confirm that the change moves 71…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description follows the repository template closely. It has ELI5, What Changed, Why, Testing, Risk (Level: Low, with a revert plan), Agent skill upstream boundary, Notes, and Checklist sections. T…
Full details: Title check

Explanation

The title uses the conventional refactor(cli) prefix and names the main change: CLI runtime modules were regrouped by responsibility. The raw summary and PR objectives confirm that the change moves 71 runtime modules into responsibility-based groups such as connection, pairing, profile, app-launch, and serve subdirectories. The title is specific and matches the changeset.

Full details: Description check

Explanation

The description follows the repository template closely. It has ELI5, What Changed, Why, Testing, Risk (Level: Low, with a revert plan), Agent skill upstream boundary, Notes, and Checklist sections. The Visual Proof section is marked N/A with a reason. The Linked Issue section says 'Internal maintenance; no existing issue', which does not meet the template's requirement to link an issue. The author is not identified as a stablyai maintainer, so the requirement to link an issue applies. The AI Disclosure section is absent. The Review section states that no human approval is claimed. The Testing section is detailed, but it is dense and hard to follow, and it uses terms such as 'hosted-review corrections' and 'original-coordinate spans' without explanation. The 'What Changed' section also gives the mechanism, but the before and after from the user's view is thin. Some parts of the template are missing or incomplete, but the description is mostly complete.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 84656e1e-0001-42b5-85f2-b4508f6fb77e
Commits

Reviewing files that changed from the base of the PR and between 55fb418 and 51249f1.

Files selected for processing: 2

  • src/cli/runtime/serve/startup/serve-pairing-redaction.test.ts
  • src/cli/runtime/serve/updates/serve-appimage-update.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Nitpick comments: 4

src/cli/runtime/serve/startup/serve-electron-preflight.test.ts: 1

40-40: Trivial · Maintainability & Code Quality · Quick win

Restore the stderr diagnostic checks.

The remaining tests accept the expected exit codes even if preflight stops printing the failure reason or --force guidance. Restore stderr capture and the removed assertions to protect these recovery diagnostics.

src/cli/runtime/serve/updates/serve-appimage-update.test.ts: 1

81-81: Trivial · Maintainability & Code Quality · Quick win

Restore the mounted-AppImage result assertion.

The test now discards the result for a valid mounted executable. Its remaining assertion checks only an unrelated executable. If the mounted branch always returns null, this test still passes.

Assert the returned appImagePath and runningKey against independent fixture expectations. Keep this check in the existing test.

src/cli/runtime/serve/updates/serve-update-supervisor-gate.test.ts: 1

45-45: Trivial · Maintainability & Code Quality · Quick win

Keep the replacement-spawn assertions.

Both tests now discard spawnChild. An exit code of 0 does not establish that resumption avoided spawning a replacement. Retain spawnChild and assert expect(spawnChild).not.toHaveBeenCalled() in both tests. This preserves the behavior named by the tests without adding another execution.

Also applies to: 52-52

src/cli/runtime/status/status-caller.test.ts: 1

130-130: Trivial · Maintainability & Code Quality · Quick win

Keep assertions on the caller-status text.

These calls now discard the text returned by status(false). The tests can no longer detect a missing session ID or refusal code in text output. Assert the resolved session ID in the first case and the refusal code in the second case. The existing helper already captures the output.

Also applies to: 158-158

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 34fc54d4-b5bc-4f0b-9bd5-5e62f8dcb0f8
Commits

Reviewing files that changed from the base of the PR and between 4668c79 and 55fb418.

Files selected for processing: 264

  • .github/workflows/orca-server-artifact.yml
  • config/flaky-test-pattern-baseline.txt
  • config/process-host-direct-import-baseline.txt
  • config/recurring-timer-baseline.txt
  • config/reliability-gates.jsonc
  • config/scripts/diagnostics/runtime-lifecycle/remote-shared-control-retirement-probe.ts
  • config/scripts/performance/transport/benchmark-cli-response-framing.mjs
  • config/scripts/workflow/source-routing/pr-e2e-source-routing.mjs
  • config/tsconfig.node.json
  • src/cli/accounts/account-selection.ts
  • src/cli/accounts/account.ts
  • src/cli/accounts/data-account-commands.ts
  • src/cli/accounts/opencode-account-login-command.ts
  • src/cli/agents/agent-hooks.test.ts
  • src/cli/agents/agent-hooks.ts
  • src/cli/agents/agent-launch-recovery.ts
  • src/cli/agents/agent-launch-request.ts
  • src/cli/agents/agent-launch.ts
  • src/cli/agents/chat.ts
  • src/cli/arguments/args.ts
  • src/cli/arguments/command-body-input.ts
  • src/cli/arguments/flags.ts
  • src/cli/artifacts/artifacts.ts
  • src/cli/automations/automation-extra-agent-args-flag.ts
  • src/cli/automations/automation-handler-flags.ts
  • src/cli/automations/automation-host-support.ts
  • src/cli/automations/automation-runs-paging.ts
  • src/cli/automations/automation-setup-flag.ts
  • src/cli/automations/automations.ts
  • src/cli/browser/browser-command-target.ts
  • src/cli/browser/browser-cookie.ts
  • src/cli/browser/browser-env.ts
  • src/cli/browser/browser-environment-scope.test.ts
  • src/cli/browser/browser-expect-url.test.ts
  • src/cli/browser/browser-identity.ts
  • src/cli/browser/browser-nav.ts
  • src/cli/browser/browser-profile.ts
  • src/cli/browser/browser-tab.ts
  • src/cli/computer/computer-action-flag-validation.ts
  • src/cli/computer/computer-action-flags.ts
  • src/cli/computer/computer-command-target.ts
  • src/cli/computer/computer-wait-command.ts
  • src/cli/computer/computer-wait.test.ts
  • src/cli/computer/computer-wait.ts
  • src/cli/computer/computer.ts
  • src/cli/connectors/connector.ts
  • src/cli/dispatch/dispatch.ts
  • src/cli/dispatch/handler-group-manifest.ts
  • src/cli/dispatch/remote-selection-flag-rejection.ts
  • src/cli/emulator/emulator-command-target.ts
  • src/cli/emulator/emulator-permissions-args.ts
  • src/cli/emulator/emulator.ts
  • src/cli/files/file-open-call.ts
  • src/cli/files/file-open-position.ts
  • src/cli/files/file.ts
  • src/cli/hosts/environment.ts
  • src/cli/hosts/execution-host-flag.ts
  • src/cli/hosts/host-selector-alternatives.ts
  • src/cli/hosts/index-environment-commands.test.ts
  • src/cli/hosts/local-environment-selector.ts
  • src/cli/hosts/managed-server-reconnect.ts
  • src/cli/hosts/managed-server.ts
  • src/cli/hosts/omitted-host-scope-selectors.ts
  • src/cli/hosts/vm.ts
  • src/cli/index-agent-launch.test.ts
  • src/cli/index-test-harness.ts
  • src/cli/index.test.ts
  • src/cli/index.ts
  • src/cli/jira/jira-target.ts
  • src/cli/jira/jira-write.ts
  • src/cli/jira/jira.ts
  • src/cli/linear/linear-list-issues.ts
  • src/cli/linear/linear-relation-write.ts
  • src/cli/linear/linear-request-builders.ts
  • src/cli/linear/linear-save-issue-request.ts
  • src/cli/linear/linear.ts
  • src/cli/orchestration/dispatches/dispatch-handlers.ts
  • src/cli/orchestration/identity/agent-server-route.ts
  • src/cli/orchestration/identity/orchestration-caller-identity-cli.test.ts
  • src/cli/orchestration/identity/session-caller-flags.ts
  • src/cli/orchestration/identity/terminal-identity.ts
  • src/cli/orchestration/messages/message-check-handler.ts
  • src/cli/orchestration/messages/message-payload.ts
  • src/cli/orchestration/messages/message-send-handler.ts
  • src/cli/orchestration/messages/question-handler.ts
  • src/cli/orchestration/numeric-flags.ts
  • src/cli/orchestration/orchestration-entry.test.ts
  • src/cli/orchestration/recovery/mutation-request-show-handler.ts
  • src/cli/orchestration/recovery/mutation-request.ts
  • src/cli/orchestration/recovery/older-runtime-run-binding.test.ts
  • src/cli/orchestration/recovery/older-runtime-run-binding.ts
  • src/cli/orchestration/recovery/orchestration-mutation-recovery.test.ts
  • src/cli/orchestration/recovery/orchestration-mutation-recovery.ts
  • src/cli/orchestration/recovery/retry-request-flag.ts
  • src/cli/orchestration/recovery/runtime-compatibility.ts
  • src/cli/orchestration/runs/reset-handler.ts
  • src/cli/orchestration/tasks/task-handlers.ts
  • src/cli/orchestration/workers/orchestration-worker-settlement.ts
  • src/cli/orchestration/workers/worker-launch-handler.ts
  • src/cli/orchestration/workers/worker-observation-handlers.ts
  • src/cli/orchestration/workers/worker-terminal-handlers.ts
  • src/cli/output/cli-error.ts
  • src/cli/plugins/authoring/plugin-authoring.ts
  • src/cli/plugins/authoring/plugin-test-node.ts
  • src/cli/plugins/dev-watch/plugin-dev-watch-approval.test.ts
  • src/cli/plugins/dev-watch/plugin-dev-watch-approval.ts
  • src/cli/plugins/dev-watch/plugin-dev-watch-shot.ts
  • src/cli/plugins/dev-watch/plugin-dev-watch.test.ts
  • src/cli/plugins/dev-watch/plugin-dev-watch.ts
  • src/cli/plugins/plugin-cli-output.ts
  • src/cli/plugins/plugin-dev-emit.ts
  • src/cli/plugins/plugin-install.ts
  • src/cli/plugins/plugin-runtime.ts
  • src/cli/plugins/view/plugin-shot-chrome.ts
  • src/cli/plugins/view/plugin-shot-editor.ts
  • src/cli/plugins/view/plugin-shot-scenario.test.ts
  • src/cli/plugins/view/plugin-shot-scenario.ts
  • src/cli/plugins/view/plugin-view.ts
  • src/cli/profiles/profile-state-location.ts
  • src/cli/profiles/profile-state-recovery-admission.test.ts
  • src/cli/profiles/profile-state.test.ts
  • src/cli/profiles/profile-state.ts
  • src/cli/projects/project-selector.ts
  • src/cli/projects/project.ts
  • src/cli/projects/repo-path-arguments.ts
  • src/cli/projects/repo.ts
  • src/cli/references/reference-input.ts
  • src/cli/references/reference.ts
  • src/cli/runtime/app-launch/electron-sandbox-switch.ts
  • src/cli/runtime/app-launch/open-local-orca.ts
  • src/cli/runtime/app-launch/packaged-cli-interpreter.test.ts
  • src/cli/runtime/app-launch/packaged-cli-interpreter.ts
  • src/cli/runtime/app-launch/serve-app-launcher.ts
  • src/cli/runtime/app-launch/serve-speech-recognizer.test.ts
  • src/cli/runtime/app-launch/serve-speech-recognizer.ts
  • src/cli/runtime/client-environment-usage.test.ts
  • src/cli/runtime/client-recovery.test.ts
  • src/cli/runtime/client.ts
  • src/cli/runtime/commands/cli-lifecycle-handlers.test.ts
  • src/cli/runtime/commands/cli-lifecycle-handlers.ts
  • src/cli/runtime/commands/serve-bind-flag.ts
  • src/cli/runtime/commands/serve-port-flag.ts
  • src/cli/runtime/connection/client-error-recovery.ts
  • src/cli/runtime/connection/remote-runtime-compat-gate.ts
  • src/cli/runtime/connection/runtime-access-denied.ts
  • src/cli/runtime/connection/runtime-listener-probe.test.ts
  • src/cli/runtime/connection/runtime-listener-probe.ts
  • src/cli/runtime/connection/runtime-pid-liveness.ts
  • src/cli/runtime/connection/runtime-request-timeout.ts
  • src/cli/runtime/connection/runtime-source-fence.test.ts
  • src/cli/runtime/connection/runtime-source-fence.ts
  • src/cli/runtime/connection/terminal-prompt-mutation-recovery.ts
  • src/cli/runtime/connection/transport-framing.test.ts
  • src/cli/runtime/connection/transport.test.ts
  • src/cli/runtime/connection/transport.ts
  • src/cli/runtime/connection/types.test.ts
  • src/cli/runtime/connection/types.ts
  • src/cli/runtime/connection/websocket-transport.ts
  • src/cli/runtime/envelope-schema.ts
  • src/cli/runtime/environment-pairing-exchange.test.ts
  • src/cli/runtime/fixtures/runtime-rpc-fixtures.ts
  • src/cli/runtime/launch-serve-preflight.test.ts
  • src/cli/runtime/launch-serve-replaced-app-restart.test.ts
  • src/cli/runtime/launch.test.ts
  • src/cli/runtime/launch.ts
  • src/cli/runtime/open-local-orca.test.ts
  • src/cli/runtime/orca-app-executable.ts
  • src/cli/runtime/pairing/environment-pairing-exchange.ts
  • src/cli/runtime/pairing/environments.test.ts
  • src/cli/runtime/pairing/environments.ts
  • src/cli/runtime/pairing/recipe-vm-wake-gate.test.ts
  • src/cli/runtime/pairing/recipe-vm-wake-gate.ts
  • src/cli/runtime/pairing/runtime-remote-pairing.ts
  • src/cli/runtime/profile/launch-user-data-path.ts
  • src/cli/runtime/profile/metadata.ts
  • src/cli/runtime/profile/profile-state-recovery-launch.test.ts
  • src/cli/runtime/profile/profile-state-recovery-launch.ts
  • src/cli/runtime/serve/startup/serve-electron-preflight.test.ts
  • src/cli/runtime/serve/startup/serve-electron-preflight.ts
  • src/cli/runtime/serve/startup/serve-init-signal-process.test-fixture.ts
  • src/cli/runtime/serve/startup/serve-orcad-launch.ts
  • src/cli/runtime/serve/startup/serve-pairing-redaction.test.ts
  • src/cli/runtime/serve/startup/serve-pairing-redaction.ts
  • src/cli/runtime/serve/startup/serve-pid1-init-reaper.test.ts
  • src/cli/runtime/serve/startup/serve-pid1-init-reaper.ts
  • src/cli/runtime/serve/startup/serve-recipe-json.ts
  • src/cli/runtime/serve/startup/serve-signal-exit-diagnostic.test.ts
  • src/cli/runtime/serve/startup/serve-signal-exit-diagnostic.ts
  • src/cli/runtime/serve/supervision/serve-bundle-park.test.ts
  • src/cli/runtime/serve/supervision/serve-install-hold.ts
  • src/cli/runtime/serve/supervision/serve-service-unit.ts
  • src/cli/runtime/serve/supervision/serve-supervised-park-watch.ts
  • src/cli/runtime/serve/supervision/serve-supervised-service.test.ts
  • src/cli/runtime/serve/supervision/serve-supervised-service.ts
  • src/cli/runtime/serve/supervision/serve-supervised-stop.ts
  • src/cli/runtime/serve/supervision/serve-supervisor-brake.ts
  • src/cli/runtime/serve/supervision/serve-supervisor-policy.test.ts
  • src/cli/runtime/serve/supervision/serve-supervisor-policy.ts
  • src/cli/runtime/serve/supervision/serve-supervisor-relocation.test.ts
  • src/cli/runtime/serve/supervision/serve-supervisor-relocation.ts
  • src/cli/runtime/serve/updates/mac-app-update-bundle.ts
  • src/cli/runtime/serve/updates/serve-appimage-update.test.ts
  • src/cli/runtime/serve/updates/serve-appimage-update.ts
  • src/cli/runtime/serve/updates/serve-replaced-app-restart.ts
  • src/cli/runtime/serve/updates/serve-update-supervisor-gate.test.ts
  • src/cli/runtime/serve/updates/serve-update-supervisor.ts
  • src/cli/runtime/status/cli-status-format.ts
  • src/cli/runtime/status/status-caller.test.ts
  • src/cli/runtime/status/status-caller.ts
  • src/cli/runtime/status/status.test.ts
  • src/cli/runtime/status/status.ts
  • src/cli/server/pair.ts
  • src/cli/server/serve-reset-identity.ts
  • src/cli/server/serve-service-format.ts
  • src/cli/server/serve-service.test.ts
  • src/cli/server/serve-service.ts
  • src/cli/session-search/search-command-arguments.ts
  • src/cli/session-search/search.ts
  • src/cli/skills/bundled-skill-guide-table.ts
  • src/cli/skills/bundled-skill-install-command.ts
  • src/cli/skills/skill-guide-get.ts
  • src/cli/skills/skill-sharing.test.ts
  • src/cli/skills/skill-sharing.ts
  • src/cli/skills/skills-reference-selector.test.ts
  • src/cli/speech/speech.ts
  • src/cli/terminals/paired-terminal-desktop-reveal.ts
  • src/cli/terminals/terminal-close.ts
  • src/cli/terminals/terminal-daemon.ts
  • src/cli/terminals/terminal-send.ts
  • src/cli/terminals/terminal.ts
  • src/cli/workspace-ports/ports.ts
  • src/cli/workspace-selection/caller-folder-workspace.ts
  • src/cli/workspace-selection/caller-host-worktree-selection.ts
  • src/cli/workspace-selection/enclosing-workspace-catalog.ts
  • src/cli/workspace-selection/folder-workspace-selector.ts
  • src/cli/workspace-selection/workspace-catalog-row.ts
  • src/cli/workspace-selection/workspace-selector.ts
  • src/cli/workspace-selection/worktree-selector-wsl-posix-path.test.ts
  • src/cli/workspace-selection/wsl-caller-path-selector.ts
  • src/cli/workspaces/folder-workspace-mutations.ts
  • src/cli/workspaces/workspace-cleanup.ts
  • src/cli/workspaces/worktree-create-agent-launch.ts
  • src/cli/workspaces/worktree-create-parent-selector.ts
  • src/cli/workspaces/worktree-gitlab-link-context.ts
  • src/cli/workspaces/worktree-gitlab-link.ts
  • src/cli/workspaces/worktree-linear-issue-link.ts
  • src/cli/workspaces/worktree-link-flag-value.ts
  • src/cli/workspaces/worktree-parent-environment.ts
  • src/cli/workspaces/worktree-parent-fields.ts
  • src/cli/workspaces/worktree-project-target.ts
  • src/cli/workspaces/worktree-removal-current-refusal.ts
  • src/cli/workspaces/worktree-removal-request.ts
  • src/cli/workspaces/worktree-review-link-flags.ts
  • src/cli/workspaces/worktree-selector-recovery.ts
  • src/cli/workspaces/worktree-setup-decision-recovery.ts
  • src/cli/workspaces/worktree-unread-flag.ts
  • src/cli/workspaces/worktree.ts
  • src/main/runtime/rpc/methods/agent-launch/agent-launch-cwd-cli.test-fixture.ts
  • tests/e2e/cross-version-wire/runtime-source-fence-downgrade.unit.test.ts
  • tests/e2e/headless-serve-desktop-activation.spec.ts
  • tests/e2e/linear-cli-recovery.unit.test.ts
  • tests/e2e/terminal-tab-close-restart-persistence.spec.ts
  • tests/e2e/windows-missing-appdata-startup.spec.ts
  • tests/e2e/worktree-status-warning.unit.test.ts
Files with no reviewable changes: 5

  • src/cli/runtime/envelope-schema.ts
  • src/cli/runtime/environment-pairing-exchange.test.ts
  • src/cli/runtime/open-local-orca.test.ts
  • src/cli/runtime/serve/startup/serve-pid1-init-reaper.test.ts
  • src/cli/runtime/serve/supervision/serve-supervised-service.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.

PAIRING_HIDDEN_LINE,
'[serve] later log line'
])
expect(kept.join('\n')).not.toContain('secret')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor · Security & Privacy · Quick win

Restore the exact redacted-output assertion.

A QR line can encode pairing information without containing the literal string secret. The remaining assertion accepts that line, so this test no longer detects that exposure. Restore the assertion that checks the complete retained output, including the hidden pairing message. filecitesource_other

@nwparker
nwparker merged commit 8af94ff into main Nov 14, 2026
82 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