Skip to content

fix(session): preserve reset message payloads - #116195

Merged
vincentkoc merged 5 commits into
openclaw:mainfrom
yetval:fix/reset-trigger-preserve-message
Jul 31, 2026
Merged

vincentkoc merged 5 commits into
openclaw:mainfrom
yetval:fix/reset-trigger-preserve-message

Conversation

@yetval

@yetval yetval commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes corruption of the message retained after /new <message>, /reset <message>, or a configured reset trigger. Bracketed text, multiline code/logs, mention-wrapped commands, and structural channel wrappers now reach the reset session intact.

Root Cause

Reset detection intentionally uses normalized projections that strip channel wrappers, mentions, bracketed metadata, and whitespace. The retained payload was then inferred from those lossy projections or marker-shaped history text, so detection normalization silently became a user-message transform.

Fix

  • Detect reset commands from the canonical command projection and extract payload bytes only from the current raw inbound projection.
  • Share one session-owned parser between the full and fast initialization paths.
  • Refuse destructive reset parsing when raw input is explicitly empty, transcript-only, unauthorized, or ambiguously history-wrapped.
  • Preserve literal current-message markers, brackets, casing, whitespace, and multiline payloads.
  • Keep Telegram topic recovery limited to routing/history recovery instead of rewriting current-message projections.

initSessionState remains the owner boundary: it detects explicit resets and constructs sessionCtx.agentText, which becomes the model prompt body.

Evidence

Final patched head: e9cfc70e7cc332f6243335c3de620f52529103f8

  • Final structured autoreview: clean, no accepted/actionable findings.
  • Focused Blacksmith Testbox proof:
    • session.test.ts: 160 passed.
    • get-reply.fast-path.test.ts: 26 passed.
    • get-reply-directives.target-session.test.ts: 29 passed.
    • get-reply-native-slash-fast-path.test.ts: 9 passed.
    • abort.test.ts: 33 passed.
    • mentions.test.ts: 24 passed.
    • inbound-context.test.ts: 29 passed.
    • Telegram context-history test: 4 passed.
  • Fresh isolated final-patch Testbox proof: fast path 26 passed and Telegram context history 4 passed.
  • QA scenario catalog: 8 passed.
  • Dead-code export and full-tree checks: passed.
  • Full local pnpm build: passed.
  • Full local pnpm check: passed.
  • Touched-file formatting/lint, git diff --check, and TruffleHog: passed.

A separate pre-push full-suite Testbox lease produced no test verdict for 1h32m and exited -1 at the transport layer. It is not counted as proof. Hosted exact-head CI, including its full suite, is mandatory before merge.

Real Behavior Proof

The committed session-reset-payload-preservation QA scenario drives a real ephemeral Gateway child, the QA channel API, and the mock OpenAI provider. It seeds a direct channel session, sends this exact inbound turn, inspects the provider request, and waits for the visible channel reply:

/new review [Q3 report]
[Current message - respond to this]
and explain /new syntax
Reply exactly: QA-RESET-PAYLOAD-OK

Final verdict:

{
  "verdict": "PASS",
  "scenario": "session-reset-payload-preservation",
  "channel": "qa-channel",
  "provider": "mock-openai",
  "gateway": "ephemeral-child",
  "lifecycleReset": true,
  "durableSessionRetained": true,
  "payloadPreserved": true,
  "commandRemoved": true,
  "replyDelivered": true
}

The provider received the exact multiline payload once without the /new prefix, the durable channel session retained its ID while its lifecycle revision reset, and the channel delivered QA-RESET-PAYLOAD-OK. This satisfies the repository real-behavior gate for channel-visible changes. Deterministic Telegram dispatch-context coverage separately exercises the Telegram projection seam.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. 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: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. labels Jul 30, 2026
@clawsweeper

clawsweeper Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed July 31, 2026, 3:14 AM ET / 07:14 UTC.

ClawSweeper review

What this changes

The branch introduces a shared reset-command parser so /new, /reset, and configured reset triggers reset the session without altering the exact current-message payload sent to the model.

Merge readiness

⚠️ Ready for maintainer review - 3 items remain

Keep this PR open for normal maintainer review. It addresses a real session-state regression with an owner-boundary fix shared by full and fast reply initialization, and its QA scenario supplies sufficient channel-visible behavior proof; exact-head CI still has active lanes and one check-lint failure to resolve before merge.

