Skip to content

fix(agents): unblock channel turns after repeated gateway restarts - #116728

Merged
steipete merged 1 commit into
mainfrom
codex/fix-recovery-run-ownership-116694
Jul 31, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/fix-recovery-run-ownership-116694

Conversation

@steipete

@steipete steipete commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Closes #116694

What problem this solves

Fixes channel-backed main sessions that stop accepting new Telegram or heartbeat turns after repeated Gateway restarts, even though the resumed recovery run and Gateway remain healthy.

Root cause and fix

Recovery admission indexed lifecycle ownership by (runId, lifecycleGeneration), while restart recovery already treated the run ID as the owner. A resumed run could therefore retain both its old and replacement lifecycle fences; when the current generation completed, its stale same-run fence survived and poisoned every subsequent turn with Session changed while starting work. Retry.

  • Give each recovery run one canonical lifecycle-generation owner and share that normalization with restart recovery marking.
  • Clear legacy same-run fences when the current generation completes, while keeping delayed terminals from older generations fenced away from the replacement owner.
  • Cover admission, persisted recovery state, Gateway lifecycle persistence, restart recovery, and older-generation terminal ordering.

Verification

  • Reproduced both regressions against the previous code: duplicate same-run generations and stale recovery ownership after current-generation completion.
  • 279 focused tests passed across recovery ownership, the SQLite-backed recovery store, Gateway lifecycle persistence, restart recovery, and reply admission.
  • Full changed-code gate passed: production/test typechecks, typed lint, formatting, max-lines ratchet, boundary checks, dead-export scans, and policy guards.
  • Structured autoreview: clean; no actionable findings.
  • Upstream Codex thread/turn ownership verified directly in codex-rs/app-server-protocol/src/protocol/v2/thread.rs:315-325, codex-rs/app-server/src/request_processors/thread_processor.rs:3074-3133, and codex-rs/app-server/src/request_processors/turn_processor.rs:1418-1458.
  • Post-merge protected Telegram validation ran twice against exact landed main commit f1cd165075b60b730c1037732f963ee8eb9a84ed: 15/18 real Telegram scenarios passed in each attempt, including exact reply delivery and post-write recovery. The three failures exactly match earlier unchanged main baseline failures.

User impact

Recovered channel conversations settle cleanly and accept subsequent messages instead of indefinitely retaining or retrying them.

Real Gateway/channel behavior proof

The exact PR head 38d9638da270f382e63010aa45a59f0075c32596 passed the hosted QA Smoke profile against a real ephemeral Gateway and Matrix channel adapter: CI run 30617493014, profile 4/4.

{
  "head": "38d9638da270f382e63010aa45a59f0075c32596",
  "channel": "matrix",
  "gateway": "real ephemeral Gateway",
  "provider": "mock-openai",
  "passed": 3,
  "failed": 0,
  "scenarios": [
    {
      "name": "Matrix room continues after restart recovery",
      "result": "pass",
      "observed": "MATRIX_QA_RESTART_FIRST_3F6AD5C0 -> restart -> MATRIX_QA_RESTART_SECOND_3E1FCF9C -> MATRIX_QA_RESTART_THIRD_20BA425D"
    },
    {
      "name": "Matrix restart replay dedupe",
      "result": "pass",
      "observed": "MATRIX_QA_REPLAY_DEDUPE_61E78FBB -> restart -> MATRIX_QA_REPLAY_DEDUPE_FRESH_CAE198CC"
    },
    {
      "name": "Matrix lane resumes after Gateway restart",
      "result": "pass",
      "observed": "MATRIX_QA_RESTART_BEFORE_CC49D99C -> restart -> MATRIX_QA_RESTART_AFTER_7BFCBF59"
    }
  ]
}

Post-merge real Telegram proof: protected live run 30619452176. Both attempts passed 15 scenarios, including telegram-reply-chain-exact-marker (QA-TELEGRAM-REPLY-CHAIN-OK) and telegram-empty-response-after-write-recovery (TELEGRAM-EMPTY-WRITE-RECOVERED-OK; requests=3 writes=1 continuations=1). The overall batch remains red because the same three unrelated scenarios also failed against earlier main baseline: channel-message-flows, native-command-session-target, and telegram-assistant-transcript-role-boundary.

