Skip to content

release v0.1.46 - #192

Closed
ranxianglei wants to merge 2 commits into
masterfrom
2026-08-22_release-v0.1.46
Closed

release v0.1.46#192
ranxianglei wants to merge 2 commits into
masterfrom
2026-08-22_release-v0.1.46

Conversation

@ranxianglei

Copy link
Copy Markdown
Owner

Changes since v0.1.44

Preflight (against the real 0.0.32 from npm)

  • npm install (lockfile refreshed — acp-kernel pinned 0.0.32)
  • npm run typecheck
  • tests 412/412
  • npm run build

Merge order: #189 → this. acp-kernel 0.0.32 is already live on npm.

Session 01a02542 re-issued a byte-identical no-op compress 3,849 times
(5h13m): the kernel hides failed compress calls from the sent view, so at
cap the visible context stops changing and a deterministic model can never
observe its failure. Two defenses:

- Tool-side circuit breaker: once the turn burned MAX_COMPRESS_ATTEMPTS
  failed/no-op attempts, re-submitting an exact already-failed range set
  is refused without executing anything (no stateFor/processTurn/save).
- Post-cap STOP message: while the newest outcome is a failure, every
  context fire re-injects a count-bearing stop instruction — visible in
  headless mode and varying per new failure, so the sent view never sits
  at a fixed point.

Failed outcomes now carry their call's parsed ranges (from the assistant
toolCall block) to key the breaker.
@ranxianglei
ranxianglei deleted the 2026-08-22_release-v0.1.46 branch August 22, 2026 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant