Quickstart
Get Clavus protecting real code in about a minute.
Prerequisites
- Cursor or VS Code (recent enough for modern extensions)
- Node.js 22+ on your
PATH(node -vshould printv22or newer) - A project in TypeScript, JavaScript, or Python
- Git recommended (so you can revert formatter drift or mistaken edits cleanly)
60-second setup
- Install the verified
.vsix(Extensions → … → Install from VSIX…). - Open your project folder.
- Run Clavus ▸ Shield & Connections ▸ Turn On / Repair Clavus Shield.
- When prompted, click Reload Window Now.
- Run Clavus ▸ Freeze & Lock ▸ Suggest Priority Locks and protect the bedrock that already works.
Shield setup creates the shared lock map under .clavus/ (if missing) and installs editor / agent integrations so agents honour your locks.
First Unlock → Edit → Re-lock loop
- Put the cursor on a protected piece (green gutter rail).
- Clavus ▸ Unlock & Re-lock ▸ Unlock Piece to Edit.
- Make your change (or let the agent edit while unlocked).
- Clavus ▸ Unlock & Re-lock ▸ Re-lock Piece.
- If the piece has a Proof Check, Clavus runs it before re-locking — fix failures, then re-lock again.
That loop is intentional: locked code stays frozen until you open it.
Recommended .gitignore
Track the shared lock map; ignore volatile local Clavus state. If your team regenerates shield wiring from Turn On / Repair Clavus Shield, you may also ignore those generated editor files:
# Clavus — track the lock map
!.clavus/
.clavus/*
!.clavus/clenched.json
# Volatile local state (ignore everything else under .clavus/)
Commit .clavus/clenched.json so the team shares the same protections. Keep licence state out of the repo (it lives on your machine under ~/.clavus/).
Visual Inspector
Clavus ▸ Shield & Connections ▸ Open Visual Inspector opens a read-only local page (127.0.0.1) with:
- Protected Pieces grid
- Connected Features map
- Live Shield Log (Credit-Burn gauge and Likely Root Cause when available)
