Skip to content

fix(compact): enforce strict archived prompt cap#11

Merged
wynxing merged 1 commit into
codex/taskstate-compact-prfrom
fork-pr-270-1776130742
Apr 14, 2026
Merged

fix(compact): enforce strict archived prompt cap#11
wynxing merged 1 commit into
codex/taskstate-compact-prfrom
fork-pr-270-1776130742

Conversation

@fennoai

@fennoai fennoai Bot commented Apr 14, 2026

Copy link
Copy Markdown

Requested by @Yumiue

Summary

  • fixed handling to enforce a strict cap in
  • added compact prompt tests for strict length and tiny-budget branches
  • applied a code-simplifier pass to make assembly logic clearer without changing behavior

…sembly

Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: Yumiue <188874804+Yumiue@users.noreply.github.com>
@wynxing wynxing merged commit c6231c9 into codex/taskstate-compact-pr Apr 14, 2026
1 check passed
@fennoai fennoai Bot deleted the fork-pr-270-1776130742 branch April 14, 2026 02:49
@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

❌ Patch coverage is 87.17949% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/context/compact_prompt.go 87.17% 4 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

wynxing pushed a commit that referenced this pull request Apr 15, 2026
fix(runtime): repair test compile errors
wynxing pushed a commit that referenced this pull request Apr 25, 2026
fix: resolve version fallback messaging and align update docs
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.

3 participants