- Install dependencies with
pnpm install. - Keep credentials outside the repo.
- Run
pnpm dev health --env dev. - Run
pnpm run cibefore pushing changes.
The CLI resolves credentials in this order:
--tokenVCQA_REF_TOKEN--token-fileVCQA_REF_TOKEN_FILE
Do not commit token files, .env, shell history exports, or captured command output that
contains credentials. Error messages and JSON output must not echo token values.
Commands that mutate production must include --confirm-production. The CLI exits with
code 4 when production mutation is attempted without that flag. There are no interactive
prompts because internal tools must be safe in CI and cron contexts.
0: success1: runtime failure2: usage or validation error3: missing or invalid credentials4: safety gate blocked the command5: upstream API failure
This reference repo is private-by-default in package metadata and has no npm publish workflow. A real internal tool should publish through the owning org's private package registry or be invoked through a pinned GitHub release artifact.