Expand description
A deterministic model-facing view of history. Source transcripts stay lossless.
Structs§
Enums§
Constants§
- ARCHIVE_
HANDOFF_ PREAMBLE - Opening sentence of a hand-off written when an archived session is restored from the SessionWiki index. The restored session has no workspace from the old one, so it is marked apart from a cross-harness resume.
- DEFAULT_
SUMMARY_ BYTES - FULL_
TOOL_ CALLS - HANDOFF_
PLACEHOLDER - What a prior handoff turn contributes to a new compaction. The transcript already carries the pre-resume lineage as ordinary turns, so repeating the handoff body would only spend budget on a summary of a summary.
- HANDOFF_
PREAMBLE - Opening sentence of every handoff this module writes. Generation and detection share it so a later resume can always recognize its own prior handoff turns.
- LEGACY_
HANDOFF_ PREAMBLE - Opening sentence of the byte-truncating handoff this pipeline replaced. Sessions resumed by that build still carry it in their transcripts.
- SUMMARY_
VERSION - Change when derived indexing content changes, even without a source update.
Functions§
- excerpt
- A head/tail excerpt with an explicit byte omission count, never broken UTF-8.
- indexed_
tool_ call - Reconstruct indexed summary content without treating serialized detail as a tool name. Legacy indexes contain only titles and have no recoverable tool payload.