Commit Graph
126 Commits
Author SHA1 Message Date
Cursor AgentandJulius Marminge c777aae03d Cover mirror bootstrap replay against real legacy state
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 12:47:11 +00:00
Cursor AgentandJulius Marminge 7ee0cce572 Restore strict livestore as default after startup hydration hardening
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 12:43:05 +00:00
Cursor AgentandJulius Marminge 9a6575655c Propagate mirror replay success status during bootstrap
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 12:41:40 +00:00
Cursor AgentandJulius Marminge 07f4dbf480 Await mirror replay during startup hydration
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 12:39:17 +00:00
Cursor AgentandJulius Marminge 2dd87351ac Bootstrap LiveStore mirror from persisted catch-up history
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 12:37:22 +00:00
Cursor AgentandJulius Marminge 93686a84b3 Keep read-pilot as default pending durable mirror bootstrap
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 12:33:31 +00:00
Cursor AgentandJulius Marminge 842435e622 Promote strict livestore mode to default sync engine
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 12:30:37 +00:00
Cursor AgentandJulius Marminge e7d37a3643 Add enforce-liveStore startup guard for sync engine mode
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 12:28:32 +00:00
Cursor AgentandJulius Marminge 8b8ce91e37 Infer sync engine mode from injected state engine
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 12:26:22 +00:00
Cursor AgentandJulius Marminge bba3afe33b Add read-pilot route metrics and fallback counters
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 12:23:58 +00:00
Cursor AgentandJulius Marminge 3b20cc7691 Add livestore strict mode and wire mode mapping across stack
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 12:19:10 +00:00
Cursor AgentandJulius Marminge 24dbfa58c9 Add optional shadow catchup and listMessages parity checks
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 12:03:22 +00:00
Cursor AgentandJulius Marminge 75cdd78edb Add websocket coverage for strict read-pilot error mode
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 11:47:34 +00:00
Cursor AgentandJulius Marminge c0c5c8f51a Add strict read-pilot mode without delegate fallback
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 11:40:06 +00:00
Cursor AgentandJulius Marminge 08d4dcbbb8 Add optional shadow bootstrap parity diagnostics
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 11:24:33 +00:00
Cursor AgentandJulius Marminge 6aa5a598b4 Expose sync engine mode in server config and web source selection
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 11:14:21 +00:00
Cursor AgentandJulius Marminge 8a6676cbfb Add optional listMessages parity diagnostics in read pilot
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 11:03:10 +00:00
Cursor AgentandJulius Marminge 09f93f37e9 Extract and test sync engine mode resolution
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:58:04 +00:00
Cursor AgentandJulius Marminge b38812716d Default sync engine mode to read-pilot with fallback
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:52:41 +00:00
Cursor AgentandJulius Marminge 6513750a9c Add websocket coverage for read-pilot fallback to legacy
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:44:43 +00:00
Cursor AgentandJulius Marminge 5001314519 Add websocket integration coverage for read-pilot ordering
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:40:06 +00:00
Cursor AgentandJulius Marminge 7a9b733368 Add optional catch-up parity diagnostics for read pilot
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:33:55 +00:00
Cursor AgentandJulius Marminge cbfe1e3a57 Add source-labelled read-pilot logging and recovery test
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:26:06 +00:00
Cursor AgentandJulius Marminge fc14fdb569 Expand shadow parity coverage in persistence and ws tests
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:19:38 +00:00
Cursor AgentandJulius Marminge 89e2c73f1f Add shadow engine parity integration coverage
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:05:46 +00:00
Cursor AgentandJulius Marminge 38ca95a787 Add bootstrap parity diagnostics for LiveStore read pilot
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 10:02:40 +00:00
Cursor AgentandJulius Marminge 40bb6cb7a7 Add LiveStore read-pilot sync engine with delegate fallback
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 09:54:30 +00:00
Cursor AgentandJulius Marminge dae7ab8359 Project mirrored state events into LiveStore parity snapshot
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 09:49:15 +00:00
Cursor AgentandJulius Marminge fa39092505 Cover message events in shadow sync engine parity test
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 09:43:38 +00:00
Cursor AgentandJulius Marminge ccacb4bcab Add wsServer coverage for injected state sync engine
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 09:42:34 +00:00
Cursor AgentandJulius Marminge 8d0af1f9de Add snapshot parity utility for LiveStore migration
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 09:32:02 +00:00
Cursor AgentandJulius Marminge 262f57d84a Introduce state sync engine seam and LiveStore shadow mirror
Co-authored-by: Julius Marminge <[email protected]>
2026-02-20 09:29:27 +00:00
Julius Marminge e81c2acb78 Harden state persistence and tighten WS thread update API
- Fix persistence edge cases around pagination offsets, assistant message ordering, and checkpoint merge semantics
- Make state DB and sqlite adapter failures safer with better cleanup and runtime errors
- Treat `threads.update` as unsupported, keep `threads.updateTerminalState` canonical, and avoid failing revert RPCs on persistence-write errors
- Add focused server/web/contracts tests for the new failure and compatibility paths
2026-02-20 00:43:30 -08:00
Julius Marminge fda3073e0c Remove legacy renderer state import path and client schema
- drop `stateImportLegacyRendererState` handling from server, WS API, and contracts
- remove legacy renderer import tests and old web persistence schema/tests
- rely on current shared state/bootstrap flow instead of one-time legacy import
2026-02-20 00:22:30 -08:00
Julius Marminge 27bd9192ad clean 2026-02-19 21:55:12 -08:00
Julius Marminge 25dbfa7bc7 debug 2026-02-19 21:54:23 -08:00
Julius Marminge 78b7070042 Improve persistence and runtime SQLite compatibility
- add a SQLite adapter that works in both Bun and Node/Electron, with tests
- persist and backfill `assistantMessageId` on turn summaries to keep thread diffs linked
- prevent web state regressions by preserving turn summaries and deduplicating terminal/settings sync updates
2026-02-19 20:49:27 -08:00
Julius Marminge 1332c488ad Add desktop DMG packaging and persisted app settings
- package desktop builds with branded icons, custom app identity, and `t3://app` production loading
- add app settings get/update RPC flow with persistence and tests for Codex binary/home paths
- wire web/desktop settings UX and menu action hooks to open Settings
2026-02-19 18:01:51 -08:00
Julius Marminge 384878a3f1 Move app state persistence to centralized SQLite service
- Add server-side `PersistenceService` backed by SQLite with migrations and tests
- Introduce shared state contracts/events and wire WebSocket bootstrap/catch-up flows
- Migrate project/thread/message persistence from renderer-local state to server-managed state
- Store turn diff summaries from checkpoint diffs for faster thread metadata rendering
2026-02-19 16:13:48 -08:00
Theo Browne 2c9121553e restore streaming notifications from codex app server 2026-02-19 04:07:33 -08:00
Theo Browne 48bf123d0c prod builds 2026-02-19 04:04:04 -08:00
Theo Browne f8883d0495 settings page 2026-02-19 02:42:24 -08:00
Julius Marminge 79382b272c Emit checkpoint captured events after turn checkpointing
- emit `checkpoint/captured` from `ProviderManager` after checkpoint init/capture
- add backend test coverage for the new checkpoint-captured notification flow
- refresh provider queries on `checkpoint/captured` and only re-derive diffs on `turn/completed`
2026-02-19 00:35:32 -08:00
Julius Marminge 58a8d653a8 Force-remove dirty git worktrees during orphan cleanup
- add optional `force` to remove-worktree contract and server git args
- pass `force: true` from sidebar orphaned worktree cleanup flow
- add integration test covering dirty worktree removal behavior
2026-02-19 00:14:39 -08:00
Julius Marminge 7de054fa49 Surface worktree removal failures after thread deletion
- wrap `git worktree remove` errors with command and cwd context
- add server test covering failed worktree removal messaging
- show an error toast and log details when orphaned worktree cleanup fails
2026-02-18 22:09:13 -08:00
Cursor Agent bb9371d3c9 Fix CWD override semantics and greedy regex in diff path parsing
- Restore null CWD in sessionOverrides for thread/start and thread/resume
  so the Codex app server can distinguish 'no override' from an explicit
  path (e.g., to reuse a resumed thread's original CWD).
- Use backreference in diff --git fallback regex to correctly parse paths
  containing ' b/' (e.g., binary diffs without +++ b/ lines).
- Add test exercising the git header fallback for binary diffs with ' b/'
  in the path.

Applied via @cursor push command
2026-02-18 21:59:17 -08:00
Julius Marminge b441875731 Fix latest PR review findings
- avoid git reset when repository has no HEAD\n- use React Query isLoading for checkpoint diff spinner\n- remove unreachable provider manager guard\n- add no-HEAD restore regression test\n\nCo-authored-by: codex <[email protected]>
2026-02-18 21:59:17 -08:00
Julius Marmingeandcodex 8e744269a2 Address latest PR review comments
Co-authored-by: codex <[email protected]>
2026-02-18 21:59:17 -08:00
Julius Marmingeandcodex c90e245038 Address PR review feedback for checkpoint and diff flows
Co-authored-by: codex <[email protected]>
2026-02-18 21:59:17 -08:00
Julius Marminge 3afbf93d5e Use React Query for checkpoint diff loading and caching
- add shared provider checkpoint diff query options and keys
- refactor `ChatView` and `DiffPanel` to fetch diffs via React Query
- persist selected-turn checkpoint diffs back into thread state for reuse
2026-02-18 21:59:17 -08:00