Skip to main content

Crate talk_core

Crate talk_core 

Source
Expand description

The pure talk-cli engine. No I/O, no audio, no ML.

Modules§

cleanup
clock
entry
eval
The checked-in restraint eval set (pure). Makes “the formatter never changes meaning” a FALSIFIABLE gate, not a vibe: each fixture lists impermissible substrings (meaning-changing edits) that must never appear in a formatter’s output. score is the fraction of fixtures with zero impermissible edits. A deliberately over-editing mock MUST score red (see tests).
format
The formatter seam (pure). talk-core owns the restraint POLICY: the Formatter contract, the always-safe deterministic fallback, and the diff-guarded call site. The real Candle 0.5B inference lives in the binary’s src/format/ and implements this same trait (Plan 3 T7).
frontmatter
lexicon
Personal-lexicon substitution (pure). The user authorizes these meaning changes, so they run in the pre-layer BEFORE the content-word guard. Single left-to-right pass over the original input: substituted output is never re-scanned, so cyclic and value-contains-key maps terminate.
matchq
Near-match detection for bring-your-own questions, so a rephrasing offers to continue the existing thread instead of silently forking it (spec §8).
palette
questions
render_model
selection
settle
slug