Отдельный файл отчёта для этой задачи не найден или не указан. Показан сохранённый результат задачи.
I added a review queue and a shortlist that only a named person can approve, with evidence states, notes and filters, all inside the existing console. All 22 tests in python3 -m unittest tests.test_review_queue -v pass, and so does the full suite (166 tests). Those 22 include a real browser-level smoke test that starts the console against a temporary database. Nothing in this code can contact a prospect.
The live shortlist is empty. It fills only when you review leads in the console. I did not make any approvals or other review decisions.
Files
app/review_queue.py: the review rules, plus a read-only command-line tool (python3 -m app.review_queue queue|shortlist).app/review_ui.py: the pages.app/main.py: rewritten so each page and form is a short route; the old routes still work.tests/test_review_queue.py: the acceptance tests.docs/review-queue.md: a short reference for the next task, including how to roll back.Pages
/queue: leads that need a decision from you, most urgent first, each with its next step./leads: all leads, filterable by search, campaign, review verdict, evidence state, shortlist state and classification./shortlist and /shortlist.json: the approved leads. Each entry says outreach is not authorized.Rules (enforced in code, and the key ones also in the database)
Live system
data/backups/leads-20261010T100924262738Z-pre-review-queue.db), then added two new tables for notes and shortlist decisions. A check confirmed every existing row is unchanged.lead-generation service. All pages return 200, and I only opened pages, without submitting anything.For the next task
[truncated]