Commit Graph
2030 Commits
Author SHA1 Message Date
Brennan BensonandJinjing eaa2d16fbd fix(github): preserve alias actions and foreground refresh intent
Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
2026-11-13 18:37:52 -08:00
Brennan Benson c5f586321c refactor(mobile): simplify PR read intent branches 2026-11-13 18:09:13 -08:00
Brennan Benson 66c7d061c6 test: honor default freshness in Off exposure proof 2026-11-13 18:00:04 -08:00
Brennan Benson f1a47185f1 Merge main after automatic PR polling reductions landed 2026-11-13 16:49:36 -08:00
Brennan Benson 8c306365dd perf: refresh agent models when CLI inputs change (#41976)
* perf: refresh agent model catalogs when launch inputs change

* test: cover model catalog launch input changes

* test: require explicit refresh intent for floating agents

* fix: combine model catalog ownership imports

* Observe direct agent scripts after interpreter options

* Expose refresh intent in preflight API types

* Keep slow model discovery alive beyond picker waits

* Explain the real transport regression test budget

* Use typed catalog test requests and locate cast rationale

* Assert discovered ACP effort choices directly

* Fix catalog regression fixture types
2026-11-13 16:34:06 -08:00
OrcaWinandOrcaWin 4ce1f9e9ab test: remove marginal lifecycle and protocol cases (#42191)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 15:50:13 -08:00
Neil dcf2515ac4 fix(mobile-relay): bounded resolve on persistent 4404, widen a timed-out resolve, rate-limit deferral logs (#41994)
* fix(mobile-relay): resolve on persistent 4404 and make deferral logs readable

* fix(mobile-relay): bound 4404 director resolves for a desktop that stays offline

Review follow-up:
- Resolve on the 2nd consecutive 4404 of an episode, then the 4th, 8th, 16th,
  and never twice within 5 minutes per host. A sleeping laptop with a
  foregrounded phone now costs 6 resolves in 30 minutes, not ~1 per 2 dials.
- If the director names the same cell and epoch, keep the normal 4404 wait:
  no re-route and no immediate redial.
- The streak ends on any other outcome (including aborts), when the phone has
  connected since the last 4404 (a direct-path win), or after a 2-minute gap.
- Clear the gate reprobe due time with its timer so the deferral log never
  reports a stale remainingMs.

* fix(mobile-relay): double the gap between 4404 resolves while the desktop stays offline

The 5-minute floor alone set the pace (12 resolves/hour, forever). After each
resolve the minimum gap now doubles, 5 -> 10 -> 20 -> 40 -> 60 min, and
returns to 5 min after a successful relay dial or any connection. A laptop
asleep for two hours with the phone in the foreground costs 5 resolves.

* refactor(mobile-relay): namespace the supervisor's diagnostic log import to stay within max-lines
2026-11-13 15:25:31 -08:00
Neil b81f0dde51 fix(pairing): never advertise or dial link-local direct endpoints (#41982)
Desktop: drop IPv4 169.254.0.0/16 (and, as before, IPv6 fe80::/10)
addresses from the pairing interface list, so an APIPA or idle adapter is
never the QR's direct endpoint. When nothing else is usable the offer
already omits the direct address (Relay carries the invite; LAN-only
refuses). Among non-Tailscale candidates, an adapter known to hold the
default route now wins ties.

Mobile: a relay-paired host whose stored endpoint is link-local seeds its
logical client with a never-dialing 'reconnecting' stand-in and disables
the direct return probe, so already-paired phones go straight to Relay
instead of redialing the dead address. Relay-less hosts still dial.
2026-11-13 15:09:53 -08:00
9be97134de Merge parent 2622c9c753 into the PR cadence setting (STA-8667)
Reconciles the reviewed automatic-refresh parent with the setting child:
the child's refresh/lookup owners already carry the parent's completion
contract, so they are kept and the parent's read-admission adapter is
dropped; main's moved modules take the child's imports at their new paths.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-13 14:45:17 -08:00
Brennan BensonandJinjing 1b9b6bf296 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>
2026-11-13 14:20:15 -08:00
OrcaWinandOrcaWin 21c946621c test: remove low-value task recordings and assignment checks (#42135)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 13:09:32 -08:00
OrcaWinandOrcaWin 3cfdf07402 test: remove low-value recording families and PR snapshots (#42125)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 12:43:50 -08:00
OrcaWinandOrcaWin 644a4a8bd4 test: remove low-value RPC recording scenarios and goldens (#42120)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 12:25:26 -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
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
OrcaWinandOrcaWin a36d1ddafd test: remove low-value bridge and native checks (#42105)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 11:15:10 -08:00
Kelvin Amoaba 39ccf4fb56 feat(native-chat): show each subagent's model, current tool and result in the chat (#41766)
* feat(native-chat): show each subagent's model, current tool and result in the roster

Subagent roster rows now carry the child's role, model, reasoning effort,
the tool it is running and the last thing it said, so a row says what the
subagent is doing and, once done, what it found. Codex children take model
and effort from the spawn call; Claude children take the model from their
own messages. A hover card shows the longer text.

* feat(native-chat): name subagent models and roles the way people say them

Show Opus 5.5 · High instead of claude-opus-5-5 · high, reusing the
model-id label and effort picker copy, and General purpose instead of
general-purpose.

* fix(native-chat): read Codex subagent model and effort from its started activity

Current Codex announces a spawn only through subAgentActivity, which carries
the model and reasoning effort the child resolved to.

* fix(native-chat): use the hover card's own spacing variant for the subagent preview

* fix(native-chat): show a subagent's reply as plain text in its roster row and preview

Its last message is markdown; the row now drops backticks, emphasis, list
and heading marks and joins lines into one readable line.
2026-11-13 19:01:39 +00: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
OrcaWinandOrcaWin 8e604e2f57 test: trim duplicate mobile and internal fixture assertions (#42094)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 10:27:01 -08:00
OrcaWinandOrcaWin b1fefd9fcd test: remove low-value mobile Markdown editor coverage (#42090)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 10:06:48 -08:00
OrcaWinandOrcaWin 048eefd3bf test: remove low-value mobile and example coverage (#42087)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 09:55:11 -08:00
Brennan BensonandJinjing d74ef5061e test(mobile): run the PR timer as a client
Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
2026-11-13 08:53:43 -08:00
Neil dc67a6435f refactor(mobile): organize source control by feature owner (#42073) 2026-11-13 08:49:09 -08:00
Neil 075d6b3b50 refactor(rpc): group request contracts by feature owner (#42063) 2026-11-13 08:21:31 -08:00
7517318e77 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>
2026-11-13 08:10:09 -08:00
Kelvin Amoaba c725692258 fix(native-chat): /compact runs while a Claude chat's background subagent works (#41945) 2026-11-13 15:33:32 +00:00
8a197be8af 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>
2026-11-13 07:08:36 -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
786e2d6d84 Merge brennanb2025/serve-pr-polling: put the PR auto-refresh setting on the shared host PR reads (STA-8667)
Brings in the automatic host-side PR read sharing (#42033) and finishes the
auto-refresh setting on top of it, so one owner per resource decides when PRs
and checks are read again:

- The setting now stretches the host's own interval, including the five-minute
  quiet interval for settled open PRs (Default 5, Reduced 25, Minimal 50 min,
  Off none), both for paired clients' timer reads and this host's own queue.
- The earlier duplicate PR answer reuse for paired clients is removed; the
  shared host result owner now serves those reads.
- Switching cadence re-times errors, their shared retry time, host gates and
  queued host reads from when the read failed; Off drops them without pinning
  anything forever, and Default restores the original retry time.
- Window return reads data older than the Default interval in every mode and
  never sooner, so Off no longer re-reads no-PR or closed rows on each return.
- Checks keep their own per-head result, now recorded by the actual checks read
  in start order, so a manual refresh cannot be overwritten by an older read
  and a read after a PR change never joins one from before it.
- Phones send timer reads as revalidations, keep what is shown on a receipt and
  read again soon; returning to the app reads fresh. No foreground wire flag.

Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-13 06:19:24 -08:00
OrcaWinandOrcaWin 41c301bb6a test: remove low-value cloud tests and unused support (#42029)
* test: remove low-value push and relay coverage

* test: delete orphaned fixture and closure support

* test: trim runner and mobile recording matrices

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 05:57:41 -08:00
Neil c2deee70df refactor(mobile): organize platform adapters by capability (#42030) 2026-11-13 05:54:19 -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
OrcaWinandOrcaWin 35e0f9a9f2 test: remove route forwarding and internal mobile marker cases (#41900)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 00:26:28 -08:00
OrcaWinandOrcaWin fd8c3da20a Simplify delete dialogs and make button states visible (#41870)
* fix: simplify delete dialogs and clarify control interaction states

* fix: preserve bulk delete context and update dialog e2e flows

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-13 00:12:38 -08:00
Jinjing 5bca0bf342 perf(mobile): build all-tabs sheet rows only while the sheet is shown (STA-15103) (#41819)
The tab bar built every tab's sheet row, including the agent preview over
each terminal's last message, on every tab snapshot and 60 s tick, and the
always-mounted closed sheet ran its own clock and row elements. The bar now
builds only the title/dot/group summary it draws; the sheet's clock, frozen
groups and detail rows live in content mounted only while the drawer is
shown.
2026-11-12 23:46:31 -08:00
OrcaWinandOrcaWin b0c0377664 test: remove subprocess and mobile navigation projections (#41842)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 21:49:42 -08:00
OrcaWinandOrcaWin fcb620d219 test: remove mock-native mobile queue and authority suites (#41826)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 21:03:24 -08:00
OrcaWinandOrcaWin aa736b6650 test: remove narrow mobile and settings navigation samples (#41818)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 20:49:14 -08:00
OrcaWinandOrcaWin 038793de64 test: retire narrow runtime and navigation samples (#41813)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 20:36:16 -08:00
OrcaWinandOrcaWin f5ab621250 test: remove low-value mobile and source control suites (#41811)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 20:31:27 -08:00
Jinjing 955186a43c fix(mobile): forget queued-row heights for messages that left the queue (#41802)
The queued list cached each row's height by message id for the life of the
chat, so a long conversation kept one entry per message ever queued and a
requeued id could place a failed row by the height it left with. Keep heights
only for queued ids, and drop a layout a departed row reports late.
2026-11-12 20:15:44 -08:00
Jinjing a1667c0297 Open launched agents from mobile AI actions (#35235) 2026-11-12 19:45:35 -08:00
Jinjing 571d29adf4 fix(mobile): open a linked workspace root from a chat link (#36078) 2026-11-12 19:26:30 -08:00
OrcaWinandOrcaWin b663c756cb test: retire low-value draft and CDP lifecycle examples (#41704)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 16:08:18 -08:00
OrcaWinandOrcaWin b546bd0a23 test: retire low-value mobile composer and CDP suites (#41699)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 15:52:58 -08:00
OrcaWinandOrcaWin bb21570c65 test: remove low-value composer and focus-guard cases (#41696)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-12 15:43:22 -08:00