Skip to content

[Bug]: #LosslessClaw + OpenClaw v2026.3.11: Tasks stop silently, token shows n/a, context compression not triggered #44511

Description

@dasong-hu

Bug type

Behavior bug (incorrect output/state without crash)

Summary

After upgrading to OpenClaw v2026.3.11 with LosslessClaw enabled, long tasks silently halt, session token displays  n/a , and context compression never triggers due to broken context engine interop

Steps to reproduce

1. Update to OpenClaw v2026.3.11

2. Install & enable LosslessClaw

3. Run long task (automation/skill)

4. Observe: task stops | token  n/a  | fallback/exports errors in log

Expected behavior

  • Token counting works with LosslessClaw.
  • Context compression triggers per config.
  • No silent failures; clear errors or retrie

Actual behavior

Long-running tasks halt silently in the middle with no error message or reply posted. The session token shows  n/a  permanently and does not update. Context compression fails to trigger even with  context_strategy: em  configured. The gateway logs show "reply target not found"; no fallback or retry occurs, and the pipeline exits quietly.

OpenClaw version

2026.3.11

Operating system

Windows server 2022

Install method

pnpm dev

Model

custom-volcengine-ark (doubao-seed-2.0-code)

Provider / routing chain

OpenClaw -> LosslessClaw (plugin interception) -> custom-volcengine-ark -> doubao-seed-2.0-code

Config file / key location

No response

Additional provider/model setup details

No response

Logs, screenshots, and evidence

00:38:55 [lcm] completeSimple error code: No exports main defined in ...\mariko-chat\api\package.json
00:38:55 [lcm] content preview: all extraction attempts exhausted; provider=custom-volcengine-ark; model=doubao-seed-2.0-code; source=fallback
00:38:55 [res] chat.send

Impact and severity

Affected: All users running OpenClaw v2026.3.11 with LosslessClaw enabled
Severity: High (blocks long-duration automation workflows)
Frequency: 100% reproducible
Consequence: Long tasks stop silently without feedback; context compression fails; agent cannot finish jobs; no error visibility; manual  /reset  required to avoid interruption

Additional information

Last known good version: Unknown (pre‑v2026.3.11, prior versions also unstable; not a regression)
First known bad version: OpenClaw v2026.3.11
Temporary workaround: Manually run  /compact  during long‑running tasks to force context compression and prevent silent termination.
Related issues:

Additional context: This issue only occurs with LosslessClaw enabled, due to incompatible interception over the refactored context/token‑counting interface. Gateway logs show “reply target not found” with  source=fallback  when tasks terminate silently.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug:behaviorIncorrect behavior without a crash

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions