Build a safe voice-example library
Status: Ready
Article ID: 026
Truth label: Current
Audience: Content operator
Reader outcome: Create, approve, classify, and review voice examples without turning client facts or local-only writing into cloud prompt material.
Related articles: 017, 025, 067
Target week: 11
Last verified: 2026-09-13
Technical reviewer: Codex source audit
Editorial reviewer: Codex editorial audit
Teach expression, not facts
A voice example is a paired user message and assistant response used to
demonstrate expression. It belongs in the dedicated voice_examples
collection, not the factual knowledge collection.
Good examples reveal sentence shape, directness, pacing, disagreement style, or how a response turns analysis into a next move. They should not contain facts that a later answer is expected to copy. Factual knowledge needs its own source, provenance, update cycle, and retrieval rules.
Use the full record
Each example records a topic, response type, register id, user message, assistant response, approval state, privacy class, and source label. Those fields make the example reviewable and retrievable for the right delivery register.
New examples require explicit approval before retrieval. Keep them unapproved while drafting or redacting. Approval should mean both the writing and its data classification were reviewed, not merely that the prose sounds good.
The usual way an example is born is a correction: edit a draft in chat, then approve the corrected version as an example from Voice and drafts. That editor also manages the learning state of each example and the operator default tone. See Writing and voice.
Choose privacy before approval
The current privacy values are local-only and cloud-allowed. Exemplars
can also be defined in modular voice packs under exemplars/*.toml.
- Use
local-onlywhen the pair may be used only with owned local inference. - Use
cloud-allowedonly when every included word is approved for external provider processing.
Brain excludes local-only examples from cloud-provider prompts. Locality is derived from the resolved inference host, not just the provider name, because a remote Ollama endpoint is still a network machine. If the reviewer is unsure, keep the example local-only or leave it unapproved.
Remove sensitive specificity
Before approval, remove client names, repository paths, credentials, private URLs, ticket text, raw traces, contract terms, personal data, and facts that identify a real engagement. Replace them with a synthetic situation that preserves the writing pattern.
Also remove accidental instructions that could change factual behavior. A voice example should not say to ignore sources, invent confidence, suppress limitations, or reveal hidden context. Style guidance is not a policy bypass.
Review retrieval behavior
Brain retrieves at most the configured small number of approved examples for the selected register. Relevance comes from the current prompt and record metadata. The generation report can show which example ids were selected.
Test the library with several synthetic prompts. Look for repeated phrases, topic mismatch, factual leakage, and excessive imitation. Delete or revise an example that damages answers even if it passed its original prose review.
Current limits
Approval and privacy metadata reduce risk but do not create complete tenant isolation. A cloud-allowed label is only as sound as the human review behind it. Retrieved examples can influence wording in ways the report cannot measure causally. Keep the library small, attributable, and easy to revoke.
Next lesson
Continue with Import PDF and EPUB knowledge.
Derivative map
- Weekly package: WEEK-11
- Long video: VIDEO-W11-LONG
- Shorts: SHORT-W11-PROBLEM, SHORT-W11-MECHANISM, SHORT-W11-WARNING
- Email: EMAIL-W11
- LinkedIn: LI-W11-A, LI-W11-B
- X: X-W11-A, X-W11-B
- Visual: VISUAL-W11
Review record
- Example fields, approval, retrieval limits, and privacy filtering checked against current source.
- Provider egress, client-data, and incomplete-isolation limits reviewed.
- Redaction checklist excludes credentials, private paths, and live engagement data.
- Internal links and repository voice reviewed.
Review completed: 2026-09-03
Re-audited against the running product: 2026-09-13