Optional Mantis Desktop visual recording could not run its requested restart sequence because the burner Telegram user lacks Gateway-restart permission; no product failure was observed. The optional broader parity run independently hit the same unrelated subagent-fanout-synthesis 30-second timeout on both unchanged baseline and candidate; the PR's complete required hosted CI remains green.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime agents Agent runtime and tooling size: M maintainer Maintainer-authored PR labels Jul 31, 2026
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. mantis: telegram-visible-proof Mantis should capture Telegram visible proof. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. labels Jul 31, 2026
@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 31, 2026, 5:13 AM ET / 09:13 UTC.

ClawSweeper review

What this changes

This PR changes main-session restart recovery so each recovery run ID has one current lifecycle owner, clears obsolete same-run fences on completion, and adds regression coverage for recovery persistence, lifecycle projection, restart marking, and channel admission.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

The PR appears to make a coherent, bounded repair for the linked restart-recovery bug and now includes after-fix channel-runtime evidence. It remains open because it carries the protected maintainer label and is behind current main, so a maintainer should refresh the merge result and make the final landing decision rather than closing or auto-routing it.

Priority: P1
Reviewed head: 38d9638da270f382e63010aa45a59f0075c32596
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused state-ownership repair with cross-boundary regression coverage and inspectable channel-runtime output; the remaining work is protected-label review and a current-main refresh, not a demonstrated patch defect.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The PR body supplies exact-head hosted output for three passing real ephemeral-Gateway and Matrix channel restart scenarios, including observed message markers; the repository policy recognizes this type of channel harness proof for the changed path.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR body supplies exact-head hosted output for three passing real ephemeral-Gateway and Matrix channel restart scenarios, including observed message markers; the repository policy recognizes this type of channel harness proof for the changed path.
Evidence reviewed 5 items Linked bug and bounded fix: The PR explicitly addresses the observed condition in which one recovery run ID remained fenced by two lifecycle generations, leaving later channel turns rejected before model execution. The patch centralizes one-owner normalization in recovery state and reuses it in restart marking.
Current-owner settlement preserves delayed-terminal fencing: The lifecycle projection removes every fence for a run when the terminal event belongs to the current lifecycle generation, while an older-generation terminal removes only its matching fence. This matches the stated invariant that delayed old events must not settle a replacement owner.
Cross-boundary regression coverage: The branch adds or updates tests for same-run ownership transfer, durable recovery-store admission, Gateway lifecycle persistence, restart marking, and older-generation ordering rather than testing only the normalization helper.
Findings None None.
Security None None.

How this fits together

Channel updates enter the Gateway, which admits work against persisted main-session recovery state before starting an agent turn. Restart recovery records active run ownership; lifecycle terminal events then clear that ownership so later channel messages can proceed instead of being rejected as a changed session.

flowchart LR
  A[Channel update] --> B[Gateway turn admission]
  B --> C[Persisted main-session recovery state]
  C --> D[Recovery run lifecycle owner]
  D --> E[Terminal lifecycle event]
  E --> F[Clear settled recovery ownership]
  F --> G[Next channel turn admitted]
Loading

Decision needed

Question Recommendation
After refreshing this behind branch against current main and confirming the restart-recovery smoke still passes, should the protected lifecycle-state change be merged? Refresh and merge: Update the branch onto current main, rerun the focused restart-recovery Gateway proof, and merge if the same ownership and next-message scenarios pass.

Why: The patch is a plausible targeted repair with positive runtime proof, but it changes persisted session ownership semantics and the maintainer label requires an explicit human landing decision.

Before merge

  • Resolve merge risk (P1) - The branch modifies durable recovery ownership and completion semantics; although focused tests and hosted channel proof are positive, merging from a branch behind current main should be preceded by a refreshed merge result and repeat of the focused restart-recovery proof.
  • Resolve merge risk (P1) - The repair intentionally changes how multiple lifecycle generations for one run ID are retained; maintainers should preserve the tested distinction between a current owner clearing all same-run legacy fences and a delayed older terminal clearing only its own fence.
  • Complete next step (P2) - No mechanical repair is identified; a human must approve the persisted-session invariant and merge the refreshed protected branch.
