Repository navigation
Closed
Labels
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
Description
Problem
- The same 4 runs fail in 11/11: kube-linter and Pluto on
<root>/ollama-host-service.yamland<root>/values-ollama.yaml, exit 1. - The whole tool reads "failed", although kube-linter produced 30 candidates.
- 9 deleted-file pages were empty in 10/10 runs, so they were wasted calls.
- "failed" covers both this defect and D17 (fix(security): a review's isolated Semgrep scan hands Semgrep only targets under its working directory, so it finishes instead of rediscovering each file across the checkout #1079) [measured: loop §1, §8; S11 §2].
Acceptance criteria
- Deleted paths from
--name-statusreach neither pages nor targets. - Status is recorded per file: "ran; 2 of 21 files failed: ".
- A fixture branch that deletes a YAML file covers it.
- Tests run offline with fakes and recorded tool output: no network, no real scanner, no model; each test under 1 s.
-
uv run devops cipasses.
Key questions
- Overlap with fix(review): a review scans a worktree of the reviewed commit, never hands a deleted file to a tool, and reports which files each tool scanned #1047? (proposed) This is the current pipeline's fix; fix(review): a review scans a worktree of the reviewed commit, never hands a deleted file to a tool, and reports which files each tool scanned #1047 builds on it.
Strategic alignment
- Related: fix(review): a review scans a worktree of the reviewed commit, never hands a deleted file to a tool, and reports which files each tool scanned #1047 (its re-scoped worktree and change-set work builds on this fix, which the tools-only baseline needs first), fix(security): kube-linter findings carry their own check, message and manifest file, and scan reports keep each one #1045.
- Parent: feat(review): evidence-first code review — tools find, version-pinned facts ground, models explain and plan, fixes are re-checked #1137 (phase P0).
- Evidence tags ([measured: …], [code: path:line], [sourced: …], [estimate], [inference]; "S11" is the single review run of 2026-10-03 and "the loop" the ten runs S12–S21; c-feasibility and c-fidelity are the two design critiques) are explained in feat(review): evidence-first code review — tools find, version-pinned facts ground, models explain and plan, fixes are re-checked #1137.
Update 2026-10-08: refinement
The deleted-file half is delivered (#1047, #1242) but untested at the runner. Open: one failed manifest marks the whole tool failed (ai/review/pipeline.py:1544-1553, :1399-1421).
- A failed manifest gets
failed(<reason>)in its own row; the tool reads 'ran; N of M files failed'. - A two-manifest test fails today and admits the good manifest's findings. fix(security): kube-linter findings carry their own check, message and manifest file, and scan reports keep each one #1045 keeps the rule.
Metadata
Metadata
Assignees
Labels
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
Type
Projects
- StatusShow more project fieldsDone
Activity
chore(main): release 0.5.0 (#2211)