Skip to content

Add failed turn resume to AHP - #371

Draft
Rob Lourens (roblourens) wants to merge 5 commits into
mainfrom
roblou/agents/resume-failed-turns
Draft

Add failed turn resume to AHP#371
Rob Lourens (roblourens) wants to merge 5 commits into
mainfrom
roblou/agents/resume-failed-turns

Conversation

@roblourens

@roblourens Rob Lourens (roblourens) commented Jul 30, 2026

Copy link
Copy Markdown
Member

Summary

  • add chat/turnResumed for continuing the latest eligible failed turn without another user message
  • mark eligibility directly on Turn through chat/error { resumable: true }, keeping the concept scoped to chat turns
  • reopen the same durable turn while preserving its identity, response parts, usage, and original start time
  • keep TypeScript, Go, Kotlin, Rust, and Swift reducers aligned through shared fixtures

Validation

  • npm test
  • go test ./...
  • cargo test --workspace
  • swift test
  • Kotlin is covered by the shared reducer fixtures and CI; no local JDK is installed

(Written by Copilot)

Rob Lourens (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>
(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep failed-turn resume state on chat turns instead of generic errors, remove the redundant static agent capability, and register the new action for AHP 0.8.

(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.

2 participants