Agent review details

Security

None.

PR surface

Source 0, Tests +141. Total +141 across 7 files.

View PR surface stats
Area Files Added Removed Net
Source 3 40 40 0
Tests 4 143 2 +141
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 7 183 42 +141

Review metrics

None.

Stored data model

Persistent data-model change detected: serialized state: src/gateway/session-lifecycle-state.test.ts. Confirm migration or upgrade compatibility proof before merge.

Mantis proof suggestion

A redacted before/after Telegram Desktop recording would directly demonstrate the user-visible symptom and recovery path beyond the supplied Matrix-channel runtime output. A maintainer can ask Mantis to capture proof by posting this exact PR comment:

@openclaw-mantis telegram desktop proof: verify that a recovered main session accepts a new Telegram message after repeated Gateway restarts, and return redacted before/after evidence.

Merge-risk options

Maintainer options:

  1. Refresh the merge result and rerun the recovery smoke (recommended)
    Update onto current main and verify that a recovered session accepts the next channel turn while stale older terminals remain fenced.
  2. Accept the tested persistence invariant
    Merge the current approach only if maintainers accept one lifecycle owner per recovery run ID as the canonical persisted-session contract.
  3. Pause for ownership redesign
    Pause this PR if maintainers believe concurrent generations of the same recovery run must remain independently durable rather than being normalized to one owner.

Technical review

Best possible solution:

Rebase or merge-update the branch onto current main, retain the one-owner-per-run invariant with its delayed-terminal guard, rerun the focused restart-recovery Gateway smoke on the resulting head, then land after the protected maintainer review.

Do we have a high-confidence way to reproduce the issue?

Yes in source and hosted evidence: the reported state is two persisted fences with the same recovery run ID across lifecycle generations, followed by a current-generation terminal and another channel turn. The supplied exact-head Gateway/channel smoke demonstrates the after-fix restart-and-next-message path, but no local reproduction was run in this read-only review.

Is this the best way to solve the issue?

Yes, provisionally: making the run ID the canonical recovery owner aligns restart marking and admission, while retaining generation-specific treatment for delayed old terminals. The safest landing path is to refresh against current main and repeat the focused proof rather than broaden the design or add a fallback.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against a5c8c5b3ecc5.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient. The PR body supplies exact-head hosted output for three passing real ephemeral-Gateway and Matrix channel restart scenarios, including observed message markers; the repository policy recognizes this type of channel harness proof for the changed path.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body supplies exact-head hosted output for three passing real ephemeral-Gateway and Matrix channel restart scenarios, including observed message markers; the repository policy recognizes this type of channel harness proof for the changed path.
  • remove rating: 🧂 unranked krab: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: 📣 needs proof: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P1: The underlying regression can leave an otherwise healthy channel-backed main session unable to process any subsequent user turn.
  • merge-risk: 🚨 session-state: The patch changes persisted restart-recovery run ownership and lifecycle-terminal cleanup for main-session state.
  • merge-risk: 🚨 message-delivery: Incorrect ownership cleanup could keep later channel updates blocked or allow an older terminal to settle a replacement run.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR body supplies exact-head hosted output for three passing real ephemeral-Gateway and Matrix channel restart scenarios, including observed message markers; the repository policy recognizes this type of channel harness proof for the changed path.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body supplies exact-head hosted output for three passing real ephemeral-Gateway and Matrix channel restart scenarios, including observed message markers; the repository policy recognizes this type of channel harness proof for the changed path.
  • mantis: telegram-visible-proof: Mantis should capture Telegram visible proof. The reported regression is directly visible in Telegram as retained input with no successful next turn, and a short Telegram Desktop recording can demonstrate the repaired behavior.

Evidence

What I checked:

  • Linked bug and bounded fix: The PR explicitly addresses the observed condition in which one recovery run ID remained fenced by two lifecycle generations, leaving later channel turns rejected before model execution. The patch centralizes one-owner normalization in recovery state and reuses it in restart marking. (src/agents/main-session-recovery-state.ts:102, 38d9638da270)
  • Current-owner settlement preserves delayed-terminal fencing: The lifecycle projection removes every fence for a run when the terminal event belongs to the current lifecycle generation, while an older-generation terminal removes only its matching fence. This matches the stated invariant that delayed old events must not settle a replacement owner. (src/agents/main-session-recovery-lifecycle.ts:102, 38d9638da270)
  • Cross-boundary regression coverage: The branch adds or updates tests for same-run ownership transfer, durable recovery-store admission, Gateway lifecycle persistence, restart marking, and older-generation ordering rather than testing only the normalization helper. (src/gateway/session-lifecycle-state.test.ts:397, 38d9638da270)
  • After-fix channel proof: The PR body reports exact-head QA Smoke output from three passing restart-and-next-message scenarios using a real ephemeral Gateway and Matrix channel adapter, including observed before/restart/after message markers. Root policy accepts an ephemeral Gateway channel harness as channel-visible proof when it covers the changed path. (38d9638da270)
  • Current-head checks and merge state: Provided check data shows the focused quality gates, all four QA Smoke profiles, and Real behavior proof completed successfully for the PR head. GitHub reports the branch as cleanly mergeable but behind its base, so the final merge result should be refreshed against current main. (38d9638da270)

Likely related people:

  • steipete: Authored the focused implementation and its recovery-state, lifecycle, and Gateway regression coverage; no broader ownership history was available in the supplied review material. (role: current recovery-path contributor; confidence: medium; commits: 38d9638da270; files: src/agents/main-session-recovery-state.ts, src/agents/main-session-recovery-lifecycle.ts, src/agents/main-session-restart-recovery-marking.ts)
  • hannesrudolph: Reported the linked live restart-recovery incident with the persisted ownership state and channel-admission symptom that this PR targets. (role: incident reporter and adjacent domain contributor; confidence: medium; files: src/agents/main-session-recovery-state.ts, src/agents/main-session-recovery-lifecycle.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Refresh the merge result against current main and rerun the focused restart-recovery Gateway smoke.
  • Preserve the existing delayed-old-terminal regression case when resolving any rebase changes.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-07-31T08:51:03.692Z sha 38d9638 :: needs real behavior proof before merge. :: none

@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review — The PR body now contains exact-head, inspectable verdict JSON from three passing real ephemeral-Gateway/channel restart-and-next-message scenarios (including the message markers), plus the full green hosted CI run. Baseline and candidate both independently hit the same unrelated subagent-fanout timeout in an optional broader parity sweep. Real-user Telegram Desktop proof for repeated restart recovery is already queued at https://github.com/openclaw/openclaw/actions/runs/30617945325 and will publish its recording to this PR.

@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 31, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

ClawSweeper rank-up moves reviewed before landing: (1) Not rebasing solely for behind-main drift: the current main delta has zero overlap with all seven PR files, GitHub reports MERGEABLE, the only scripts/ drift is unrelated scripts/dev/realtime-talk-live-smoke.ts, and rebasing would invalidate the exact-head green CI, three passing Gateway/channel restart traces, and the in-flight Mantis Telegram proof. Repository maintainer policy explicitly treats unrelated behind-main drift as advisory; scripts/pr merge-run will recheck current main and mergeability. (2) The delayed-old-terminal invariant remains explicitly covered by src/agents/main-session-recovery-run-ownership.test.ts (“does not let an older same-id terminal settle its replacement generation”) and the Gateway stale-generation lifecycle regression. Maintainer authorization: the explicit task requests fix, test, land, and live proof.

@steipete
steipete merged commit f1cd165 into main Jul 31, 2026
142 of 162 checks passed
@steipete
steipete deleted the codex/fix-recovery-run-ownership-116694 branch July 31, 2026 09:17
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit to Leon-SK668/openclaw that referenced this pull request Jul 31, 2026
* origin/main: (1976 commits)
  fix(ollama): models advertise tools when /api/show fails (openclaw#109971)
  fix(ollama): use CJK-aware char estimate for usage fallback (openclaw#110073)
  fix(ollama): release failed setup response bodies before returning (openclaw#111802)
  feat(plugins): externalize Synthetic provider (openclaw#116720)
  fix(agents): unblock channel turns after restart recovery (openclaw#116728)
  fix(telegram): keep typing alive during active steered tasks (openclaw#116721)
  fix(gateway): admit standalone MCP app work (openclaw#116727)
  fix(googlechat): record canonical receipt thread (openclaw#116717)
  test(ui): cover the Talk relay start-stop race
  fix(ui): close superseded Talk allocations
  fix(agents): resume interrupted turns past progress commentary (openclaw#116725)
  fix(gateway): sign device proofs with challenge time (openclaw#116679)
  fix(testing): load relay smoke through UI Vite config
  test(testing): guard realtime relay smoke module path
  fix(testing): repair realtime relay live smoke import
  test: type session request parameters (openclaw#116713)
  fix: retain event invalidation for pagination
  docs: note queued session refresh fix
  fix: preserve queued session refresh options
  fix(exec): require approval for abbreviated inline eval flags [AI] (openclaw#116529)
  ...
vincentkoc added a commit that referenced this pull request Jul 31, 2026
* commit 'refs/frozen/talk-pcm-output-main': (21 commits)
  fix(agents): compact session status change text (#116742)
  fix(llama-cpp): recover plaintext tool calls (#116736)
  fix(telegram): validate native queue arguments before fallback (#116726)
  chore(skills): add autonomous issue sweep workflow
  docs(auto-qa): require clean root-cause refactors
  fix(ollama): models advertise tools when /api/show fails (#109971)
  fix(ollama): use CJK-aware char estimate for usage fallback (#110073)
  fix(ollama): release failed setup response bodies before returning (#111802)
  feat(plugins): externalize Synthetic provider (#116720)
  fix(agents): unblock channel turns after restart recovery (#116728)
  fix(telegram): keep typing alive during active steered tasks (#116721)
  fix(gateway): admit standalone MCP app work (#116727)
  test(ui): cover the Talk relay start-stop race
  fix(ui): close superseded Talk allocations
  test(google): cover expired CLI OAuth compatibility
  docs(google): document supported auth paths
  fix(ui): clarify blocked inference setup
  fix(google): guide broken CLI profiles to supported auth
  fix(onboarding): hide unsupported Google CLI setup routes
  fix(google): retire Gemini CLI OAuth setup
  ...
@steipete

steipete commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor Author

Post-merge real Telegram proof

Exact landed commit: f1cd165075b60b730c1037732f963ee8eb9a84ed.

The protected live Telegram workflow executed 18 real Telegram scenarios twice against that exact commit: https://github.com/openclaw/openclaw/actions/runs/30619452176

  • 15/18 passed in both attempts, including telegram-reply-chain-exact-marker (QA-TELEGRAM-REPLY-CHAIN-OK) and telegram-empty-response-after-write-recovery (TELEGRAM-EMPTY-WRITE-RECOVERED-OK, requests=3 writes=1 continuations=1).
  • The three failures are the same three pre-existing failures reproduced against earlier main: channel-message-flows, native-command-session-target, and telegram-assistant-transcript-role-boundary. Baseline: https://github.com/openclaw/openclaw/actions/runs/30617612182
  • The live artifact contains two independent passing reply-chain runs, one from each protected attempt. A redundant standalone rerun was canceled because an older, unrelated Mantis desktop run owns the shared Telegram account.

The full protected workflow remains red exclusively because of those existing unrelated scenarios; the exact channel-delivery and recovery scenarios passed on the landed commit.

vincentkoc added a commit that referenced this pull request Jul 31, 2026
* origin/main: (38 commits)
  fix(agents): compact session status change text (#116742)
  fix(llama-cpp): recover plaintext tool calls (#116736)
  fix(telegram): validate native queue arguments before fallback (#116726)
  chore(skills): add autonomous issue sweep workflow
  docs(auto-qa): require clean root-cause refactors
  fix(ollama): models advertise tools when /api/show fails (#109971)
  fix(ollama): use CJK-aware char estimate for usage fallback (#110073)
  fix(ollama): release failed setup response bodies before returning (#111802)
  feat(plugins): externalize Synthetic provider (#116720)
  fix(agents): unblock channel turns after restart recovery (#116728)
  fix(telegram): keep typing alive during active steered tasks (#116721)
  fix(gateway): admit standalone MCP app work (#116727)
  fix(googlechat): record canonical receipt thread (#116717)
  test(ui): cover the Talk relay start-stop race
  fix(ui): close superseded Talk allocations
  fix(agents): resume interrupted turns past progress commentary (#116725)
  fix(gateway): sign device proofs with challenge time (#116679)
  test(google): cover expired CLI OAuth compatibility
  fix(testing): load relay smoke through UI Vite config
  test(testing): guard realtime relay smoke module path
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
* commit 'refs/frozen/talk-pcm-output-main': (21 commits)
  fix(agents): compact session status change text (openclaw#116742)
  fix(llama-cpp): recover plaintext tool calls (openclaw#116736)
  fix(telegram): validate native queue arguments before fallback (openclaw#116726)
  chore(skills): add autonomous issue sweep workflow
  docs(auto-qa): require clean root-cause refactors
  fix(ollama): models advertise tools when /api/show fails (openclaw#109971)
  fix(ollama): use CJK-aware char estimate for usage fallback (openclaw#110073)
  fix(ollama): release failed setup response bodies before returning (openclaw#111802)
  feat(plugins): externalize Synthetic provider (openclaw#116720)
  fix(agents): unblock channel turns after restart recovery (openclaw#116728)
  fix(telegram): keep typing alive during active steered tasks (openclaw#116721)
  fix(gateway): admit standalone MCP app work (openclaw#116727)
  test(ui): cover the Talk relay start-stop race
  fix(ui): close superseded Talk allocations
  test(google): cover expired CLI OAuth compatibility
  docs(google): document supported auth paths
  fix(ui): clarify blocked inference setup
  fix(google): guide broken CLI profiles to supported auth
  fix(onboarding): hide unsupported Google CLI setup routes
  fix(google): retire Gemini CLI OAuth setup
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
* origin/main: (38 commits)
  fix(agents): compact session status change text (openclaw#116742)
  fix(llama-cpp): recover plaintext tool calls (openclaw#116736)
  fix(telegram): validate native queue arguments before fallback (openclaw#116726)
  chore(skills): add autonomous issue sweep workflow
  docs(auto-qa): require clean root-cause refactors
  fix(ollama): models advertise tools when /api/show fails (openclaw#109971)
  fix(ollama): use CJK-aware char estimate for usage fallback (openclaw#110073)
  fix(ollama): release failed setup response bodies before returning (openclaw#111802)
  feat(plugins): externalize Synthetic provider (openclaw#116720)
  fix(agents): unblock channel turns after restart recovery (openclaw#116728)
  fix(telegram): keep typing alive during active steered tasks (openclaw#116721)
  fix(gateway): admit standalone MCP app work (openclaw#116727)
  fix(googlechat): record canonical receipt thread (openclaw#116717)
  test(ui): cover the Talk relay start-stop race
  fix(ui): close superseded Talk allocations
  fix(agents): resume interrupted turns past progress commentary (openclaw#116725)
  fix(gateway): sign device proofs with challenge time (openclaw#116679)
  test(google): cover expired CLI OAuth compatibility
  fix(testing): load relay smoke through UI Vite config
  test(testing): guard realtime relay smoke module path
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling gateway Gateway runtime maintainer Maintainer-authored PR mantis: telegram-visible-proof Mantis should capture Telegram visible proof. merge-risk: 🚨 message-delivery 🚨 May drop, duplicate, misroute, suppress, or wrongly target messages. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: successful restart recovery retains active ownership and blocks later channel turns

1 participant