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 -v should print v22 or newer)
  • A project in TypeScript, JavaScript, or Python
  • Git recommended (so you can revert formatter drift or mistaken edits cleanly)

60-second setup

  1. Install the verified .vsix (Extensions → … → Install from VSIX…).
  2. Open your project folder.
  3. Run Clavus ▸ Shield & Connections ▸ Turn On / Repair Clavus Shield.
  4. When prompted, click Reload Window Now.
  5. 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

  1. Put the cursor on a protected piece (green gutter rail).
  2. Clavus ▸ Unlock & Re-lock ▸ Unlock Piece to Edit.
  3. Make your change (or let the agent edit while unlocked).
  4. Clavus ▸ Unlock & Re-lock ▸ Re-lock Piece.
  5. 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.

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)

Next: FEATURES_AND_COMMANDS.md · HOW_TO_GUIDES.md