Commit Graph
1000 Commits
Author SHA1 Message Date
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
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
Julius Marmingeandcodex 9fea543c3b fix(claude): preserve explicit model options
Co-authored-by: codex <[email protected]>
2026-07-28 14:24:40 +02:00
Julius Marmingeandcodex c03c49f265 fix(server): isolate deterministic attachment ids
Co-authored-by: codex <[email protected]>
2026-07-28 14:24:33 +02:00
Julius Marmingeandcodex d09ff5cdf6 fix(testkit): harden provider replay recording
Co-authored-by: codex <[email protected]>
2026-07-28 14:24:24 +02:00
Julius Marmingeandcodex d216c16f98 fix(acp): enforce task and permission invariants
Co-authored-by: codex <[email protected]>
2026-07-28 14:24:10 +02:00
Julius Marmingeandcodex 97b18b3129 fix(orchestration): preserve imported conversation state
Co-authored-by: codex <[email protected]>
2026-07-28 14:23:54 +02:00
Julius Marmingeandcodex e6796a7db6 fix(checkpoints): preserve valid run history
Co-authored-by: codex <[email protected]>
2026-07-28 14:12:25 +02:00
Julius Marmingeandcodex f117a4aa43 fix(acp): discover final teardown descendants
Co-authored-by: codex <[email protected]>
2026-07-28 13:50:41 +02:00
Julius Marmingeandcodex 23cdb59028 fix(cursor): log close attempts before execution
Co-authored-by: codex <[email protected]>
2026-07-28 13:50:38 +02:00
Julius Marmingeandcodex dbfe0652c2 fix(orchestration): cancel queued work on archive
Co-authored-by: codex <[email protected]>
2026-07-28 13:08:45 +02:00
Julius Marmingeandcodex f61653209a fix(orchestration): handle checkpoint-wait runs
Allow merge-back from provider-finished runs awaiting checkpoint capture while keeping waiting runs visible but non-interruptible in mobile.

Co-authored-by: codex <[email protected]>
2026-07-28 12:53:42 +02:00
Julius Marmingeandcodex 32036d2585 fix(acp): make xai cancellation reliable
Cancel pending prompt completions without restarting ACP, and keep text-only monitor acknowledgements tracked as background work.

Co-authored-by: codex <[email protected]>
2026-07-28 12:53:33 +02:00
Julius Marmingeandcodex d817ccdb3a fix(orchestration): preserve legacy schedule compatibility
Enforce the one-minute floor only on writes, clamp legacy execution intervals, and keep queued work protected from archive while reusing shared active-run derivation.

Co-authored-by: codex <[email protected]>
2026-07-28 12:23:17 +02:00
Julius Marmingeandcodex e56b1c3dde fix(mobile): preserve active thread state
Keep executing runs visible when newer work is queued, expose provider errors in compact shells, and preserve mobile creation metadata for fork and merge operations.

Co-authored-by: codex <[email protected]>
2026-07-28 12:15:53 +02:00
Julius Marmingeandcodex 062f2753a3 fix(orchestration): harden scheduled task startup
Reject scheduled task intervals below one minute and tear down the effect worker when awareness relay startup fails.

Co-authored-by: codex <[email protected]>
2026-07-28 11:34:04 +02:00
Julius Marmingeandcodex fe1c7a7549 Merge latest origin/main into orchestrator v2
Resolve the orchestrator-v2 integration conflicts while preserving the latest MCP liveness, source-control writer, editor discovery, and V2 client behavior.

Co-authored-by: codex <[email protected]>
2026-07-28 10:57:14 +02:00
Julius Marmingeandcodex 2ea48ae749 fix(orchestrator): schedule effects from durable deadlines (#4656)
Co-authored-by: codex <[email protected]>
2026-07-28 10:30:57 +02:00
t3-code[bot] 831eb66fee chore(release): prepare v0.0.29 2026-07-27 22:37:18 +00:00
10bca3f44e feat: add configurable source control writing settings (#4204)
Co-authored-by: Claude <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
Co-authored-by: codex <[email protected]>
2026-07-27 22:02:15 +02:00
maria 6e3b73884b fix(server): bound editor discovery during config loading (#4291) 2026-07-27 21:18:55 +02:00
Julius Marmingeandcodex 3777565910 feat: migrate v1 state into orchestrator v2 (#4400)
Co-authored-by: codex <[email protected]>
2026-07-27 21:18:02 +02:00
Julius Marminge 0e19c103ef Keep MCP credentials alive across provider turns (#4659) 2026-07-27 19:57:22 +02:00
Julius Marminge d342dc3d98 Merge origin/main into t3code/codex-turn-mapping
Co-authored-by: codex <[email protected]>

# Conflicts:
#	apps/web/src/components/BranchToolbarEnvModeSelector.tsx
#	apps/web/src/components/BranchToolbarEnvironmentSelector.tsx
2026-07-27 18:54:42 +02:00
Mike Olsonandcodex 3b6251f2b5 fix(claude): Settle positive task-notification results
A Claude V2 turn whose terminal SDK result carried origin.kind
"task-notification" had that result discarded, so the run stayed running
forever and every run queued behind it stalled. The drop is now limited to
results reporting zero model turns, which is what the stale debris the guard
was written for actually looks like.

ClaudeAdapterV2 dropped any task-notification-origin result unless the turn was
an agent/provider continuation. An app-owned delegated-task wake run is
agent/server, so its terminal results were discarded and finalizeActiveTurn
never ran. Any turn whose final result carries that origin hangs, not just
wakes. Observed in production against a real session: three terminal success
results with num_turns 154, 60 and 7 were all dropped, the session went silent
for 8h27m, and five queued runs behind it never dispatched.

The guard could not simply be deleted. After interrupt recovery a stale stopped
task_notification and its origin result interleave ahead of the real root
assistant stream and must not terminalize the turn or leak their text.
Zero-turn results are still dropped, so that path is unchanged: this drops
strictly fewer results than before, so no previously working path can regress.

num_turns separates the two cases cleanly. The existing stale fixture sets
numTurns 0 explicitly, makeResultFrame defaults to 1, and the production
results all carried positive turns. The predicate is num_turns === 0 rather
than < 1 or a truthiness check on purpose: num_turns is required on both result
variants in 0.3.205, but if an older emitter ever omitted it, undefined === 0
is false, so the result is accepted rather than dropped. That fails toward
terminalizing rather than toward the hang class this fixes.

Both drops and accepts are logged with num_turns, stop_reason, terminal_reason,
result uuid, session id and message provenance. The drop is debug level because
interrupt recovery produces it routinely; the accept is info, because a
positive-turn task-notification result settling a non-continuation turn is both
the hang fix working and the exact shape a stale positive-turn result would
take.

Co-authored-by: codex <[email protected]>
2026-07-27 18:36:31 +02:00