Skip to content

fix(discord): check a queued message's access again when its turn starts - #202330

Merged
obviyus merged 5 commits into
mainfrom
fix/discord-queued-admission-recheck
Nov 20, 2026
Merged

obviyus merged 5 commits into
mainfrom
fix/discord-queued-admission-recheck

Conversation

@obviyus

@obviyus obviyus commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

What problem this solves

On Discord, a message that was queued behind a busy turn was admitted and run after its sender lost access. Real Discord runs on main (isolated Gateway, leased QA credentials):

  1. message 1 is held busy and message 2 is queued;
  2. the sender is removed from the channel's users with config.patch (returned 05:15:42.400Z);
  3. message 2's run was admitted at 05:15:43.874Z, made its first model request and replied.

A fresh message from the removed sender was correctly ignored. Cause: preflight decided access once, at receipt (message-handler.preflight.ts captured cfg and memberAllowed in a closure), and shared run admission reused that decision. The shared admission's only access renewal (childSessionPublication.prepare) was bound only for public child-session publication (the X plugin).

The repo rule: queued, retried and replayed work checks authority again when it starts. A started request may finish.

Change

  • One owner for the Discord access decision. resolveDiscordMessageAccess (extensions/discord/src/monitor/message-handler.admission.ts) takes the receipt-time native facts (sender, roles, guild, channel, resolved thread and parent) plus a policy snapshot. Preflight and DM preflight call it with the receipt policy (prepareDiscordMessageAccess). The run-admission renewal calls it with the live policy (createDiscordLivePolicyReader). Preflight's own copy of the sequence is deleted.
  • Renewal fetches nothing native again. Thread, channel, member and guild facts come from receipt. The existing policy owner keeps its behavior (name resolution only after an authored-policy change, cached).
  • Shared admission, existing seam. childSessionPublication.audience becomes optional. The same memoized renewal (child-session-publication.ts) now runs for ordinary ingress too, while child-session publication is still granted only for audience: "public"; X is unchanged. It runs once, at the start of the queued turn, before memory-flush or compaction model work (reply-agent-turn-preparation.ts), and later admission reuses the same result. Turns that already started are not checked again.
  • A refused queued message is handled by the existing denied branch: silent on the channel, recorded for the session owner (fix(channels): record a refused queued request for the owner without replying in the channel #202252).
  • docs/plugins/sdk-channel-plugins.md documents the field contract.

Plugin SDK: childSessionPublication is part of openclaw/plugin-sdk/channel-ingress-runtime (ResolveChannelMessageIngressParams). Making audience optional is additive and source-compatible, with no new export or subpath. Inventory:

  • the only reader of audience in the repo is host-context-builder.ts;
  • public plugin traversal: 2,682 eligible packages (425 partial, 1 failed), 0 consumers of ResolveChannelMessageIngressParams, and 1 type-only consumer of the stable variant;
  • 26 inspected npm artifacts have no reference to the field; 13 returned 404;
  • the bundled scan timed out at 71/187 with no incompatible reader found (gaps: active-memory, device-pair).

Evidence

Proof tier: source (ocx test) plus a real Discord run (see the PR comment).

  • Queue regression at the owning boundary: on unchanged main, the revoked sender's queued message makes 1 model request. With this change:
    • 0 model requests, 0 deliver/deliverPrepared calls, and the owner notice recorded;
    • an allowed queued message is delivered once;
    • X public publication is unchanged;
    • an immediate threaded admission makes zero extra REST calls and exactly one cached policy read.
  • 68 affected tests plus 95 sibling tests pass. Production and test typecheck, oxlint, format, and the lifetime-check, line-cap and session-identity ratchets: pass.

Production +110 lines net (preflight −162, shared admission module +221).

- Reuse ingress source renewal without granting public child sessions.
- Reacquire Discord access through the live policy owner before queued execution and maintenance.
- Extract the existing ingress resolver to satisfy the max-lines ratchet.
- Cover queued revocation and allowed delivery; silent refusal assertions depend on #202252.
- Use one policy-snapshot access decision for Discord preflight, context ingress, and queued renewal.
- Reuse receipt-time sender, role, guild, channel, thread, and parent facts; remove the admission-time native-fact fetch.
- Preserve existing name and access-group policy resolution.
- Extend the owning regression with immediate threaded admission: zero additional native REST calls and one cached policy read.
- Reduce the branch non-test delta from +247 to +126 lines; retain revocation, silent delivery, owner-notice, allowed-queue, and X publication coverage.
@clawsweeper

clawsweeper Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation channel: discord Channel integration: discord size: L labels Nov 20, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 20, 2026
@clawsweeper

clawsweeper Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR renews Discord message access when a queued turn starts, before maintenance or agent model calls.

Example: Sender 300000000000000003 queues a message, then is removed from channel 200000000000000002's users allowlist.

  • Before: The queued message retains receipt-time authorization and can run and reply.
  • After: Admission checks current policy, suppresses model execution and channel delivery, and records the refusal for the session owner.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) The implementation is focused and source review found no actionable defect, but required after-fix product evidence is missing.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is not required for maintainer- or bot-authored pull requests.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A Discord sender removed from the allowlist can still have an earlier queued request executed and answered.
