You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove the review stage modules the pipeline never calls #530
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/refactorType refactor: a new structure, same behavior
src/devops_cli/ai/review/stages/ exports seven run_*_stage functions. The orchestrated pipeline (pipeline.py) calls only run_adversarial_debate_stage, and from stages/reporting.py it uses only synthesize_report_executive_summary. These have no caller in src/:
run_pre_analysis_stage (pre_analysis.py)
run_static_scan_stage (static_scan.py, 242 lines)
run_persona_review_stage (persona_review.py)
run_verification_stage (verification.py)
run_reranking_stage (reranking.py)
run_reporting_stage (reporting.py)
They duplicate the pipeline's own logic and have drifted from it. static_scan.py still prints "Static analyzers completed (0 finding(s) detected)" after naming six analyzers, and never calls Trivy. #516 fixed that message in the pipeline only. Tests import them (tests/test_review_stages.py, tests/test_subsystem_containment_and_redaction.py), which keeps them looking alive.
Deliverables
Remove the unused stage functions and modules. Keep adversarial_debate.py and synthesize_report_executive_summary, or move them to the modules that use them.
Move any containment coverage the removed tests gave (_resolve_target_path) onto the pipeline's own path resolution (_resolve_file_path), or confirm that it already has it.
Remove the tests of the removed functions.
100% passing across the gated CI validation suite (uv run devops ci).
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/refactorType refactor: a new structure, same behavior
Activity
fix(review): static scan says which analyzers ran and which were not …
refactor(review): remove the review stage modules the pipeline never …
dan-petty commentedon Sep 25, 2026
Closed by #561, 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.