Expand description
Handoff context generation — extract structured summaries from sessions.
This module provides programmatic extraction of session summaries for handoff between agent sessions. It supports both single-session and multi-session merge.
Structs§
- Check
Run - Conversation
- A user→agent conversation pair.
- Evidence
Ref - Execution
Contract - File
Change - A file change observed during a session.
- Handoff
Summary - Summary extracted from a single session.
- Handoff
Validation Report - Merged
Handoff - Merged handoff from multiple sessions.
- Shell
Cmd - A shell command executed during a session.
- Uncertainty
- Undefined
Field - Validation
Finding - Verification
- Work
Package
Functions§
- format_
duration - Format seconds into a human-readable duration string.
- generate_
handoff_ hail - Generate a summary HAIL session from an original session.
- generate_
handoff_ markdown - Generate a Markdown handoff document from a single session summary.
- generate_
handoff_ markdown_ v2 - Generate a v2 Markdown handoff document from a single session summary.
- generate_
merged_ handoff_ markdown - Generate a Markdown handoff document from a merged multi-session handoff.
- generate_
merged_ handoff_ markdown_ v2 - Generate a v2 Markdown handoff document from merged summaries.
- merge_
summaries - Merge multiple session summaries into a single handoff context.
- validate_
handoff_ summaries - validate_
handoff_ summary