- Goal: Install the development build, start the stream, and observe its masked Lake inventory.
- Risk: Local mutation and provider-facing read. No network or credential use after installation.
- Environment: macOS, local user account, isolated terminal, repository checkout.
- Preconditions: Rust
1.85or newer, a writable operator-owned path, no other writer using that path, and optional local agent sessions. - Inputs: One absolute
LAKE_DATA; this example uses a temporary directory. - Artifacts and side effects: Installs one executable into
~/.cargo/bin; writes cursors, masked partitions, live stream state, and Oko projection files beneath the selected root. Vendor stores are read-only. - Steps:
sh
git clone https://github.com/wisent-ai/transcript-lake.git
cd transcript-lake
cargo install --path .
LAKE="$(mktemp -d)/lake"
transcript-lake
transcript-lake --data-dir "$LAKE" paths
transcript-lake --data-dir "$LAKE" sources
transcript-lake --data-dir "$LAKE" doctor
transcript-lake --data-dir "$LAKE" stream --jsonWhile the stream remains open, use another terminal:
sh
transcript-lake --data-dir "$LAKE" status
transcript-lake --data-dir "$LAKE" sessions --limit 10
transcript-lake --data-dir "$LAKE" stats --days 7- Observable result: The first invocation prints purpose and safe commands without creating the selected root. The stream prints one
startrecord, source activity producescommitrecords, and status reports the live process plus durable cursors. - Failure path: A fatal startup or authoritative-state error exits non-zero. A source-local failure is named in the stream log and leaves that source cursor unchanged. Preserve the root and use representative failures.
- Off-switch: Stop the foreground process with SIGINT or SIGTERM. The executable and Lake data remain independent.
- Related operations: Continue with the live stream or query sessions.