Skip to content

fix: group turns fail silently when session history cannot load - #135253

Merged
steipete merged 3 commits into
openclaw:mainfrom
izshaw:claude/robert-bot-message-timeout-86488d
Oct 8, 2026
Merged

steipete merged 3 commits into
openclaw:mainfrom
izshaw:claude/robert-bot-message-timeout-86488d

Conversation

@izshaw

@izshaw izshaw commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Related: #115080

What Problem This Solves

Fixes unmentioned group turns that show typing and then fail silently when stored conversation history has no session header or still uses an unsupported legacy header.

User Impact

The group receives a visible recovery notice even when optional replies may be silent. It asks the Gateway operator to try openclaw doctor --fix, and tells users to preserve the history and contact support if repair does not resolve the error. Doctor is not presented as a guaranteed repair for unsupported or malformed histories.

The fresh-session reset producer was already fixed by #125336. This PR preserves main's header-first /new and daily reset behavior, and changes only the remaining failure classification and recovery guidance. No schema, configuration, SDK, migration, or reply-policy change is introduced.

Why This Change Was Made

The existing transcript-validation classifier recognized invalid entries but missed the history loader's missing/legacy-header error. That error fell through as generic runner failure, which optional group turns suppress. Both execution failures and outer runner failures now use the existing shared classifier and renderer to preserve actionable guidance.

All obsolete producer and SessionManager edits from the original branch were removed while merging current main without rebasing or force-pushing. The bounded recovery copy replaces misleading /new or /compact advice for history that cannot load. A single-use private copy constant was inlined at its renderer, leaving production LOC unchanged.

Original fix by @izshaw; maintainer cleanup narrows the change to the still-reproducible diagnostic defect, preserves current reset ownership, and adds qualified recovery guidance and proof.

Evidence

Head: d44fae1f13575bedc7eb8da95a9a810d550cbc4c. Baseline: 76d6104f77234bdba2c953cf0208b19b49f9a36f.

The baseline real Gateway proof used an isolated state directory and ephemeral port on secretless AWS, the QA mock OpenAI provider, and actual qa-channel group ingress. It confirmed:

  • /new on a zero-row transcript persisted a session header before its reset boundary; the next turn delivered REL6_NEW_OK.
  • A daily rollover on a separate zero-row transcript persisted a session header and daily boundary; it delivered REL6_DAILY_OK and REL6_DAILY_NEXT_OK.
  • The headerless group's dispatch was acknowledged with outbound: [], while Gateway logs recorded Persisted legacy session transcripts require doctor/import migration before runtime use.
  • Offline Doctor reported Prepended missing headers to 1 session transcript; the same group then delivered REL6_REPAIRED_OK.

Baseline lease: cbx_f175e861347c (r7i.xlarge, 32,309,964 KiB RAM). Baseline run: run_d9b7433a9f9693b5d3e2e3f62fccb173, exit 0. The lease was stopped. Existing reset-header and failure-reply suites passed 40 tests in 56.47 seconds wall time, including cold worker compilation.

Exact-head CI passed, including production types, core test-type stripes, lint, guards, docs, and the changed-test lanes. Its logs show the new missing-header regression passing in 6 ms.

Fresh exact-head AWS proof passed on lease cbx_8fe476835cef (r7i.xlarge, 32,309,960 KiB RAM), run run_5c03bc2f6ae61b04e85b12d5c45b77e2, exit 0. The trusted bootstrap checked the full SHA and no-role boundary; the run used --fresh-pr, --no-hydrate, an isolated HOME, and a real Gateway child with isolated state and an ephemeral loopback port. The final source check was clean at the same SHA.

Check Result Wall time
pnpm tsgo:core Passed 64.72 s
Core test types, selected agents-other shard Passed 169.40 s
prompt-failure.test.ts 26 passed 43.51 s
assistant-request-failure-copy.test.ts 47 passed 19.42 s
Remaining owner/sibling suites 923 passed, 14 files 105.44 s
Production-only negative control Expected regression failure confirmed 37.57 s
Real Gateway, mock provider, QA group delivery and recovery Passed 208.15 s
Docs links Passed 16.31 s

