Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/improve-review-findings-formatting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@kilocode/cli": patch
---

Format detailed findings in `/review` as numbered, severity-tagged sections so each issue is visually distinct.
23 changes: 18 additions & 5 deletions packages/opencode/src/kilocode/review/review.txt
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,24 @@ Otherwise, output the matching header followed by this exact structure:
If no issues found: "No issues found."

### Detailed Findings
For each issue listed in the table above:
- **File:** `path/to/file.ts:line`
- **Confidence:** X%
- **Problem:** What's wrong and why it matters
- **Suggestion:** Recommended fix with code snippet if applicable

Repeat the block below once for each issue listed in the table above, in the same order and numbered to match its table row. Separate consecutive findings with a blank line. Put the severity from the table in brackets in the heading so the two sections cross-reference.

#### 1. [CRITICAL] `path/to/file.ts:line`: Short title from the table

**Confidence:** X%

**Problem:** What's wrong and why it matters.

**Suggestion:** Recommended fix with code snippet if applicable.

#### 2. [WARNING] `path/to/file.ts:line`: Short title from the table

**Confidence:** X%

**Problem:** What's wrong and why it matters.

**Suggestion:** Recommended fix with code snippet if applicable.

If no issues found: "No detailed findings."

Expand Down
Loading