Improve plan review UX with enriched rows, TUI filters, and execute gate.
Make review-plan easier to act on: Chinese risk labels, relative paths, verdict/next-step footer, optional identity/analysis enrichment, grouping, spot-check sampling, and structure preview. Extend the TUI with filters, duplicate-group reject, and quality context. Persist review_context on plan operations and add --require-review for confirmed execute. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -104,6 +104,10 @@ def test_review_plan_generates_csv_summary_and_preview(tmp_path):
|
||||
assert "source:" in result.output
|
||||
assert "destination:" in result.output
|
||||
assert "reason:" in result.output
|
||||
assert "Verdict: BLOCKED" in result.output
|
||||
assert "需人工判断" in result.output or "样片路径" in result.output
|
||||
assert "Next steps:" in result.output
|
||||
assert "apply-review" in result.output
|
||||
assert output_csv.exists()
|
||||
|
||||
with open(output_csv, "r", encoding="utf-8", newline="") as f:
|
||||
|
||||
Reference in New Issue
Block a user