Add failed turn resume to AHP - #371
Draft
Rob Lourens (roblourens) wants to merge 5 commits into
Draft
Conversation
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>
Connor Peet (connor4312)
previously approved these changes
Jul 31, 2026
(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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
chat/turnResumedfor continuing the latest eligible failed turn without another user messageTurnthroughchat/error { resumable: true }, keeping the concept scoped to chat turnsValidation
npm testgo test ./...cargo test --workspaceswift test(Written by Copilot)