Compact context
context_compactSummarize accumulated history into a dense context block, snapshot state, and re-hydrate tracked files to reset and continue with a compact ground truth.
Instructions
Summarize accumulated history into a dense block, snapshot the ledger, re-hydrate tracked files, and run Pre/PostCompact hooks. Returns the compacted context block to install as new ground truth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preserve | No | Extra preservation instructions, e.g. 'keep all exact error strings'. | |
| sessionId | No | ||
| transcript | No | Required in passthrough mode: the full history to compact. |