HandoffFrontmatter
Defined in: types/src/handoff.ts:26
Structured machine facts pre-filled into a SESSION doc. Rendered to flat snake_case frontmatter keys by render-session.ts.
Properties
Section titled “Properties”contextPacketPath
Section titled “contextPacketPath”contextPacketPath:
string
Defined in: types/src/handoff.ts:37
generatedAt
Section titled “generatedAt”generatedAt:
string
Defined in: types/src/handoff.ts:28
git: {
available:false; } | {ahead:number;available:true;behind:number;branch:string;diffStat:string;dirty:boolean;fetched:boolean;head:string;recentCommits:string; }
Defined in: types/src/handoff.ts:36
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ available: false; }
Type Literal
Section titled “Type Literal”{ ahead: number; available: true; behind: number; branch: string; diffStat: string; dirty: boolean; fetched: boolean; head: string; recentCommits: string; }
ahead:
number
available
Section titled “available”available:
true
behind
Section titled “behind”behind:
number
branch
Section titled “branch”branch:
string
diffStat
Section titled “diffStat”diffStat:
string
dirty:
boolean
fetched
Section titled “fetched”fetched:
boolean
True when a best-effort git fetch ran before ahead/behind were read.
False = the counts are against last-fetched refs and may be stale.
head:
string
recentCommits
Section titled “recentCommits”recentCommits:
string
label:
string|null
Defined in: types/src/handoff.ts:29
loop:
object
Defined in: types/src/handoff.ts:30
activeDraft
Section titled “activeDraft”activeDraft:
string|null
activePhase
Section titled “activePhase”activePhase:
string|null
position
Section titled “position”position:
string
tier:
string|null
schemaVersion
Section titled “schemaVersion”schemaVersion:
1
Defined in: types/src/handoff.ts:27