Browse docs

Core Concepts

Session hygiene

Session hygiene keeps output quality high and cost predictable by reducing context rot and attention dilution.

Anti-rot practices

  • Close a session when a task is complete; open a new one for the next task.
  • Restate your objective when changing direction inside a long session.
  • Remove stale assumptions by explicitly correcting old constraints.
  • Compact when context is crowded, especially before starting a new sub-task.

When to clear, compact, or restart

  • Compact: continuity matters, but context pressure is high.
  • Restart session: previous context is no longer relevant to new work.
  • Clear/re-scope: output keeps missing obvious constraints or repeats old assumptions.