Commit Graph
2325 Commits
Author SHA1 Message Date
Jinjing a54cea03c5 Improve notice details 2026-11-15 13:50:51 -08:00
OrcaWinandOrcaWin 6161632e6c test: remove 34 low-value suites (#42822)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 13:45:47 -08:00
Kelvin AmoabaandRadu Toader 79377cb989 feat(mobile): return to a chat tab where you left its transcript (#42584)
* feat(mobile): return to a chat tab where you left its transcript

One chat view serves every session tab, and a tab switch only changes its
scope, so the list jumped to the tail and opened tool runs collapsed on every
return. The page list now saves each chat's reading place and drawn rows
while the reader is away from the tail and puts them back when the chat shows
again. Opened tool runs, and the row keys they are saved under, are kept per
chat too. A chat left at its tail, or whose anchor rows are gone, still opens
at the tail and follows.

Co-authored-by: Radu Toader <4960306+radut@users.noreply.github.com>

* fix(mobile): keep a chat's saved place through a reload, and relative to the scroller

A tab switch to a chat whose rows are still loading no longer forgets its
saved place, so the list puts it back once the rows draw; sending or jumping
to latest still forgets it. Reading anchors now measure from the scroller's
top, so a place saved on an earlier visit holds if the scroller moved.

---------

Co-authored-by: Radu Toader <4960306+radut@users.noreply.github.com>
2026-11-15 21:43:59 +00:00
Neil 69cfecdf70 refactor: organize shared lifecycle and runtime owners (#42792) 2026-11-15 13:18:34 -08:00
Kelvin AmoabaandRadu Toader 3a8b23ab04 feat(mobile): scroll a chat reply to its start from the ↑ under it (#42583)
* feat(mobile): scroll a chat reply to its start from the ↑ under it

Desktop's reply controls have an ↑ that puts the reply's start at the top
and releases the tail follow. Mobile replies had only Copy and Fork. Add the
same action to the page list, which draws every phone chat, reusing
desktop's scrollMessageToTop strings.

Co-authored-by: Radu Toader <4960306+radut@users.noreply.github.com>

* fix(mobile): keep a reply scrolled to the top through growth right after the tap

---------

Co-authored-by: Radu Toader <4960306+radut@users.noreply.github.com>
2026-11-15 20:59:05 +00:00
Kelvin Amoaba d4db6a1d51 feat(mobile): show the desktop's project groups in the workspace list (#42457)
* feat(mobile): nest the workspace list under the desktop's project groups

Shipped phones listed every project flat while the desktop sidebar nests projects under project groups. The desktop's group-tree walk is now shared, and the phone's list uses it with the groups the desktop window's catalog now carries (or projectGroup.list on older desktops). Collapse shares the desktop's project-group keys, and folder workspaces sit under their group header.

* test(mobile): type the parity fixture as the served catalog
2026-11-15 20:58:13 +00:00
Kelvin AmoabaandGarrett Peppers 54ad5c739a fix(native-chat): run /new as the host conversation clear in Codex chats (#42445)
Codex's app-server has no slash parser, so a typed /new reached the
model as prose and the chat kept its history. The shared structured
composer now resolves Codex's /new to the host clear, on desktop and
mobile alike.

Co-authored-by: Garrett Peppers <garrett@pepperstech.net>
2026-11-15 20:57:37 +00:00
Kelvin Amoaba 42419ed7c0 feat(mobile): one link setting for chat and terminal links, with Ask each time (#42802)
* feat(mobile): open chat links where the link setting says, with Ask each time

The Browser setting now covers web links in terminal output and chat with
one rule: Ask each time shows the link sheet, Orca browser opens a desktop
tab directly (the phone browser where no tab can open), and Phone browser
opens the phone browser. Nothing saved means Ask each time; saved choices
keep the same storage key.

* perf(mobile): keep the chat link handler stable across reconnects
2026-11-15 20:46:41 +00:00
Neil 9b3737e5e0 refactor: organize shared agent accounts and usage owners (#42781) 2026-11-15 11:06:48 -08:00
Neil ad29834900 refactor: organize shared concurrency and text primitives (#42777) 2026-11-15 10:28:45 -08:00
Neil 31b23b84d4 refactor: organize shared input and terminal protocols (#42772)
* refactor: organize shared input and terminal protocols

* refactor: align input cleanup validation selectors
2026-11-15 09:33:02 -08:00
Neil a616643671 refactor: organize shared project and workspace modules (#42757) 2026-11-15 08:35:07 -08:00
Neil c3a681f5b1 refactor: group process and platform modules by ownership (#42742)
* refactor: group process and platform modules by ownership

* refactor: preserve moved module workflow routing

* refactor: preserve native loader and embedded bundle origins
2026-11-15 07:23:28 -08:00
Neil fce620d991 refactor: organize shared telemetry, education and platform contracts (#42713)
* refactor: organize shared telemetry, education and platform contracts

* fix(agent-status): retain transcript polling when agent IDs resolve
2026-11-15 05:44:50 -08:00
Neil 54861a1c1e refactor: group browser and speech modules by ownership (#42702) 2026-11-15 04:02:31 -08:00
Neil 7f38c5d004 refactor: group shared agent and skill contract owners (#42620)
* refactor: group shared agent and skill contract owners

* chore: regenerate RPC catalog import ordering
2026-11-15 02:00:23 -08:00
OrcaWinandOrcaWin 4e834bf939 test: remove 11 low-value suites and theme/NVM policy cases from combined audit (#42678)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 01:25:47 -08:00
OrcaWinandOrcaWin 03bb368ad6 test: remove 14 low-value suites and one standalone driver from combined audit (#42670)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 00:57:44 -08:00
OrcaWinandOrcaWin 7b5f3176f3 test: remove 287 low-value suites from combined audit (#42659)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 00:17:59 -08:00
OrcaWinandOrcaWin 390e62e1cd test: remove 47 low-value test suites (#42648)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 23:56:56 -08:00
OrcaWinandOrcaWin e58da9a72b test: remove 52 low-value suites and trim journal samples (#42640)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 23:38:15 -08:00
OrcaWinandOrcaWin 9ebc9ce729 test: remove 54 low-value test suites (#42636)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 23:23:59 -08:00
OrcaWinandOrcaWin 0ec31ab47b test: remove 55 low-value suites and trim redundant cases (#42633)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 23:08:08 -08:00
b5456ac9c6 test: remove 53 low-value suites and trim redundant cases (#42624)
* perf(layout): skip unused normalization reports in pane commands (#42615)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* Clarify cleanup pinning and ignored-file protection (#42616)

* test: remove 55 low-value suites and assertion driver (#42605)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>

* fix(skills): skip Claude sync scratch folders during skill discovery (#42610)

Claude Code parks replaced skill copies in `.trash` and in-progress syncs
in `.staging` under its skills roots. Discovery walked into both, so each
synced skill showed up as duplicates. Prune those directory names in the
native file walk and in the generated WSL `find` command.

Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>

* test: remove 78 low-value suites and trim redundant cases (#42621)

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>

* test: remove 53 low-value suites and trim redundant cases

---------

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
Co-authored-by: BingZ <zzb@gxsmjx.com>
Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
2026-11-14 22:32:38 -08:00
Neil d5a90c0da0 refactor(shared): group host and runtime owners by domain (#42528) 2026-11-14 21:10:34 -08:00
OrcaWinandOrcaWin 502d2bddb0 test: remove 58 low-value suites (#42603)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 20:10:17 -08:00
OrcaWinandOrcaWin 78908d7eb2 test: remove 58 low-value suites (#42597)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 19:45:06 -08:00
OrcaWinandOrcaWin 285ddd1e42 test: remove 54 low-value suites (#42578)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 18:46:54 -08:00
OrcaWinandOrcaWin 3254ae7d1b test: remove 54 low-value suites (#42569)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 17:51:21 -08:00
OrcaWinandOrcaWin 089887316f test: remove 79 low-value suites (#42564)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 17:33:48 -08:00
Justin(SII) c89329aa18 fix(mobile): prevent extra header gap on iPhone Duo (#42375) 2026-11-15 01:22:35 +00:00
OrcaWinandOrcaWin 360233857a test: remove low-value mobile transport config and docs suites (#42552)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 16:54:11 -08:00
Kelvin Amoaba 169fcbfbf9 chore(mobile): bump to 0.0.65 and Android versionCode 29 (#42551) 2026-11-15 00:42:05 +00:00
Kelvin Amoaba 67dc1ad8a2 feat(mobile): ship Android as dev.orca.app on Google Play and GitHub with one Play-signed build (#42295)
* feat(mobile): ship Android as dev.orca.app and check updates by install source

Android becomes dev.orca.app, the package already live on Google Play; iOS keeps
com.stably.orca.mobile. The move screens and the "Orca (old)" label stay keyed to the old package,
so they never show in the new app.

The app asks Android who installed it. A Play install gets its updates from Play, so it runs no
GitHub check, hides "Check for updates" and points the update wall at Google Play. Any other
install checks GitHub for android-v releases; the old package keeps mobile-android-v.

* ci(mobile): release dev.orca.app to Play and publish Google's signed APK

An android-v tag (or a manual run) builds the AAB with the upload key and sends it to Play's
internal track. It then downloads the universal APK Google signed for that versionCode, fails unless
its V3.0 signer is Google's app signing key, and publishes it as the android-v GitHub pre-release.
Play and GitHub installs are the same signed app. A manual run with publish_github_release off only
validates the bundle with Play.

The orca.dev APK bump job is gone: the site builds its link from mobile-android-v, so it stays on
the last old-app APK, which sends people to the new app.
2026-11-15 00:36:13 +00:00
Kelvin Amoaba bb65b390a1 feat(mobile): send old Android app users to the new Orca app on Google Play (#42285)
* feat(mobile): send the GitHub Android app to the new Orca app

Orca for Android moves to a new app, dev.orca.app, on Google Play and as a separate APK. This final release of the GitHub app (com.stably.orca.mobile) opens to a full-screen guide that Back can't dismiss: phones with the Play Store get "Orca is now on Google Play", others get "Get the new Orca app", which downloads the newest android-v APK or opens the releases page. "Keep using this version" lets people in and brings the guide back after a week. Opening from a notification skips it until the next normal open. Until then a banner on Home reopens the guide and the update card stays hidden.

Play Store presence is a small native check for an installed, enabled com.android.vending, since market:// links also open other stores.

* feat(mobile): label the old GitHub Android app Orca (old)
2026-11-15 00:18:38 +00:00
OrcaWinandOrcaWin 8ebe83764e test: remove low-value agent mobile and tooling samples (#42507)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 14:47:35 -08:00
da8d128db4 feat(github): PR auto-refresh cadence setting to cap background PR/checks polling (STA-8667) (#40541)
* feat(github): add a PR auto-refresh cadence setting that caps background PR/checks polling (STA-8667)

Timed PR, review and checks refreshes were hardcoded (1/2 min visible,
15 min no-review), with no way to slow them on a busy headless `orca serve`
or a shared GitHub Enterprise Server.

Adds `prAutoRefresh: default | reduced | minimal | off` (5x / 10x / no timed
refresh). Selecting a workspace, pushing, returning to the window and manual
refresh still read at once in every mode.

- shared policy scales every timed interval from one process-wide cadence,
  set from settings in main (desktop and serve) and in the renderer
- main re-plans queued visible follow-ups when the cadence changes
- a paired server's cadence also caps clients' timed `github.prForBranch`
  reads (reuses the last answer for the same head) and stretches the hosted
  review branch cache TTLs, so more clients add no GitHub calls
- CI-line watches slow to the minimal cadence instead of stopping when off
- Settings > Git & Source Control gains a host-aware PR Auto-Refresh control

* feat(github): make the PR Auto-Refresh control say how often it checks and whose host it changes (STA-8667)

UX round UX-I1: the hint under the segmented control states the actual
cadence for the selection, derived from the shared policy, and when a paired
server is the Settings host the control says it applies to that host and every
connected client. Adds a presentational PRAutoRefreshControl with fixtures and
a component test.

* fix(github): make the PR auto-refresh cadence per execution host and close the C1 polling gaps (STA-8667)

Review round C1 on #40541 found seven places where the new cadence did not
hold. This settles the contract as one cadence per execution host and fixes
each gap with a regression test:

- The renderer schedules each workspace by the cadence of the host that runs
  its GitHub reads: its own setting for local work, the paired host's setting
  (read on contact, on settingsChanged and from the Settings control) for that
  host's workspaces. A local Off no longer stops a remote Default and the
  reverse. Policy, timers and the checks panel re-plan on any cadence change.
- github.prForBranch and github.prChecks: a paired client's timer reads carry
  reason swr/visible and the host answers them from its last read at its
  cadence; window return, screen open, manual refresh and changed-state reads
  carry foreground/noCache and always reach the provider. Mobile sends the
  same intent for its own timer.
- Off stops ordinary failure retries (main coordinator, renderer scheduler,
  checks detail policy); CI-line watches keep retrying at Minimal.
- Earlier-head CI watches follow the same watch cadence as the current head.
- The paced PR cache identity includes acceptMergedFallbackPR.

* fix(github): close the C2 PR auto-refresh gaps: checks cache freshness and scope, retry and settings-sync races, focus return under Off, mobile foreground reads (STA-8667)

- github.prChecks: every successful full read (timed, foreground, manual, noCache) is recorded as the host's last answer with start-order protection, so a later timed client never gets an older result back; the paced key now carries the execution scope, review generation and resolved gh read scope like the provider read itself.
- Renderer visible scheduler: a retry armed after a failure is dropped when the owning host's cadence becomes Off and re-timed when it is stretched, instead of firing once under the old cadence.
- Remote host cadence sync: a settingsChanged (or regained contact) during an in-flight settings.get marks it dirty and triggers one trailing read; a slow answer never reverts a value the Settings control wrote or re-adds an unpaired host.
- Checks panel: a focus-only window return (document never hidden) reads once under Off with the usual cooldown and in-flight guards, unless the checks are settled.
- Settings: the remote PR Auto-Refresh control shows the one shared, subscribed copy of the host's setting, so another client's change is reflected while mounted and the displayed option can be chosen back.
- Mobile: a branch read right after the app comes to the foreground is sent as foreground and bypasses the host's 30 s reuse of its own desktop lookup.

Each new test fails without its fix.

* fix(github): close the C3 PR auto-refresh gaps: queued main error retries on cadence change, window return under Reduced/Minimal, older paired host fallback (STA-8667)

* perf(github): share and pace timed pull request reads on the host

Reuse exact completed results for automatic refreshes, back off unchanged
settled pull requests, and route server revalidation through the existing
host budget while preserving foreground reads and older clients.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* fix(github): preserve shared producer settlement and selected demand

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* test(github): cover paired receipt retries and watch fairness

* test(github): explain shared fake-clock fixture

* test(github): typecheck host and renderer integration together

* test(github): name exported fixture mock types

* Revert "test(github): typecheck host and renderer integration together"

This reverts commit 756a38787c.

* test(github): place host and renderer loops in cross-layer suite

* fix(github): say what the PR auto-refresh setting actually limits (STA-8667)

The Off hint now says CI checks a chat follows are still read at the Minimal
interval, the interval hint no longer promises a one-minute read for settled
pull requests, and the description no longer claims a cap on every client:
clients on older Orca versions keep their Default timer, and returning to the
window reads data older than its Default interval.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(github): close the auto-refresh review gaps (STA-8667)

- A window return or re-shown row that is due under the Default interval now
  reads past the stretched timed cache instead of being answered from it.
- Turning auto-refresh Off also retires a host revalidation that was waiting
  for quota, so it never starts or requeues afterwards.
- A newer manual checks answer stays authoritative while an older read of the
  same checks is still out, even when 256 other checks fill the cache.
- A paired host keeps no auto-refresh state after it is forgotten; a read from
  before unpairing never answers for it, and a re-paired host is read afresh.
- A host's cadence change re-plans only the visible rows that host runs, and
  this app's own setting re-plans its rows in main instead of re-reporting.
- Settled rows wait at least a minute on return under a stretched cadence;
  Default keeps its cooldown.
- The setting's copy no longer promises a read on selecting a workspace.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(github): preserve refresh policy and shared callers

Use the same validated freshness for cached queue reads and their follow-up. Keep forced mergeability rereads and detach cancelled consumers independently from the shared lookup.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* fix(github): give checks, host reads and cadence replans their actual owners (STA-8667)

- Checks: the running read of a resource, not the cache, decides which answer
  is current. A manual answer that finishes while an older read of the same
  checks still runs is handed to that read, which answers with it and never
  publishes its own; a read replaced as stale answers with its replacement.
  The completed cache is held to 256 answers at all times.
- A cadence change on one paired host re-plans only that host's visible
  targets from their own Default interval, without rebuilding any rows.
- Off no longer re-queues a failed row at its gate when the cadence is
  retimed; Off back to Default still resumes timed reads and error retries.
- Tests cover a full cache of rows being read again, mixed-host replans and
  the full life of a forgotten host's read, including a failing one.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(github): let a replaced checks read answer only with its successor (STA-8667)

Overlapping reads of one PR head share the newest accepted answer while any of
them runs. A read replaced as stale or by a user refresh publishes nothing and
answers its callers with that newer answer, even after it was evicted from the
completed cache, or with its successor still running; its own result is used
only when no newer answer exists, and its error only when there is no answer.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(github): preserve refresh policy and shared callers

Use the same validated freshness for cached queue reads and their follow-up. Keep forced mergeability rereads and detach cancelled consumers independently from the shared lookup.

Carried from fc3b99db2a (#42033).

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* fix(github): keep queued PR reads on their own job and validated freshness (STA-8667)

- A host revalidation retired by Off while it awaited quota, then replaced by
  a new read of the same PR, can no longer start, delete or requeue over that
  new read; the quota pause it learned still holds the key for the new read.
- A queued local read decides whether its cached answer is fresh with the same
  validated interval that schedules its follow-up; a foreground return is
  judged by the Default interval that made it due, and later follow-ups go back
  to the cadence (none under Off).

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(github): keep overlap authority, foreground reads and failure retries owned (STA-8667)

- Checks: overlapping reads of one PR head share one record kept until the last
  of them settles, so a read replaced by a user refresh that has already ended
  still answers with a newer manual answer after it was evicted, rechecked after
  waiting on its successor.
- A row shown again after its settled age reads instead of being answered by a
  cached settled result; one foreground age decides both whether the return
  earns a read and whether the current cached answer satisfies it.
- Off back to Default restores a failed row's own retry from its failure, still
  an error retry the next Off retires, without a new report or manual action.
- Test fixes: advance the replaced job's start cooldown, run the checks reads
  without command-slot limits, typed fixtures and clock-rule notes.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(github): refresh settled rows when exposed again

Use the same finite foreground age to admit and consume the queued read. A recent exact result can still satisfy it, and settled rows do not acquire a recurring timer.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* test(github): keep the real command slots in the checks capacity proof (STA-8667)

The all-live case now runs through the real four-slot command limiter: 256
rereads are live while four gh commands run, the new manual read waits its
turn and then reads, and cleanup settles every queued read through its slot.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(github): keep a failure's retry and a restored follow-up automatic (STA-8667)

- Each exact PR read now has one resource record (its timed and fresh probes,
  the provider reads running for it and the newest start). A failed full read
  claims that record for the retry it owes even when the exact cache had no
  room to keep the outcome, so the retry keeps its original failure time and
  count, Off retires it, and Default restores it as a retry. A newer read of the
  same request, a scope change or another HEAD ends the claim; a failure that a
  newer read had already replaced owes no retry.
- A row no longer shown releases its failure's claim; dropping an old gate
  index entry no longer forgets a visible row's failure.
- When timed cadence resumes, a row without a failure gets the automatic
  follow-up its interval gives it, still a follow-up, so the next Off retires
  it; one derivation decides creation, retiming and the check after a quota
  wait. A genuine return or action already queued keeps its own reason.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* test(mobile): run the PR timer as a client

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* fix(github): plan automatic PR reads from the newest read and end them with their demand (STA-8667)

- A newer provider read of the same request starting retires a failure that
  is already settled: its queued retry and its claim go, while its count and
  rate gate stay. The retry check before a start, including after a quota
  wait, re-validates that the failure still owns the request and row.
- A full read whose caller brings no settlement of its own (another client's
  read, a host job, a provider lookup) plans the visible row's next automatic
  work, as the row's own read would. A late failure that a newer read
  replaced owes no retry and leaves the newer read's plan in place.
- A routine report of a row still shown as the same request keeps its
  automatic work automatic. Only a return, a new row or another request
  earns a read the cadence does not give.
- After a quota wait an automatic read takes its current plan: retired,
  later (it waits for the plan and the learned pause, without displacing
  work queued since) or ready.
- Visibility ends a row's demand where it is removed: a report that drops
  it, a window cleared or pruned once its renderer is gone, a removed
  workspace. Only the affected window's rows are checked, so a report no
  longer walks every window's rows.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(github): accept only current PR read completions

Keep shared publication and retry planning on the accepted actual read. Preserve legacy own replies, terminal loading and ordinary work after a superseded lookup, and honor the accepted error gate before automatic recovery.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* test(github): follow moved request contracts

* fix(github): keep PR refresh delivery and demand current

Use the accepted provider completion for publication and retry planning. Recheck live demand before automatic starts, preserve user actions under Off, and keep the current failure schedule after interval changes.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* test(github): explain the partial event fixture type assertion

* fix(github): resolve a PR read's scope once per demand decision

An admission decision now resolves the request's current scope once and compares each window's
row in it through the same exact-key definition, instead of resolving the project account for
the captured request and again for every compared alias. A row with other repository or
execution inputs is still another request; the decision after preparation still checks the
prepared read's own scope.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(github): preserve queued deadlines and detachable PR waits

* fix(github): compare refresh wakes on the elapsed clock

* test(github): format queued refresh deadline cases

* fix(github): charge actual producers and fence retry gates

* fix(github): preserve fresh intent and producer error policy

* fix(github): retain owned cold-read retry gates

* fix(github): refresh checks after a delayed background return

Keep one qualified foreground return after a delayed automatic read, preserve GitLab background guards, and use the existing fresh fetch path when the panel returns.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* Keep retimed PR retry gates on their current request

* Remove unused PR admission adapter restored by main merge

* Clarify watch plan types and fake-clock regression fixtures

* Align PR refresh fixtures with current read ownership and elapsed time

* fix: retain shown pull request aliases through admission

* fix: preserve new pull request row exposure with timers off

* test: match fake clock exceptions to TSX lint rules

* test: explain deliberate fake timer fixture waits

* test: align PR revisit recording and remove duplicate fixture

* test: honor default freshness in Off exposure proof

* refactor(mobile): simplify PR read intent branches

* fix(github): preserve alias actions and foreground refresh intent

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* fix(github): release obsolete failures before queued restoration

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* fix(github): retain provider retry holds on foreground return

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* test(github): keep both quota aliases visibly demanded

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* test(github): use fixed intervals for provider hold proof

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* test: align PR refresh mocks with existing request types

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* perf(github): compare PR demand without rediscovering account ownership

Keep live scope fences on prepared reads and compare captured request inputs for demand. Tighten the existing fleet contract, keep narrow settings panels readable, and follow the moved mobile polling owner.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* fix(github): retain project account authority in shared PR demand

Treat explicit and implicit bindings alike for a known project, and retire that equivalence when project ownership changes. Preserve unknown-account separation without restoring inventory scans. Use the existing muted icon button variant for PR Updates.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

* test(settings): mount PR Updates with its tooltip provider

Keep the late-response ordering regression focused on host state and option selection, without assertions on UI copy.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>

---------

Co-authored-by: Brennan Benson <79079362+brennanb2025@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-14 14:10:09 -08:00
Jinjing 8e08e0f13a feat(native-chat): mark forks with a Fork prefix and a Forked from pill (#42370)
* feat(native-chat): mark forks with a Fork prefix and a Forked from pill

Derive the fork mark from the chat's forked-from link instead of the saved
name: new forks keep their source's name, tabs and chat lists show a muted
"Fork ·" prefix (a fork icon in narrow tabs), and the transcript divider
becomes a pill that opens the original. Older " fork" names are trimmed
only when they exactly match what the old build generated.

* fix(native-chat): open fork sources in local workspaces; fork mark polish

- Open the source from the Forked from pill whenever its host is reachable:
  a local workspace or a connected SSH target, and a connected remote runtime.
- Draw the Fork mark in the muted text color (not opacity), normal weight,
  and name a forked source with its mark in the tab hover card.
- Name a fork tab's close button after its marked title.
- Shorter ru/pt mark words; bdi around names; RTL-aware pill chevron.
- Re-read a watched source's parent when its marker refreshes.
- Mock server: MOCK_FORKED_CHATS scenario for the phone.

* fix(native-chat): name forked phone rows for screen readers; read source agent only

- Mobile worktree rows give a forked chat's label the "Fork: <name>" accessible name.
- An older fork's unnamed source reads the agent from the source's own summary,
  which its subscription already wakes for.

* fix(mobile): carry the fork mark on history rows, not a separate set

Session-history recordings capture the screen state as plain data; a fork
is now an optional field on its own row, so rows without forks are unchanged.

* test: drop copy-pinning fork tooltip cases

* fix(native-chat): show the fork icon on narrow tabs in the app

A later stylesheet repeats Tailwind's hidden utility, which beat the icon's
container-query display rule, so narrow fork tabs showed no mark. The icon
now renders only in tabs and uses its own display rules.

* chore(mobile): mock server answers a v2 hello like an older host

Current phones open with the v2 handshake; closing with 4001 lets them fall
back to the legacy handshake this mock implements.

* fix(mobile): mark a forked chat in its tab's action sheet title

* test(mobile): assert the fork sheet title's behavior, not its copy

* test(mobile): type the fork sheet test's stand-in props

* test: follow main's moved test rig and async fork-marker delivery
2026-11-14 12:36:12 -08:00
OrcaWinandOrcaWin 65c3de827e test: remove low-value browser and app-shell suites (#42458)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 10:55:19 -08:00
OrcaWinandOrcaWin abcf0a559f test: remove thin mobile readiness suites (#42454)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 10:40:12 -08:00
OrcaWinandOrcaWin a5ab02e4ff test: remove weak suites and unused test fixtures (#42452)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 10:25:44 -08:00
Neil 47892c98a0 refactor(mobile): organize native shell ownership (#42451) 2026-11-14 10:23:30 -08:00
Neil 29e7d1a7c9 refactor(mobile): organize recorder engine and domain adapters (#42446)
* refactor(mobile): organize recorder engine and domain adapters

* refactor(mobile): consolidate recorder loader type imports
2026-11-14 09:56:10 -08:00
Neil 5973e023b1 refactor(mobile): organize page bridge and presentation owners (#42439) 2026-11-14 09:32:05 -08:00
OrcaWinandOrcaWin ed162efc80 test: remove weak rollback oracle and redundant fixtures (#42440)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 09:26:37 -08:00
OrcaWinandOrcaWin c0bc27438d test: remove low-value mobile wrapper and traversal tests (#42434)
* test: remove redundant mobile preview and editor wrapper tests

* test: trim mobile traversal and mocked host assertions

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 09:07:18 -08:00
Neil cd408d21f6 refactor(mobile): organize shared presentation owners (#42432) 2026-11-14 08:46:42 -08:00
Neil 5bf36a80c5 refactor(mobile): organize markdown editor and preview owners (#42428) 2026-11-14 08:20:20 -08:00
OrcaWinandOrcaWin 66f45dec3e test: remove low-value mobile and frozen baseline checks (#42422)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-14 07:53:48 -08:00
Neil 654b5ab855 refactor(mobile): group workspace creation and worktree presentation (#42420) 2026-11-14 07:49:08 -08:00