Skip to content

Add failed turn resume to AHP - #371

Draft
roblourens wants to merge 3 commits into
mainfrom
roblou/agents/resume-failed-turns
Draft

Add failed turn resume to AHP#371
roblourens wants to merge 3 commits into
mainfrom
roblou/agents/resume-failed-turns

Conversation

@roblourens

Copy link
Copy Markdown
Member

Summary

  • add a capability-gated chat/turnResumed action for continuing the latest resumable failed turn without another user message
  • advertise support through AgentCapabilities.resumeTurn and mark eligible failures through ErrorInfo.resumable
  • preserve the original turn identity, response parts, usage, and start time when reopening the turn
  • keep the TypeScript, Go, Kotlin, Rust, and Swift reducer implementations aligned through shared fixtures

Validation

  • npm test
  • go test ./...
  • cargo test --workspace
  • swift test
  • Kotlin tests were not run locally because no JDK is installed

(Written by Copilot)

roblourens and others added 3 commits July 29, 2026 17:38
Add a capability-gated action that reopens the most recent resumable failed
turn without adding another message. Preserve the original turn identity,
response, and usage while allowing providers to continue processing.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep the Go, Kotlin, Rust, and Swift reducers aligned with the canonical TypeScript reducer and shared fixtures.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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