> For the complete documentation index, see [llms.txt](https://docs.codna.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codna.ai/reference/glossary.md). Agents can also search and read this documentation through its [MCP server](https://docs.codna.ai/~gitbook/mcp).

# Glossary

Plain-language definitions of the terms you'll see across Codna's docs and output. Snapshots, evidence bundles, blast radius, review verdicts, reachability verdicts, the G-gates, and more.

## Core concepts

**Snapshot** — An immutable, exact commit of a repository tree. Every step Codna runs is bound to a snapshot, so results are reproducible and a stale response cannot be substituted for a fresh one.

**Repository graph** — The deterministic symbol-and-dependency graph Codna builds from a snapshot: which functions call which, which modules import which, where each symbol is defined and referenced. Built with no model and no tokens.

**Blast radius** — The set of symbols a change to a given location could affect. Computed from the repository graph and used both to scope the evidence bundle and to estimate regression risk.

**Evidence bundle** — The compact, issue-specific slice of code and structure Codna hands the agent, instead of the whole tree. Its size depends on the repository, the issue, and the verification path, and is reported per run.

**Reduction ratio** — How much smaller the evidence bundle is than reading the raw source tree would be. Reported as the `context` line in `codna triage` and `codna fix` output.

**Verified-agentic** — Codna's bundled planner, referenced by the model id `repository.verified_agentic_v1`. It takes the provider and model from your configuration rather than naming a specific provider model. See [Models & BYOK](https://docs.codna.ai/concepts/models-and-byok.md).

**Risk gate / simulation** — Before a patch is applied, it is simulated against the graph to estimate blast radius and regression risk. Only a patch that passes the simulation is applied.

## Review

**Finding** — One inline comment on a changed line, with a severity (`high`, `medium`, `low`), a category (`correctness`, `security`, `performance`), a confidence, an explanation, and, where possible, a suggestion. Only findings at or above the confidence threshold (default `0.75`) are posted, at most `max_findings` (default `10`).

**Verdict** — Whether the review was posted as an **Approve** or a comment. Approve means no medium or high finding in this pass and no earlier unresolved Codna medium/high thread. Codna never requests changes. See [codna review](https://docs.codna.ai/guides/review.md#the-verdict).

**Red-head note** — The line after the verdict naming any required check that was failing on the head when the review posted. The verdict is about the diff, not a merge go-ahead.

**Incremental review** — The default for re-reviews: only the commits pushed since Codna's last review are reviewed. `--full` reviews the whole pull request.

**Fingerprint** — The line-independent identity of a finding. One finding is one thread, even across force-pushes.

**Grounded finding** — A dependency finding whose registry claim (version, integrity, license, downloads, engines, peer) was checked against npm or PyPI before posting. Contradicted claims are dropped; unverifiable ones are posted as low and marked *Unverified*.

**Superseded** — What happens to a queued or running check when a newer commit becomes the pull request head. The old head's check completes `neutral`; the new head gets its own.

## Security Autofix

**Reachability verdict** — One of four classifications every scanner finding receives:

| Verdict                | Meaning                                                                 | Autofix-eligible                      |
| ---------------------- | ----------------------------------------------------------------------- | ------------------------------------- |
| `exploitable`          | An independent source-to-sink taint path is proven                      | Yes (policy default)                  |
| `production-reachable` | The operation is callable in production; taint not independently proven | Only with an explicit policy override |
| `unreachable`          | No path, under a complete and sound analysis envelope                   | Never                                 |
| `unknown`              | No path under an incomplete or unsupported envelope                     | Never                                 |

**Analysis envelope** — The completeness of the analysis for a given `(language, framework, build_mode)`. Codna reports `unreachable` only under a complete, sound envelope; otherwise "no path found" is reported as `unknown`, never `unreachable`.

**Closure** — An independent proof that the original security obligation is closed (gate G7). Distinct from reachability: a sink can stay production-reachable while the obligation is closed by a recognized sanitizer or barrier.

**Attestation** — A signed evidence bundle (HMAC, via `CODNA_ATTESTATION_KEY`) passed from the analysis worker to the privilege-separated PR writer, so the writer can verify what it is opening without re-running analysis.

**Privilege separation** — The split between the analysis domain (reads code, generates patches, no write token) and the writer domain (`codna secure-open-pr`, holds a narrowly-scoped write token, opens the draft PR only after verifying the attestation).

**The G-gates (G1–G9)** — The nine conditions a security fix must satisfy; a draft PR opens only on their logical AND, and a single failure is named in the report:

| Gate | Condition                         |
| ---- | --------------------------------- |
| G1   | Immutable provenance              |
| G2   | Baseline reproduction             |
| G3   | Policy-eligible proof             |
| G4   | Patch integrity (anti-evasion)    |
| G5   | Regression safety                 |
| G6   | Scanner confirmation              |
| G7   | Independent closure proof         |
| G8   | No alternate or new vulnerability |
| G9   | Attested handoff, base unchanged  |

## Platform

**Telys** — Codna's on-device memory kernel, bundled in the wheel. Powers the local `.codna-memory` index and `codna_recall`. See [Code Memory](https://docs.codna.ai/concepts/memory.md).

**Local runtime** — The runtime Codna starts on your machine, on loopback, when a fix or review needs the agent. There is no external service to start. See [Local runtime](https://docs.codna.ai/reference/operations.md).

**`codna-ai[bot]`** — The GitHub identity the [GitHub App](https://docs.codna.ai/guides/github-app.md) posts and commits as.

## See also

* [How It Works](https://docs.codna.ai/concepts/concepts.md) — the concepts above in narrative form.
* [codna review](https://docs.codna.ai/guides/review.md) — findings, verdicts, and the review window.
* [Security Autofix](https://docs.codna.ai/guides/security-autofix.md) — the full reachability + gate flow.
