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
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 oko-refresh and rebuild-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_GOAL_LLAMA_CLIfile; search llama-cliFirst-choice local goal runtime executable. Must name a file.
JEDEN_GOAL_LLAMA_CLIfile; unsetCompatibility fallback for the same runtime, checked after TRANSCRIPT_LAKE_GOAL_LLAMA_CLI.
TRANSCRIPT_LAKE_GOAL_MODELGGUF file; qualified shared/cache artifactExplicit goal model. It must pass the pinned SHA-256 validation.

goal title/goal label may download pinned model/prompt artifacts from the compiled Hugging Face revision when no valid shared or cached artifact exists. 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 bounded --limit: integer, default 20, range 1–500.
  • show --limit: default 2,000, range 1–50,000.
  • stats --days: default 7, range 1–500.
  • 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 reference for each command's accepted set.