Skip to main content

Module briefing

Module briefing 

Source

Structs§

BriefingOptions
Options for assembling the resume briefing (MCP and CLI).

Constants§

DEFAULT_RECENT_EVENTS_LIMIT

Functions§

assemble_resume_briefing
Assemble the four-section resume briefing for MCP and CLI.
build_current_state
Build §2 Current State markdown body.
events_excluding_briefing
Events not included in the briefing recent-activity list (for §4 history summary).
extract_current_phase
First unchecked phase line from plan (reuses running_summary heuristics).
extract_objective
Extract the overall objective from plan content (§1).
format_recent_activity
Format §3 Recent Activity lines (newest first).
history_summary_path
load_briefing_events
Load and select briefing events for the store.
load_history_summary
load_or_generate_history_summary
Read §4 body, generating synchronously if cache is missing but older events exist.
maybe_refresh_history_summary
Refresh cached §4 history summary when event count advances past the watermark.
save_history_summary
select_briefing_events
Select events for §3: current session first (newest first), backfill from older sessions.
template_history_summary
Template fallback when LLM history summary is unavailable.