Skip to content
Manage context and native history
On this page

Manage context and native history

Context measures what a model can use for a request. Native history controls change a provider session’s conversation state; neither is a substitute for repository rollback or subscription accounting.

Read context separately from quota

Open the Code context control to inspect the information available for the active session. Context pressure concerns the model’s input window. Usage remaining concerns a provider account allowance. A provider can have allowance left while a conversation needs compaction, and a small conversation can still encounter an account limit.

Use supported session commands

When the session and harness support them, the composer recognizes these Rudr session commands:

Command Intended operation
/compact Compact the current context
/rewind Rewind one user turn
/rewind 2 Rewind the specified number of user turns, within the supported limit
/fork Create a separate continuation
/fork worktree Fork with a separate worktree when supported
  1. Wait until the session is in a state that permits the operation.
  2. Enter the supported command in the composer and send it.
  3. Inspect the success or unavailability message and, for a fork, the new destination and folder.
  4. Verify the retained conversation before issuing new editing instructions.

Native Claude Code/Codex history operations require qualified versions and eligible native history. Other paths can have different behavior. A command’s existence in Rudr does not establish that every external CLI implements it identically. Inspect Diagnostics → Capabilities and limitations if an operation is unavailable.

Files remain separate

Conversation rewind does not restore the entire repository. Use file restoration only for the verified checkpoints it offers, and inspect Git for other changes. A previous-session reference is bounded context rather than a native history fork.

Instructions have been reviewed against the application source; native setup and account walkthroughs remain to be verified. Platform and provider limitations are described above.

Manage context and native history — Rudr