Repository navigation
Description
Context & Rationale
The review report asserts checks it never ran. extract_good_patterns (src/devops_cli/ai/review/stages/reporting.py:49-70) ignores its findings and always emits three fixed patterns, including "cyclomatic complexity <= 10". It adds "zero unpinned critical/high CVEs" and "Zero-Trust Network Isolation" whenever the dependency or network list is empty, and the pipeline always passes lists (src/devops_cli/ai/review/pipeline.py:2417-2430); a dependency never queried also defaults to CLEAN (src/devops_cli/models/vulnerability.py:14). Zero findings read "exceptional engineering quality" (reporting.py:138-143); any finding reads "High-priority remediation ... path traversal defenses, and transport protocol safeguards" (:144-150). The knowledge base says the section "validates adherence" (src/devops_cli/ai/knowledge_base/devops_cli/tasks/ai_code_review.md:55, echoed at docs/SDLC.md:232). devops review pr --post posts each persona's model-written positive_observations and summary verbatim (src/devops_cli/commands/review.py:710-726, src/devops_cli/ai/review/runner.py:503-509), src/devops_cli/ai/tasks/compose.md:20 asks for praise, and no test covers --post. Two null paths already work: empty findings derive APPROVE (tests/test_prompt_programmatic_functions.py:147) and errored files suppress the clean verdict (tests/test_review_report_summary.py:123). vibes gives each harness prompt an explicit refusal clause and bans adjectives standing in for measurements.
Scope & Deliverables
- Context & Rationale*: The review report asserts checks it never ran.
extract_good_patterns(src/devops_cli/ai/review/stages/reporting.py:49-70) ignores its findings and always emits three fixed patterns, including "cyclomatic complexity <= 10". It adds "zero unpinned critical/high CVEs" and "Zero-Trust Network Isolation" whenever the dependency or network list is empty, and the pipeline always passes lists (src/devops_cli/ai/review/pipeline.py:2417-2430); a dependency never queried also defaults toCLEAN(src/devops_cli/models/vulnerability.py:14). Zero findings read "exceptional engineering quality" (reporting.py:138-143); any finding reads "High-priority remediation ... path traversal defenses, and transport protocol safeguards" (:144-150). The knowledge base says the section "validates adherence" (src/devops_cli/ai/knowledge_base/devops_cli/tasks/ai_code_review.md:55, echoed atdocs/SDLC.md:232).devops review pr --postposts each persona's model-writtenpositive_observationsandsummaryverbatim (src/devops_cli/commands/review.py:710-726,src/devops_cli/ai/review/runner.py:503-509),src/devops_cli/ai/tasks/compose.md:20asks for praise, and no test covers--post. Two null paths already work: empty findings deriveAPPROVE(tests/test_prompt_programmatic_functions.py:147) and errored files suppress the clean verdict (tests/test_review_report_summary.py:123). vibes gives each harness prompt an explicit refusal clause and bans adjectives standing in for measurements. - Deliverable*: Start with failing tests: a review with no findings and nothing scanned makes no positive claim, and one LOW finding is described by its own theme only. Then derive every report sentence from a recorded input: severity counts, themes of the actual findings, and the analyzer states already recorded (
pipeline.py:1231-1235). Delete the three fixed patterns. Record per dependency whether it was queried, so an unqueried one reads "not queried", not clean; the network line states counts. Correct the knowledge-base and SDLC text. For--post, add a fixed, tested zero-findings comment naming the files, personas and analyzers that ran. Removepositive_observationsfrom the schema, prompts, merge and renderers with no shim; postsummaryunder a "model notes, not verified" heading, becausesrc/devops_cli/ai/tasks/review.md:40routes suggestions there. Stop the console, knowledge-base diagram and--no-verificationhelp calling two substring rules (src/devops_cli/ai/review/stages/adversarial_debate.py:14-30) a "Multi-Agent Adversarial Debate"; replacing the rules belongs to Semantic Validator Deprecation. Two PRs: report, then post. - Constraint*: Model-written praise in place of fixed praise is worse than either, because it reads as evidence; a positive statement with no tool output behind it is omitted, not softened. Inferring "not scanned" from an empty list repeats the bug, since a scan that found nothing also yields one. The errored-files branch keeps precedence over the clean verdict, and the summary leaves room for Attribute Verification Failure's error counts. Tests pinning today's wording (
tests/test_review_report_summary.py:19-37) change with it. - Measured*:
uv run --no-sync python probe/exec_summary_probe.py:synthesize_report_executive_summary([], all_deps=[], all_nets=[])emits 5 good-pattern bullets plus "exceptional engineering quality"; withNonelists, 3.uv run --no-sync python probe/exec_summary_low.py: one LOW "Missing docstring" finding gets "High-priority remediation ... path traversal defenses".uv run --no-sync python probe/rw_nullterm_dep.py: an unqueriedDependencySpecreadsCLEANand still yields 5 patterns. - Source*: vibes
artifacts/prompts/experience-contribution-harness.md
Strategic Alignment
- Milestone:
v0.2.23(devops ai Review Quality, LLM Routing & Multi-Language Validation) - Roadmap Reference:
docs/ROADMAP.md
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
feat(review): review reports state only what was checked (#604) (#622)
feat(review): pr post tested zero findings comment and eliminate posi…
dan-petty commentedon Sep 26, 2026
Closed by #623, merged into
release/v0.2.23.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.