Soma · Guides

Try a concern before making it a gate

New concerns start in shadow mode: Soma reports their matches without letting them fail the gate. This lets you assess a rule before relying on it.

To make a concern active, give it a tolerance set: known-good commits on which it should remain silent. Then run:

soma concerns tolerance --only invoice-idempotency
soma concerns promote invoice-idempotency

Promotion requires a passing tolerance check with data naming that concern. The concern begins gating once its promotion is part of the comparison's base history—not in the change that promotes it.

After promotion, regenerate the index and reconfirm the reviewed concern before soma verify; then review and land the authored change normally. A project-wide tolerance pass can leave unnamed concerns not evaluated, so keep --only when establishing a particular concern's readiness.

A change cannot switch off an existing check by editing or deleting its concern file: the active version at the comparison's merge base still applies.

Use the recall and tolerance procedure to prepare the dataset. Historical failure examples can separately test whether a concern catches the changes it should catch. The lifecycle contract defines the exact gating rules.