Reference
The CLI reads project configuration from helix.toml and its WorkOS session from
~/.helix/credentials. There is no user-global workspace selection file.
database accepts only tenant:<id> or cluster:<id>. A physical shared cluster is not a
database target. Unknown Cloud fields are rejected. In particular, gateway URLs, query auth headers,
query auth environment variables, source snapshots, sync metadata, and query bundles are invalid.
Target resolution uses an explicit flag first, then an explicit database reference, the linked
database, or the linked project only when exactly one database is eligible. Ambiguous commands print
candidates and require --workspace, --project, cluster:<id>, or tenant:<id>.
The strict credential file stores only access_token, rotating refresh_token, expires_at, and
email. It is written atomically with mode 0600. Do not edit it or put application keys or service
credentials in it.