Skip to contentSaltar al contenido
Kensa documentation

Interpret findings and navigate the diff

Read severities and attribution, triage findings, move through the diff, and publish or export review comments.

PR reviews and local reviews share one surface: a file tree on the left, a diff viewer in the center, and the Review tab on the right. This page explains how to read and act on what Kensa produces there.

Read a finding

Each finding card shows:

  • Severity — critical, major, minor, or info, with critical the most urgent.
  • Attribution — the agent and provider/model that produced the finding; after consolidation, agreement across vendors is a confidence signal.
  • Location — a file:line link that opens the file in the diff at that line.
  • Detail and fixes — expandable Why? and Verification steps sections, a suggested-code block when offered, and a Fix prompt button that copies a ready-to-paste instruction for your coding agent.

Findings group by file. Severity pills and agent chips above the list filter it, and a consolidator has already deduplicated overlapping findings across agents.

Triage before you act

  • Keep includes a finding in the review; Skip excludes it. Skipped findings stay skipped on later reviews of the same PR.
  • Edit rewrites the text a finding publishes, on its card or in the diff: change the wording in the editor, check it in Preview, then Save (Ctrl+Enter, or Cmd+Enter on macOS; Esc cancels). An edited finding is kept, carries an Edited badge, and posts your text on GitHub, GitLab and Azure DevOps. Show original shows the reviewer's original text again, and Discard edit goes back to it. If Kensa cannot save an edit, the editor stays open with your text and says why, so you can save it again. Skipping an edited finding keeps the edit, and Restore brings it back. An edit cannot be empty, belongs to this review run, and is unavailable on a past review, a published finding, or a merged or closed PR.
  • The publish button counts the findings it will post, so triage first.
  • Kensa learns from your skips. When a kind of finding (its category and the agent that raised it), or one recurring finding, was kept or skipped at least 10 times in the last 90 days and skipped at least 80% of those times, new findings like it become observations: still listed, but never counted, never failing kensa review --run --fail-on and never published by Auto-Review. Critical and major findings, security, concurrency and other protected subjects, mechanical findings and findings two or more model vendors agreed on are never demoted. The review's notice "N findings demoted because your team usually skips them" lists each one with its skip rate and sample, and Stop demoting this resets it so the next review raises those findings normally. Learn from dismissals in a repository's Review tab turns it off. Only your own skips count, never an agent's recorded outcome.
  • The first time a kind of finding is demoted, with learnings on and you signed in, Kensa proposes one learning to your learnings inbox. Its text names the kind of finding and carries up to two of the review's comments, and it is sent like any proposed learning. A comment from a reviewer Kensa stopped for a containment breach is never one of them.

Fix with agent

  • Fix with agent beside a finding, or Select then Fix with agent for several (at most 20), hands the findings to a coding agent. For a committed review the agent works in a fix worktree at the reviewed commit, on a local kensa-fix/… branch, never in your checkout. Uncommitted changes must be committed first.
  • The review's Fixes section shows each fix's status, its report and its patch. View patch opens the whole change against the reviewed commit, files the agent never staged included. A repository the agent made inside the worktree is left out of the patch and named, because Kensa runs no git inside it. From there:
    • Apply to my checkout — the changes land unstaged in your clone. Kensa refuses, naming the files, when you have uncommitted changes to them or your checkout moved on from the reviewed commit there; nothing in your clone changes then. It also refuses a patch that changes a submodule's commit or removes a submodule, which applying to a checkout cannot do: save the patch or commit it on the fix branch instead.
    • Save patch… — writes exactly the patch shown, which git apply takes on a clean checkout of the reviewed commit.
    • Commit on fix branch — after you confirm, commits the patch shown on the fix branch, on the reviewed commit. Nothing is pushed. If the agent changed the worktree since you opened View patch, Kensa asks you to view it again; if the fix branch moved meanwhile, Kensa commits nothing on it. By default the commit runs no hook, your own included: a hook runs in the fix worktree, and what it starts (npx lint-staged, pre-commit run, npm test, make lint) reads the config and binaries the agent wrote there. Tick Run my repository’s commit hooks in the confirmation to run them for that commit: the hooks in your clone's git directory, or in an absolute core.hooksPath outside the fix worktree. Running them needs git 2.36 or later; with an older git, Kensa refuses and commits nothing. A relative core.hooksPath, such as husky's, would resolve inside the worktree the agent wrote, so its hooks are never run. On Windows, which has no /dev/null, Kensa runs no hook by pointing git at an empty folder it makes in the temp directory for that commit, and a background process the agent started that keeps running after its turn could put a hook there first. The branch is local, so your hooks still run when you integrate it in your own checkout. If a hook changes what is committed, Kensa says the commit is not exactly the patch shown.
    • Review this fix — starts a review of the fix's changes in one click.
    • Discard… — after you confirm, removes the fix worktree and its branch. While the agent is still working in the fix's chat, Kensa refuses: stop it first, then discard. It first names any ignored files that would go with it, each repository the agent made there and each submodule with anything in its folder (each deleted as a whole, with everything in it), and any commit the agent made there. If the worktree changes after you confirm, a file inside an ignored folder it named included, Kensa refuses and asks you to look at the patch again. An ignored folder it cannot list in full (more than 10,000 entries, a repository inside, a folder inside it cannot read, or not listed within the 5 seconds Kensa gives the listing of every ignored folder) it says it deletes whole, whatever it holds by then. A background process the agent started that keeps running after its turn can still write there until the worktree is gone. It keeps the branch when the branch moved past the fix, even while Kensa removes the worktree, or when git no longer ties the worktree to your clone. When git will not delete the branch, the fix is still discarded, and Kensa says the worktree was removed and the branch was not, with what git said. A fix worktree you already deleted outside Kensa is discarded too.
  • Once a fix settles, each finding it was given shows a Fix report row in its card: Changed with the files the agent changed, Not changed — and the agent's reason (not real, out of scope, needs a human decision) with what it saw in the code, or Unsure. A plan says Would change for the findings it would fix. Verification lists the commands the agent reported, each marked ran, with its exit code, or not run: Kensa runs none of them. A reply without a usable report shows "The agent returned no usable fix report", on the finding and in the Fixes section, never a success. A fix that failed says The fix failed on the finding, with why, and a change whose fix you discarded reads Changed (discarded). When several fixes were given a finding, the card shows the newest, and 1 earlier fix takes you to the Fixes section. The report is the agent's text, shown as plain text.
  • Settings → Review → Fixes sets the fix commit's author (your repository's git config by default), a co-author trailer (none by default) and the message template.
  • Files Changed lists every changed file with its +/- counts and badges for AI findings and human review threads; a Referenced section lists files outside the diff that findings point at.
  • View modes: File (whole file), Hunk (changed hunks only), Inline (+/- inline), and Split (side-by-side), plus Words for word-level highlighting in Hunk and Inline. Files outside the diff open in File mode only.
  • Overlay chips in the diff header toggle AI findings, human threads, and resolved threads.

Publish and export (PR reviews)

  • Publish … to your provider posts the kept findings as a pending review on the PR. Publishing without triage posts all findings after a confirmation.
  • Later publishes add only new comments; published findings can be resolved or re-published from their cards.
  • Export copies the review for use elsewhere, with each edited finding's edited text. A finding's Fix prompt keeps the reviewer's original text and adds your edit after it, labelled as the user's edit. Local reviews have no Publish action.

See what became of your findings

History on the activity bar opens your review history, and its Insights view has an Outcomes section built from what you did with each finding. It is personal, and what it reads stays on your computer. It covers the last 180 days of outcomes kept on your computer, a different span from the rest of Insights, whose tiles and lists count your newest 200 reviews.

  • Rates are of triaged findings. A finding counts once you keep, skip, edit or publish it, and only once, whatever you did to it. The rates are: kept (kept, edited or published), skipped, published, resolved (its thread was resolved on your provider), and likely fixed (a later review no longer reported it and its file changed, a heuristic rather than proof). A finding you never triaged counts in none of them.
  • Rate picks the rate the bars show, by agreement, CLI provider, specialist agent and severity. Each row shows its sample as n=, and a row with fewer than 10 triaged findings shows too few instead of a rate.
  • Agreement counts the CLI providers whose reviewers raised the finding. Two CLIs on the same lab's model count as two here, unlike the Consensus figure, which counts model vendors. Reviews that ran one provider are listed apart: agreement is not measured there, so they are not compared with the other rows.
  • The Consensus tile adds one line, labelled "2+ providers" and "1 provider": the kept rate of findings that two or more CLI providers raised, beside the kept rate of findings one CLI provider raised, each with its sample. Like the Agreement rows, it counts CLI providers, not the model vendors of the tile's own figure.
  • Skip rate by pattern picks one repository and lists each kind of finding with its sample and skip rate over the last 90 days, the same numbers Kensa demotes by, marking the ones it demotes now.
  • Patterns picks one repository and a window of 7, 30 or 90 days, and lists what keeps coming back in its reviews, with no model call: hotspot files (ranked by findings weighted by severity: critical 8, major 4, minor 2, info 1), recurring themes (findings of one category with similar titles, in at least 3 reviews), noise candidates (skipped or no longer raised at least 3 times, never kept or fixed) and guideline gaps (kept or fixed at least 3 times, in no active learning). Each row links to its latest review. Under 3 reviews in the window it says there are not enough.
  • Suggest learnings, under Patterns, shows an estimate first: how many patterns it would send, what it leaves out and why, and the tokens. Only on Confirm does one agent pass, with no tools, read the patterns' counts and finding titles and write one learning each. They land in your learnings inbox as suggestions; none becomes active until you approve it.
  • Copy summary as JSON copies the counts and rates, with no file paths, no finding text and no content keys. A custom specialist whose name looks like a path is copied as custom-1, custom-2 and so on.
  • If the outcomes cannot be read, the section says why and shows no rate, with Try again to read them again. That includes Kensa's engine not answering: the outcomes still on their way to it are only part of your history.

If something goes wrong

  • A pending review blocks publish — use Dismiss & retry, or resolve the pending review on the provider.
  • Publish fails — the button offers a retry; findings already posted are not duplicated.
  • The PR is merged or closed — publishing and resolving are disabled and the surface becomes read-only.

Next step

Source Control and worktrees