Skip to content

fix(agent): resume goals after settled recovery failures - #6899

Merged
M4n5ter merged 1 commit into
rust-previewfrom
codex/goal-recovery-followup
Nov 14, 2026
Merged

M4n5ter merged 1 commit into
rust-previewfrom
codex/goal-recovery-followup

Conversation

@M4n5ter

@M4n5ter M4n5ter commented Nov 14, 2026

Copy link
Copy Markdown
Member

Summary

A Goal could stay active indefinitely after a model request was interrupted and the original Run recorded a recovery failure. Once the original operations have settled, the Goal starts a new iteration in the same conversation. The failed Run stays in history and is never replayed.

Verification

  • The macOS cold-reopen regression test confirms the original Run fails, only one successor Run is admitted, and the same Goal completes.
  • The Goal budget and scheduled recovery integration tests passed locally, along with formatting for the changed files.

AI use

  • No generative tool made a substantive contribution
  • Generative tooling made a substantive contribution

OpenAI Codex authored and verified the fix and regression test.

Checklist

  • Tests cover the change and fail without it
  • Format, typecheck and the affected suites pass locally

Does this PR entail a change in behavior?

  • Yes — described under Summary above
  • No

@M4n5ter
M4n5ter merged commit 5e631dd into rust-preview Nov 14, 2026
6 of 8 checks passed
@M4n5ter
M4n5ter deleted the codex/goal-recovery-followup branch November 14, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant