picoclaw/docs
xiaoen c63c6449b4 fix(agent): forceCompression recovers from single oversized Turn
When the entire session history is a single Turn (e.g. one user message
followed by a massive tool response), findSafeBoundary returns 0 and
forceCompression previously did nothing — leaving the agent stuck in
a context-exceeded retry loop.

Now falls back to keeping only the most recent user message when no
safe Turn boundary exists. This breaks Turn atomicity as a last resort
but guarantees the agent can recover.

Also updates docs/agent-refactor/context.md to document this behavior.

Ref #1490
2026-03-17 10:23:16 +08:00
..
agent-refactor fix(agent): forceCompression recovers from single oversized Turn 2026-03-17 10:23:16 +08:00
channels Enable rich-text messages in matrix channel (#1370) 2026-03-12 01:25:28 +08:00
design feat(agent): steering (#1517) 2026-03-16 00:08:16 +08:00
migration refactor: update model name and add VolcEngine coding plan (#1412) 2026-03-12 16:10:29 +08:00
ANTIGRAVITY_AUTH.md fix: correct docs misalignment across translations and guides 2026-02-20 18:23:22 +03:00
ANTIGRAVITY_USAGE.md fix: correct docs misalignment across translations and guides 2026-02-20 18:23:22 +03:00
debug.md debug doc 2026-03-10 00:10:07 +01:00
steering.md feat(agent): steering (#1517) 2026-03-16 00:08:16 +08:00
tools_configuration.md feat(mcp): tool search tools (#1243) 2026-03-09 18:21:49 +01:00
troubleshooting.md Added a native WhatsApp channel implementation. 2026-02-22 12:29:27 -08:00