Skip to content

fix: keep mechanical defects out of review queue#656

Open
ApexWorm wants to merge 4 commits into
peteromallet:mainfrom
ApexWorm:fix/postflight-review-scope
Open

fix: keep mechanical defects out of review queue#656
ApexWorm wants to merge 4 commits into
peteromallet:mainfrom
ApexWorm:fix/postflight-review-scope

Conversation

@ApexWorm

Copy link
Copy Markdown

Problem: Post-triage queue snapshots classified every defect as review-postflight work. Raw mechanical findings appeared in next ahead of the planned review board.

Fix: Classify postflight review items with is_review_work_item, retaining mechanical findings in backlog. Regression coverage verifies that triage completion exposes only review findings and preserves mechanical findings in backlog.

Verification: python3 -m pytest -q desloppify/tests/commands/plan/test_triage_completion_cleanup.py desloppify/tests/plan/test_reconcile_pipeline.py desloppify/tests/review/test_work_queue_plan_order_and_triage.py desloppify/tests/commands/test_queue_progress.py desloppify/tests/commands/scan/test_scan_preflight.py; python3 -m ruff check desloppify/engine/_work_queue/snapshot.py desloppify/tests/commands/plan/test_triage_completion_cleanup.py desloppify/tests/review/test_work_queue_plan_order_and_triage.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant