Skip to content

refactor(channels): own the lifecycle status contract in SDK patch factories - #118795

Merged
steipete merged 13 commits into
mainfrom
refactor/lifecycle-patch-factories
Aug 3, 2026
Merged

steipete merged 13 commits into
mainfrom
refactor/lifecycle-patch-factories

Conversation

@steipete

@steipete steipete commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

The two lifecycle adoption waves (#118110, #118298) left 26 extensions publishing near-identical setStatus blocks — 71 blocks, ~390 lines, all restating the same contract by hand. Hand-rolled repetition already produced six latent bugs: ready publishes that fail to clear terminalDisconnect, so a channel recovering from a terminal failure (repaired token, restored session) keeps reporting terminal-disconnect on its next stop because setRuntime patch-merges and an omitted key clears nothing.

Why This Change Was Made

Three factories in src/gateway/channel-status-patches.ts (exported via the existing plugin-sdk/gateway-runtime barrel) now own the contract:

  • channelReadyPatch(extras?) — running/connected, ready, timestamp, cleared error, and the load-bearing explicit terminalDisconnect: undefined
  • channelBlockedPatch(lastError, extras?) — blocked, terminal, error required by signature
  • channelStoppedPatch(extras?) — not running/connected, stopped

Extras are type-constrained from overriding factory-owned lifecycle fields, so a channel cannot silently reintroduce the bug class. 26 extensions migrated (~40 sites); starting/recovering sites intentionally stay local (legitimate per-channel variance). Latent fixes: Buzz, IRC, Nextcloud Talk, Raft, Reef, Zalo User previously published ready without the terminal clear (plus two consistency fixes in QQBot).

Also included, on the ambient-state factory from #118271: stateful target drivers move to the plugin-registry-owned global map (with ACP registration made repeatable after drains), Discord's components-registry scalars join its lifecycle-owned singleton, and MS Teams' pending-upload reset now cancels every TTL timer before clearing — timers no longer leak across gateway lifecycles.

User Impact

Channels that recover from terminal auth failures now report health correctly on subsequent stops instead of a stuck terminal-disconnect. MS Teams no longer leaks upload-expiry timers across restarts. No configuration or visible behavior changes otherwise.

Evidence

  • 25 full plugin suites: 18,535 tests passed; gateway health/status boundary 192; factory unit tests; ambient-state focused 46; Slack rerun 2,156
  • Matrix: 12 touched lifecycle tests pass; 46 unrelated failures are environmental (its unchanged test runtime hardcodes /tmp/state which held a newer-schema DB — flagged separately)
  • Changed gate, both extension tsgo lanes, SDK API/surface checks (additive), lint/format, Knip, madge 0 cycles, build, structured autoreview clean
  • Numstat: production +336/−352 (net −16), tests +233/−9 (regression coverage for the six fixes and the timer-clearing reset)
  • Exact-head guard delta: gateway/factory/health 188/188; full ClickClack + Slack 2,467/2,467; both extension tsgo lanes; changed-file type-aware lint and format; SDK surface check; private-QA build; final whole-branch autoreview clean

Maintainer decisions recorded: the sticky terminal guard may be cleared by a channel-authored patch only when it explicitly owns both lifecycle: "ready" and terminalDisconnect: undefined; weaker/derived signals and task finalization never clear it, while the Gateway-owned starting path remains unchanged. The three lifecycle factories are accepted as an additive public SDK status contract for external plugins.

Exact-head Gateway behavior proof

Head 4ca033b9288183b8e529e62b2f1fc2f3eb961447 was built with OPENCLAW_BUILD_PRIVATE_QA=1 pnpm build; dist/build-info.json matched the Git head. The reused harness is QA Lab's dist child gateway plus its established generated external-plugin load-path pattern. The child owned an ephemeral OPENCLAW_STATE_DIR, bound an isolated loopback port, used mock credentials only, and never touched the operator Gateway or state. A separate source-blind validation rerun passed all five behavior-contract clauses and anti-cheat probes.

{
  "verdict": "PASS",
  "headSha": "4ca033b9288183b8e529e62b2f1fc2f3eb961447",
  "harness": "QA Lab dist child gateway + generated external channel fixture",
  "statusSurface": "channels.status",
  "isolation": {
    "stateDir": "ephemeral",
    "gatewayHost": "127.0.0.1",
    "gatewayPort": "49321",
    "operatorGatewayTouched": false,
    "credentials": "mock-only",
    "distBuilt": true
  },
  "scenario": {
    "transition": ["blocked", "ready"],
    "channelAuthoredRecovery": "channelReadyPatch",
    "gatewayPidUnchanged": true,
    "startCount": 1,
    "readyCount": 1,
    "terminalDisconnectCleared": true,
    "restartPending": false
  }
}

Redacted channels.status excerpts:

{
  "terminalBlocked": {
    "accountId": "default",
    "running": true,
    "connected": false,
    "lifecycle": "blocked",
    "healthState": "blocked",
    "terminalDisconnect": true,
    "restartPending": false,
    "lastError": null
  },
  "explicitReady": {
    "accountId": "default",
    "running": true,
    "connected": true,
    "lifecycle": "ready",
    "restartPending": false,
    "lastConnectedAt": 1785785039812,
    "lastError": null
  }
}

The generic external-plugin status projection does not expose lastStartAt; no-restart is therefore proven by unchanged Gateway PID, exactly one recorded channel task start, and restartPending: false rather than by claiming an absent timestamp comparison.

Ambient restart-drain transcript

The same exact-head build exercised the built MS Teams FileConsentCard path, retained its real five-minute pending-upload timer, then called the built global singleton restart drain in a fresh process with ephemeral state.

{
  "scenario": "msteams-pending-upload-restart-drain",
  "headSha": "4ca033b9288183b8e529e62b2f1fc2f3eb961447",
  "isolation": {
    "stateDir": "ephemeral",
    "operatorStateTouched": false
  },
  "before": {
    "cardContentType": "application/vnd.microsoft.teams.card.file.consent",
    "uploadPresent": true,
    "pendingUploadCount": 1,
    "pendingTimerCount": 1,
    "activeTimeoutDelta": 1,
    "timerDestroyed": false
  },
  "after": {
    "uploadPresent": false,
    "pendingUploadCount": 0,
    "pendingTimerCount": 0,
    "activeTimeoutDelta": 0,
    "timerDestroyed": true
  },
  "verdict": "PASS"
}

🤖 Generated with Claude Code

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: discord Channel integration: discord channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: nostr Channel integration: nostr channel: signal Channel integration: signal channel: slack Channel integration: slack channel: telegram Channel integration: telegram channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser gateway Gateway runtime scripts Repository scripts channel: feishu Channel integration: feishu channel: twitch Channel integration: twitch channel: irc channel: qqbot channel: qa-channel Channel integration: qa-channel channel: synology-chat channel: sms Channel integration: sms channel: raft Channel integration: Raft channel: reef Channel integration: reef channel: buzz labels Aug 3, 2026
@steipete
steipete marked this pull request as ready for review August 3, 2026 17:29
@clawsweeper

clawsweeper Bot commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed August 3, 2026, 3:17 PM ET / 19:17 UTC.

ClawSweeper review

What this changes

This PR adds shared plugin-SDK factories for ready, blocked, and stopped channel status patches, migrates bundled channels to them, and lifecycle-owns selected plugin registries and pending-upload timers.

Merge readiness

⛔ Blocked until real behavior proof is added - 7 items remain

This PR’s stated terminal-recovery repair is still blocked by the Gateway’s current lifecycle lock: a ready patch clears terminalDisconnect but cannot replace a prior blocked lifecycle unless the Gateway emits a new starting transition. Keep it open for a targeted contract decision and regression proof; the existing P1 finding remains unresolved on the current head.

Priority: P2
Reviewed head: df44cd142800ad6bdd45613e2e7e1913b71cb7ab
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The refactor has substantial stated test coverage, but its central Gateway-boundary behavior is currently incorrect and lacks inspectable real behavior proof.
Proof confidence 🧂 unranked krab (1/6) Needs real behavior proof before merge: The PR body reports tests and checks but contains no inspectable exact-head runtime transcript showing a terminal status recovering through the Gateway store; add redacted live output or logs after the contract repair, without private endpoints, credentials, or account details. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Needs proof Needs real behavior proof before merge: The PR body reports tests and checks but contains no inspectable exact-head runtime transcript showing a terminal status recovering through the Gateway store; add redacted live output or logs after the contract repair, without private endpoints, credentials, or account details. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed 4 items Current Gateway lifecycle lock: The runtime store preserves lifecycle: "blocked" whenever the current row is terminal and the incoming patch is not starting; a channelReadyPatch() supplies lifecycle: "ready", so its ready state is overridden after a terminal failure.
Blocked state remains unhealthy after terminal flag is cleared: Channel health treats a retained lifecycle: "blocked" as unhealthy independently of terminalDisconnect, so the proposed ready patch does not achieve its claimed recovered-ready state through the merged runtime path.
Prior P1 remains visible at current head: The latest prior ClawSweeper review already requested that verified ready patches be allowed to end a terminal lifecycle. The only available revision delta from the prior reviewed head covers the Zalo route repair and API-baseline-related files, not the Gateway lifecycle guard.
Findings 1 actionable finding [P1] Allow verified ready patches to end a terminal lifecycle
Security None None.

How this fits together

Bundled channel plugins send status patches to the Gateway runtime store, which merges them into account state and derives health and restart decisions. The PR also moves selected process-local registries and timers under lifecycle cleanup so restart and shutdown do not retain stale plugin state.

flowchart LR
  Channels[Bundled channel plugins] --> Factories[SDK lifecycle patch factories]
  Factories --> Runtime[Gateway runtime status store]
  Runtime --> Lock[Terminal lifecycle guard]
  Lock --> Health[Health and restart decisions]
  Registries[Plugin registries and timers] --> Cleanup[Lifecycle cleanup]
  Cleanup --> Restart[Gateway restart or shutdown]
Loading

Decision needed

Question Recommendation
Should a channel’s verified ready transition be allowed to clear a prior terminal blocked lifecycle without a new Gateway-owned starting transition? Authorize verified ready recovery: Update the Gateway merge rule so an explicit ready patch can end a terminal block, then add a runtime-store and health regression test for blocked-to-ready recovery.

Why: Current main intentionally reserves lifecycle reset authority for the Gateway start transition, while this PR’s central claim requires a channel-level ready patch to reverse that state. The code can implement either rule, but choosing the durable authority boundary is maintainer intent.

Before merge

  • Add real behavior proof - Needs real behavior proof before merge: The PR body reports tests and checks but contains no inspectable exact-head runtime transcript showing a terminal status recovering through the Gateway store; add redacted live output or logs after the contract repair, without private endpoints, credentials, or account details. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • Allow verified ready patches to end a terminal lifecycle (P1) - The factory emits lifecycle: "ready" and clears terminalDisconnect, but the Gateway merge owner preserves a prior terminal blocked lifecycle unless the patch is starting (src/gateway/server-channels.ts:395). That leaves the recovered channel unhealthy as blocked, so the PR’s central recovery claim is not true through the real status path. Please implement the authorized recovery boundary and add a Gateway store/health regression; this is the unresolved prior P1, not a new late finding.
  • Resolve merge risk (P1) - A channel that emits a verified ready patch after a terminal block can keep lifecycle: "blocked" in the Gateway store, so health remains unhealthy even though the factory cleared terminalDisconnect.
  • Resolve merge risk (P1) - The PR adds three public plugin-SDK exports and changes lifecycle fields across bundled channels; the intended recovery authority must be explicit before this compatibility-sensitive contract lands.
  • Resolve merge risk (P1) - Exact-head runtime proof is not inspectable from the PR body or available GitHub comments in this review environment; tests and successful checks are supplemental to proving the affected merged Gateway path.
  • Complete next step (P2) - A narrow code repair is possible, but maintainers must first choose whether verified channel readiness or only a Gateway-owned start may clear a terminal lifecycle.

Findings

  • [P1] Allow verified ready patches to end a terminal lifecycle — src/gateway/channel-status-patches.ts:73-95
Agent review details

Security

None.

PR surface

Source +2, Tests +279, Generated 0, Other +2. Total +283 across 64 files.

View PR surface stats
Area Files Added Removed Net
Source 38 366 364 +2
Tests 24 289 10 +279
Docs 0 0 0 0
Config 0 0 0 0
Generated 1 2 2 0
Other 1 4 2 +2
Total 64 661 378 +283

Review metrics

Metric Value Why it matters
Public SDK lifecycle factories 3 added exports The plugin SDK gains ready, blocked, and stopped status helpers, so their recovery semantics become an additive external contract.
Production versus test delta production +336/−352; tests +233/−9 The PR body reports net-negative production code with focused regression coverage, but the key cross-boundary recovery path still lacks inspectable runtime proof.

Stored data model

Persistent data-model change detected: persistent cache schema: extensions/msteams/src/pending-uploads.lifecycle.test.ts. Confirm migration or upgrade compatibility proof before merge.

Mantis proof suggestion

After the Gateway recovery rule is fixed, a Telegram live transcript can prove that a terminal state followed by successful polling becomes genuinely ready in the observable status surface. A maintainer can ask Mantis to capture proof by posting this exact PR comment:

@openclaw-mantis telegram live proof: verify a terminal Telegram status followed by successful polling becomes ready in the Gateway status surface, with the terminal condition cleared; return redacted evidence.

Merge-risk options

Maintainer options:

  1. Repair the terminal recovery boundary (recommended)
    Make the authorized recovery transition update the Gateway lifecycle state and prove blocked-to-ready health recovery through the merged runtime store before merge.
  2. Keep terminal locks Gateway-owned
    Retain the current starting-only reset rule and remove or revise the factory-level claim that ready alone repairs a terminal lifecycle.
  3. Pause the refactor until the contract is chosen
    Do not merge the wide channel migration while the terminal-recovery meaning of ready conflicts with the Gateway’s current guard.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Implement the maintainer-approved terminal recovery authority boundary, add a Gateway runtime-store regression covering blocked-to-ready recovery, and attach redacted exact-head runtime output.

Technical review

Best possible solution:

Define one canonical recovery rule at the Gateway status-store boundary: either an authenticated ready patch may explicitly clear a terminal block, with a gateway-level regression test, or terminal recovery must always run through the Gateway-owned starting transition and channel factories must not claim to repair it alone.

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

Yes, from source: begin with a runtime row whose lifecycle is blocked and terminal flag is true, then apply the proposed ready patch. Current setRuntime retains blocked, and evaluateChannelHealth therefore remains unhealthy; a focused Gateway regression should establish it at runtime.

Is this the best way to solve the issue?

No: the shared factory is a good consolidation point, but it cannot deliver the claimed terminal recovery while the Gateway merge owner deliberately rejects non-starting lifecycle replacement. Resolve the owner-boundary rule first, then encode it in one Gateway-level test and the factory contract.

Full review comments:

  • [P1] Allow verified ready patches to end a terminal lifecycle — src/gateway/channel-status-patches.ts:73-95
    The factory emits lifecycle: "ready" and clears terminalDisconnect, but the Gateway merge owner preserves a prior terminal blocked lifecycle unless the patch is starting (src/gateway/server-channels.ts:395). That leaves the recovered channel unhealthy as blocked, so the PR’s central recovery claim is not true through the real status path. Please implement the authorized recovery boundary and add a Gateway store/health regression; this is the unresolved prior P1, not a new late finding.
    Confidence: 0.97

Overall correctness: patch is incorrect
Overall confidence: 0.97

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P2: This is a broad but bounded channel-health and lifecycle repair whose unresolved effect is operator-visible rather than an immediate data-loss or security emergency.
  • merge-risk: 🚨 compatibility: The PR adds public plugin-SDK lifecycle factories and changes the lifecycle fields emitted by many bundled channel plugins.
  • merge-risk: 🚨 availability: A terminally blocked channel can remain unhealthy after a supposedly successful ready recovery, affecting restart and health behavior.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦐 gold shrimp.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR body reports tests and checks but contains no inspectable exact-head runtime transcript showing a terminal status recovering through the Gateway store; add redacted live output or logs after the contract repair, without private endpoints, credentials, or account details. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
  • mantis: telegram-visible-proof: Mantis should capture Telegram visible proof. Telegram polling and webhook status publishers are migrated to the new ready factory, and the recovered status can be demonstrated in a short Telegram recording or redacted live transcript.

Evidence

What I checked:

  • Current Gateway lifecycle lock: The runtime store preserves lifecycle: "blocked" whenever the current row is terminal and the incoming patch is not starting; a channelReadyPatch() supplies lifecycle: "ready", so its ready state is overridden after a terminal failure. (src/gateway/server-channels.ts:395, f9baa3e89421)
  • Blocked state remains unhealthy after terminal flag is cleared: Channel health treats a retained lifecycle: "blocked" as unhealthy independently of terminalDisconnect, so the proposed ready patch does not achieve its claimed recovered-ready state through the merged runtime path. (src/gateway/channel-health-policy.ts:100, f9baa3e89421)
  • Prior P1 remains visible at current head: The latest prior ClawSweeper review already requested that verified ready patches be allowed to end a terminal lifecycle. The only available revision delta from the prior reviewed head covers the Zalo route repair and API-baseline-related files, not the Gateway lifecycle guard. (src/gateway/server-channels.ts:392, df44cd142800)
  • Checkout limitation recorded: The local checkout is a promisor clone missing PR objects; attempts to inspect the exact PR commits or query GitHub required a network fetch that failed DNS resolution. The finding is therefore based on the supplied exact-head patch context plus directly inspected current-main consumer behavior. (df44cd142800)

Likely related people:

  • Vincent Koc: Current-main blame attributes both the status-store terminal guard and the health interpretation to the same current-main commit. (role: recent Gateway lifecycle contributor; confidence: high; commits: f9baa3e89421; files: src/gateway/server-channels.ts, src/gateway/channel-health-policy.ts)
  • steipete: The supplied related merged lifecycle and ambient-state work, as well as this PR, are authored by steipete and cover the channel lifecycle contract this patch centralizes. (role: lifecycle-series contributor; confidence: high; commits: 0c32879d45f9, 4c66ed561589, 357087b9c78b; files: src/gateway/channel-status-patches.ts, src/channels/plugins/stateful-target-drivers.ts)

Rank-up moves

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

  • Resolve whether verified ready may clear a terminal lifecycle and implement that decision at the Gateway merge boundary.
  • Add a focused runtime-store and health regression for terminal blocked-to-ready recovery.
  • Attach redacted exact-head Gateway output after the repair; updating the PR body should trigger review automatically, or a maintainer can request @clawsweeper re-review.

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 (3 earlier review cycles)
  • reviewed 2026-08-03T17:36:10.397Z sha 75557a9 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-03T18:11:55.546Z sha 892db51495aab59d02f91fcaafc5e2504e07feb8 :: needs real behavior proof before merge. :: none
  • reviewed 2026-08-03T18:28:31.872Z sha be1e200 :: needs real behavior proof before merge. :: [P1] Allow verified ready patches to end a terminal lifecycle

@steipete
steipete force-pushed the refactor/lifecycle-patch-factories branch from 75557a9 to 892db51 Compare August 3, 2026 18:06
@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Aug 3, 2026
@steipete
steipete force-pushed the refactor/lifecycle-patch-factories branch from 892db51 to be1e200 Compare August 3, 2026 18:22
@clawsweeper clawsweeper Bot added the mantis: telegram-visible-proof Mantis should capture Telegram visible proof. label Aug 3, 2026
@steipete
steipete merged commit f9d9d12 into main Aug 3, 2026
127 checks passed
@steipete
steipete deleted the refactor/lifecycle-patch-factories branch August 3, 2026 19:39
@steipete

steipete commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Aug 3, 2026
…outing-20260803

* origin/main: (34 commits)
  fix(config): reject unsupported diagnostics otel grpc (#93087)
  fix(providers): recognize configured media credentials across provider boundaries (#118761)
  refactor: delete dead post-landing plugin/hooks scaffolding (#118920)
  fix(cron): deliver child results after heartbeat-only parent responses (#118743)
  fix(ci): keep Matrix chunk tests aligned with inventory (#118917)
  fix(tts): preserve hidden speech answers when synthesis fails (#118690)
  test(gateway): add HTTP API QA coverage (#118809)
  test(qa): cover Control UI sessions and cron (#118838)
  fix(macos): preserve native command ownership and consent (#118914)
  test(qa): cover OpenClaw exec process lifecycle (#118819)
  test(ui): cover diagnostic operator flows (#118837)
  fix(search): propagate cancellation through provider-owned requests (#118895)
  test(gateway): cover loopback and LAN access (#118824)
  refactor(channels): own the lifecycle status contract in SDK patch factories (#118795)
  test(ui): add guarded config QA coverage (#118814)
  fix(feishu): fence external collaboration tool results (#118877)
  test(qa): cover Plugin SDK import topology (#118878)
  test(qa): register external app SDK proof (#118829)
  fix(gateway): expire temporal rows in cached session lists (#118875)
  test(matrix): isolate runtime state (#118892)
  ...
vincentkoc added a commit that referenced this pull request Aug 3, 2026
…te-dry-run-no-state-mutation

* commit '682f60ce56b37c5cd3205fdcbbf25b21d48708f2': (28 commits)
  fix(config): reject unsupported diagnostics otel grpc (#93087)
  fix(providers): recognize configured media credentials across provider boundaries (#118761)
  refactor: delete dead post-landing plugin/hooks scaffolding (#118920)
  fix(cron): deliver child results after heartbeat-only parent responses (#118743)
  fix(ci): keep Matrix chunk tests aligned with inventory (#118917)
  fix(tts): preserve hidden speech answers when synthesis fails (#118690)
  test(gateway): add HTTP API QA coverage (#118809)
  test(qa): cover Control UI sessions and cron (#118838)
  fix(macos): preserve native command ownership and consent (#118914)
  test(qa): cover OpenClaw exec process lifecycle (#118819)
  test(ui): cover diagnostic operator flows (#118837)
  fix(search): propagate cancellation through provider-owned requests (#118895)
  test(gateway): cover loopback and LAN access (#118824)
  refactor(channels): own the lifecycle status contract in SDK patch factories (#118795)
  test(ui): add guarded config QA coverage (#118814)
  fix(feishu): fence external collaboration tool results (#118877)
  test(qa): cover Plugin SDK import topology (#118878)
  test(qa): register external app SDK proof (#118829)
  fix(gateway): expire temporal rows in cached session lists (#118875)
  test(matrix): isolate runtime state (#118892)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 4, 2026
…ctories (openclaw#118795)

* refactor(sdk): add channel lifecycle patch factories

* refactor(channels): adopt lifecycle patches in a-m

* refactor(channels): adopt lifecycle patches in n-z

* refactor(runtime): lifecycle-own ambient registries

* test(slack): assert lifecycle factory fields

* fix(sdk): preserve lifecycle patch extras types

* test(zalouser): widen lifecycle status sink

* test(irc): avoid shadowed status patch

* fix(zalo): reuse account-agnostic media route

* fix(gateway): accept explicit channel ready recovery

* test(qa): assert terminal Slack block fact

* test(qa): restore Slack blocked lifecycle scenario

* test(gateway): lock explicit lifecycle recovery contract
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: buzz channel: discord Channel integration: discord channel: feishu Channel integration: feishu channel: googlechat Channel integration: googlechat channel: imessage Channel integration: imessage channel: irc channel: line Channel integration: line channel: matrix Channel integration: matrix channel: mattermost Channel integration: mattermost channel: msteams Channel integration: msteams channel: nextcloud-talk Channel integration: nextcloud-talk channel: nostr Channel integration: nostr channel: qa-channel Channel integration: qa-channel channel: qqbot channel: raft Channel integration: Raft channel: reef Channel integration: reef channel: signal Channel integration: signal channel: slack Channel integration: slack channel: sms Channel integration: sms channel: synology-chat channel: telegram Channel integration: telegram channel: twitch Channel integration: twitch channel: whatsapp-web Channel integration: whatsapp-web channel: zalo Channel integration: zalo channel: zalouser Channel integration: zalouser docs Improvements or additions to documentation gateway Gateway runtime maintainer Maintainer-authored PR mantis: telegram-visible-proof Mantis should capture Telegram visible proof. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. scripts Repository scripts size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant