Skip to content

fix: messages sent to another chat are missing from that chat's model history - #182329

Merged
jalehman merged 8 commits into
mainfrom
openclaw-305/transcript-single-owner
Oct 26, 2026
Merged

jalehman merged 8 commits into
mainfrom
openclaw-305/transcript-single-owner

Conversation

@jalehman

@jalehman jalehman commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Closes #168683
Closes #168684

Rebuild of #169438 by @obviyus on current main. It keeps his design and his conversation transcript ownership ADR, and it credits him as co-author.

What Problem This Solves

Fixes: some messages a chat shows are missing from that chat's model history. Messages sent to another chat through the message tool were stored as transcript-only mirrors. Cron failure alerts were not recorded anywhere. Each outbound path also had its own transcript writer.

User Impact

User impact: messages sent to another chat now enter that chat's model history once. This covers cross-chat message-tool sends, cron results and failure alerts, routed replies, subagent completions, Workshop notices and Gateway-executed plugin sends. A follow-up such as "what did you just send here?" can now see the message. Normal replies and same-chat sends do not gain a second row. There is no configuration, schema or stored-queue change.

The Plugin SDK mirror input is still accepted until the next SDK major. Using it logs one deprecation warning, and it no longer selects where history is written. session.key now names the conversation whose turn produced the send. A sender with no producing turn should pass the destination as policyKey; the migration guide documents this.

Why This Change Was Made

This is step 2 of docs/refactor/conversation-transcript-ownership.md. The outbound send owner records each confirmed payload through src/sessions/confirmed-visible-message.ts. That module resolves the destination from the carried route, then the producer's delivery context, then an exact current local binding, and finally the channel resolver. It skips the producing conversation, cross-agent destinations, ambiguous destinations and native-only payloads, recording a diagnostic where useful. It writes through the existing background-result commit, which uses main's newer allow-live policy (#181506), so recording never waits for the destination's active turn. If recording fails after a send, it logs a warning and never resends.

Differences from #169438:

  • Heartbeat changes are dropped because main has retired heartbeat.
  • fix(outbound): messages sent to another conversation through Gateway-executed actions are missing from its session #175590's Gateway-action destination mirror now goes through the shared owner instead of the old mirror writer.
  • commitBackgroundResultToSession keeps main's text API. Payload and media preparation moved to src/sessions/background-result-payloads.ts.
  • Cron completion rows written through outbound still carry openclawAutomation cron provenance.
  • Subagent completion rows are marked subagent-completion. The existing out-of-turn and prior-delivery checks recognize them.
  • The Google Chat space-type cache is not included and will be a separate PR.
  • When a caller pins the receiving chat (subagent completions, cron results), that chat is used even if several chats share the delivery address. Otherwise the send would be skipped as ambiguous. Isolated Gateway proof found this case.
  • For a message action the Gateway executes for a remote client, the Gateway leaves destination history to that client, as main does today. This stops two writers from recording one send under different identities.
  • A persistent-session cron job whose notification goes to its own conversation still gets one visible settled-result row there, as fix: keep unchanged automation checks out of chat #182262 introduced. Outbound skips the run's own conversation, so the run writes that row itself, pinned to its generation.
  • Workshop notices stay a marked row in their own session, because the Control UI needs that marker to render the Learned row. The notice belongs to that session, so outbound delivery does not record it a second time.

Evidence

  • pnpm tsgo:core and pnpm tsgo:core:test pass on this head. oxlint reports no errors in the changed files.
  • About 387 affected test files passed before the latest rebase. The owner, route-reply, Workshop, cron destination and subagent tests were rerun on the current head across outbound, cron, cron/isolated-agent, subagent announce and registry, route-reply, gateway send and cron completion, sessions and Workshop.
  • New owner tests cover:
    • destination creation and replay deduplication for text, location and document sends
    • producer skips by session key and by delivery context, including different topics of one chat
    • native-only and cross-agent skips
    • a legacy SDK mirror that cannot redirect history
    • recovery recording
    • a subagent completion recorded during an active requester turn, without consuming that turn's wake input
  • Isolated real-Gateway proof: QA Lab runs a real Gateway with the QA channel and a mock model. A new scenario, cross-conversation-send-history, has a message-tool send from one room into another. The receiving room gets exactly one history row and the sending room gets none. The receiving room's next model request replays that row once as assistant history. The same scenario fails on main, where no row is recorded. The proof comment has the Crabbox run details.
  • Not done: a live third-party channel round on this head. fix: record delivered messages in destination conversations #169438's live Telegram and Discord proofs ran against its own head.
  • Autoreview: Codex was unavailable because the local Codex API key failed authentication, so the review ran on Claude. It reported one P1: SDK callers whose session.key names the destination would silently lose rows. I addressed it with migration-guide and type documentation.

@clawsweeper

clawsweeper Bot commented Oct 24, 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 gateway Gateway runtime agents Agent runtime and tooling size: XL labels Oct 24, 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. clawsweeper:intake:needs-repro 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. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. 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. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 24, 2026
@clawsweeper

clawsweeper Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge.

What this changes

The PR consolidates confirmed outbound messages into model-visible destination history while skipping the producing conversation.

Example: An automation sends “Inventory: 6 blue folders” from Telegram topic 7 to topic 42.

  • Before: Topic 42 displays the message, but its next model request excludes the delivery mirror.
  • After: The intended behavior adds one model-visible destination row so a follow-up can recall the inventory.

Review scores

Measure Result What it means
Overall readiness 🧂 unranked krab (1/6) Useful repair with concrete duplicate-history and authority defects; required final-effect proof is missing.
Proof confidence 🧂 unranked krab (1/6) Real behavior proof is necessary before merge. See Before merge.
Patch quality 🦪 silver shellfish (2/6) Security review found an item that needs attention.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Partial
User problem: A user replies to a delivered message, but the receiving agent lacks that message in its model history.
Reason: The maintainer-authored repair has clear value and follows Ayaan’s established design; Holger’s linked resumed-Claude-CLI case remains outside its implementation, so that issue should remain related rather than fully closed.

Merge readiness

⛔ Blocked before merge - 5 items remain

Keep this PR open: it addresses a confirmed history defect, but duplicate Gateway recording and unguarded Google Chat discovery need repair.

Priority: P1
Reviewed head: 685f9ac672c91201c4a5641e8c2d0b7248804b1d

Before merge

  • Add real behavior proof - Authority-chain proof required: exercise allowed first-contact Google Chat discovery and revocation before token acquisition and during pending token acquisition through the real guarded HTTP owner, showing rejection before HTTP while an already accepted send remains settled. The rebuilt head supplies tests but no corresponding transport trace; the earlier PR’s evidence covers another implementation. Latest-stable upgrade evidence for retained queued deliveries and transcript compatibility is also absent. After adding proof, update the PR body, then request a new review with @clawsweeper re-review. The PR author or someone with repository write access can request it.
  • Record Gateway-backed sends at only one delivery boundary (P1) - For a cross-chat Telegram send through message.action without an explicit idempotency key, Telegram’s action runtime calls sendDurableMessageBatch, whose delivery core now appends canonical destination history. After that RPC returns, this branch calls recordGatewayActionSend and generates another UUID. The two outbound-delivery keys differ, so the same physical message becomes two model-visible rows. The new test returns a mocked Gateway response and never exercises the inner durable sender. Keep recording with the actual send owner and remove or explicitly coordinate this caller-side append, including native actions that already use durable delivery.
  • Carry lookup authority through Google Chat’s HTTP requests (P2) - When an accepted Google Chat send has neither a carried route nor an exact local binding, this new fallback invokes the plugin resolver after delivery. Although it passes assertDirectAdapterHandoff, resolveGoogleChatOutboundSessionRoute drops that callback before both DM discovery and space classification; getGoogleChatSpace also accepts no request hooks. If the producing owner expires after acceptance, recording can still acquire a token and issue metadata HTTP. Forward the existing assertion through the resolver and API owner, checking before token acquisition and at final HTTP handoff, while retaining successful settlement of the accepted message.
  • Resolve security concern: Expired producers can initiate credentialed discovery - The affected effect is an authenticated metadata GET, rather than another message send; the earlier guarded-discovery proof on the source PR does not cover this rebuilt resolver.
  • Add data-model compatibility proof - The review found that existing stored data may not work after upgrade. Show that existing data still loads and works with this change.

Findings

  • [P1] Record Gateway-backed sends at only one delivery boundary — src/infra/outbound/message-action-send.ts:608-609
  • [P2] Carry lookup authority through Google Chat’s HTTP requests — src/sessions/confirmed-visible-message.ts:217-224
  • [medium] Expired producers can initiate credentialed discovery — src/sessions/confirmed-visible-message.ts:224

Tests

  • Missing end-to-end proof: Supply rebuilt-head Gateway-to-channel history proof, allowed and revoked Google Chat discovery traces, and latest-stable queued-state upgrade coverage; current-head red-on-base regression results are also not shown.
Agent review details

How this fits together

Channel delivery accepts outbound payloads and receipts; the new shared recorder resolves their destination and appends through the existing background-result transcript writer.

flowchart TD
A[Message tools and automation] --> B[Outbound delivery]
B --> C[Channel transport]
C --> D[Confirmed delivery]
D --> E[Destination recorder]
E --> F[Background result writer]
F --> G[Conversation transcript]
G --> H[Next model request]
Loading

Technical review

Best possible solution:

Keep recording with the actual delivery owner, remove duplicate caller recording, and carry live discovery authority through Google Chat’s existing HTTP boundary.

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

Current-main mirror production and replay exclusion establish the reported defect; source tracing establishes the introduced paths, without executing target code.

Is this the best way to solve the issue?

The shared destination writer is appropriate, but the cutover retains duplicate Gateway recording and does not complete Google Chat’s discovery-authority handoff.

Full review comments:

  • [P1] Record Gateway-backed sends at only one delivery boundary — src/infra/outbound/message-action-send.ts:608-609
    For a cross-chat Telegram send through message.action without an explicit idempotency key, Telegram’s action runtime calls sendDurableMessageBatch, whose delivery core now appends canonical destination history. After that RPC returns, this branch calls recordGatewayActionSend and generates another UUID. The two outbound-delivery keys differ, so the same physical message becomes two model-visible rows. The new test returns a mocked Gateway response and never exercises the inner durable sender. Keep recording with the actual send owner and remove or explicitly coordinate this caller-side append, including native actions that already use durable delivery.
    Confidence: 0.97
  • [P2] Carry lookup authority through Google Chat’s HTTP requests — src/sessions/confirmed-visible-message.ts:217-224
    When an accepted Google Chat send has neither a carried route nor an exact local binding, this new fallback invokes the plugin resolver after delivery. Although it passes assertDirectAdapterHandoff, resolveGoogleChatOutboundSessionRoute drops that callback before both DM discovery and space classification; getGoogleChatSpace also accepts no request hooks. If the producing owner expires after acceptance, recording can still acquire a token and issue metadata HTTP. Forward the existing assertion through the resolver and API owner, checking before token acquisition and at final HTTP handoff, while retaining successful settlement of the accepted message.
    Confidence: 0.97

Overall correctness: patch is incorrect
Overall confidence: 0.95

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: in-process harness.

Security

Needs attention: Google Chat’s new post-send discovery path does not enforce the supplied live-authority callback.

Evidence

Security concerns:

  • [medium] Expired producers can initiate credentialed discovery — src/sessions/confirmed-visible-message.ts:224
    The affected effect is an authenticated metadata GET, rather than another message send; the earlier guarded-discovery proof on the source PR does not cover this rebuilt resolver.
    Confidence: 0.97

What I checked:

Likely related people:

  • Ayaan Zaidi: Raw commit fc664de adds docs/refactor/conversation-transcript-ownership.md:40 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: fc664def979e; files: docs/refactor/conversation-transcript-ownership.md)

