Skip to content

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.

contextPacketPath: string

Defined in: types/src/handoff.ts:37


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

{ available: false; }


{ ahead: number; available: true; behind: number; branch: string; diffStat: string; dirty: boolean; fetched: boolean; head: string; recentCommits: string; }

ahead: number

available: true

behind: number

branch: string

diffStat: string

dirty: boolean

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: string


label: string | null

Defined in: types/src/handoff.ts:29


loop: object

Defined in: types/src/handoff.ts:30

activeDraft: string | null

activePhase: string | null

position: string

tier: string | null


schemaVersion: 1

Defined in: types/src/handoff.ts:27