Session start — API reference¶
CLI¶
Context builder¶
board_section
¶
A one-line summary of the current project's live board columns.
Returns "" when the project has no actionable (non-done) cards, so the context stays silent when there's nothing to surface.
build_session_context
¶
Assemble the full session-start context markdown.
| PARAMETER | DESCRIPTION |
|---|---|
session_id
|
The starting Claude Code session, when known (the hook passes it; the home TUI's preview has none), adding the cards bound to it.
TYPE:
|
Returns "" when every section is silent — the hook then emits nothing, keeping quiet sessions quiet.
inbox_section
¶
The quick-capture inbox count as a compact label.
Returns "N inbox" when there are captured items waiting to be triaged,
or "" when the inbox is empty — so the context stays silent when there's
nothing to sort.
reminders_section
¶
Overdue reminders, formatted like mc-tool-reminders check.
Returns "" when nothing is overdue, so the context stays silent.