Commit Graph
2716 Commits
Author SHA1 Message Date
Julius MarmingeandClaude Fable 5 bb23ddfa90 chore: resolve lint warnings across v2 code
Hoist inline Schema compiles to module scope, drop unused
imports/vars, stabilize react-markdown component identities via a
module-scope factory, remove useless spreads, and use data-derived
keys for release-note bullets. No behavior changes.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-14 11:23:32 +02:00
Julius MarmingeandClaude Fable 5 94b7d5f7e1 test(server): cover v2 thread title regeneration
Ports the deleted v1 ProviderCommandReactor title coverage onto the v2
service: marker arming/clearing via thread.metadata.update, superseded
requestId no-ops, digest-driven regeneration, the "New thread" and
unchanged-title fallbacks, generation failure, and missing initial
messages, plus unit tests for formatThreadTitleContext.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-14 11:23:32 +02:00
Julius MarmingeandClaude Fable 5 4ff868a3bb fix(web): restore compact header sizing for project script controls
The thread-panel mapping change replaced the compact className on the
Run and Add controls with the isPanel conditional and dropped the
non-panel icon-compact classes that the responsive test asserts.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-14 11:23:32 +02:00
Julius MarmingeandClaude Fable 5 467ff768d2 fix: send mcp-protocol-version header in worktree registration test
Required for follow-up requests by the 2025-06-18 MCP HTTP transport
that effect beta.103 enforces.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-14 11:23:32 +02:00
Julius MarmingeandClaude Fable 5 f4e9b3d5e4 fix: adopt effect beta.103 APIs in rebased v2 code
- Schema.UnknownFromJsonString -> Schema.fromJsonString(Schema.Unknown)
- SchemaIssue.InvalidValue single-argument form in checkpointDiff
- McpServerClient requires protocolVersion

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-14 11:23:32 +02:00
maria 4171e77b74 feat(chat): refine V2 conversation UI (#5307) 2026-08-14 11:23:32 +02:00
Julius MarmingeandClaude Fable 5 429a22ac6e fix(server): restore worktree branch naming in the v2 orchestrator (#5309)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-14 11:23:31 +02:00
Mike Olson d8257507a8 fix(orchestrator): Order thread lineage by creation time (#5310) 2026-08-14 11:23:31 +02:00
Yusuf Rawat f682f0a6e6 fix(orchestration-v2): restore generated thread titles (#5176) 2026-08-14 11:23:31 +02:00
maria-rcks 1ad2d3b2a4 fix: reconcile rebase with latest main 2026-08-14 11:23:31 +02:00
Julius Marminge 1e3732d1c6 fix(web): keep Git progress title anchored
- Prevent the title row from shifting when output is revealed
- Preserve panel and compact button sizing
2026-08-14 11:23:31 +02:00
Julius Marminge 9f23e4888c fix(web): remove elevated thread details panel styling 2026-08-14 11:23:31 +02:00
Julius MarmingeandClaude Fable 5 39929faaee refactor(orchestration): split thread-not-sendable into typed errors
Effect service conventions: ThreadManagementThreadNotSendableError
carried an Archived/NoSteerableRun reason union and switched on
reason._tag inside the message getter. Modelled as two error classes
(ThreadManagementThreadArchivedError, ThreadManagementNoSteerableRunError);
both still map to the MCP thread_not_sendable failure code.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-14 11:23:31 +02:00
Julius MarmingeandClaude Fable 5 e6b3d3d3ed fix(orchestration): promoted queued messages keep the queued_turn intent
The turn item materialized when a queued run is promoted was emitted
with inputIntent "turn_start", but the deterministic replay driver (and
the recorded queued_turn fixtures) expect "queued_turn" — the mismatch
stalled replay before the queued run could start, leaving run 1 waiting
and run 2 queued forever in all five queued_turn fixtures.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-14 11:23:31 +02:00
Yusuf Rawat 82616a1b7a fix(orchestration): thread visits no longer create activity loops (#5038) 2026-08-14 11:23:31 +02:00
Julius MarmingeandClaude Fable 5 096bbcfc22 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-08-14 11:23:31 +02:00
Julius MarmingeandClaude Fable 5 d68948d67c perf(web): keep timeline minimap animations off the main thread
A renderer performance trace showed the minimap strips as a standing
source of main-thread frame work: each strip transitioned
background-color (paint) and width (layout), and both fire constantly —
scrolling or streaming flips a band of in-view states at once, and the
hover fisheye animates several widths at a time — so any interaction
kept a 60fps style/layout/paint pipeline running.

The strip now animates only compositor-friendly properties: width tiers
are scale-x on a fixed-width box, and the in-view highlight is a bright
overlay faded with opacity. The scroll handler also skips no-op
data-in-view attribute writes, which previously re-dirtied style state
for every strip on every scroll tick.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-14 11:23:31 +02:00
Julius MarmingeandClaude Fable 5 54ceb2a111 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-08-14 11:23:31 +02:00
Julius Marminge 86e57c3a7c fix(chat): prevent stale timeline scroll and rerenders
- Disable LegendList end-maintenance that could snap after user scrolling
- Cancel stale imperative scrolls and release settled turn anchors
- Stabilize handoff run data to avoid per-event timeline rerenders
2026-08-14 11:23:30 +02:00
Julius MarmingeandClaude Fable 5 38f272829c perf(orchestration): per-thread shell deltas, visit throttling, event compaction (#4971)
Co-authored-by: Claude Fable 5 <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex ec4c3f0171 [codex] feat(web): show git progress in the commit button (#4963)
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marminge 4124948442 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-08-14 11:23:30 +02:00
Julius Marminge 918e4155dd feat(server): surface legacy thread migration progress
- Publish migration lifecycle events during startup
- Show a web toast while legacy threads are restored
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex b63287a18b fix: close failed provider adapter scopes
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex a7db564861 fix: preserve thread management failure semantics
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex 28142a7862 fix: address latest orchestration review findings
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex 761042383f fix: preserve orchestration task identity
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex 0bba720192 fix: address orchestration review findings
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex b1ce962b44 fix(mobile): label queued message intent
Distinguish queued and steering user messages in the mobile thread feed, matching the web timeline.

Co-authored-by: codex <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex c25c1be21f 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-08-14 11:23:30 +02:00
Julius Marmingeandcodex 4414baf371 fix(orchestrator): preserve migrated and nested history
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex 48346a72ab fix(server): preserve project mutation client errors
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex 477d4c46f0 fix(orchestrator): validate rollback and search links
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex 371b40e014 fix(orchestrator): close cancellation edge cases
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex 5ad2e8af28 fix(orchestrator): decode direct Claude result blocks
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex c6079f6b5d fix(orchestrator): validate replay edge cases
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:30 +02:00
Julius Marmingeandcodex b2d23ccabb fix(orchestrator): preserve terminal effect outcomes
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex 8db6d9d7b3 fix(orchestrator): preserve retryable effect failures
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex ccb3e269ec fix(orchestrator): avoid replaying settled effects
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex 5e711d3b10 fix(worktrees): make handoff rollback atomic
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex 4c999d746c fix(orchestrator): release stranded effect claims
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex bbfed6c19e fix(orchestrator): execute resolved runtime responses
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex ee6ff5574d fix(orchestrator): harden provider edge cases
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex 2cd862d392 fix(orchestrator): handle fresh review edge cases
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex ba8b661995 fix(orchestrator): address late review findings
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex 0027aa1081 fix(mobile): gate thread controls on live runs
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex 4626a059d9 fix(checkpoints): retain thread-start baseline after failed runs
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex c4f3a78407 fix(client): preserve live thread relationships
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex c90070acc9 fix(web): enforce secure provider field defaults
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00
Julius Marmingeandcodex 5134929999 fix(claude): preserve explicit model options
Co-authored-by: codex <[email protected]>
2026-08-14 11:23:29 +02:00