Commit Graph
1023 Commits
Author SHA1 Message Date
Julius MarmingeandClaude Fable 5 5887de1521 feat(orchestration): port thread title regeneration to the v2 runtime
Follow-ups from the main merge:

- Migration numbering: main's 035_ProjectionThreadTitleRegeneration is
  released and keeps its id; this branch's unreleased v2 migrations shift
  to 036-044 instead (a released migration can never be renumbered).
- thread.metadata.update accepts regenerateTitle: true arms an in-flight
  titleRegeneration marker on the thread payload (requestId + startedAt),
  a landing title or explicit false clears it. The marker projects onto
  thread shells and through the client-runtime shell model, so the
  sidebar's Regenerating state works unchanged.
- New ThreadTitleRegenerationService worker reacts to armed markers on
  the live domain-event stream (so ws, MCP, and mobile dispatches all
  behave the same): builds a newest-first conversation digest from the
  v2 projection (8k-char budget, retained attachments — ported from the
  v1 reactor), generates via TextGeneration, and lands the title with a
  follow-up metadata update. Failures clear the marker and log.
- The server advertises threadTitleRegeneration again, and the client
  updateThreadMetadata dispatches regenerateTitle-only updates.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-30 17:57:43 +02:00
Julius MarmingeandClaude Fable 5 3f8a05150b merge: update PR 2829 with latest main
27 commits from main, including the ⌘P file picker / ⇧⌘F content search
(#4855), thread content search (#4959), sidebar title regeneration
(#4810), image-paste compression (#4967), and the docs restructure
(#4807). Notable resolutions beyond keep-both:

- Thread content search is ported to the v2 surface: searchThreads joins
  ORCHESTRATION_V2_WS_METHODS/rpc/auth scopes, and the SQL now UNIONs
  orchestration_v2_projection_messages so current threads are searchable,
  not just legacy-projected ones.
- Title regeneration's server half lived in the v1 ProviderCommandReactor
  this branch deletes, so the capability is deliberately not advertised:
  clients hide the action, the contract/UI code stays intact, and the
  input field is accepted as a documented no-op.
  TODO(orchestration-v2): port regeneration to the v2 runtime.
- Main's 035_ProjectionThreadTitleRegeneration migration collided with
  this branch's 035-043 range; renumbered to 044.
- Mobile activity grouping keeps this branch's runId/prominence semantics
  while adopting main's O(1) trailing-group optimization (prominence
  tracked in a flag instead of a per-append scan).
- v1-only startup tests from main (heartbeat/auto-bootstrap against the
  deleted reactor-era services) are dropped; their v2 equivalents already
  cover the ordered startup phases.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-30 17:29:43 +02:00
abc409c2d4 Add project file picker (⌘P) and project content search (⇧⌘F) (#4855)
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-07-30 16:39:15 +02:00
Theo BrowneandClaude Fable 5 1877237c7a fix(connect): reboots no longer strand the relay link, 403s now say why (#4988)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-30 07:31:53 -07:00
Julius MarmingeandClaude Fable 5 e58a5cef69 fix(relay): stop replaying the whole event store into the awareness relay
Live profiling of the built app (debugger pause inside the hot sqlite
call) showed AgentAwarenessRelay.publishThread grinding at ~8 full shell
snapshots per second after boot. Two causes:

- streamDomainEvents was eventSink.stream() with no cursor, which
  replays every stored event from genesis before going live — so each
  boot fed the relay the entire event history as fresh activity, and it
  queued a publish per activity-relevant event for hours. It now tails
  from the current high-water mark; the relay's startup snapshot publish
  already covers initial state, and the sink subscribes before reading
  the cursor so no live event is lost.
- publishThreadUnsafe materialized the full shell snapshot to find one
  thread; it now uses getThreadShell (archived/deleted map to the
  tombstone path exactly as the active-list lookup did).

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-30 16:04:54 +02:00
Julius MarmingeandClaude Fable 5 a22a61d3b7 perf(orchestration): per-thread shell deltas, visit throttling, event compaction (#4971)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-30 14:51:23 +02:00
Theo Browne 4b71a2ae2f feat(search): find threads by conversation content (#4959) 2026-07-30 05:30:11 -07:00
Theo Browne 197d348711 fix(web): show server update progress through reconnect (#4903) 2026-07-30 04:45:04 -07:00
Theo Browne 5c9358acaa feat(web): regenerate thread titles from sidebar (#4810) 2026-07-30 04:39:38 -07:00
Theo BrowneandClaude Fable 5 6ab2f16809 fix(connect): suggest a serve command that matches how you ran connect (#4897)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-30 01:46:10 -07:00
Julius Marminge a73a9ffc6d feat(orchestration): track provider retries and thread visits
- Project retry progress and recovery for Codex and Claude turns
- Sync thread completion markers through server-side visit timestamps
2026-07-30 01:25:25 +02:00
t3-code[bot] a8e05cbb92 chore(release): prepare v0.0.31 2026-07-29 20:56:43 +00:00
Julius Marminge 1490bf95eb feat(server): surface legacy thread migration progress
- Publish migration lifecycle events during startup
- Show a web toast while legacy threads are restored
2026-07-29 21:47:27 +02:00
Julius Marmingeandcodex 2f53c265df fix: close failed provider adapter scopes
Co-authored-by: codex <[email protected]>
2026-07-29 20:43:57 +02:00
Julius Marmingeandcodex 20e55d236f fix: preserve thread management failure semantics
Co-authored-by: codex <[email protected]>
2026-07-29 20:06:43 +02:00
Julius Marmingeandcodex 7a57f5d225 fix: address latest orchestration review findings
Co-authored-by: codex <[email protected]>
2026-07-29 19:51:38 +02:00
Julius Marmingeandcodex a66a0366b8 fix: preserve orchestration task identity
Co-authored-by: codex <[email protected]>
2026-07-29 19:22:31 +02:00
Julius Marmingeandcodex aec85c546e fix: address orchestration review findings
Co-authored-by: codex <[email protected]>
2026-07-29 18:58:35 +02:00
Julius Marmingeandcodex 23f0d90207 merge: update PR 2829 with latest main
Co-authored-by: codex <[email protected]>
2026-07-29 18:45:20 +02:00
ohbentos 85a8986870 fix(git): disable external diff for review diff previews (#4854) 2026-07-29 16:27:00 +00:00
Utkarsh Patil faea70aeba perf(server): merge separate staged/unstaged numstat calls into single diff HEAD --numstat (#4843) 2026-07-29 18:24:11 +02:00
Julius Marmingeandcodex 6643f4eb9c merge: update PR 2829 with latest main
Co-authored-by: codex <[email protected]>
2026-07-29 18:21:34 +02:00
Julius Marmingeandcodex 6842da015f fix: address orchestration review findings
Use shared cache schemas, close the OpenCode abort race, and assert fixture collection sizes correctly.

Co-authored-by: codex <[email protected]>
2026-07-29 18:21:07 +02:00
Wout Stiens d19039aeef fix(server): detect repositories after initialization (#4848) 2026-07-29 11:48:57 -04:00
Julius Marmingeandcodex 5065ad0552 merge: update PR 2829 with latest main
Integrate the native resource diagnostics rewrite with orchestration V2, including shared provider event logging, RPC authorization, and background-policy wiring.

Co-authored-by: codex <[email protected]>
2026-07-29 14:55:11 +02:00
Julius Marmingeandcodex 49c0d96edf Reduce idle work and disk churn with native resource diagnostics (#2679)
Co-authored-by: codex <[email protected]>
2026-07-29 14:42:01 +02:00
Julius Marmingeandcodex b507a40597 fix(orchestrator): preserve migrated and nested history
Co-authored-by: codex <[email protected]>
2026-07-29 06:52:01 +02:00
Julius Marmingeandcodex 34e6f373ee fix(server): preserve project mutation client errors
Co-authored-by: codex <[email protected]>
2026-07-29 06:23:43 +02:00
Julius Marmingeandcodex 2de88e62e0 fix(orchestrator): validate rollback and search links
Co-authored-by: codex <[email protected]>
2026-07-29 05:55:23 +02:00
Julius Marmingeandcodex c24980567e fix(orchestrator): close cancellation edge cases
Co-authored-by: codex <[email protected]>
2026-07-29 05:24:06 +02:00
Julius Marmingeandcodex 00dc5424e3 fix(orchestrator): decode direct Claude result blocks
Co-authored-by: codex <[email protected]>
2026-07-29 05:18:04 +02:00
Julius Marmingeandcodex f03337a438 fix(orchestrator): validate replay edge cases
Co-authored-by: codex <[email protected]>
2026-07-29 05:06:49 +02:00
Julius Marmingeandcodex 7c75be6a3d fix(orchestrator): preserve terminal effect outcomes
Co-authored-by: codex <[email protected]>
2026-07-29 04:54:05 +02:00
Julius Marmingeandcodex bac4703bb1 fix(orchestrator): preserve retryable effect failures
Co-authored-by: codex <[email protected]>
2026-07-29 04:52:28 +02:00
Julius Marmingeandcodex 5bdb6deef7 fix(orchestrator): avoid replaying settled effects
Co-authored-by: codex <[email protected]>
2026-07-29 04:44:41 +02:00
Julius Marmingeandcodex fa7732a66e fix(worktrees): make handoff rollback atomic
Co-authored-by: codex <[email protected]>
2026-07-29 04:34:28 +02:00
Julius Marmingeandcodex d9d0d41d37 fix(orchestrator): release stranded effect claims
Co-authored-by: codex <[email protected]>
2026-07-29 04:31:00 +02:00
Julius Marmingeandcodex 86ab0942d2 fix(orchestrator): execute resolved runtime responses
Co-authored-by: codex <[email protected]>
2026-07-29 04:13:46 +02:00
Julius Marmingeandcodex 3ff0d8eb47 merge: update PR 2829 with origin/main
Co-authored-by: codex <[email protected]>
2026-07-29 03:48:12 +02:00
Julius Marmingeandcodex cf7c1d43b1 fix(orchestrator): harden provider edge cases
Co-authored-by: codex <[email protected]>
2026-07-29 03:48:05 +02:00
Julius Marmingeandcodex 774cacfce5 fix(orchestrator): handle fresh review edge cases
Co-authored-by: codex <[email protected]>
2026-07-29 03:44:40 +02:00
Julius Marmingeandcodex dbc836d591 fix(orchestrator): address late review findings
Co-authored-by: codex <[email protected]>
2026-07-29 03:38:48 +02:00
t3-code[bot] 694f8d1c6e chore(release): prepare v0.0.30 2026-07-29 01:12:24 +00:00
Julius Marmingeandcodex 1973d75bab fix(checkpoints): retain thread-start baseline after failed runs
Co-authored-by: codex <[email protected]>
2026-07-29 02:34:29 +02:00
Julius Marmingeandcodex 6d43a213d6 Merge latest origin/main into codex-turn-mapping
Co-authored-by: codex <[email protected]>
2026-07-29 02:15:51 +02:00
Julius Marmingeandcodex 8650f05f95 refactor(server): use native HTTP compression streams (#4798)
Co-authored-by: codex <[email protected]>
2026-07-29 00:03:39 +00:00
Theo BrowneandClaude Fable 5 5fcdefd057 perf(server): trim stale context-window rows and drop dead replay RPC (#4791)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-28 15:50:43 -07:00
Julius Marmingeandcodex 38a6e3ce65 Fix Git ref refresh resource storms (#4727)
Co-authored-by: codex <[email protected]>
2026-07-29 00:42:50 +02:00
Theo Browne 8829e2f9b9 perf(server): gzip large thread snapshots (#4788) 2026-07-28 15:17:30 -07:00
Theo BrowneandClaude Fable 5 887dd6e455 perf(server): negotiate permessage-deflate on the websocket (#4705)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-07-28 06:03:03 -07:00