# Read check reports and evidence boundaries

Source: https://usecns.dev/soma-topic-read-check-reports-and-evidence-boundaries/

[Start here](https://usecns.dev/manual-soma/)
[CLI commands](https://usecns.dev/commands-soma/)
[Configuration & integration](https://usecns.dev/soma-topics/)

For automation, choose the range explicitly and capture the command's exit status along with its JSON:

```
soma concerns check --base main --head HEAD --check --format json
```

Without `--head`, a temporary Git index captures tracked modifications, deletions and nonignored untracked files using `git add -A`; the real index is not staged or overwritten. Committed mode reads the selected head for changed source, but the current checkout still supplies the concern registry and local lock/configuration. Run in the intended checkout; `--head` is not a full historical environment checkout. Renames are diffed as deletion/addition.

JSON `schemaVersion: 1` contains `depth`, `coreSha`, `workingTree`, `base`, `mergeBase`, `fired`, `coverage`, `docAnchors`, `notCertified`, `oracles`, `structural`, `rubric` and `lifecycle`; structural mode additionally supplies `envelope`, `trust`, `blastRadius` and `contracts`. Each fire has `id`, severity, lifecycle state/reason/version, `gating`, `matchedBy`, question text/expected polarity and `instrument.gate`. A concern can appear in both current and base forms. Hits identify trigger kind, path/value, confidence and structural ID where available; a `touches_symbol` hit also names, as `via`, the touched symbol whose edge reached it. Do not treat the number of fire records as a count of distinct concerns.

`contracts` carries Axon's contract findings from the delta: `unresolvedColumns` (the `schema.unresolvedColumns` entries the change introduced, with `table`, `column`, `model`, `filePath`, `line`, `via` and the table's `knownColumns`), `preexistingUnresolvedColumns` (the count already unresolved at the base, which do not gate), `propMismatches` (every `propContracts.mismatches` entry: `required-prop-unsupplied` with the component, prop and supplier file/line, or `payload-key-removed` with the producer file/line, key and consuming component prop) and `gating` (`soma.toml` `contract_findings`). Each finding is red on its own, without a concern: `structural.contractFindings` counts them, the Markdown report lists them under `## Contract findings` with file and line, the oracle line reads `structural: red (2 contract finding(s))`, and `--check` exits 1. A delta without these sections has none.

`coverage` says why nothing fired, when nothing did. `status` is `covered` (a concern fired, active or shadow, current or base version), `no_code_hunks` (no source file has a changed line: docs, configuration, an empty diff) or `uncovered_code_diff` (source changed and no concern matched it or a symbol it calls). `codeFiles`, `modules` (the segment after `module_path_prefix`, otherwise the file's directory) and `symbols` name what changed; `symbolSource` is `axon` (the diff-scoped delta symbols) or `enclosing` (the functions the hunks fall in, read as for `enclosing_text`). The Markdown oracle line reads `fired: 0 (no_code_hunks)` or `fired: 0 (uncovered_code_diff: 3 symbol(s) in Report)`. Code is recognised by file extension. An uncovered diff does not change the exit code: it is a blind spot for curation, not a red.

Inspect `notCertified.triggerKindsUnavailable`, `trustBelowFloor`, truncated surfaces/reaches, excluded/mediated reach, unavailable arteries, client resolution and `unevaluated`. Without a delta, `symbol`/`reaches`/`touches_symbol` do not run. When `.axon/axon.db` records symbol line spans, a `reaches` or `symbol` hit is scoped to the symbols whose spans the diff hunks overlap, not to every symbol in a changed file: editing one method of a monolith controller does not activate a concern that only reaches an untouched sibling. A hunk outside every recorded span (a file-header or class-property edit), a symbol with no recorded span, and a symbol in a file the diff does not change (a called helper, a trait, middleware) keep the file-level touch. An index with no spans, or no index, keeps Axon's whole-file touch.

A question whose `[applies: ...]` question scores below the threshold does not apply: it adds no red, and a concern none of whose questions applied adds no rubric red. The `/v1/systemone` oracle answers only `noul` scores, so this is the only way a question is not applicable. The manifest's `trustFloor` defaults to `overlay-complete`: this implementation requires an **exact string match**, not an ordered minimum. A mismatch skips structural triggers but preserves textual checking/reporting. Truncation can hide reach; it is not a certified negative. Those coverage limitations do not themselves force nonzero exit. Exit 3 is reserved here for requested rubric evaluation that could not complete, not every unavailable structural check.

`enclosing_text` reads modified functions in the target tree using Python indentation or heuristic brace/function recognition (including Rust/PHP/Go and generic JavaScript-like forms), not a universal parser or deleted-function replay. Binary text, deleted/unreadable files, unmatched hunks and parse failures can be unevaluated. `migration_table` recognizes SQL under `migrations/**/*.sql`, PHP under `database/migrations/**/*.php` and `src/Module/*/Database/{Migrations,migrations}/*.php`. It examines recognized table statements in the changed file, not every framework's migration system; deleted migrations are skipped and dynamic/unrecognized table expressions may be unevaluated. A nonmatch outside these scopes is not proof of safety.