Priority: P1
Reviewed head: e9cfc70e7cc332f6243335c3de620f52529103f8

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The branch has strong targeted behavior proof and no current actionable code finding, with exact-head validation still needed for a compatibility-sensitive session change.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): The PR includes after-fix QA evidence from an ephemeral Gateway, QA channel API, and mock provider that observes the exact retained payload, durable lifecycle behavior, and visible reply; the repository policy accepts this mock-gateway harness for channel-visible changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (live_output): The PR includes after-fix QA evidence from an ephemeral Gateway, QA channel API, and mock provider that observes the exact retained payload, durable lifecycle behavior, and visible reply; the repository policy accepts this mock-gateway harness for channel-visible changes.
Evidence reviewed 5 items Shared owner-boundary implementation: The branch adds one reset-command parser and calls it from both normal session initialization and the fast reply bootstrap, avoiding divergent payload extraction for the same reset command.
Projection safety coverage: Focused tests cover literal marker text, ambiguous flat history, explicitly empty raw input, multiline payload preservation, and fast-path reset behavior.
Telegram recovery boundary: The Telegram dispatch change stops rewriting current-message body projections during topic/history recovery, leaving reset payload ownership with the session parser.
Findings None None.
Security None None.

How this fits together

Inbound channel text is finalized into command, agent, and raw projections before reply handling. The session layer decides whether a reset is authorized, rolls the session lifecycle when needed, and supplies the retained message text to the model and eventual channel reply.

flowchart LR
  A[Inbound channel message] --> B[Command, agent, and raw projections]
  B --> C[Reset command parser]
  C --> D[Session initialization]
  D --> E[Lifecycle reset or continuation]
  E --> F[Model prompt payload]
  F --> G[Channel reply]
Loading

Before merge

  • Resolve merge risk (P1) - Reset parsing controls whether existing commands create a new lifecycle and what prompt text replaces the current turn, so the remaining exact-head CI and check-lint failure should be resolved before merge.
  • Resolve merge risk (P1) - The change deliberately rejects ambiguous history-wrapped and explicitly empty raw projections; this is safer than guessing a payload, but maintainers should retain the full-path and fast-path reset coverage as the compatibility guard.
  • Complete next step (P2) - No discrete mechanical repair is identified from the reviewed evidence; resolve the existing lint failure and let exact-head CI complete before a maintainer merge decision.
Agent review details

Security

None.

PR surface

Source +235, Tests +457, Other +163. Total +855 across 14 files.

View PR surface stats
Area Files Added Removed Net
Source 7 361 126 +235
Tests 6 465 8 +457
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 163 0 +163
Total 14 989 134 +855

Review metrics

Metric Value Why it matters
Reset-path convergence 1 shared parser, 2 initialization consumers Normal and fast reply initialization now use the same reset-payload decision, reducing session behavior drift between runtime paths.

Stored data model

Persistent data-model change detected: serialized state: qa/scenarios/channels/session-reset-payload-preservation.yaml, serialized state: src/auto-reply/reply/session-reset-command.ts, serialized state: src/auto-reply/reply/session.test.ts, serialized state: src/auto-reply/reply/session.ts, unknown-data-model-change: qa/scenarios/channels/session-reset-payload-preservation.yaml, unknown-data-model-change: src/auto-reply/reply/session-reset-command.ts, and 2 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Finish exact-head validation (recommended)
    Resolve the current lint failure and wait for required exact-head CI so the shared parser is validated across both reply initialization paths before merge.
  2. Pause for a narrower follow-up
    If the lint failure exposes a broader parser or projection-contract disagreement, pause this branch and carry only the validated reset-payload cases into a narrower replacement.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Resolve the current check-lint failure, retain the focused reset coverage, and merge only after required exact-head checks pass.

Technical review

Best possible solution:

Land the shared session-owned parser only after the failing lint check is resolved and exact-head CI confirms both ordinary reset triggers and the safer no-guess projection cases remain compatible.

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

Yes, source and the committed QA scenario define a high-signal path: send a multiline /new payload containing marker-like text, then inspect the provider request and session lifecycle. This review did not independently execute that scenario, so the structured status is source-reproducible rather than reproduced.

Is this the best way to solve the issue?

Yes. A session-owned parser reused by normal and fast initialization is the narrowest maintainable fix because detection may use normalized command text while retained payload bytes must come from the current raw inbound projection.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P1: A reset command can alter an active session lifecycle and the prompt text delivered to the model across channel workflows.
  • merge-risk: 🚨 compatibility: Existing reset triggers and command projections can behave differently after the parser stops inferring payloads from normalized or history-wrapped text.
  • merge-risk: 🚨 session-state: The patch changes the condition and payload used when a durable session enters a new lifecycle revision.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (live_output): The PR includes after-fix QA evidence from an ephemeral Gateway, QA channel API, and mock provider that observes the exact retained payload, durable lifecycle behavior, and visible reply; the repository policy accepts this mock-gateway harness for channel-visible changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR includes after-fix QA evidence from an ephemeral Gateway, QA channel API, and mock provider that observes the exact retained payload, durable lifecycle behavior, and visible reply; the repository policy accepts this mock-gateway harness for channel-visible changes.
  • mantis: telegram-visible-proof: Mantis should capture Telegram visible proof. The branch changes Telegram dispatch-context handling and reset payload behavior that can be demonstrated through a short Telegram Desktop reset-command recording.