Reason: This restores the documented queued-work authority boundary, and the collaborator-authored PR supplies owner direction for the compatible SDK adjustment.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR addresses a current Discord authorization bug, and source review found no concrete introduced defect.

Priority: P1
Reviewed head: cf5e3c5362a71ced9b5a3effcc07f52908473472

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: Provide an after-fix isolated Gateway run with a real Discord sender and model showing revocation during the queue wait prevents model execution and channel delivery while recording the owner notice.
Agent review details

How this fits together

Discord preflight converts native message facts and channel policy into ingress context; shared session admission consumes that context before maintenance, agent execution, and reply delivery.

flowchart LR
  A[Discord message] --> B[Receipt preflight]
  B --> C[Session queue]
  C --> D[Run admission]
  E[Live Discord policy] --> D
  D --> F[Maintenance and agent execution]
  D --> G[Silent refusal and owner notice]
  F --> H[Discord reply]
Loading

Technical review

Best possible solution:

Use Discord's existing live-policy owner and shared once-only admission preparation while preserving explicit public-publication authority.

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

Current-main source retains receipt-time access in the queued ingress closure, matching the precise live Discord reproduction recorded in the PR and its merged companion; this review executed no target code.

Is this the best way to solve the issue?

The patch repairs the owning admission boundary, removes duplicated receipt-time policy logic, and reuses existing renewal state without adding a competing authorization owner.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 0ced5150aa4b.

Provenance checked

  • Discord receipt-time access and live policy keeps the original intent (1ebb4c0: Apply policy-only changes through one account-owned live reader while allowing already started work to retain its context; earlier channel migration and consolidation preserved the receipt-time checks.)
  • DM admission keeps the original intent (2a99e00: Session bindings route admitted DMs, while current ingress policy remains responsible for access.)
  • Shared source renewal and publication changes intended behavior with a stated reason (baf52e0: Renew mutable source authority once before execution and retain synchronous public-publication checks; this PR explicitly extends the existing seam to ordinary ingress.)
  • Host context ownership keeps the original intent (c2df24c: Keep host context preparation in its existing owner rather than introducing single-consumer forwarding layers.)
  • Turn preparation ordering keeps the original intent (36e277d: Give each session one controller for turn admission, queues, and cancellation; the new renewal runs inside that preparation before maintenance.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • RoboClaw: Raw commit baf52e0 adds src/channels/message-access/child-session-publication.ts:20 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: baf52e06a5bc; files: src/channels/message-access/child-session-publication.ts)

PR surface

