Skip to content

fix: guard non-positive auto compact inferred threshold#14

Merged
fennoai[bot] merged 1 commit into
codex/issue-294-auto-compact-thresholdfrom
fork-pr-309-1776262626
Apr 15, 2026
Merged

fix: guard non-positive auto compact inferred threshold#14
fennoai[bot] merged 1 commit into
codex/issue-294-auto-compact-thresholdfrom
fork-pr-309-1776262626

Conversation

@fennoai

@fennoai fennoai Bot commented Apr 15, 2026

Copy link
Copy Markdown

Requested by @Yumiue

Summary

  • Guard runtime auto compact threshold so resolver outputs must be positive
  • Fall back to fallback threshold when resolver returns zero/negative without error
  • Add runtime regression tests and align compact/config documentation

- fallback when resolver returns zero/negative without error
- add regression tests for zero/negative resolver outputs
- align compact/config docs with implicit-threshold behavior

Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: Yumiue <188874804+Yumiue@users.noreply.github.com>
@fennoai fennoai Bot merged commit 3055d8f into codex/issue-294-auto-compact-threshold Apr 15, 2026
1 check passed
@fennoai fennoai Bot deleted the fork-pr-309-1776262626 branch April 15, 2026 14:25
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

wynxing pushed a commit that referenced this pull request Apr 16, 2026
fix(todo): address review issues for todo_write and mutator
fennoai Bot pushed a commit that referenced this pull request Apr 16, 2026
…er-fix

test(tui): raise update.go coverage above 80%
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.

2 participants