Skip to content

Add a once-per-session context pause - #8

Merged
olegus8 merged 2 commits into
mainfrom
context-threshold-pause
Sep 14, 2026
Merged

olegus8 merged 2 commits into
mainfrom
context-threshold-pause

Conversation

@olegus8

@olegus8 olegus8 commented Sep 14, 2026 •

Copy link
Copy Markdown
Owner

model_context_pause_percent (1-99) pauses once per thread at a percentage of usable context when model_auto_compact_enabled = false. Unset disables the pause.

The pause uses the exhaustion guard's accounting and preserves tool results and accepted input. The optional context_pause completion field is flushed before delivery; its marker survives restarts. Explicit user input resumes processing.

Closes #4. UI: #5. Deployment: olegus8/olegus-family#362.

Validation on the AWS Linux builder:

  • 12 new tests and 13 compaction regressions passed.
  • Core: 4,344 passed, 4 failed, 8 skipped. Failures match the baseline in #7.
  • Configuration/protocol: 969 passed, 1 failed, 1 skipped. effective_workspace_intersection_preserves_network_metadata_and_temp also fails on base 2c111fa38982dfdbdd7642e8532b1886d9425033 with the same temporary-directory setup.
  • Schema checks, Clippy and formatting passed.

Not run: full workspace, macOS, Windows or live clients (#6).

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.

Pause once at a configurable context threshold and accept later requests

1 participant