Cairn Documentation

Tools 8

Sidebar tools provide cross-cutting capabilities beyond the lens paradigm.

Quality

Automated linter running 16+ rules across nodes, requirements, interfaces, and trace links. Shows health score and actionable findings with navigate-to-source.

Simulation

Monte Carlo analysis, state-based simulation, and parameter sweeps using Pyodide (in-browser Python). AI generates scripts from model data, Recharts renders results.

History

Full ChangeSet history with operation-level detail. Every AI edit and manual change is recorded with timestamps, specialist identity, and undo capability.

Usage

AI cost tracking ledger. Shows total estimated spend, breakdowns by provider/category/model, recent API calls with token counts, and CSV export. Updated automatically on every API call.

Traceability

Trace link explorer showing satisfies, verifies, derives, and depends_on relationships between requirements, verifications, and nodes.

Types & Units

Unit system management with SI base units, derived units, and custom type definitions for interface signals and properties.

Assets

Asset browser for all generated files — images, meshes, scripts, simulation results. Stored locally in IndexedDB via Dexie.js.

Settings

API key configuration (Anthropic, Gemini), model preferences, project metadata, naming conventions, and export options.