Skip to main content

Module reflect

Module reflect 

Source
Expand description

voice reflect — transcript-to-events Claude consumer.

Consumes TranscriptEvent::Final events from a transcript.jsonl source (file path, stdin, or session directory), calls Claude via the existing AiClient, parses the YAML response into Events, and appends them to events.jsonl (or stdout, for one-shot mode).

Per #799: this is step 1 of the build order — text-in / events-out, no audio code. See the umbrella issue for the load-bearing event schema and the rationale for event-sourced reflection.

Modules§

prompt
Prompt template loading and rendering.
validate
Parses and validates the LLM’s YAML reflection response.

Structs§

ReflectOptions
Driver options. The trait fields (UlidRng, Clock, AiClient) are injected so tests can pin them with deterministic implementations.

Enums§

TranscriptSource
Where to read the transcript from.

Functions§

run_reflect
Drives one reflection invocation end-to-end.