PR surface

PR surface statistics unavailable: the file list is incomplete.

Labels

Label changes:

  • add P1: Successful cross-chat sends leave subsequent agent replies without their context, and the patch can introduce duplicate destination history.
  • add merge-risk: 🚨 compatibility: The public SDK retains mirror syntax while intentionally replacing its targeting behavior; the maintainer-authored direction and migration documentation record that tradeoff.
  • add merge-risk: 🚨 session-state: Gateway-backed Telegram sends can append two canonical rows for one physical delivery.
  • add merge-risk: 🚨 security-boundary: New post-send discovery can acquire credentials and issue metadata HTTP after the producing authority expires.
  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦪 silver shellfish.
  • add status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Label justifications:

  • P1: Successful cross-chat sends leave subsequent agent replies without their context, and the patch can introduce duplicate destination history.
  • merge-risk: 🚨 session-state: Gateway-backed Telegram sends can append two canonical rows for one physical delivery.
  • merge-risk: 🚨 security-boundary: New post-send discovery can acquire credentials and issue metadata HTTP after the producing authority expires.
  • merge-risk: 🚨 compatibility: The public SDK retains mirror syntax while intentionally replacing its targeting behavior; the maintainer-authored direction and migration documentation record that tradeoff.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🦪 silver shellfish.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

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 October 24, 2026, 3:15 AM ET / 07:15 UTC.