Evidence

What I checked:

  • Shared owner-boundary implementation: The branch adds one reset-command parser and calls it from both normal session initialization and the fast reply bootstrap, avoiding divergent payload extraction for the same reset command. (src/auto-reply/reply/session-reset-command.ts, e9cfc70e7cc3)
  • Projection safety coverage: Focused tests cover literal marker text, ambiguous flat history, explicitly empty raw input, multiline payload preservation, and fast-path reset behavior. (src/auto-reply/reply/session.test.ts, e9cfc70e7cc3)
  • Telegram recovery boundary: The Telegram dispatch change stops rewriting current-message body projections during topic/history recovery, leaving reset payload ownership with the session parser. (extensions/telegram/src/bot-message-dispatch-context.ts, e9cfc70e7cc3)
  • After-fix behavior proof: The PR body records a passing isolated QA scenario using an ephemeral Gateway child, QA channel API, and mock OpenAI provider; it verifies lifecycle reset, durable-session retention, exact multiline payload delivery, and a visible reply. (qa/scenarios/channels/session-reset-payload-preservation.yaml, e9cfc70e7cc3)
  • Review continuity: The previous completed ClawSweeper review at the same head SHA had no remaining code findings after earlier marker-boundary and mention-body findings were addressed; its remaining rank-up move was exact-head CI completion. (e9cfc70e7cc3)

Likely related people:

  • vincentkoc: Contributed the later reset-parser revisions on this branch, including the inbound-projection anchoring change and the QA proof addition, and was assigned during the review cycle. (role: recent area contributor; confidence: medium; commits: 046a478851b6, 93fc9e059427, e9cfc70e7cc3; files: src/auto-reply/reply/session.ts, src/auto-reply/reply/get-reply-fast-path.ts, src/auto-reply/reply/session-reset-command.ts)

Rank-up moves

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

  • Resolve the reported check-lint failure and wait for all required exact-head CI lanes before merge.

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 (7 earlier review cycles)
  • reviewed 2026-07-30T03:04:26.045Z sha 5d4518e5df6f0b7727e6da01a693f7261eb1d798 :: needs changes before merge. :: [P1] Use the mention-stripped body for the fallback remainder
  • reviewed 2026-07-30T03:29:31.759Z sha a6b808a792904cb2bf3c381105d62bd41b49d16c :: needs maintainer review before merge. :: none
  • reviewed 2026-07-30T05:06:16.588Z sha a6b808a792904cb2bf3c381105d62bd41b49d16c :: needs maintainer review before merge. :: none
  • reviewed 2026-07-31T00:56:26.462Z sha 046a478 :: needs changes before merge. :: [P1] Match the real envelope boundary, not a quoted marker
  • reviewed 2026-07-31T01:01:00.823Z sha 046a478 :: needs changes before merge. :: [P1] Match only the structural current-message marker
  • reviewed 2026-07-31T06:44:28.333Z sha 93fc9e0 :: needs real behavior proof before merge. :: none
  • reviewed 2026-07-31T07:07:20.478Z sha e9cfc70 :: needs maintainer review before merge. :: none

@yetval
yetval force-pushed the fix/reset-trigger-preserve-message branch from 5d4518e to a6b808a Compare July 30, 2026 03:22
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Jul 30, 2026
@yetval

yetval commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-run

@clawsweeper

clawsweeper Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

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

Re-review progress:

@vincentkoc vincentkoc self-assigned this Jul 30, 2026
yetval and others added 2 commits July 31, 2026 08:14
Use the raw command body when it directly matches a reset trigger so code, logs, bracketed text, and line breaks reach the new session intact. Keep structural normalization only for prefixed messages that require it to match.
@vincentkoc
vincentkoc force-pushed the fix/reset-trigger-preserve-message branch from a6b808a to 046a478 Compare July 31, 2026 00:49
@openclaw-barnacle openclaw-barnacle Bot added size: M triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. and removed size: S triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. labels Jul 31, 2026
@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

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

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jul 31, 2026
@vincentkoc vincentkoc changed the title fix: preserve message text passed with /new fix(session): preserve reset message payloads Jul 31, 2026
@clawsweeper clawsweeper Bot added status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. mantis: telegram-visible-proof Mantis should capture Telegram visible proof. and removed proof: sufficient ClawSweeper judged the real behavior proof convincing. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Jul 31, 2026
@vincentkoc

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

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

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 31, 2026
@vincentkoc

