You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Protected-message exemption inflates the incompressible context floor: per-compression reasoning is never reclaimable (~83.5% of measured residual) #651
Follow-up found while observing the feature live (twin of billion-context-pi #348): the closure gate "compress call followed by a genuine user message" is unreachable in long agentic sessions — the whole session has no user messages after the opening prompt, so every compress round stays active forever and its thinking is retained as a permanent floor (observed: 0 drop events; 20612 / 8411 / 10581 chars retained across three compress rounds).
Fixed in PR #667 (commit 8471882, rebased on the docs commit): a round now closes on round evidence — the compress call's tool-result (contentType: "tool-result", matching toolCallId") exists at a later index and at least one message follows it. In-flight rounds (result missing, or result still the last message) stay untouched; the per-provider reasoning.drop=false escape hatch for round-trip-requiring thinking models (DeepSeek / GLM thinking / Qwen-QwQ) is preserved. Tests 1266/1266 green.
Activity
ranxianglei commentedon Sep 8, 2026
[bot] 🏷 收到,已接手。正在按 opencode-acp#368 / PR #370 的思路在本仓库定位等价代码路径(acp-kernel 的
isMessageProtected/prune/reasoning配对),确认 billion-context 侧的 reasoning 载体形态后给出修复方案。稍后回复。docs: name the kill-switch use case — round-trip-requiring thinking m…
fix(#651): close rounds on tool-result evidence, not user messages (#348
ranxianglei commentedon Sep 9, 2026
Follow-up found while observing the feature live (twin of billion-context-pi #348): the closure gate "compress call followed by a genuine user message" is unreachable in long agentic sessions — the whole session has no user messages after the opening prompt, so every compress round stays
activeforever and its thinking is retained as a permanent floor (observed: 0 drop events; 20612 / 8411 / 10581 chars retained across three compress rounds).Fixed in PR #667 (commit
8471882, rebased on the docs commit): a round now closes on round evidence — the compress call'stool-result(contentType: "tool-result", matchingtoolCallId") exists at a later index and at least one message follows it. In-flight rounds (result missing, or result still the last message) stay untouched; the per-providerreasoning.drop=falseescape hatch for round-trip-requiring thinking models (DeepSeek / GLM thinking / Qwen-QwQ) is preserved. Tests 1266/1266 green.Merge pull request #667 from ranxianglei/fix/compress-reasoning-floor
fix(ranxianglei#651): drop oversized reasoning from closed compress t…
fix(ranxianglei#684): reasoning-drop self-disables on strict-echo ups…
Merge pull request #1668 from ranxianglei/2026-09-29_anthropic-thinki…
fix(ranxianglei#1658): gate ranxianglei#651 reasoning-drop on signed …
fix(server): redacted_thinking arms the ranxianglei#651 reasoning-dro…
fix: recognize mcp__bili__compress in reasoning drop and plan it befo…
merge master into fix/redacted-thinking-reasoning-drop-gate
Merge pull request #3196 from sorinirimies/fix/redacted-thinking-reas…
feat: wire google lane into snapshot render (#3764)
test: pin #3922 mechanism — #651 reasoning-drop creates the 47/169 vi…
test: pin #3922 mechanism — #651 reasoning-drop creates the 47/169 vi…