Source +113, Tests +285, Docs +13. Total +411 across 14 files. Added test files: 2.

View PR surface stats
Area Files Added Removed Net
Source 11 295 182 +113
Tests 2 285 0 +285
Docs 1 18 5 +13
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 14 598 187 +411

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add P1: A sender whose channel access was revoked can still trigger queued agent execution and receive a reply.
  • add merge-risk: 🚨 compatibility: The public ingress SDK contract makes childSessionPublication.audience optional; the maintainer-authored direction is documented, existing callers remain source-compatible, and public authority still requires an explicit public audience.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P1: A sender whose channel access was revoked can still trigger queued agent execution and receive a reply.
  • merge-risk: 🚨 compatibility: The public ingress SDK contract makes childSessionPublication.audience optional; the maintainer-authored direction is documented, existing callers remain source-compatible, and public authority still requires an explicit public audience.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rank-up moves

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

  • Attach the real Discord queued-revocation result through the isolated Gateway on the reviewed implementation.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 20, 2026, 2:43 AM ET / 07:43 UTC.

- Bind ordinary source renewal for both supported inbound event kinds while keeping public child publication limited to public user requests.
- Cover allowed and revoked queued Discord room events plus the public-room-event publication denial.
- Retain the existing classification: native commands, mentions, direct messages, and aborts are user requests; no third channel inbound kind exists.
- Proof: 87 tests in 8 files; production and test types, lint, formatting, and the lifetime, line-cap, and session-identity ratchets pass.
- Route memoized channel-authorization preflight failures through the existing execution error handler instead of escaping queued or foreground execution.
- Resolve the cached renewal inside the canonical error boundary before continuation or model work; do not add another notice writer or policy read.
- Exercise the real followup runner and Gateway lifecycle persistence for denied and allowed requests, room events, and visible verification-unavailable failures.
- Prove zero total provider requests and skipped memory flush/compaction for refused work, exactly one saved owner notice, and zero channel deliveries.
- Do not await the synchronous host context builder.
- Type lifecycle-persistence rejection values as unknown.
@obviyus
obviyus merged commit 5148804 into main Nov 20, 2026
129 checks passed
@obviyus
obviyus deleted the fix/discord-queued-admission-recheck branch November 20, 2026 10:35
obviyus added a commit that referenced this pull request Nov 20, 2026
## Problem

