# lossless-claw-enhanced

lossless-claw-enhanced is a deprecated fork of a context-management plugin for OpenClaw that replaces sliding-window compaction with a DAG-based summarization system preserving every message within the model's token limit.

lossless-claw-enhanced is a Lossless Context Management plugin for the OpenClaw assistant, based on the LCM paper from Voltropy. It replaces OpenClaw's built-in sliding-window compaction with a DAG-based summarization system that keeps every message accessible while staying within a model's token limit.

The fork's two original contributions were CJK-aware token estimation, which corrects an upstream bug that undercounted Chinese, Japanese and Korean text by two to four times, and a CJK trigram full-text search. Both have since been merged into the upstream Martian-Engineering/lossless-claw project, so this fork is marked deprecated: new users are directed to install upstream directly, and it no longer compiles against current OpenClaw releases.

Website: https://youtu.be/m21PNaIW3N4
