Documentation / Start here

Configuration reference

Transcript Lake has no configuration file. Configuration is the global --data-dir flag, environment variables, command flags, and external binaries on PATH. Empty environment values are treated as unset unless stated otherwise.

Transcript Lake has no configuration file. Configuration is the global --data-dir flag, environment variables, command flags, and external binaries on PATH. Empty environment values are treated as unset unless stated otherwise.

Global selection#

KeyType/defaultPrecedence and effect
--data-dir <path>path; absentMay appear anywhere before/after the command. Converted to absolute, exported to the child process as LAKE_DATA, and wins for that invocation. Duplicate flag or missing path is an error.
LAKE_DATApath; $HOME/.transcript-lakeState root for events, cursors, labels, status, derived data, and model cache. Relative paths are made absolute from the invocation directory.
HOMEpath; . if unavailableVendor roots, default Lake root, default Tama ready path, shared goal artifacts, and Oko index location. Run under the same real user as the transcript stores.
PATHpath listDiscovery of duckdb, oko-cli, and llama-cli; child-process execution.

Integration environment#

KeyType/defaultEffect
TRANSCRIPT_LAKE_SECRET_FORMATSpath to a JSON file; the declaration shipped with Transcript Lake when unsetThe declaration of what the masker treats as a secret (assignment, token and entropy patterns and the entropy diversity floor). Unset, the masker reads the declaration that ships with the product: the credential prefixes providers document as tokens, and no assignment or entropy class. A named file that cannot be read or does not declare every key refuses stream, adopt and recovery replay, naming the file. See Masking guarantees.
KeyType/defaultEffect
HOOKS_ADAPTIVE_SEGMENTS_READYdirectory; $HOME/.hooks-adaptive/telemetry-segments/readyTama immutable closed-segment inbox. When absent, legacy telemetry logs are considered.
OKO_CLIexecutable path/name; search oko-cli on PATHUsed by projection refresh --target oko and projection rebuild --target oko --reindex.
TRANSCRIPT_LAKE_SQLdirectory; embedded SQLOverrides both compiled views.sql and signals.sql for operator development. If set, the requested file must exist; there is no fallback per missing file.
TRANSCRIPT_LAKE_STERfile; search ster on PATHThe Ster program the local goal model runs on. Must name a file.
TRANSCRIPT_LAKE_GOAL_MODELGGUF file; Transcript Lake's own copyExplicit goal model. It must pass the pinned SHA-256 validation.

goal title/goal label run on the file TRANSCRIPT_LAKE_GOAL_MODEL names, checked, or on Transcript Lake's own copy under LAKE_DATA/models/. That copy is fetched from the compiled Hugging Face revision when it is absent or fails its digest check, and a failed check is said on stderr before the fetch. The system prompt is kept and fetched the same way. No other product's cache or storage is read. Core streaming makes no network request.

State layout#

Path under LAKE_DATARoleAuthority
events/runtime=<r>/date=<d>/part-<hash>.ndjsonmasked canonical eventsauthoritative
cursors.jsonper-source {mtimeMs,size,offset}authoritative resume metadata
stream.lock/owner.jsonlive writer leaseephemeral coordination
cursors.lockcursor publication lockephemeral coordination
stream-status.jsonlast/live stream summaryoperational state
labels/labels.ndjsonoperator annotationsindependent operator state
exports/oko/per-session Oko projection and export-cursors.jsonrebuildable
staging/oko-export/bounded full-export stagingtemporary
parquet/runtime=<r>/events.parquetanalytical mirrorrebuildable
models/jeden-goal-qwen3-4b/<sha>/pinned goal artifactscache

Flag types, defaults, and bounds#

  • Common --json: boolean, false.
  • Common --limit: optional whole number of at least one; without it every row is returned.
  • stats --days: optional whole number of at least one; without it the whole Lake is counted.
  • Runtime/source values: one of claude, codex, omp, droid, kimi, hooks.
  • show --include: comma-separated event types; default user,assistant; all expands to all seven.
  • signals --report: freshness (default), frustration, overlap, or daily.
  • clean --target: all (default), parquet, or oko; preview unless --apply.
  • label add --source: manual default, or manual|human|model|brama with optional :<detail> matching [A-Za-z0-9._/-]+.
  • label add --aspect: required non-empty string, trimmed and lowercased.
  • label add --value: required non-empty trimmed string.

Long flags are exact, unknown flags fail, duplicate flags fail, and a value flag never consumes another --flag. See CLI command reference for each command's accepted set.