chore(deps): bump ctxzip to v0.4.1 - #465
Closed
initializ-mk wants to merge 1 commit into
Closed
initializ-mk wants to merge 1 commit into
initializ-mk wants to merge 1 commit into
Conversation
v0.4.1 tightens the compressor's error-keep heuristic. The prior `looksError` was a bare substring match, so any content mentioning "error"/"fail" (Go `error` return types, log lines like "0 errors") was pinned and never compressed. The JSON crusher now keeps only structural errors (log levels, stack traces, structured level fields) and routes the rest through an adaptive scored keep-budget, so repetitive/structured tool output compresses instead of being over-kept. Real error rows still survive verbatim; drops remain reversible. Upgrades the committed ctxzip consumers: forge-core/compress (agent context compression) and the markdown channel converter. Offline crusher benchmark (v0.4.0 -> v0.4.1): json-logs (1 FATAL): 73.9% -> 97.6% search-results: 0.0% -> 97.4%
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps
github.com/initializ/ctxzipv0.3.0 → v0.4.1 in forge-core.Why
v0.4.1 tightens the compressor's error-keep heuristic. Previously
looksErrorwas a bare substring match, so any content merely mentioning "error"/"fail" — Goerrorreturn types, log lines like"0 errors"— was pinned and never compressed. The JSON crusher now keeps only structural errors (log levels, stack traces, structured level fields) and routes the rest through an adaptive scored keep-budget, so repetitive/structured tool output compresses instead of being over-kept. Genuine error rows still survive verbatim, and every drop stays reversible via CCR.Who this affects
The committed ctxzip consumers get the improved crushers:
forge-core/compress— the agent's context compressionforge-plugins/channels/markdown)Impact (offline crusher benchmark, v0.4.0 → v0.4.1)
FATAL/error rows are preserved in both.
Scope
Dependency bump only (
forge-core/go.mod+go.sum).forge-corebuilds and./compress/...tests pass on v0.4.1.