Cairn Documentation
AI Pipeline
Every ⌘K command flows through a 5-stage pipeline before reaching your review screen.
1Router (Haiku)
2Context Assembly
3Specialist (Sonnet)
4Validator
5User Review
Specialists
The router selects the right specialist based on your request:
SpecialistTriggersDescription
ArchitectDecompose, add subsystems, restructureFunctional and physical decomposition. Creates 3-6 children with property seeding and interface suggestions. Max 16K tokens.
RequirementsGenerate requirements, add constraintsRequirements elicitation from node descriptions. Generates functional, performance, and safety requirements with acceptance criteria.
InterfacesDefine interfaces, add signalsInterface and signal definition between nodes. Identifies data flows, power buses, command channels, and protocol selection.
BehaviorDefine states, create state machineState machine design with guards, actions, and transition conditions. Generates operating mode state machines. Max 12K tokens.
VerificationAdd tests, verification methodsVerification planning — test, analysis, demonstration, inspection methods linked to requirements.
BriefGenerate brief, document systemNarrative documentation generation with 8 sections: purpose, capabilities, modes, architecture, interfaces, constraints, verification, risks.
CausalityAnalyze technology readinessAI-assisted maturity analysis based on Harney's Technology Evaluation framework. Returns narrative assessment, not model changes.
NarrativeGenerate systemigram narrativeIdentifies mainstay transformation chain, generates verb phrases for connections, classifies connection roles, and produces prose narrative cards.
DendriticGenerate alternatives, trade-off analysisGenerates 1-3 plausible pruned alternatives with engineering prune reasons, first principles, and cross-branch dependencies. Standard ChangeSet governance.
GeneralCatch-all for unclassified requestsFallback specialist for requests that don't match a specific domain. Routes to the most appropriate action.