From 04628bcb461811e205b35728dfd2f182933f81d5 Mon Sep 17 00:00:00 2001 From: iamdoubz <> Date: Thu, 2 Jul 2026 11:26:05 -0500 Subject: [PATCH] docs: document template_id column and list_note_templates/start_recording (T8.1, FR-NOTE-5) --- docs/03-data-model.md | 2 ++ docs/04-api-contracts.md | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/03-data-model.md b/docs/03-data-model.md index 5f0e4bc..fdf9d4d 100644 --- a/docs/03-data-model.md +++ b/docs/03-data-model.md @@ -46,6 +46,8 @@ CREATE TABLE meetings ( backend_used TEXT, -- npu|nvidia|amd|intel|cpu model_used TEXT, -- e.g. whisper-base calendar_event_id TEXT, -- FK -> calendar_events.id (nullable) + template_id TEXT, -- note-template id (T8.1, FR-NOTE-5); catalog is + -- a built-in Rust list (notes::templates), not a table created_at INTEGER NOT NULL, updated_at INTEGER NOT NULL ); diff --git a/docs/04-api-contracts.md b/docs/04-api-contracts.md index 5dcb536..c6e5d80 100644 --- a/docs/04-api-contracts.md +++ b/docs/04-api-contracts.md @@ -14,7 +14,8 @@ each command returns `Result` where `WaError` carries a `kind` (mach // ---- Recording lifecycle ---- // `record` (default false) controls audio RETENTION (ADR-0009). When false, working audio is // deleted on finalize and only the transcript/notes persist. It can be toggled mid-meeting. -start_recording(input: { meetingTitle?: string; calendarEventId?: string; record?: boolean }): MeetingId +// templateId (Phase 8, T8.1, FR-NOTE-5) picks a NoteTemplate — see list_note_templates below. +start_recording(input: { meetingTitle?: string; calendarEventId?: string; record?: boolean; templateId?: string }): MeetingId stop_recording(input: { meetingId: MeetingId }): MeetingSummaryRef pause_recording(input: { meetingId: MeetingId }): void resume_recording(input: { meetingId: MeetingId }): void @@ -51,6 +52,9 @@ update_notes(input: { meetingId: MeetingId; markdown: string }): void search(input: { query: string }): SearchHit[] // FTS (FR-SEARCH-1) set_tags(input: { meetingId: MeetingId; tags: string[] }): void list_tags(): string[] // all known tag names, sorted +// NoteTemplate = { id: string, name: string, sections: string[] } (T8.1, FR-NOTE-5). Meeting +// gained `template_id: string | null` — the template picked at start_recording. +list_note_templates(): NoteTemplate[] // ---- LLM / AI provider (ADR-0007/0011) ---- // provider ∈ ollama | custom | anthropic | openai | off. Hosted-provider API keys are passed to