Coding
Code reviews
Check changes with automatic or manual reviews, then ask Keli to verify and fix the findings.
Keli can review changes after a coding task, or you can ask for a review yourself. Findings are suggestions to investigate. You decide whether to start a fix task.
| Option | When to use it | What happens |
|---|---|---|
| Automatic review | After a completed Code task changes files. | Keli checks for bugs and shows a review card beside the task. |
Manual /review | When you want a broader review or a specific focus. | Keli inspects the requested changes and reports bugs separately from optional improvements. |
| Fix these | When you want Keli to address an automatic review’s findings. | Keli starts a new coding task, checks the claims, and fixes confirmed bugs. |
New to the Code tab? Start with Getting started with Code.
Automatic reviews
Automatic code review is on by default for Code sessions on web and desktop. After an eligible task finishes and changes files, Reviewing changes… appears directly after that task in the conversation. The card shows how many files are being reviewed. Later messages do not move it away from the task it belongs to.
The review looks for correctness, security, data loss, and behavior that breaks your explicit request. It focuses on supported bugs, with up to eight findings. It leaves out style preferences and optional refactors.
The automatic reviewer uses the available changes and task context. It does not run tests or inspect the whole repository. A completed review shows either Code review: no issues found or a list of findings.
Ask for a manual review
Type /review in the Code message field and send it. By default, Keli reviews current uncommitted changes, including staged, unstaged, and untracked files. Add a focus or name the files or comparison you want:
/review focus on authorization and error handling
/review compare this branch with main
A manual review covers correctness, readability, architecture, security, and performance. Keli can inspect surrounding code and run relevant checks when the environment permits. It reports bugs first, puts optional improvements in a separate section, and explains what it actually verified. The review asks Keli to inspect the work without editing it; request fixes in a follow-up.
Read the findings
Each automatic finding includes a severity, a file and line, the condition that triggers the problem, its impact, and a suggested fix.
| Severity | What it means |
|---|---|
| High | A severe security problem, data loss, or broken core functionality. |
| Medium | Another functional failure that should be investigated. |
| Low | A real bug with limited impact. |
Check the cited code and whether the triggering condition applies. An optional improvement from a manual review is separate from a bug finding.
Code review: no issues found means the review found no supported bugs in the material it received. It does not mean every file was inspected or the tests passed. Use the review alongside your own checks.
Use Fix these
- Read the automatic findings and their suggested fixes.
- Choose Fix these to send them as a new coding task. The button changes to Sent to Keli.
- Keli checks each finding against the current code and your original request before changing files. It may explain why a claim is incorrect, already fixed, or needs more evidence.
- Check the resulting changes and the tests Keli reports running. If the fix task qualifies for automatic review, another review follows it.
For example, a review may report that an older search result can overwrite a newer one. Fix these asks Keli to verify that race, apply a focused fix, and check the result. You can also write a follow-up asking Keli to investigate one finding rather than sending the whole list.
Stop, retry, or turn reviews off
- Choose Stop while an automatic review is running to cancel it.
- Choose Dismiss, or the card’s dismiss icon, to hide a result. Dismissing it does not change the code.
- If a review fails, choose Retry after checking the error. A skipped review due to a usage limit did not complete; after the limit clears, you can ask for a manual review.
- Turn off Settings → Code → Automatic code review to stop automatic reviews. This preference follows your account across web and desktop. You can still ask for a manual review.
Credits and current limits
Automatic reviews use credits in addition to the coding task. A manual review is another agent task, and Fix these starts another coding task; both also use credits. Longer context and more investigation can cost more. See How credits work.
Automatic reviews are not yet shown on mobile. On desktop, they skip Plan mode, stopped or failed tasks, tasks still waiting on tools or approval, and tasks paused at a step limit. Tasks without collected file changes do not trigger a review.
Local automatic reviews use changes captured through Keli’s file tools; edits made only through terminal commands can be missed. Cloud automatic reviews use the current contents of up to eight readable changed files, rather than a before-and-after diff. Large, binary, deleted, or unreadable files can be omitted. Ask for a manual review when you need broader coverage, and check its stated scope and verification limits.