Commit Graph
2537 Commits
Author SHA1 Message Date
Julius Marmingeandcodex 4e1bc6c869 fix: close failed provider adapter scopes
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:48 +02:00
Julius Marmingeandcodex 47dab3dd85 fix: preserve thread management failure semantics
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:48 +02:00
Julius Marmingeandcodex 8074eb0935 fix: address latest orchestration review findings
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:48 +02:00
Julius Marmingeandcodex b6973f3a06 fix: preserve orchestration task identity
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:48 +02:00
Julius Marmingeandcodex 98deaf59a6 fix: address orchestration review findings
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:48 +02:00
Julius Marmingeandcodex 0a75eb7268 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-07 13:26:48 +02:00
Julius Marmingeandcodex ec48d78fa5 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-07 13:26:48 +02:00
Julius Marmingeandcodex 3a4ebebc02 fix(orchestrator): preserve migrated and nested history
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:27 +02:00
Julius Marmingeandcodex 7d52c4a710 fix(server): preserve project mutation client errors
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:27 +02:00
Julius Marmingeandcodex 83c0cc678d fix(orchestrator): validate rollback and search links
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:27 +02:00
Julius Marmingeandcodex 6e87b2f34a fix(orchestrator): close cancellation edge cases
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex baeffa4d31 fix(orchestrator): decode direct Claude result blocks
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex 784b48cede fix(orchestrator): validate replay edge cases
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex aa53767ad0 fix(orchestrator): preserve terminal effect outcomes
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex fe54b7fc28 fix(orchestrator): preserve retryable effect failures
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex 4b6db95d51 fix(orchestrator): avoid replaying settled effects
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex fdac417b87 fix(worktrees): make handoff rollback atomic
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex 558a1cd449 fix(orchestrator): release stranded effect claims
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex d0ec6c2f11 fix(orchestrator): execute resolved runtime responses
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex d4ea2e749b fix(orchestrator): harden provider edge cases
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex b24a11ca81 fix(orchestrator): handle fresh review edge cases
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex 3ae1345509 fix(orchestrator): address late review findings
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex 434c15fd61 fix(mobile): gate thread controls on live runs
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex efd11e901f fix(checkpoints): retain thread-start baseline after failed runs
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex f21425e83e fix(client): preserve live thread relationships
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex cac3bd81e7 fix(web): enforce secure provider field defaults
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex 52c85db93c fix(claude): preserve explicit model options
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:26 +02:00
Julius Marmingeandcodex b6efa7fca1 fix(server): isolate deterministic attachment ids
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:25 +02:00
Julius Marmingeandcodex 70e553eba8 fix(testkit): harden provider replay recording
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:25 +02:00
Julius Marmingeandcodex 5e7d8f634a fix(acp): enforce task and permission invariants
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:25 +02:00
Julius Marmingeandcodex 08f91e7aea fix(orchestration): preserve imported conversation state
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:25 +02:00
Julius Marmingeandcodex b39004e0aa fix(checkpoints): preserve valid run history
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:25 +02:00
Julius Marmingeandcodex 0656612620 fix(acp): discover final teardown descendants
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:25 +02:00
Julius Marmingeandcodex 9fe0c15d18 fix(cursor): log close attempts before execution
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:25 +02:00
Julius Marmingeandcodex 9e286b6ac9 fix(mobile): distinguish queued and waiting archive states
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:25 +02:00
Julius Marmingeandcodex 1e736a710f fix(mobile): allow archiving post-provider work
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:25 +02:00
Julius Marmingeandcodex 3fb4e159bf fix(orchestration): cancel queued work on archive
Co-authored-by: codex <[email protected]>
2026-08-07 13:26:25 +02:00
Julius Marmingeandcodex b00f611f81 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-08-07 13:26:25 +02:00
Julius Marmingeandcodex 9256400b27 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-08-07 13:26:25 +02:00
Julius Marmingeandcodex 2486ebcf95 fix(contracts): reject invalid legacy intervals
Keep positive sub-minute schedules readable without accepting corrupt zero or negative persisted intervals.

Co-authored-by: codex <[email protected]>
2026-08-07 13:26:25 +02:00
Julius Marmingeandcodex 6753f42b8c 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-08-07 13:26:25 +02:00
Julius Marmingeandcodex ea8e5a8ace 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-08-07 13:26:25 +02:00
Julius Marmingeandcodex 62c3748001 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-08-07 13:25:33 +02:00
Julius Marmingeandcodex d948864791 fix(orchestrator): schedule effects from durable deadlines (#4656)
Co-authored-by: codex <[email protected]>
2026-08-07 13:25:33 +02:00
Julius Marmingeandcodex 5e2414fc29 feat: migrate v1 state into orchestrator v2 (#4400)
Co-authored-by: codex <[email protected]>
2026-08-07 13:25:32 +02:00
Julius Marmingeandcodex bbbb174351 chore(orchestrator): refresh checks after main sync
Co-authored-by: codex <[email protected]>
2026-08-07 13:25:16 +02:00
Julius Marmingeandcodex db8ee1e2fd fix(web): restore checked-in project scripts
Co-authored-by: codex <[email protected]>
2026-08-07 13:25:16 +02:00
Yusuf007Randcodex ef344f073e fix: ignore subagents when sorting sidebar projects
Co-authored-by: codex <[email protected]>
2026-08-07 13:25:16 +02:00
Yusuf007Randcodex feec7b1aa9 fix: hide subagent threads from v2 lists
Co-authored-by: codex <[email protected]>
2026-08-07 13:25:16 +02:00
Mike Olsonandcodex f4264b19a0 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-08-07 13:25:16 +02:00