Skip to main content

Module handoff

Module handoff 

Source
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§

Conversation
A user→agent conversation pair.
FileChange
A file change observed during a session.
HandoffSummary
Summary extracted from a single session.
MergedHandoff
Merged handoff from multiple sessions.
ShellCmd
A shell command executed during a session.

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_merged_handoff_markdown
Generate a Markdown handoff document from a merged multi-session handoff.
merge_summaries
Merge multiple session summaries into a single handoff context.