Session Pruning

Session Pruning

Scope

This page is a placeholder generated from the official source file structure.

What to verify

  • TODO: Add prerequisites and validation checklist.

Outline (from official headings)

  • When it runs
  • Smart defaults (Anthropic)
  • What this improves (cost + cache behavior)
  • What can be pruned
  • Context window estimation
  • Mode
  • cache-ttl
  • Soft vs hard pruning
  • Tool selection
  • Interaction with other limits
  • Defaults (when enabled)
  • Examples

Further reading

  • Official source file: concepts/session-pruning.md