# Soma

Source: https://usecns.dev/organ-soma/

Project rules & change checks

Rust CLI · soma verify[ivannovak/soma ↗ (repository access may be required)](https://github.com/ivannovak/soma)Wrapped by cns

Soma brings a project's rules into code review. Write down what must stay true, connect each rule to the relevant code, and check a change against those rules before merging. A match identifies something to review, not a proven bug.

Reviewed 2026-11-04.

[Task guides](https://usecns.dev/manual-soma/)[CLI commands](https://usecns.dev/commands-soma/)[Configuration & interfaces](https://usecns.dev/soma-topics/)[All documentation](https://usecns.dev/manuals/)

## Fig. 4.4.1   What Soma does

Document a rule

A concern explains a project rule, the edits that should trigger review, the questions to answer, and the source behind it. Review these files in docs/soma/ alongside the code.

Check a change

soma verify checks documentation and source pins. soma concerns check identifies relevant concerns; --check makes applicable active concerns fail the gate.

Give agents context

soma docs render generates repository maps under .soma/. Axon supplies code structure when available; ordinary maps can also use workspace facts.

## Fig. 4.4.2   Concern lifecycle

1. Author  
   candidate concern
2. Validate  
   structure + evidence
3. Promote  
   tolerance set
4. Enforce  
   landed active concern

A fresh concern cannot certify its own changeset. The [concern lifecycle contract](https://usecns.dev/contract-concerns/) defines promotion, base-version checks and ledger verification.

## Table 4.4.1   Channels

| Direction | Channel | Peer | Carried by | Contract |
| --- | --- | --- | --- | --- |
| reads | Connectome + DeltaReportV1 | Axon | SQLite / JSON | [Read contract ↗](https://usecns.dev/contract-deltareportv1/) |
| writes | Optional rubric request | Thalamus | HTTP /v1/systemone | [Read contract ↗](https://usecns.dev/contract-rubric/) |
| writes | Concern ledger | cns curate / operator | JSONL | [Read contract ↗](https://usecns.dev/contract-concerns/) |

## CLI commands

[Browse all Soma CLI commands →](https://usecns.dev/commands-soma/) for syntax, options, examples and behavior. Each command has its own reference page.

## Note 4.4.1   Running alone

Start with local path and text checks; no model service is required. Add Axon for symbol and dependency evidence. Optional model-assisted review goes through Thalamus: a passing answer cannot clear a structural failure, and unavailable evaluation is not a pass. Keep running application tests separately.