@jalehman
jalehman force-pushed the openclaw-305/transcript-single-owner branch 2 times, most recently from 3496367 to d349962 Compare October 24, 2026 20:20
@jalehman
jalehman marked this pull request as ready for review October 24, 2026 20:21
@jalehman
jalehman force-pushed the openclaw-305/transcript-single-owner branch from d349962 to 3b1e746 Compare October 24, 2026 20:50
@jalehman

Copy link
Copy Markdown
Contributor Author

Isolated real-Gateway proof

Setup: QA Lab on a fresh AWS Crabbox lease. Each scenario starts a real Gateway child with the QA channel and a mock OpenAI model. No operator Gateway or live credentials are used.

  • Run: run_98d2f71640966d850b973e5416e45a09 and a rerun on lease cbx_5d3aaeac57c7 (provider aws, c7a.8xlarge). Both leases are released.
  • Tested head: d3499625536. The only later change, 3b1e7464405, is the Gateway-delegated plugin-action fix described below. None of these scenarios reach that code path; its unit tests are listed below.
  • Command: OPENCLAW_BUILD_PRIVATE_QA=1 node scripts/run-node.mjs qa suite --provider-mode mock-openai --scenario …

New scenario cross-conversation-send-history (passes)

  • A message-tool send from room A to room B reaches room B exactly once.
  • Room B's history has exactly one automation-result row, keyed outbound-delivery:<deliveryId>:0.
  • Room A's history has no row for the send.
  • Room B's next model request replays the row once, as assistant history.
  • On main the same scenario fails, because no destination row is written.

Existing delivery scenarios (pass)

  • subagent-completion-direct-fallback, updated to look for the new history rows
  • group-visible-reply-tool
  • cron-send-then-continue
  • cron-isolated-spawn-only-child-delivery
  • cron-child-parent-board
  • cron-single-run-no-duplicate
  • message-tool-stranded-final-reply
  • sessions-send-visible-child
  • cron-delivery-outcomes

Scenarios that fail on main too
These fail with the same symptom on unchanged main (local run at adf46992276), so this PR does not cause them:

  • cron-failure-repair-owner-conversation
  • thread-reply-current-source-delivery
  • a2a-default-cross-agent-send
  • a2a-message-tool-mirror-dedupe

