Repository navigation
fix(agents): resume private completion turns after restart - #184145
Merged
steipete merged 1 commit intoOct 26, 2026
Merged
Conversation
Keep terminal receipt reconciliation while allowing the original private recovery owner to execute its pending input. Fix the self-wait introduced by #184041 and await batch settlement deterministically in the Gateway regression harness.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
steipete
marked this pull request as ready for review
October 26, 2026 03:14
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
steipete
deleted the
steipete/perf-micro-subagent-settle-replay-test-20260919
branch
October 26, 2026 03:39
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 26, 2026
…184145) Keep terminal receipt reconciliation while allowing the original private recovery owner to execute its pending input. Fix the self-wait introduced by openclaw#184041 and await batch settlement deterministically in the Gateway regression harness.
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.
What Problem This Solves
Fixes private subagent completion turns remaining stuck after a Gateway restart. The original input retained its restart-cancellation receipt, but the resumed command never ran.
User Impact
An interrupted private completion resumes under its existing owner and records its successful processing receipt. Completed private results still reconcile without replay; public recovery, replaced-parent rejection, and source authority checks remain intact.
Why This Change Was Made
Regression introduced by #184041 (
e356196d560488471261da982530396e382cb21d): expanding terminal-receipt reconciliation to private completions also classified their own pending recovery claim as another owner's queued work. That prevented the private registry from executing the input that would finish the claim.Both receipt checks now consult the existing private recovery owner before treating a pending claim as competing work. Production LOC: +24 net (30 added, 6 removed). The shared check is needed at both receipt lookups so original private ownership is distinguished from competing recovery without removing terminal-result reconciliation. No new state, export, cache, or configuration is added.
The Gateway harness now waits for committed settlement of both batch members through registry publication, then retains its exact receipt, command-count, duplicate-replay, and authority assertions. It no longer polls or races batch settlement.
Evidence
464e3de2d953passes; its immediate successore356196d5604fails withcancelledinstead ofcompleted. Current-main reproduction also fails (22 sibling cases pass).pnpm tsgo:corepassed.The Gateway proof uses isolated synthetic state and mocked agent execution. This is a correctness repair, with no performance claim or live service changes.