Setup
Install
Use the workspace commands while Warden is under active development. The published CLI target is already shaped, but npm publication is separate from this site scaffold.
From this workspace
Section titled “From this workspace”- Install dependencies
Use the pinned pnpm workspace so every package resolves against the same lockfile.
- Build packages
Compile the package outputs used by local CLI runs and static site fixtures.
- Initialize the index
Create the local embedding-backed context index. Re-running is safe and cache-aware.
- Run a review
Start with
checkfor deterministic-only output, orreviewfor the full cited review spine.
Workspace setup
local clonepnpm install
pnpm build
pnpm warden init
pnpm warden review
As a CLI
Section titled “As a CLI”Published target
future npm pathnpx warden review
The npm publication step is separate from this site scaffold.
Required credentials
Section titled “Required credentials”ANTHROPIC_API_KEYRequired for warden review. Warden validates it at startup so failures are explicit.VOYAGE_API_KEYRequired for warden init and semantic context indexing. Without it, review falls back to cheap signals.GOOGLE_GENERATIVE_AI_API_KEYOptional fallback when Anthropic has a transient provider failure..env
local onlyANTHROPIC_API_KEY=sk-ant-...
VOYAGE_API_KEY=pa-...
First run
Section titled “First run”
Cache behavior
warden init writes the local index to .warden/cache.sqlite. The file is gitignored, can be deleted, and can be rebuilt from source.