Positive unit coverage totals 996 tests across 16 files, including every test file in src/agents/failover plus the prompt-failure, reply-failure, Doctor-header, and reset-header boundaries.

For the negative control, only message-patterns.ts and assistant-request-failure-copy.ts were replaced with their baseline versions. The new missing-header case failed because the trace lacked the expected reason: "format". Restoring the production files from HEAD returned git diff to clean before the live run.

The after-fix fixture enabled the existing optional group reply policy, sent an unmentioned group message through qa-channel, and waited for dispatch acknowledgment. The captured delivery was:

{
  "step": "headerless-group-failure",
  "acknowledged": true,
  "outbound": [
    {
      "text": "OpenClaw couldn't read this conversation's history. Ask the Gateway operator to try `openclaw doctor --fix`. If it still fails, preserve the history and contact support with the Gateway logs.",
      "isError": true
    }
  ]
}

The exact-head Gateway also repeated both zero-row /new and daily-reset cases successfully, delivering REL6_NEW_OK, REL6_DAILY_OK, and REL6_DAILY_NEXT_OK. Offline Doctor reported Prepended missing headers to 1 session transcript; the same formerly broken group then delivered REL6_REPAIRED_OK. The Gateway fixture shut down cleanly. Both proof leases were stopped; the earlier undersized t3.small allocation was also stopped before contributor execution.

The successful candidate run took 692.910 s for bootstrap/install/check execution and 783.213 s including checkout and connection phases.

Formatting, targeted type-aware Oxlint, and git diff --check passed. Fresh isolated Codex autoreview found no actionable P0-P2 findings in the exact candidate tree; the final commit preserves that reviewed tree.

ClawSweeper findings addressed: the obsolete reset implementation is removed; conflicts are resolved against main; Doctor guidance is explicitly conditional and includes an escalation path. The after-fix group delivery and recovery trace above supplies the requested channel-boundary proof. The live transport is synthetic qa-channel through a real Gateway process; native Telegram transport was not exercised.

ClawSweeper revision 4 on this head reports no actionable code findings and confirms the prior recovery-guidance finding is resolved. Its stale-body item is addressed by this rewritten description. The automated data-model item is a false positive: isSessionTranscriptValidationErrorMessage only matches error text, and renderFormatErrorCopy only returns display text. The diff changes no persisted field, storage writer, schema, migration, or admission code; the reset and Doctor owners are byte-identical to the baseline exercised above. No migration is introduced or needed for this change. Existing unreadable histories still use the existing repair owner. After-fix channel delivery is now proved above.

Area Added Removed Net
Production 4 4 0
Tests 66 50 +16
Docs 8 0 +8
Total 78 54 +24

CI reported test time: prompt-failure.test.ts — 26 tests, 0.327 s; assistant-request-failure-copy.test.ts — 47 tests, 0.015 s. Standalone pnpm test <file> --maxWorkers=1 wall times were 43.51 s and 19.42 s. The first file included 25.057 s of cold compiled-worker preparation from its existing SessionManager fixture; the added missing-header case took 6 ms. This extends the existing failure/credential-health boundary without a new Gateway fixture, process boot, sleep, or test-only production seam. The complete CI workflow took 612 s, including other selected lanes and setup.

Exact validation commands and live fixture boundary

All execution below ran on the secretless AWS lease through the clean-main scripts/crabbox-untrusted-bootstrap.sh, bound to the full head SHA above.

pnpm tsgo:core
pnpm tsgo:core:test --changed-paths-json '["src/agents/embedded-agent-runner/run/prompt-failure.test.ts","src/agents/failover/assistant-request-failure-copy.test.ts"]'
pnpm test src/agents/embedded-agent-runner/run/prompt-failure.test.ts --maxWorkers=1
pnpm test src/agents/failover/assistant-request-failure-copy.test.ts --maxWorkers=1
files=(
  src/agents/failover/context-overflow.test.ts
  src/agents/failover/provider-429-precedence.test.ts
  src/agents/failover/failover-classification.corpus.test.ts
  src/agents/failover/signal.test.ts
  src/agents/failover/classify.test.ts
  src/agents/failover/signal-details.test.ts
  src/agents/failover/retry-evidence.test.ts
  src/agents/failover/user-copy.test.ts
  src/agents/failover/provider-structured-signals.test.ts
  src/agents/failover/classify.legacy-provider-predicates.test.ts
  src/agents/failover/context-overflow.legacy.test.ts
  src/auto-reply/reply/agent-runner-failure-reply.test.ts
  src/commands/doctor-session-transcript-headers.test.ts
  src/config/sessions/session-accessor.sqlite-reset-header.test.ts
)
pnpm test "${files[@]}" --maxWorkers=1
# With only the two production files replaced by baseline bytes:
pnpm test src/agents/embedded-agent-runner/run/prompt-failure.test.ts --maxWorkers=1 -t 'keeps missing header'
# After restoring production bytes from HEAD and checking a clean diff:
node --import ./scripts/tsx.mjs /tmp/live-proof.mts
pnpm docs:check-links

The temporary live fixture used the maintained createQaLiveLaneGateway, QA bus, and createQaChannelTransport owners with provider mode mock-openai. It seeded only synthetic session rows, sent /new and ordinary messages through real channel ingress, forced daily rollover using a 48-hour-old session row, and measured completed dispatch through the acknowledged bus cursor. Doctor ran while that fixture's Gateway was stopped, followed by a restart and a successful message to the same group. The baseline used the same fixture with OPENCLAW_REL6_EXPECT_SILENCE=1 on the pinned main checkout.

Local static command: node scripts/run-oxlint.mjs --tsconfig config/tsconfig/oxlint.core.json with a zsh array of the four changed TypeScript files. No contributor code or tests executed on the maintainer host; no local dependency install was performed.

…anscripts

A /new or daily reset against a session entry whose SQLite transcript had no
rows appended the reset boundary at seq 0 with no session header. Every later
load then classified the transcript as legacy v1 and failed the session lane
on each turn, while the group silent-reply policy swallowed the generic
failure text - the bot showed typing, then nothing, forever.

- buildSessionResetBoundaryEvent builds no boundary when the transcript has
  nothing to reset; both lifecycle call sites share one owner helper.
- Loads distinguish headerless transcripts from legacy versions and point at
  "openclaw doctor --fix", which actually repairs that state (#115080).
- Transcript-repair load failures are classified as actionable rather than
  generic, so the repair notice stays visible in group chats instead of
  being silenced to NO_REPLY.

Co-Authored-By: Claude Fable 5 <[email protected]>
@clawsweeper

clawsweeper Bot commented Sep 1, 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.

@izshaw
izshaw marked this pull request as ready for review September 1, 2026 14:09
@openclaw-barnacle openclaw-barnacle Bot added commands Command implementations agents Agent runtime and tooling size: M labels Sep 1, 2026
…ures

The durable-reset assertions seeded a session entry with zero transcript
rows and asserted the reset boundary landed there - exactly the headerless
seq-0 corruption the parent fix removes. Seed one message first so an
allowed reset still proves a durable boundary on a real conversation.

Co-Authored-By: Claude Fable 5 <[email protected]>
@clawsweeper clawsweeper Bot added P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. 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 Sep 1, 2026
@clawsweeper

clawsweeper Bot commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 8, 2026, 7:05 AM ET / 11:05 UTC (Revision 6).

ClawSweeper review

What this changes

The branch classifies unreadable conversation history as an actionable failure and shows qualified Doctor recovery guidance on optional group turns.

Example: A user sends an unmentioned group message whose saved history has no session header.

  • Before: The Gateway acknowledges dispatch with outbound: [] and the group receives no reply.
  • After: The group receives “OpenClaw couldn't read this conversation's history” with instructions to try openclaw doctor --fix and preserve the history if repair fails.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, correct shared-owner repair with exact-head Gateway delivery evidence, a baseline negative control, and no remaining review findings.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The updated body records exact-head after-fix delivery of the changed renderer's notice through an isolated real Gateway and acknowledged qa-channel optional group dispatch, followed by existing Doctor repair and successful reuse. This resolves the prior delivery-proof request; native Telegram is not claimed. Source inspection verifies that no persisted format, schema, writer, or migration changes, so no data migration is required.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes
User problem: A group sees typing followed by silence when its saved conversation history cannot load.
Reason: Actionable history failures should remain visible under the established optional-reply contract. The area owner's cleanup preserves the existing storage and reset decisions while repairing the remaining diagnostic gap.

Merge readiness

✅ Ready for maintainer review

This PR remains useful and is ready from this review: current main still misses the history-loader failure, and the updated exact-head Gateway trace resolves the previous proof blocker. No actionable findings remain.

Priority: P2
Reviewed head: d44fae1f13575bedc7eb8da95a9a810d550cbc4c

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Gateway loads saved conversation history before running an agent. Shared failure classification and reply rendering determine whether a failed turn produces recovery guidance or optional silence.

flowchart TD
  A[Group message] --> B[Gateway loads conversation history]
  B --> C{History readable?}
  C -->|Yes| D[Agent processes turn]
  C -->|No| E[Shared failure classification]
  E --> F[Recovery notice delivered to group]
  F --> G[Operator tries existing Doctor repair]
Loading

Technical review

Best possible solution:

Keep recovery in the shared classifier and renderer while preserving strict history admission and the existing Doctor repair owner.

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

Yes: the loader emits a diagnostic current main does not classify, and the supplied pinned-baseline Gateway trace records acknowledged group dispatch with no outbound reply. This review did not execute a reproduction.

Is this the best way to solve the issue?

Yes: extending the existing failure owner fixes visibility without duplicating reset logic, relaxing storage validation, or adding configuration.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • src/agents/failover/message-patterns.ts keeps the original intent (85f6969: Keep Gateway transcript-validation failures local instead of treating them as provider-session expiry and cooling healthy credentials.)
  • src/agents/failover/assistant-request-failure-copy.ts changes intended behavior with a stated reason (fix: make common error messages short and helpful #163381: Shared error renderers should explain what happened and provide useful recovery guidance without exposing internal diagnostics.)
  • src/agents/embedded-agent-runner/run/prompt-failure.test.ts keeps the original intent (85f6969: Exercise actual transcript validation through prompt-failure handling and protect shared credentials while preserving the final diagnosis.)

Testing

Proof path: shipped entry point. Added test files: 2.

Security

None.

Evidence

What I checked:

  • Verified introduced change: The pinned introduction delta only changes the shared classifier, recovery renderer, two existing test files, and troubleshooting documentation; it contains no reset, storage, migration, SDK, or reply-policy changes. (src/agents/failover/message-patterns.ts:300, d44fae1f1357)
  • Remaining current-main defect: Fetched main recognizes only “invalid session transcript entry”; it does not recognize the loader's “Persisted legacy session transcripts require doctor/import migration” diagnostic. The five touched paths have no differences between the pinned baseline and fetched main. (src/agents/failover/message-patterns.ts:300, 9c763cb168e9)
  • Production failure and visibility boundary: The header validator throws the exact diagnostic added to the matcher. Classification returns format before provider-session expiry, and optional silence applies only to generic runner failures. (src/config/sessions/session-entry-codec.ts:129, d44fae1f1357)
  • After-fix production-boundary proof: The supplied PR body, sourceRevision 7fb9f7a9a150210bc1a06b3e02d303869e78f51f13b07b270c7a65bf0382ada2, records an isolated secretless AWS run at the exact head. A real Gateway child receives an unmentioned optional group turn through qa-channel; acknowledged outbound delivery contains the exact qualified recovery notice with isError: true. The baseline records outbound: [], and existing Doctor repair followed by Gateway restart delivers REL6_REPAIRED_OK. The provider and channel transport are synthetic; native Telegram transport is not claimed. (d44fae1f1357)
  • Prior proof request resolved: The previous review at this same head requested after-fix notice delivery through the channel boundary. The updated body now supplies that observation and a production-only baseline negative control; the prior qualified-recovery finding remains fixed. (src/agents/embedded-agent-runner/run/prompt-failure.test.ts:424, d44fae1f1357)
  • Original classifier intent: The introducing patch and merged fix: transcript failures cool healthy credentials and hide recovery guidance #150882 explain that Gateway transcript failures must remain local, avoid cooling healthy credentials, and retain bounded recovery guidance. This PR extends that same owner to the loader diagnostic. (src/agents/failover/message-patterns.ts:299, 85f69690655a)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • DonnieFi: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • vincentkoc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

PR surface

Source 0, Tests +16, Docs +8. Total +24 across 5 files.

View PR surface stats
Area Files Added Removed Net
Source 2 4 4 0
Tests 2 66 50 +16
Docs 1 8 0 +8
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 78 54 +24

Stored data model

Persistent data-model change detected: migration/backfill/repair: src/agents/failover/message-patterns.ts, serialized state: src/agents/failover/message-patterns.ts. Migration or upgrade compatibility proof is recorded; maintainers should verify it before merge.

Labels

Label changes:

  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove status: 📣 needs proof: Current PR status label is status: 👀 ready for maintainer look.
  • remove proof: telegram-e2e: Current Telegram visible-proof status is not_needed.

Label justifications:

  • P2: This repairs silent failure reporting for groups with unreadable stored history through a narrowly scoped shared diagnostic change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

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 need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

History

Review history (5 earlier review cycles)
  • reviewed 2026-09-01T15:12:53.881Z sha 6bac34b :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-23T00:51:04.204Z sha 6bac34b :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-07T16:52:30.272Z sha 6bac34b :: needs real behavior proof before merge. :: [P2] Qualify recovery guidance for histories Doctor cannot repair
  • reviewed 2026-10-08T10:09:18.523Z sha d44fae1 :: needs real behavior proof before merge. :: none
  • reviewed 2026-10-08T10:38:30.764Z sha d44fae1 :: needs real behavior proof before merge. :: none

@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Sep 16, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. and removed P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. labels Sep 23, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the stale Marked as stale due to inactivity label Sep 23, 2026
@openclaw-barnacle

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@openclaw-barnacle openclaw-barnacle Bot added the stale Marked as stale due to inactivity label Oct 7, 2026
Classify missing or legacy transcript headers through the existing transcript
validation owner so optional group turns receive actionable failure copy.
Qualify Doctor as a repair attempt and preserve an escalation path for histories
it cannot repair. Extend the existing terminal-failure regression and document
recovery without changing storage or reply policy.

Current main already initializes headers before reset boundaries; retain that
implementation and drop the obsolete empty-reset changes while resolving the
contributor branch against main. Related: #115080.

Original fix by @izshaw; maintainer cleanup consolidates the remaining diagnostic
fix into the current shared error classifier and renderer.

Co-authored-by: izshaw <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime size: S and removed commands Command implementations size: M labels Oct 8, 2026
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Oct 8, 2026
@steipete steipete changed the title fix: bot shows typing then never replies after /new or daily reset on a fresh session fix: group turns fail silently when session history cannot load Oct 8, 2026
@steipete

steipete commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. proof: telegram-e2e This PR needs Telegram Test Server proof with the repository E2E skill. labels Oct 8, 2026
@steipete
steipete merged commit 814046e into openclaw:main Oct 8, 2026
172 of 176 checks passed
@steipete

steipete commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 9, 2026
…claw#135253)

* fix(sessions): stop resets from wedging never-materialized session transcripts

A /new or daily reset against a session entry whose SQLite transcript had no
rows appended the reset boundary at seq 0 with no session header. Every later
load then classified the transcript as legacy v1 and failed the session lane
on each turn, while the group silent-reply policy swallowed the generic
failure text - the bot showed typing, then nothing, forever.

- buildSessionResetBoundaryEvent builds no boundary when the transcript has
  nothing to reset; both lifecycle call sites share one owner helper.
- Loads distinguish headerless transcripts from legacy versions and point at
  "openclaw doctor --fix", which actually repairs that state (openclaw#115080).
- Transcript-repair load failures are classified as actionable rather than
  generic, so the repair notice stays visible in group chats instead of
  being silenced to NO_REPLY.

* test(auto-reply): materialize transcripts in reset-authorization fixtures

The durable-reset assertions seeded a session entry with zero transcript
rows and asserted the reset boundary landed there - exactly the headerless
seq-0 corruption the parent fix removes. Seed one message first so an
allowed reset still proves a durable boundary on a real conversation.

Co-authored-by: izshaw <[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 gateway Gateway runtime P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S stale Marked as stale due to inactivity 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