/** * get_handoff_briefing — session succession as a computed receipt (change: add-session-handoff-briefing). * * When a session ends mid-change (context exhausted, cleared, compacted, or moved), the successor * should not have to trust a prose summary. This composes the in-flight state from existing * lookups into one deterministic briefing: the same repository state gives the same bytes. * * 1. touched symbols: the working-tree diff's changed symbols (with callers, via `blast_radius`) * and, when a session ledger is live, the symbols this session edited and already committed; * 2. anchored memories and decisions in scope: fresh ones listed, drifted ones flagged, orphaned * ones withheld and counted (the recall discipline); * 3. drifted specs, and the open `openspec/changes/*` whose proposal or tasks name a touched file, * with their unchecked task lines quoted; * 4. the tests that reach the touched set; * 5. unfinished receipts: uncommitted files (staged, unstaged, untracked), the index lease, and * the session ledger's open facts. * * Every element carries `expand`: the tool call that returns its full detail, so the successor pays * only for what it needs. A token budget trims the least central sections first, each with an * omission receipt. Nothing is persisted, and no conversation transcript is read. * * NoRedundantConclusions: `blast_radius` reviews a pending diff, `briefing_since` catches up on * others' landed changes, and `orient` starts a session; this one hands an in-flight change over. */ export interface HandoffInput { directory: string; /** Approximate token budget for the whole briefing (default 1,500; 300–8,000). */ tokenBudget?: number; } export declare function handleGetHandoffBriefing(input: HandoffInput): Promise>; /** A plain-text rendering for a hook or a terminal. */ export declare function renderHandoff(b: Record): string; //# sourceMappingURL=handoff.d.ts.map