Part IV · Organs · Plate 04

Soma

On this page

Project rules & change checks

Rust CLI · soma verifyivannovak/soma ↗ (repository access may be required)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.

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 defines promotion, base-version checks and ledger verification.

Table 4.4.1   Channels

DirectionChannelPeerCarried byContract
readsConnectome + DeltaReportV1AxonSQLite / JSONRead contract ↗
writesOptional rubric requestThalamusHTTP /v1/systemoneRead contract ↗
writesConcern ledgercns curate / operatorJSONLRead contract ↗

CLI commands

Browse all Soma CLI commands → 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.