Fixes the proof and review found (included in this head)

  • Shared address: a subagent completion sent to a DM address that two current chats share was skipped as ambiguous. A caller that pins the receiving chat now wins when that chat's recorded address matches the send. Covered by a new integration test.
  • Gateway-delegated message actions: both the client and the Gateway could record the same send in the receiving chat. The Gateway now leaves that write to the delegating client, as it did before this PR. This applies to both the plugin path and the core path. Unit tests are in outbound-send-service.test.ts and deliver-confirmed-visible.test.ts.
  • Workshop notices: a notice stays a single marked row in its own session, so the Control UI still renders it as the Learned row.

@jalehman
jalehman force-pushed the openclaw-305/transcript-single-owner branch 2 times, most recently from d646a71 to 0a20447 Compare October 24, 2026 21:35
@jalehman
jalehman enabled auto-merge (squash) October 24, 2026 21:37
obviyus added a commit that referenced this pull request Oct 29, 2026
… plugin extraction (#173557)

## What Problem This Solves

Skill Workshop is moving from core into a bundled, enabled-by-default plugin (#173605). Its current tests mostly call Workshop internals directly, so they can't show that behavior stays the same after the code moves.

## User Impact

None. This PR adds tests only: no production changes.

## Why This Change Was Made

These are characterization tests: each one pins the behavior an operator sees today at the entry point they use. They import only modules that stay in core after the move (the agent tool set, the Gateway dispatcher, the CLI program, the command pipeline, the skills loader, Doctor, Gateway maintenance, the Gateway server, and the Control UI app), never Workshop modules. The same files are meant to pass unchanged before and after the cutover.

Refreshed on current `main`. Updated to intended changes since the first draft:

- The CLI archive hint now names `--agent`.
- The tool has `draft` and `discard`.
- Doctor exports retired proposals to `.drafts/`, and moves earlier `.archive/.retired-proposals/` exports there too.
- Background reviews call `skill_workshop` directly, without Tool Search (#173889).
- Channel notices carry the Learned marker (#182329).
- The `/learn` tests now pin how the request reaches the agent, not the full prompt wording, which Workshop owns.

New contracts:

- **Propose mode and drafts:** a review in `propose` mode can only save drafts and cannot discard them; the foreground lists, views and discards drafts (tool). `skills.workshop.list`/`read` return on-disk drafts for `operator.read`; `applyDraft` and `discardDraft` are `operator.admin` only, and apply refuses a mismatched skill name (RPC). A real-Gateway review in `propose` mode saves one draft, changes no skill and posts no notice (e2e). The Control UI shows drafts as a diff against the live skill and sends `applyDraft`/`discardDraft` (UI e2e).
- **`/learn drafts`:** with no drafts it answers without a model turn; otherwise it rewrites the turn over the selected drafts, narrowed by skill name, with the focus text.
- **`/learn` and memory plugins:** with a selected memory plugin's learning tools, one turn routes to both skills and memory; with `skill_workshop` denied it learns into memory alone; with both denied it replies with the combined refusal.
- **Review timing and admission:** the 30-second quiet period and the recheck of current config and tool policy when a review becomes due are timer contracts. They are covered with a controlled clock in the scheduler and review unit tests, which move with the Workshop code. The real-Gateway e2e checks only effects, and waits for the review's Gateway root work to settle before it asserts that nothing changed.
- **Daily maintenance:** an oversized, settled learned skill is dieted as one `curator` change that `restore` undoes. Unused-skill cleanup does not run in `propose` mode or when tool policy denies `skill_workshop`.

## Evidence

Local runs on this branch (the Gateway e2e and unit tests after merging `main` at `e125921a28ebb`):

| Area | Result |
| --- | --- |
| Tool, RPC, CLI, `/learn`, config, Doctor, skill loading, maintenance (10 files) | 64 tests pass |
| Real-Gateway review (e2e file) | 9 pass |
| Scheduler and review unit tests (controlled clock) | all pass; the 2 new tests fail when the quiet-period restart or the due-time config read is removed |
| Control UI (app e2e) | 5 pass |

`pnpm tsgo:core:test`, oxfmt, type-aware oxlint and `git diff --check` pass on the changed files.

Merge danger: two-way door. Blast radius: tests only.

Tracking issue: #173605

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 30, 2026
… plugin extraction (openclaw#173557)

## What Problem This Solves

Skill Workshop is moving from core into a bundled, enabled-by-default plugin (openclaw#173605). Its current tests mostly call Workshop internals directly, so they can't show that behavior stays the same after the code moves.

## User Impact

None. This PR adds tests only: no production changes.

## Why This Change Was Made

These are characterization tests: each one pins the behavior an operator sees today at the entry point they use. They import only modules that stay in core after the move (the agent tool set, the Gateway dispatcher, the CLI program, the command pipeline, the skills loader, Doctor, Gateway maintenance, the Gateway server, and the Control UI app), never Workshop modules. The same files are meant to pass unchanged before and after the cutover.

Refreshed on current `main`. Updated to intended changes since the first draft:

- The CLI archive hint now names `--agent`.
- The tool has `draft` and `discard`.
- Doctor exports retired proposals to `.drafts/`, and moves earlier `.archive/.retired-proposals/` exports there too.
- Background reviews call `skill_workshop` directly, without Tool Search (openclaw#173889).
- Channel notices carry the Learned marker (openclaw#182329).
- The `/learn` tests now pin how the request reaches the agent, not the full prompt wording, which Workshop owns.

New contracts:

- **Propose mode and drafts:** a review in `propose` mode can only save drafts and cannot discard them; the foreground lists, views and discards drafts (tool). `skills.workshop.list`/`read` return on-disk drafts for `operator.read`; `applyDraft` and `discardDraft` are `operator.admin` only, and apply refuses a mismatched skill name (RPC). A real-Gateway review in `propose` mode saves one draft, changes no skill and posts no notice (e2e). The Control UI shows drafts as a diff against the live skill and sends `applyDraft`/`discardDraft` (UI e2e).
- **`/learn drafts`:** with no drafts it answers without a model turn; otherwise it rewrites the turn over the selected drafts, narrowed by skill name, with the focus text.
- **`/learn` and memory plugins:** with a selected memory plugin's learning tools, one turn routes to both skills and memory; with `skill_workshop` denied it learns into memory alone; with both denied it replies with the combined refusal.
- **Review timing and admission:** the 30-second quiet period and the recheck of current config and tool policy when a review becomes due are timer contracts. They are covered with a controlled clock in the scheduler and review unit tests, which move with the Workshop code. The real-Gateway e2e checks only effects, and waits for the review's Gateway root work to settle before it asserts that nothing changed.
- **Daily maintenance:** an oversized, settled learned skill is dieted as one `curator` change that `restore` undoes. Unused-skill cleanup does not run in `propose` mode or when tool policy denies `skill_workshop`.

## Evidence

Local runs on this branch (the Gateway e2e and unit tests after merging `main` at `2592002ce0ede`):

| Area | Result |
| --- | --- |
| Tool, RPC, CLI, `/learn`, config, Doctor, skill loading, maintenance (10 files) | 64 tests pass |
| Real-Gateway review (e2e file) | 9 pass |
| Scheduler and review unit tests (controlled clock) | all pass; the 2 new tests fail when the quiet-period restart or the due-time config read is removed |
| Control UI (app e2e) | 5 pass |

`pnpm tsgo:core:test`, oxfmt, type-aware oxlint and `git diff --check` pass on the changed files.

Merge danger: two-way door. Blast radius: tests only.

Tracking issue: openclaw#173605

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation extensions: qa-lab gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 security-boundary 🚨 May affect sandboxing, authorization, credentials, or sensitive data. 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. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: XL status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask.

Projects

None yet

1 participant