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
fix(review): record active personas accurately in review session findings and candidates #720
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
When executing devops ai review (or devops review path/branch/pr) with --persona <persona> (e.g. --persona devsecops), the review orchestrator executes only the designated persona and produces findings strictly labeled with that persona. However, generate_consolidated_report in ReviewPipelineOrchestrator hardcodes personas=["devsecops", "architect", "qa"] when serializing findings.json (line 3463 of src/devops_cli/ai/review/pipeline.py), and omits personas in candidates.json (defaulting to empty []).
Expected Behavior
findings.json and candidates.json should accurately record the active personas that participated in the review session (["devsecops"] when --persona devsecops was provided, or the specific set of active personas evaluated).
Solution
Store self.personas on ReviewPipelineOrchestrator initialized from __init__ or set when execute_multi_persona_review(payloads, ..., personas=...) is called.
Accept optional personas: list[str] | None = None in generate_consolidated_report, falling back to self.personas and then default personas.
Pass personas=active_p from _run_orchestrator_review into generate_consolidated_report.
Serialize the resolved personas list into both findings.json (payload_out.personas) and candidates.json (candidates.personas).
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/bugType bug: the code does not do what it must
Activity
fix(review): record active personas accurately in review session find…
dan-petty commentedon Sep 29, 2026
Closed by #721, merged into
release/v0.2.24.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.feat(release): v0.2.24 (#905)