Commit Graph
20848 Commits
Author SHA1 Message Date
Brennan Benson 87fdb24964 test: seed SQL reader fixtures through their owning contract 2026-11-10 05:11:06 -08:00
Brennan Benson 0dd18cfd57 test: await durable Claude resume and chain publications 2026-11-10 04:34:41 -08:00
Brennan Benson 58f239ef90 test: initialize saved facts for Claude permission and resume fixtures 2026-11-10 04:23:39 -08:00
Brennan Benson 4380f2dce6 test: adopt saved snapshots in direct Claude sinks 2026-11-10 04:17:20 -08:00
Brennan Benson 73797bffac Bound chat activity reads to work transitions 2026-11-10 03:50:48 -08:00
Brennan Benson 3421abe163 Run chat maintenance within the record-store lifetime 2026-11-10 02:55:15 -08:00
Brennan Benson 4ff2d4103f Initialize real saved snapshot routes in Claude translation tests 2026-11-10 01:40:33 -08:00
Brennan Benson aa5ba0a4ab Restore verified behavior-neutral journal quality cleanup 2026-11-10 01:38:51 -08:00
Brennan Benson 4b0e477449 Temporarily reverse quality cleanup to isolate translation regression 2026-11-10 01:35:43 -08:00
Brennan Benson 175a7c9975 Make journal command classifications exhaustive and remove unchecked casts 2026-11-10 01:35:23 -08:00
Brennan Benson b1d27a3fab Run startup chat workspace conversion through its SQL owner 2026-11-10 01:29:30 -08:00
Brennan Benson b6c2c83b20 Keep saved queue contracts explicit and type fixtures accurately 2026-11-10 00:12:24 -08:00
Brennan Benson d9f9f7ddd7 Preserve saved queue order and recover restart custody on SQL open 2026-11-09 23:59:26 -08:00
Brennan Benson a50f7edc33 Isolate SQL test worker lifetimes and prove fork durability 2026-11-09 23:42:13 -08:00
Brennan Benson 0c0bbc3e65 Merge commit '9728801985f' into brennanb2025/native-chat-sqlite-host
# Conflicts:
#	src/main/native-chat/agent-session-journal/journal-domain-import-rows.ts
#	src/main/native-chat/agent-session-journal/journal-sql-database-read.ts
#	src/main/native-chat/agent-session-journal/journal-sql-maintenance.ts
#	src/main/native-chat/agent-session-wire/journal-ingress/structured-agent-session-event-sink-queue.ts
2026-11-09 23:27:05 -08:00
Brennan Benson 9728801985 Forward brief clear through Claude close 2026-11-09 23:18:12 -08:00
Brennan Benson 42160e9827 Lift restarted queue holds through SQL admission 2026-11-09 23:17:47 -08:00
Brennan Benson 11768f5509 Restore Claude task linkage in SQL acquisition facts 2026-11-09 23:17:22 -08:00
Brennan Benson fe41ff1446 Capture CI watch actions at SQL writer publication 2026-11-09 23:17:00 -08:00
Brennan Benson 1d2020a3cf Merge pinned main into the SQL journal branch 2026-11-09 23:16:27 -08:00
Brennan Benson 5de3fd7d3d Merge commit '414799e41a0' into brennanb2025/native-chat-sqlite-host 2026-11-09 21:38:52 -08:00
Brennan Benson 81051fd047 Coalesce pending publications across provider dispatches 2026-11-09 21:35:14 -08:00
Brennan Benson 38d50953db Commit complete provider dispatches and preserve Stop sources 2026-11-09 20:44:36 -08:00
Brennan Benson 414799e41a Add active-chat resident memory comparison to 4a harness 2026-11-09 20:30:22 -08:00
Brennan Benson befa38b3b9 Establish restart recovery debt in the record writer 2026-11-09 20:22:18 -08:00
Brennan Benson 36821e3d4c Merge commit '8e06fb56d24' into brennanb2025/native-chat-sqlite-tests-providers 2026-11-09 17:56:34 -08:00
Brennan Benson 7777f352d8 build: fail the React Compiler ratchet on stale uncompiled-list paths (#40198)
* build: fail the React Compiler ratchet on stale uncompiled-list paths

- A listed path that no longer names a renderer source (a rename or split) fails the ratchet, so the file can't silently start compiling.
- The build and the ratchet read the lists through one parser that drops trailing notes, resolved from the repo root rather than the current directory.

* build: resolve uncompiled lists from import.meta.url and check listed paths on disk

- electron-vite's config bundle rewrites import.meta.url per file but not import.meta.dirname, so the repo root came out wrong and desktop builds failed with ENOENT.
- A listed path is stale only if no renderer file exists there; the scan's test-name filter no longer flags shipped files like notification-test-delivery.ts.

* build: require uncompiled-list entries to name the exact file the build matches

A ../ segment, a directory or a different letter case passed the existence check, but the build's exclusion matches only the exact path, so the file still compiled.

* build: reject backslashes in uncompiled-list entries

On Windows path.join turns a backslash into a separator, so the entry passed the check while the build's forward-slash match missed it.
2026-11-09 17:53:19 -08:00
Brennan BensonandNeil cae1dd44f2 perf: avoid unused workspace reference work on store updates (#40554)
* perf: defer unused workspace reference cache projection

* perf: select workspace reference cache identities directly

Resolve cache readers once per attachment request so store notifications only read raw entry identities. Keep rendering and fresh reads on the existing projection and routing paths.

Co-authored-by: Neil <neil@stably.ai>

* perf: isolate cached reference readers from store snapshots

Create memoized identity readers in a scope containing only cache name and key so they cannot retain a previous whole-store snapshot through sibling read closures.

Co-authored-by: Neil <neil@stably.ai>

* fix: preserve reference cache reader indexed types

Keep the state parameter generic so indexing a chosen cache retains the matching entry type. Runtime reader behavior is unchanged.

* fix: retain cache key correlation in the reader type

The second index loses the cache-key correlation across the record union. Assert the identical indexed return type with the structural proof documented; emitted reader code is unchanged.

---------

Co-authored-by: Neil <neil@stably.ai>
2026-11-09 17:52:04 -08:00
Neil 2104da430c refactor(native-chat): group restart recovery and notice owners (#40570) 2026-11-09 17:50:58 -08:00
Neil 48f9eb037d chore(deps): bump tsrs to 0.22.0-ts7.1.0-beta (#40572)
0.23.0 is inside the 3-day minimumReleaseAge window, so 0.22.0 is the
newest version installable without an exclusion.
2026-11-09 17:43:03 -08:00
Brennan Bensonandhiba malik 73f11a54f1 Quiet linked task and review counts on workspace cards (#40482)
Co-authored-by: hiba malik <hibamalik8799@gmail.com>
2026-11-09 17:36:23 -08:00
Brennan Benson 1e967661a8 Fix false Codex worker readiness after startup (#40246)
* Keep Codex session startup separate from prompt submission

* Use normalized hook timestamps in CLI regression fixture

* Preserve root evidence across cached starts and relay child hooks

* Check cached starts cannot refresh expired root evidence

* Preserve Codex child ownership through cached session starts

* Keep session startup context within its terminal and session

* Narrow the eligible Codex context directly for typechecking

* Keep Codex turn facts scoped to their root session
2026-11-09 17:35:42 -08:00
Brennan Benson 4d1c130e17 fix(source-control): stop the Change Base Ref dialog from clipping the search field's focus ring (#40521)
The dialog body is an overflow-y-auto scroll area with no padding, so the
focused search field's 3px ring was cut off at its edges. Give it 4px of
room with -m-1 p-1, as the Workspace Details dialog already does.

Tracked in #39381
2026-11-09 17:35:37 -08:00
OrcaWinandOrcaWin 894dbbd0ec test: remove low-value mobile generation and cache cases (#40571)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-09 17:30:34 -08:00
OrcaWinandOrcaWin 5ff661378b test: remove low-value markdown, agent, and pricing cases (#40566)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-09 17:20:55 -08:00
Brennan Benson 8573f7ce86 Create a worktree per repository from an empty folder workspace on the phone (#40139)
* feat(mobile): create a worktree per repository from an empty folder workspace

A folder workspace with no attached worktrees lists one card per
repository in its project group, as desktop's empty state does. Tapping
one creates a worktree named after the folder, attached to it, in place;
a taken name or a setup choice opens the new-workspace composer with the
repo, the name and the folder parent filled in. Shown only when the host
creating it supports exact-name creation.

* chore(mobile): merge the folder repo read's execution-host imports

* fix(mobile): folder creates keep their repository until the folder shows them

Every create from a folder's empty state, direct or through the
composer, holds its repository from admission until the folder lists
the new worktree, so a lost reply, a remount or a reopened form can't
start a second one. The composer and toasts belong to the folder
screen, stay on the folder's host, and say nothing once it's left. A
relayed server's repository read holds no desktop event stream, and a
failed read can be retried.

* test(mobile): a folder create resent after a lost reply carries the same mutation id

* fix(mobile): folder creates keep their name, and a left or replaced form shows and holds nothing

* fix(mobile): pause folder rows under the create form; a lost folder create is checked, never resent as another

* fix(mobile): a folder card never resends a form's create, and one form owns the folder screen at a time

* fix(mobile): a folder setup choice resends only its own unconfirmed create, and the newest form silences older ones

* test(mobile): declare the submit hook's folder launch in its recording fixture

* fix(mobile): a create refused on a resend after a lost reply tries no other name and stays unconfirmed

* fix(mobile): a replayed refusal after an agent-launch fallback stops the retry, and the composer says it may have been created

* test(mobile): type the replayed refusal reply in the retry test

* ci: retrigger checks

* fix(mobile): localize the folder and uncertain-create messages in the workspace composer
2026-11-09 17:18:33 -08:00
Jinwoo Hong 0bebd121b6 fix(orchestration): worker worktrees follow the project's setup setting (#40547)
worker-start defaulted --setup to run, so new worker worktrees ran the
setup script even when the project had setup turned off. Without an
explicit --setup, a worker now skips setup when the project skips it by
default; run-by-default and ask keep running it as before. Remote
workers resolve this on the host that owns the project.
2026-11-09 20:16:22 -05:00
Jinwoo Hong 82c9ba9534 fix(claude): keep a model picked mid-turn over that turn's later replies (#40546)
Picking a model while a turn runs cleared the reported model, but the
running turn's next reply, still from the old model, restored it. The
composer pill prefers the reported model, so it named the old model
while the menu checked the new one. Replies from the turn that was
running at the pick no longer report a model; the next turn's replies
and init do.
2026-11-09 20:16:12 -05:00
Neil 31eff247fa refactor(renderer): organize work-item and review defining owners (#40562) 2026-11-09 17:08:01 -08:00
OrcaWinandOrcaWin 08c0ffdec0 test: remove low-value snapshot and recovery cases (#40563)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-09 17:03:06 -08:00
Brennan Benson e96ee25c73 fix(ui): drop modal blur when the overlay starts closing (#40552)
The workspace blur was keyed on the overlay node existing, so it held through
Radix's exit fade and snapped off after the dim was already gone.
2026-11-09 16:54:11 -08:00
Jinjing d9e2f485f3 fix(agent-picker): preserve model discovery across queued waits (#40545)
* Keep saved agent models searchable while catalogs refresh

- Load saved catalogs independently of pending refreshes.
- Preserve edited presets until a completed catalog confirms removal.

* wip

* wip

* Preserve model discovery status when a read times out

Keep catalog responses provisional while discovery continues, seed account
catalogs when late results arrive, and retire queued discovery on shutdown.

* Simplify model catalog deadlines and picker state
2026-11-09 16:40:51 -08:00
buf0-bot[bot] 959923e493 Update README downloads badge (#40561)
Co-authored-by: buf0-bot[bot] <252831055+buf0-bot[bot]@users.noreply.github.com>
2026-11-10 00:38:17 +00:00
Neil b39a64d347 refactor(renderer): group clipboard and text input owners (#40337) 2026-11-09 16:36:18 -08:00
OrcaWinandOrcaWin c14ee64495 test: remove low-value IPC and SSH recovery cases (#40559)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-09 16:35:29 -08:00
0654f0d6d3 perf(activity): reuse tab indexes across agent status updates (#40536)
* perf(activity): reuse tab indexes across status updates

* perf(activity): label tab-index cache temporary

Co-authored-by: Neil <neil@stably.ai>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* perf(activity): drop temporary label on tab-index cache

Co-authored-by: Neil <neil@stably.ai>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Neil <neil@stably.ai>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-09 16:30:02 -08:00
Kelvin Amoaba 66dcf33b54 fix(native-chat): Continue in Chat UI on an unsent Claude fork brings back the chat it came from (#40551)
* fix(native-chat): bring back the chat an unsaved terminal fork came from on Continue in Chat UI

* fix(agent-hooks): name a forked Claude terminal's session from its fork SessionStart

* fix(native-chat): bind a fork's origin chat to the fork's own conversation

* fix(native-chat): bind a fork to its launched pane and keep the stand-in chat's draft
2026-11-10 00:28:54 +00:00
OrcaWinandOrcaWin 668089d638 test: remove low-value terminal transport and input cases (#40538)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-09 16:21:52 -08:00
Brennan BensonandClaude Opus 5.5 a1734552d4 fix(ci): allow the one-shot home realpath in the main sync-fs baseline (#40543)
#39817 added a cached realpathSync of the home folder in
floating-workspace-directory.ts; the ratchet baseline still allowed 0,
so static analysis fails on every PR merged with current main.

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-09 16:18:26 -08:00
Neil f8ffde3837 chore(ratchet): baseline the cached home realpathSync from #39817 (#40544)
#39817 added one realpathSync.native in floating-workspace-directory.ts
without a baseline entry, so main-sync-fs ratchet fails on main and every
open PR. The call resolves home once and caches it per home path (one-shot,
not per-RPC), which the ratchet allows with reviewer sign-off.
2026-11-10 00:15:21 +00:00