DreamLake

Happy Paths — CLI

Five paths covering the CLI surface end-to-end: the auth wire, command execution, provider invocation, storage round-trip, and the token lifecycle.

Walk top-down. The CLI is the user-facing entry point for almost every Lakeshore action — these paths are the ones that fail loudest when something breaks.

The list

#PathVerifies
02Hello, hosted CPauth login + auth status against a real control plane
04Smoke-exec cascadeThe whole daemon exec surface — stdout, stderr, exit codes, env, stdin, timeout, long-poll
07SSH provider smokessh upload / providers add + providers test against a real host
09Storage round-tripstorage add + presign + credentials against a real bucket
15Token lifecycleadmin tokens create + auth login against a token-enforced control plane

Cross-surface prereqs

For pathYou also need green
0403 · Hello, local stack (Operator)
07An SSH-reachable host
09S3/R2 credentials registered as a Lakeshore secret
15A control plane with LAKESHORE_ADMIN_TOKEN set (not open mode)

The cascade

02 is the wire test against the hosted control plane — it proves auth works. 04 exercises the entire daemon exec contract in one shell script and bails on the first failure, which makes it cheap and comprehensive. 07 validates the provider abstraction without involving a daemon. 09 covers the storage record plus the presign and STS credential paths. 15 is the auth-mode story: admin token → client token → SDK.

→ Switch surface: Python SDK · Operator