> 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/changelog.md). Agents can also search and read this documentation through its [MCP server](https://docs.codna.ai/~gitbook/mcp).

# Changelog

What's new in Codna. The capabilities and fixes as they ship, newest first.

What's new in Codna, newest first. The CLI is on the `0.2.x` line (`codna --version` prints the installed version). Each entry describes behaviour you can see from your side of the screen.

## September 2026

**Review verdicts.** A clean review is posted as an **Approve**: no medium or high finding in the pass, and no earlier unresolved Codna medium/high thread. Anything else is a comment. Codna never requests changes. The approval counts toward branch rules that require approving reviews. Turn it off per repository with `review.approve: false`.

**Red-head note.** When a required check is failing on the head at the time a review posts, the verdict is followed by one line naming it. The verdict is about the diff, not a merge go-ahead.

**Dependency findings are checked against npm and PyPI.** A finding on a manifest or lockfile that claims a version does not exist, an integrity hash or license is wrong, downloads are zero, or an engines or peer constraint is violated is checked before posting. Contradicted claims are dropped, confirmed ones keep their severity, unverifiable ones are posted as low and marked *Unverified*.

**A review window sized to the pull request.** Reviews get 4 to 20 minutes by lines, files and prompt size, learning from earlier reviews. Out of time, the check fails with `review_timeout` and says to comment `@codna review` or split the pull request.

**The check appears when you push.** `codna review` shows as Queued the moment a push is accepted, then In progress, then the verdict. A superseded commit's check completes `neutral` and points at the current head. A new head retires the old head's waiting and running jobs.

**Merge queues.** On a merge-queue commit, Codna posts `codna review` with the verdict of the queued pull request's head. A head with no completed review gets a failing group check that says to comment `@codna review` and re-queue.

**Red CI on a pull request is triaged before anything is spent.** Infrastructure failures (downloads, installs, registries, runners, disk) end the `codna fix` check `neutral` and are re-run once when the App has `actions: write`. Code failures hand the failing step and log to the agent. One CI-failure fix per pull request head per 24 hours.

**`@codna fix` is for people with write access.** Checked against the repository's collaborator permission. It works only as a reply to a Codna finding and not on fork pull requests; every refusal is a reply in the thread. An installation that declined the Workflows permission gets the exact remedy, and nothing is spent.

**One check name per job.** `codna review`, `codna fix`, `codna secure`, spelled like the CLI command, from the App, the Action and `codna review --post` alike.

**Per-repository test command.** `fix.test_command` in `codna.yaml`, or a `pixi` test task or `uv.lock` the repository declares, tells `codna fix --tests` and the App how to run the tests. When the sandbox cannot run them, the check ends `neutral` with `test_environment_unavailable` and the configuration hint.

**Fix commits are authored as `codna-ai[bot]`.** A real GitHub identity; add it to your CLA bot's allowlist.

**`codna report` and `codna_report_bug`.** File a bug, request or question to [thyn-ai/feedback](https://github.com/thyn-ai/feedback) from the CLI or from an MCP client. A report labelled `codna-fix` there is routed to the product's repository.

**`codna impact`, `codna memory export`, `codna ci`.** Test selection for a diff; a compact read-only export of code memory; a fleet gate for self-hosted CI runners.

**Incremental re-review and effort levels.** Re-reviews cover only the commits since Codna's last review; `--full` reviews everything. `--effort low|medium|high` sets the review depth.

**Action parity.** `thyn-ai/codna-action@v1` `mode: review` runs the same `codna review` as the App, so the approval, the red-head note and the registry check apply in CI too. The `package-spec` input pins the `codna` version.

## July 2, 2026

**Local apply is safer under real test artifacts.** `codna fix --apply` now handles common untracked test/build cache files without failing after the agent has already produced a valid patch.

**Fixed**

* Local branch apply still fails closed on tracked/staged changes and on untracked files that conflict with patch targets.
* Unrelated untracked artifacts such as `__pycache__` no longer block the apply step.
* Generated cache artifacts created inside the isolated agent workspace are no longer captured as patch files.

## June 21, 2026

**The documentation site is live.** Codna has a task-oriented documentation set, the pages you are reading, published straight from the repository and checked by an automated audit on every change.

**Fixed**

* The MCP server surfaces a clean tool error (`codna_<tool> error: <message>`) when a repository path is invalid or a required parameter is missing, instead of exiting the process.
* Every documented flag, command, and output was reconciled with the CLI.

## June 20, 2026

**Security-proof autofix.** Codna can prove which scanner findings are reachable before it touches a line, then open fixes you can review.

**New**

* `codna secure` ingests a CodeQL, Semgrep, Snyk, or Trivy SARIF report, classifies every finding (`exploitable` · `production-reachable` · `unreachable` · `unknown`), and opens one proven-safe draft pull request per eligible finding through the privilege-separated writer.
* `codna secure --fix --engine local` runs the detect → fix → re-prove loop on your own machine and applies the verified patch to your checkout. No pull request.

## June 15, 2026

**The `codna` command.** The first cut of the CLI that understands and fixes your repository.

**New**

* `codna triage` maps a repository and locates the code relevant to an issue. Deterministic, for zero model tokens.
* `codna fix` finds a bug's root cause, plans a patch, and (with `--apply` or `--open-pr`) runs a risk simulation before writing anything.
* `codna fix --open-pr` and the **GitHub Action** turn a failing CI run into a reviewable fix pull request.
* `codna mcp` runs Codna as an MCP server, so Cursor and Claude Desktop can use it directly.