`channel-run-admission.discord-recovery.test.ts` (#202330) pinned the exact refused-followup notice. #202402 then added a next step to that notice in its owner (`agent-runner-error-handler.ts`), so the test fails on `main` whenever it is selected.

## Fix

Stop pinning wording. The test still proves the behavior: one terminal error event with a notice, the same notice shown once in the transcript, the same text delivered for the unavailable case, and no model or channel effects for a revoked sender.

## Evidence

`ocx test src/auto-reply/reply/channel-run-admission.discord-recovery.test.ts`: passed. oxfmt and test types clean.

Co-authored-by: Ayaan Zaidi <[email protected]>
scribe-dandelion-cult added a commit to karmaterminal/openclaw that referenced this pull request Nov 20, 2026
Full type-aware lint after the upstream 1129d4c merge had two
max-lines errors that upstream does not have. Upstream growth met fork
lines in files near the 700 cap:

- agent-runner-execution.ts (701; upstream 695, fork +6): the turn
  result reads compactionTraceparent, continueWorkRequests and
  rawContinuationText from the cycle instead of destructuring them
  first. Now 698.
- reply-agent-turn-preparation.ts (701; upstream exactly 700 after
  openclaw#202330, fork +1 for promptCarriesRefresh): the preflight preparation
  object carries replyOperation and abortSignal, which both the
  compaction and the memory-flush calls passed with the same values.
  Each call's arguments are unchanged. Now 699.

No disables or baseline entries. Lint now equals upstream's 311 findings
except the known count on upstream-red worker-turn-execution.test.ts
(1021 upstream, 1023 here). Focused suites (reply preparation,
continuation execution results): 72 passed; tsgo core rc 0.

Refs openclaw#129388
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 21, 2026
…rts (openclaw#202330)

Problem: on Discord, a message queued behind a busy turn was admitted and run after its sender lost access (real Discord on main: config.patch returned 05:15:42.400Z, the queued message was admitted 05:15:43.874Z and replied). Preflight decided access once at receipt and shared run admission reused that decision; the only admission-time renewal was bound for public child-session publication (X).

Fix: one Discord access decision (resolveDiscordMessageAccess) serves receipt (receipt policy) and queued-run admission (live policy); preflight's copy is deleted and receipt-time native facts are reused without refetch. childSessionPublication.audience becomes optional: the same memoized renewal runs for ordinary user_request and room_event ingress at the start of the queued turn, before memory-flush or compaction model work; child-session publication still requires audience "public" on a user request. A refused queued turn reaches openclaw#202252's existing denied handler (silent on the channel, one owner notice). Started turns are not rechecked.

Proof: real queued path (followup-runner, followup-turn-execution, canonical execution, Gateway lifecycle persistence): red on the previous head (no owner notice); green with exactly one persisted owner notice, zero provider requests (including maintenance), zero deliveries, for user_request and room_event; allowed queued messages run once; unavailable verification still warns. 295 tests across 7 files; typecheck, oxlint, format, ratchets; clean exact-head local ClawSweeper review; real Discord run on the exact head (see the PR comment).

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 21, 2026
…#202471)

## Problem

`channel-run-admission.discord-recovery.test.ts` (openclaw#202330) pinned the exact refused-followup notice. openclaw#202402 then added a next step to that notice in its owner (`agent-runner-error-handler.ts`), so the test fails on `main` whenever it is selected.

## Fix

Stop pinning wording. The test still proves the behavior: one terminal error event with a notice, the same notice shown once in the transcript, the same text delivered for the unavailable case, and no model or channel effects for a revoked sender.

## Evidence

`ocx test src/auto-reply/reply/channel-run-admission.discord-recovery.test.ts`: passed. oxfmt and test types clean.

Co-authored-by: Ayaan Zaidi <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 24, 2026
…rts (#202330)

Problem: on Discord, a message queued behind a busy turn was admitted and run after its sender lost access (real Discord on main: config.patch returned 05:15:42.400Z, the queued message was admitted 05:15:43.874Z and replied). Preflight decided access once at receipt and shared run admission reused that decision; the only admission-time renewal was bound for public child-session publication (X).

Fix: one Discord access decision (resolveDiscordMessageAccess) serves receipt (receipt policy) and queued-run admission (live policy); preflight's copy is deleted and receipt-time native facts are reused without refetch. childSessionPublication.audience becomes optional: the same memoized renewal runs for ordinary user_request and room_event ingress at the start of the queued turn, before memory-flush or compaction model work; child-session publication still requires audience "public" on a user request. A refused queued turn reaches #202252's existing denied handler (silent on the channel, one owner notice). Started turns are not rechecked.

Proof: real queued path (followup-runner, followup-turn-execution, canonical execution, Gateway lifecycle persistence): red on the previous head (no owner notice); green with exactly one persisted owner notice, zero provider requests (including maintenance), zero deliveries, for user_request and room_event; allowed queued messages run once; unavailable verification still warns. 295 tests across 7 files; typecheck, oxlint, format, ratchets; clean exact-head local ClawSweeper review; real Discord run on the exact head (see the PR comment).

Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit 5148804)

Gap-sweep intake (Dallin, 2026-11-24): ledger-high/P0-P1 fix not yet on 2026.11.10. Clean apply. Later main mentions of #202330: 656de08 test(discord): stop pinning refused-followup notice wording (#202471);.

Co-authored-by: RomneyDa <[email protected]>
tideclaw-bot pushed a commit that referenced this pull request Nov 24, 2026
## Problem

`channel-run-admission.discord-recovery.test.ts` (#202330) pinned the exact refused-followup notice. #202402 then added a next step to that notice in its owner (`agent-runner-error-handler.ts`), so the test fails on `main` whenever it is selected.

## Fix

Stop pinning wording. The test still proves the behavior: one terminal error event with a notice, the same notice shown once in the transcript, the same text delivered for the unavailable case, and no model or channel effects for a revoked sender.

## Evidence

`ocx test src/auto-reply/reply/channel-run-admission.discord-recovery.test.ts`: passed. oxfmt and test types clean.

Co-authored-by: Ayaan Zaidi <[email protected]>
(cherry picked from commit 656de08)

Companion of #202330 (gap-sweep): its regression pinned notice wording that this branch already extended (4eb5484); main fixed the test the same way.

Co-authored-by: RomneyDa <[email protected]>
maplel pushed a commit to maplel/openclaw that referenced this pull request Nov 24, 2026
)

* fix(plugins): portable plugin-state keys for PostgreSQL

Use an exclusive SQL lower bound for Doctor pagination instead of a NUL-suffixed cursor. Reject new NUL keys in test-only plugin-state fixtures while retaining legacy SQLite adoption reads.

Add real PostgreSQL Doctor regression coverage and register it in conformance and database-worker lanes. Refs openclaw#184862 openclaw#188642.

* test: account for rebased plugin-state coverage

* test(clickclack): import legacy revocations before adoption

(cherry picked from commit 395cac7)

Release adaptation: Only exclusive SQL lower bound in kernel and Doctor pagination; preserve legacy SQLite keys and public validation. Regression exercises real Doctor paging and inspected executed SQL bindings; no NUL-key fixture policy, schema or unrelated tests.

Follow-up dispositions: 8253356 fix: preserve child results after source lifecycle changes (openclaw#202708); f3f89c7 fix: show saved child results when completion delivery fails (openclaw#202664); c45faa8 fix: align CI tests with admitted tool calls (openclaw#202655); 5c9389a fix: make channels add report required plugin install failures (openclaw#202091); 52b9188 fix: show hosted model details in `models list` without a Gateway (openclaw#202490); d248a76 fix: show an outcome when kept child chats return no answer (openclaw#202423); 5148804 fix(discord): check a queued message's access again when its turn starts (openclaw#202330); 2470d62 fix: let setup use account models with a fresh catalog (openclaw#202019); 9fa0b92 fix: let PostgreSQL Gateways start with plugin-backed secrets (openclaw#201063); c180824 fix(plugins): Talk and plugin-loading requests fail on PostgreSQL Gateways (openclaw#201976); cb5cfb2 fix: keep a doubtful killed-update recovery on the repair path (openclaw#201361); 17c5fb0 fix(state): PostgreSQL state created before Template bootstrap deferral is refused as schema drift (openclaw#197425); b5c1277 fix: let resumed parents collect children stopped by restart (openclaw#201460); f920a7e chore(postgres): qualify cron completion during graceful shutdown (openclaw#201246); 1680f54 fix(openai): new ChatGPT subscription models missing until an OpenClaw release (openclaw#201130); 0d8820a fix(media): image descriptions use the ChatGPT OAuth route when OpenAI has no API key (openclaw#199299); ee3e16e test(agents): trim and fold low-value regression suites (openclaw#198916); b8029b4 test(agents): qualify PostgreSQL simple-completion acquisition (openclaw#200956); 703c82d fix(sessions): record queued input end causes and recover them across crashes (openclaw#200533); 23fca1a fix: let the next update continue after a killed update when nothing is left to repair (openclaw#200680); d565e17 fix(ci): retire deleted session fork test from inventory (openclaw#200611); 4cf12c6 chore(postgres): qualify prompt refresh and rebalance CI (openclaw#200488); d460273 fix(templates): release earlier Template-managed agents (openclaw#200303); ff75829 fix(update): --no-restart update fails when the Gateway restarts itself during Doctor's stop (openclaw#200181); 0b2ad60 chore(postgres): cover compaction watched-session prompts (openclaw#200117); b90c573 test: consolidate redundant coverage (198795 recut) (openclaw#198943); a042363 test: consolidate redundant coverage (198793, part 2) (openclaw#198936); 9bfad2b test: consolidate suites while retaining recovery owners (openclaw#198933); 4e9812c test: consolidate redundant coverage (198789, part 2) (openclaw#198932); 90814f5 fix(subagents): stops a finished sub-agent's chat being deleted before its parent reads the result; 799bc0b fix(ci): stabilize hourly fixtures and retire unused exports (openclaw#199851); e4a3093 perf(update): replace the candidate canary with a runtime contract check (openclaw#198268); a4cc2ad fix: undo cold-session compaction CPU and latency regressions (openclaw#199561); 55fec79 fix(agents): stop divergent mid-turn overflow recovery (openclaw#199636); 2c4413a fix: reduce Gateway stalls under filesystem pressure (openclaw#197510); 37d977f fix: output reducers are skipped in headless and Code Mode runs (openclaw#199434); c9ee264 fix(compaction): concurrent sessions wait for each other's summaries during compaction (openclaw#196550); 2471ddc feat: let agents review generated images before delivery (openclaw#198227); 21f7dc6 fix(github): publication fails with PostgreSQL session or state stores (openclaw#193749); 63d9e57 fix(ci): new PostgreSQL suites are omitted from conformance (openclaw#198390); 466a4b6 fix(telegram): steered answers quote the wrong input (openclaw#178124); 87b6f52 fix(delivery): resend routed Telegram finals after an ambiguous network failure (openclaw#192779); 68a839b fix: isolate held agent databases until explicit restoration (openclaw#198180); cff99b2 fix(agents): keep provider history append-only across runs (openclaw#197874); 8a328bf feat: add an opt-in usage-ranked tool index (openclaw#197128); 097e648 fix(ci): plan only executable infra tests (openclaw#197911); 76385fd fix(models): discovered models become "Unknown model" after restart or an ended sign-in (openclaw#197784); 89d4177 fix(plugin-state): guarded calls fail until Gateway restart after an unknown write outcome (openclaw#197790); baca36e fix(sessions): commit selected invitations with original messages (openclaw#184512); 699e538 fix(sessions): drain passive notices on sessions_send resumes; d6ded18 chore(ci): drop retired test-lines allocation records (2/3) (openclaw#197656); e0dd020 fix(agents): collect process results at suspended-run capacity; 4897740 feat(auth): preserve delegated OCE user profiles and permissions (openclaw#196856); 7197ce1 feat(templates): install bundled plugins through native management (openclaw#196349); 9c6ee9b feat: let Template automations start paused for onboarding (openclaw#196323); 79a6214 fix(message): retain local final replies in conversation history (openclaw#187795); caa978c feat(templates): open durable chat before verified setup (openclaw#196392); 78e73aa fix(sessions): cold PostgreSQL conversations fail after idle readers close (openclaw#189991); b6ed907 perf(sessions): persist active transcript facts for hydration (openclaw#193682); 1595dd2 feat(plugins): reauthorize accepted session work (openclaw#176886); b43ad0a fix(models): avoid reloading plugins on catalog refresh (openclaw#193903); 0947d02 fix(ci): avoid unrelated PostgreSQL runs and admit owned tests (openclaw#193870); 428ca7d feat(openclaw-id): add Gateway membership authority and publication behind the Labs flag (openclaw#192335); c718583 fix(update): repair refuses forever after a verified update fails a later step (openclaw#193132); 3f64174 fix: deliver background replies after a reload retires the turn registry (openclaw#193130); 982f3b1 fix(imessage): report Automation failures after Gateway updates (openclaw#186117); 31b28e9 fix(agents): wait for a peer OAuth refresh before failing request auth (openclaw#192906); cf50d4a feat(storage): support read-only PostgreSQL standby inspection (openclaw#192645); 82fd4e6 fix(agents): retain stale session target refusal reasons (openclaw#192681); 8ac4e19 fix(worktrees): reserve capacity on PostgreSQL (openclaw#192537); 718b349 fix: reduce session startup stalls under storage contention; 08f4a19 refactor(skills): move Skill Workshop into its bundled plugin (openclaw#192471); 837402a fix(clawrouter): keep upstream credit failures off the shared key (openclaw#192575); f38495f fix(plugins): reject late routing from canceled runs (openclaw#192492); dc5d61a improve(sessions): reduce unnecessary maintenance query rows (openclaw#192023); c4bf0dc fix(sessions): avoid extra maintenance scans for embedded archives (openclaw#184507); e44b3d6 fix(team-reports): recover after database connection loss (openclaw#192020); 991fb33 fix(logbook): recover after database connection loss (openclaw#192011); e6d0d2e fix(test): include omitted PostgreSQL conformance suites (openclaw#191962); da5ff0f fix(codex): reject native hooks from a previous run (openclaw#191788); 09f0b0b feat(plugins): add skill usage runtime for plugins (openclaw#191661); 00b2ff4 fix: parent sessions miss child approvals with a custom session store (openclaw#189827); be44b10 fix: stop completed session writes retaining request data (openclaw#191197); d40aa7c fix(sessions): replay creation requests across Gateway restarts (openclaw#190862); d894035 fix: await Doctor shared-state repair preparation (openclaw#190875); b515cc7 feat: fork threaded conversations with Telegram support (openclaw#190783); def6349 feat(plugins): plugins can run a hidden forked turn of a session with their own tools (openclaw#190950); d983e34 feat(plugins): plugin commands can continue the agent with a replacement prompt, on every channel (openclaw#190908); ea3f0b8 fix(ci): provision Node test prerequisites and retain Baseten routing (openclaw#191050); 29503e1 fix(update): Gateway stays stopped after the updater process dies mid-update (openclaw#188497); fc8c2d0 fix(update): preserve unfinished handoff artifacts (openclaw#190571); 7c26e8c fix(ci): cover PostgreSQL managed update handoffs (openclaw#190336); 4913d41 fix(ci): prevent truncated PostgreSQL target listings (openclaw#189509); 8925f62 fix(gateway): start restored PostgreSQL homes on the first attempt (openclaw#190291); 177fe32 feat(models): preserve inference capabilities in opt-in catalog v3 (openclaw#189678); 7faf32d feat: retain repository disk authority through recovery (openclaw#189106); a658df3 feat(database): capture externally quiesced SQLite migrations; 0f9e7f7 feat(database): capture exact SQLite migration capsules; 4fb684e feat(backup): add PostgreSQL local companion checkpoints; c89a101 fix(doctor): migrate auth profiles on PostgreSQL stores (openclaw#189639); 799de09 fix(ci): split oversized workspace and setup files (openclaw#189356); 21ee847 fix(acp): keep completed run conversations resumable (openclaw#189273); fce0e56 perf(sessions): open cold history without restoring archives (schema 39) (openclaw#188397)

Validation: Baseline1 NUL-binding assertion failure/21passing; candidate22/22passes (188693-green.log). Real SQLite Doctor path and generated SQL proved; no native PostgreSQL server execution claimed.

Co-authored-by: RomneyDa <[email protected]>
(cherry picked from commit 0895146d8c1493146f5c6461eee0b10c329bdd1e)
(cherry picked from commit f8ccaa70bc9773d6bbb569bc0e275eee0c544ead)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: discord Channel integration: discord docs Improvements or additions to documentation merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: L 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.

1 participant