Copy link
Copy Markdown
Member

Maintainer proof note before merge:

  • Exact-head CI run 30611398841 is green after rerunning only the infrastructure-cancelled lint job.
  • The optional live Telegram rank-up proof was not run because no live Telegram account was provisioned for this repair. The repository-accepted ephemeral Gateway + QA channel + mock-provider scenario proves the channel-visible reset behavior, and the focused Telegram dispatch-context tests cover the adapter-specific projection change, including bracketed/multiline and marker-shaped payload handling.

No ClawSweeper rank-up move is being skipped silently.

@vincentkoc
vincentkoc merged commit 589a914 into openclaw:main Jul 31, 2026
203 of 216 checks passed
@vincentkoc

Copy link
Copy Markdown
Member

Merged via squash.

vincentkoc added a commit to dwc1997/openclaw that referenced this pull request Jul 31, 2026
* repair/pr-111802-preserve: (3263 commits)
  test: type session request parameters (openclaw#116713)
  fix: retain event invalidation for pagination
  docs: note queued session refresh fix
  fix: preserve queued session refresh options
  fix(exec): require approval for abbreviated inline eval flags [AI] (openclaw#116529)
  fix: keep owner-only tools out of non-owner skill commands [AI] (openclaw#116532)
  fix(ui): bound Talk relay microphone uplink
  fix(tui): require a fresh agent roster (openclaw#116715)
  fix(memory-wiki): preserve user edits when rolling back ChatGPT imports (openclaw#116517)
  fix(agents): cron failures preserve timeout and cancellation reasons (openclaw#116566)
  fix(release): unblock beta validation workflows (openclaw#116708)
  fix(ci): discover frozen target startup benchmark cases (openclaw#116711)
  fix(session): preserve reset message payloads (openclaw#116195)
  fix(qa): tolerate loaded-runner bus delivery stalls (openclaw#116448)
  improve(ci): rebalance embedded agent test configs (openclaw#116436)
  fix(browser): return committed trace path (openclaw#116702)
  fix(qa): exceed Slack table aggregate limit in fallback probe (openclaw#116447)
  fix(qa): use built plugin tools server (openclaw#116442)
  fix(test): keep memory FD repro config valid (openclaw#116698)
  fix(telegram): keep queued tool progress in one message (openclaw#116685)
  ...
vincentkoc added a commit to zw-xysk/openclaw that referenced this pull request Jul 31, 2026
* preserve/pr-109971-ollama-show-inspection-20260731: (4302 commits)
  fix(agents): resume interrupted turns past progress commentary (openclaw#116725)
  fix(gateway): sign device proofs with challenge time (openclaw#116679)
  fix(testing): load relay smoke through UI Vite config
  test(testing): guard realtime relay smoke module path
  fix(testing): repair realtime relay live smoke import
  test: type session request parameters (openclaw#116713)
  fix: retain event invalidation for pagination
  docs: note queued session refresh fix
  fix: preserve queued session refresh options
  fix(exec): require approval for abbreviated inline eval flags [AI] (openclaw#116529)
  fix: keep owner-only tools out of non-owner skill commands [AI] (openclaw#116532)
  fix(ui): bound Talk relay microphone uplink
  fix(tui): require a fresh agent roster (openclaw#116715)
  fix(memory-wiki): preserve user edits when rolling back ChatGPT imports (openclaw#116517)
  fix(agents): cron failures preserve timeout and cancellation reasons (openclaw#116566)
  fix(release): unblock beta validation workflows (openclaw#116708)
  fix(ci): discover frozen target startup benchmark cases (openclaw#116711)
  fix(session): preserve reset message payloads (openclaw#116195)
  fix(qa): tolerate loaded-runner bus delivery stalls (openclaw#116448)
  improve(ci): rebalance embedded agent test configs (openclaw#116436)
  ...
vincentkoc added a commit to wahaha1223/openclaw that referenced this pull request Jul 31, 2026
* preserve/pr-107473-ollama-stream-ndjson-cap: (5598 commits)
  chore(changelog): remove release-owned entry
  fix(agents): resume interrupted turns past progress commentary (openclaw#116725)
  fix(gateway): sign device proofs with challenge time (openclaw#116679)
  fix(testing): load relay smoke through UI Vite config
  test(testing): guard realtime relay smoke module path
  fix(testing): repair realtime relay live smoke import
  test: type session request parameters (openclaw#116713)
  fix: retain event invalidation for pagination
  docs: note queued session refresh fix
  fix: preserve queued session refresh options
  fix(exec): require approval for abbreviated inline eval flags [AI] (openclaw#116529)
  fix: keep owner-only tools out of non-owner skill commands [AI] (openclaw#116532)
  fix(ui): bound Talk relay microphone uplink
  fix(tui): require a fresh agent roster (openclaw#116715)
  fix(memory-wiki): preserve user edits when rolling back ChatGPT imports (openclaw#116517)
  fix(agents): cron failures preserve timeout and cancellation reasons (openclaw#116566)
  fix(release): unblock beta validation workflows (openclaw#116708)
  fix(ci): discover frozen target startup benchmark cases (openclaw#116711)
  fix(session): preserve reset message payloads (openclaw#116195)
  fix(qa): tolerate loaded-runner bus delivery stalls (openclaw#116448)
  ...
vincentkoc added a commit that referenced this pull request Jul 31, 2026
…-supported-paths

* origin/main: (115 commits)
  test: type session request parameters (#116713)
  fix: retain event invalidation for pagination
  docs: note queued session refresh fix
  fix: preserve queued session refresh options
  fix(exec): require approval for abbreviated inline eval flags [AI] (#116529)
  fix: keep owner-only tools out of non-owner skill commands [AI] (#116532)
  fix(tui): require a fresh agent roster (#116715)
  fix(memory-wiki): preserve user edits when rolling back ChatGPT imports (#116517)
  fix(agents): cron failures preserve timeout and cancellation reasons (#116566)
  fix(release): unblock beta validation workflows (#116708)
  fix(ci): discover frozen target startup benchmark cases (#116711)
  fix(session): preserve reset message payloads (#116195)
  fix(qa): tolerate loaded-runner bus delivery stalls (#116448)
  improve(ci): rebalance embedded agent test configs (#116436)
  fix(browser): return committed trace path (#116702)
  fix(qa): exceed Slack table aggregate limit in fallback probe (#116447)
  fix(qa): use built plugin tools server (#116442)
  fix(test): keep memory FD repro config valid (#116698)
  fix(telegram): keep queued tool progress in one message (#116685)
  fix(qa): stop waiting on yielded fanout runs (#116440)
  ...

# Conflicts:
#	src/system-agent/setup-inference-detect.ts
#	ui/src/e2e/model-setup.e2e.test.ts
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
* fix(session): preserve reset message payloads

Use the raw command body when it directly matches a reset trigger so code, logs, bracketed text, and line breaks reach the new session intact. Keep structural normalization only for prefixed messages that require it to match.

* fix(session): anchor reset payloads to original input

* fix(session): anchor reset parsing to inbound projections

* fix(session): keep reset result type internal

* test(qa): prove reset payload preservation

---------

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 1, 2026
…-supported-paths

* origin/main: (115 commits)
  test: type session request parameters (openclaw#116713)
  fix: retain event invalidation for pagination
  docs: note queued session refresh fix
  fix: preserve queued session refresh options
  fix(exec): require approval for abbreviated inline eval flags [AI] (openclaw#116529)
  fix: keep owner-only tools out of non-owner skill commands [AI] (openclaw#116532)
  fix(tui): require a fresh agent roster (openclaw#116715)
  fix(memory-wiki): preserve user edits when rolling back ChatGPT imports (openclaw#116517)
  fix(agents): cron failures preserve timeout and cancellation reasons (openclaw#116566)
  fix(release): unblock beta validation workflows (openclaw#116708)
  fix(ci): discover frozen target startup benchmark cases (openclaw#116711)
  fix(session): preserve reset message payloads (openclaw#116195)
  fix(qa): tolerate loaded-runner bus delivery stalls (openclaw#116448)
  improve(ci): rebalance embedded agent test configs (openclaw#116436)
  fix(browser): return committed trace path (openclaw#116702)
  fix(qa): exceed Slack table aggregate limit in fallback probe (openclaw#116447)
  fix(qa): use built plugin tools server (openclaw#116442)
  fix(test): keep memory FD repro config valid (openclaw#116698)
  fix(telegram): keep queued tool progress in one message (openclaw#116685)
  fix(qa): stop waiting on yielded fanout runs (openclaw#116440)
  ...

# Conflicts:
#	src/system-agent/setup-inference-detect.ts
#	ui/src/e2e/model-setup.e2e.test.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: telegram Channel integration: telegram extensions: qa-lab mantis: telegram-visible-proof Mantis should capture Telegram visible proof. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL 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.

2 participants