Skip to content

Keep output headroom for truncated replies - #189

Merged
1-ztc merged 1 commit into
mainfrom
codex/context-16k-continuation
Nov 22, 2026
Merged

1-ztc merged 1 commit into
mainfrom
codex/context-16k-continuation

Conversation

@1-ztc

@1-ztc 1-ztc commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Reserve more output room by reducing optional historical excerpts when selecting an S4 or S5 projection.
  • Keep only the active continuation prompt in the model context. Strip private reasoning from truncated replies while keeping visible text and the original archive.
  • Request less reasoning on cutoff recovery without increasing an already disabled or minimal reasoning setting. Preserve the existing overflow guard for protected input.

Validation

  • Versioned-context regression covers 16k output headroom, reasoning-only and visible cutoffs, stitched output, archive retention, and rejection of protected input that cannot fit.
  • Same MiniMax-M3 route, prompt, and 26-message RDK X5 storage history at 16,000 tokens. The baseline returned no final answer. The behavior-patch build completed two fresh replays, including one with an S5 cutoff followed by successful S4 continuation. A 32k control retained its 4,096-token output cap.
  • One live replay made an extra file-location inference that contradicted the board receipt. The other replay correctly kept the paths separate. The final tie handling and reasoning guard refinements were verified locally.

@1-ztc
1-ztc merged commit bc53b0f into main Nov 22, 2026
3 checks passed
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