Skip to content

lossless v0.1.46

Choose a tag to compare

@github-actions github-actions released this 02 Nov 17:52
· 2 commits to main since this release

0.1.46 — 2026-11-02

  • Claude Code's copies of each request are no longer read as turns. Recent Claude Code versions write every message they send to the model a second time, in an api-request-blob line. Every turn in it is also on its own line, so lossless was reading each one twice. The copy carries harness text in the user's slot, so compact resume instructions and pieces of skill files were stored as the user's rules, and harness lines such as "Permission granted for: …" were stored as the user's own words. Every claim in a copy was also written a second time, a couple of seconds later. Those lines are now skipped. Records they already produced stay in a store until they are retired by hand with lossless supersede.
  • A message queued while the agent works is read as its session's. Claude Code writes a message you type mid-turn on a line with no note of how the session was started, so in a session a program started, a queued prompt was kept as something a person typed. It now takes the session's from the lines around it.
  • A test that fails on purpose is not stored as a failure. Test-first reports ("every new test failed first and then passed", "RED: 12 failed against the old code") were stored as failed attempts and came back as "do not repeat" warnings on unrelated work. They are now dropped when a turn is read, and lossless inspect --prune retires stored ones. A report that also gives a cause ("failed first because …", "failed before the fix: the cache ignored the tenant") is kept, and records an agent wrote with remember are never retired.
  • Fewer warnings, and the ones left say something the context does not. "Existing implementation may already cover part of this goal" came back on nearly every ask and only restated a decision already in the context, so decisions no longer warn; they still come back first in the context. A failed attempt warns only when an agent recorded it with remember or it shares a file or a code identifier with the ask (or matches it closely by meaning when an embedder is configured); one picked up from a conversation that only shares words with the goal still comes back in the context, without a warning. Standing rules warn as before.

Install

curl -fsSL https://github.com/jbgh/lossless/releases/latest/download/install.sh | sh
lossless setup

Already installed: lossless update