Commit Graph
3907 Commits
Author SHA1 Message Date
Jinjing f33c0fa676 perf(hooks): skip lint-staged's serial worktree walks in pre-commit
lint-staged 16.4.0 walks the whole worktree several times before any
linter runs. On a cold stat cache that made small commits take over a
minute. Extend the existing lint-staged patch:

- getDeletedFiles: replace the serial `ls-files --deleted` with
  `diff-files -D` (parallel preload, fsmonitor bypassed) plus
  assume-unchanged entries, filtered by the same lstat rule, so the
  deleted-file contract is unchanged.
- getUnstagedFiles: `status --untracked-files=no`; the `??` lines were
  already discarded.
- config discovery: list tracked config files only. A nested config
  must be tracked or staged to apply; untracked configs at the repo
  root are still found.

Run lint-staged directly from the hook; husky already puts
node_modules/.bin on PATH, so `pnpm exec` only added startup time.
2026-11-13 14:56:27 -08:00
OrcaWinandOrcaWin 16093f1ff5 test: remove redundant browser suites and adapter workflows (#42154)
* test: remove redundant browser policy and migration suites

* test: remove duplicate cross-context Electron identity probe

* test: remove repeated browser prompt adapter workflows

* test: drop synthetic browser RPC integration harness

* test: prune ratchet entries for removed Electron probe

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 14:04:56 -08:00
Brennan Benson 42d9f4e042 Name terminal agent hosts separately from Orca (#41848)
* Name terminal agent hosts separately from Orca

* Account for one startup process naming write

* Use the Node runtime for the Linux naming contract
2026-11-13 13:46:07 -08:00
Neil 54590ba35e refactor: organize terminal store modules by lifecycle owner (#42124)
* refactor: organize terminal store modules by lifecycle owner

* fix: align retirement validation with moved owners
2026-11-13 13:19:21 -08:00
Jinjing 5e07432139 fix(dev): omit search opt-in when seeding profiles (#42137) 2026-11-13 13:09:55 -08:00
Brennan Benson ff90d6cc68 Keep restored browser tabs from coming back blank (#41490)
* Keep restored browser destinations until requested navigation completes

* test(browser): follow moved orcad page commands
2026-11-13 12:19:08 -08:00
Neil 587562e862 refactor: organize shared sidebar list modules by domain (#42107) 2026-11-13 12:12:51 -08:00
OrcaWinandOrcaWin 13ed693f46 test: remove low-value mobile suites and redundant cases (#42118)
* test: remove low-value mobile chat and lint cases

* test: remove redundant mobile task and terminal suites

* test: remove terminal inventories and recording harness smoke suites

* test: remove redundant mobile transport and worktree cases

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 12:08:57 -08:00
Kelvin Amoaba 255e5c21f5 feat(native-chat): open a subagent in its own view with its prompt, steps and reply (#42066)
* feat(native-chat): open each subagent in its own view inside the chat pane

Clicking a roster entry, an agent in the agents strip or a subagent row in
the sidebar now opens that subagent's own rows in the chat pane, with a bar
to switch between agents and a status bar with its state, Stop and the way
back in place of the composer. Subagent rows are no longer inlined in the
main transcript, which stays mounted underneath so going back keeps the
reader's place. The inline-section machinery is removed.

* fix(native-chat): close a subagent's hover preview when its view opens, and name the strip's open action

An open preview stayed over the subagent's view after its roster row was
hidden, and took the view's first Esc. The agents strip's label now says
it opens the agent rather than showing it in the conversation.

* feat(native-chat): show what the main agent asked a subagent and its reply in the subagent's view

A subagent's view now opens with the prompt the main agent gave it, folded
past a few lines, and ends with its final reply once it settles. Claude's
prompt and reply come from the Agent call its run names; Codex's prompt
comes from the spawn call naming the child, and its reply is already its
last own message.

* chore: drop the deleted delegation file from the node tsconfig and record the removed compiler bailout

* fix(native-chat): subagent view UX round: focus, endings, nested path, status glyphs

Going back hands focus to the entry or strip row that opened the view, else
the composer. Only a completed subagent ends with a reply; a failed one shows
its error and a stopped one says it stopped. Nested subagents get their spawn
path as a breadcrumb, and Back and Esc go to the parent. Every surface uses
the agents strip's status glyph, states lead capitalised and tokens carry
their unit, entries show that they open, the switcher marks the current
agent and numbers unnamed ones, and the status bar fits narrow panes.

* fix(native-chat): switch subagents from the switcher by pointer, and open no preview on handed-back focus

The switcher's modal-less menu closed on pointerdown before the item could
take the click; it is modal now. Focus handed back to a roster entry after a
pointer Back no longer pops its hover preview; keyboard focus and hover still do.

* fix(native-chat): fit the subagent view to main's tool-run provider, install slot and exhaustive state switch

* fix(native-chat): keep a subagent's full reply when its last message is only the start of it

* fix(native-chat): translate the subagent back label with useTranslate so it follows the language
2026-11-13 20:08:08 +00:00
OrcaWinandOrcaWin 44689147f8 test: remove low-value mobile and lint suites (#42108)
* test: remove low-value mobile and lint suites

* fix: keep Git runner within lint budget

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 11:58:36 -08:00
Neil 17a1dc373b refactor: group shared worktree modules by feature (#42093)
* refactor: group shared worktree modules by feature

* refactor: retarget new worktree admission test to moved owner
2026-11-13 10:59:36 -08:00
OrcaWinandOrcaWin 65055509d6 test: remove low-value mobile suites and redundant native input coverage (#42098)
* test: remove low-value mobile and native input cases

* test: prune redundant mobile suites and verify native receiver contents

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 10:48:53 -08:00
Brennan Benson db0e024fed perf(session-search): bound retention cleanup and separate purge timings (#41948)
* perf(session-search): target orphan cleanup and separate purge timings

* chore(session-search): document database row type guarantees

* chore(session-search): allow bounded worker SQL call sites
2026-11-13 10:47:10 -08:00
OrcaWinandOrcaWin d3a79e606f test: remove low-value image, runtime and cleanup tests (#42086)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 09:45:09 -08:00
Neil 2db7499ae2 refactor: group runtime-environment IPC by ownership (#42081) 2026-11-13 09:35:54 -08:00
OrcaWinandOrcaWin ea92ef7ea0 test: remove low-value runtime and static-analysis cases (#42082)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 09:24:03 -08:00
OrcaWinandOrcaWin 6a6b23c910 test: remove low-value packaging and release test cases (#42078)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 09:12:30 -08:00
OrcaWinandOrcaWin 0a04286445 test: remove low-value mobile and native-build cases (#42076)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 08:58:51 -08:00
Neil dc67a6435f refactor(mobile): organize source control by feature owner (#42073) 2026-11-13 08:49:09 -08:00
OrcaWinandOrcaWin 309f6ca8db test: remove low-value localization and mobile test coverage (#42070)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 08:43:31 -08:00
OrcaWinandOrcaWin 5480f48d5b test: remove low-value runtime packaging and diagnostic suites (#42064)
* test: remove low-value runtime packaging and diagnostic suites

* test: clear scan-progress listeners after AI Vault IPC cases

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 08:34:41 -08:00
Neil 075d6b3b50 refactor(rpc): group request contracts by feature owner (#42063) 2026-11-13 08:21:31 -08:00
OrcaWinandOrcaWin d896198ad6 test: remove low-value workflow and packaging suites (#42062)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 08:09:43 -08:00
OrcaWinandOrcaWin 8025a52e5b test: remove low-value build and CI test suites (#42056)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 07:51:57 -08:00
Neil 6775615ce4 refactor(preload): organize API modules by feature owner (#42051) 2026-11-13 07:37:49 -08:00
OrcaWinandOrcaWin a850101549 test: remove low-value relay and contract test coverage (#42053)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 07:32:26 -08:00
Neil 1af96e86ff refactor(mobile): organize terminal session feature owners (#42046) 2026-11-13 06:59:38 -08:00
Neil e956498414 refactor(mobile): organize terminal modules by responsibility (#42040) 2026-11-13 06:37:45 -08:00
Neil c2deee70df refactor(mobile): organize platform adapters by capability (#42030) 2026-11-13 05:54:19 -08:00
OrcaWinandOrcaWin a5854aec6e test: remove low-value transport and shared suites (#42026)
* test: remove low-value automation and shared suites

* test: retire stale gate references and stabilize retained fixture date

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 05:43:27 -08:00
OrcaWinandOrcaWin e9d5b35d64 test: remove low-value mobile and CLI runtime tests (#42022)
* test: remove low-value mobile suites and repeated vectors

* test: trim low-value CLI runtime cases and obsolete allowance

* test: satisfy changed-line template lint in click case

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 05:25:55 -08:00
Neil 8dd3b71090 refactor: organize mobile files and host-screen domain owners (#42019) 2026-11-13 05:10:41 -08:00
Neil e81a89c5ff refactor: group Jira and Linear task-page modules by domain (#42009)
* refactor: group Jira and Linear task-page modules by domain

* refactor: remove orphaned Linear refresh test entry
2026-11-13 04:31:03 -08:00
OrcaWinandOrcaWin a3be49edd4 test: remove Calculator smoke and redundant coverage (#42000)
* test: remove weak native smoke and repeated writer coverage

* test: focus packaged PTY coverage on output and exit delivery

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 04:04:33 -08:00
Neil 59b88a1176 refactor: group GitHub task-page modules by domain (#41995) 2026-11-13 03:52:49 -08:00
OrcaWinandOrcaWin 8c9aff20a3 test: remove filesystem scale and telemetry schema replays (#41988)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 03:43:34 -08:00
Neil 4245b59765 refactor: group agent hook providers by domain (#41968)
* refactor: group agent hook providers by domain

* chore: shrink retired hook test ratchet allowances
2026-11-13 03:27:33 -08:00
OrcaWinandOrcaWin 7658aebc4d test: remove repeated readiness and telemetry schema cases (#41983)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 03:24:50 -08:00
OrcaWinandOrcaWin 404ab9fccf test: remove upstream projections and duplicate submodule guard (#41974)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 02:50:19 -08:00
OrcaWinandOrcaWin 85873ef846 test: remove Git staging and status replays (#41966)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 02:32:58 -08:00
OrcaWinandOrcaWin ee8ad02860 test: remove hook and generation replays and cache assertions (#41951)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 02:20:31 -08:00
Neil 7e10540b93 refactor: group preload modules by domain (#41940)
* refactor: group preload modules by domain

* fix: include preload entry dependencies in web typecheck
2026-11-13 02:06:33 -08:00
Jinwoo Hong fde1ae70da fix(mac): give Orca's main executable its own UUID so Local Network access works (#41676)
* fix(mac): give Orca's main executable its own Mach-O UUID

macOS Local Network privacy identifies an app by its main executable's
UUID. The packaged executable is stock Electron's, so it shares that UUID
with every other app on the same Electron version and macOS can apply
another app's Local Network decision to Orca. Rewrite LC_UUID in every
slice to a value derived from the app id, executable name and CPU type,
before signing.

* fix(mac): re-sign rewritten executables ad hoc, cover the terminal host, assert UUIDs at release

Rewriting LC_UUID breaks Electron's linker ad hoc signature, and arm64
kills unsigned code, so identity-less local builds (where app signing is
skipped) produced an Orca.app that died at launch. Re-sign the rewritten
executable ad hoc, outside the bundle so codesign does not treat it as
the bundle; real signing replaces it later.

The terminal host's executable is a stock Node binary whose UUID is
shared by every copy of that Node release, so give it its own stable
UUID the same way. Packaging and release verification now fail when a
shipped executable does not carry its expected UUID.

* fix(mac): scope the executable UUID rewrite to the main app

The terminal host gets a separate design; leave it unchanged here.
2026-11-13 04:53:48 -05:00
OrcaWinandOrcaWin d1d338cd02 test: remove generation replays and cache counter cases (#41944)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 01:52:46 -08:00
OrcaWinandOrcaWin 37f8222979 test: remove low-value cleanup suites and generation replays (#41941)
* test: remove cleanup wrappers and redundant settlement coverage

* test: remove ineffective preview and generation failure replays

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 01:43:44 -08:00
Kelvin Amoaba d1bc6605c1 fix(speech): correct near-miss spellings of dictionary terms, like Superbase to Supabase (#41703)
* fix(speech): spell near misses of dictionary terms the term's way

* fix(speech): ship the common-word list as a 2% Bloom filter to fit the phone page budget
2026-11-13 09:39:16 +00:00
OrcaWinandOrcaWin e4eecd847c test: remove low-value workspace wrapper and notice cases (#41938)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 01:31:41 -08:00
OrcaWinandOrcaWin 2850c00006 test: remove low-value smoke, wrapper, and copy assertions (#41925)
* test: remove prebuilt declarative demo smoke suite

* test: remove static Box summary copy assertion

* test: remove redundant wrapper cases and copied assertions

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 01:17:39 -08:00
OrcaWinandOrcaWin 4a81270d6f test: remove duplicate language wrapper and orphan host teardown (#41909)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 00:47:44 -08:00
Neil e7288d7ea5 refactor: group new-workspace modules by domain (#41905) 2026-11-13 00:46:08 -08:00