fix(scripts): require official != false in review-check gate #1818
Reference in New Issue
Block a user
Delete Branch "fix/review-check-official-filter"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Cleans up ruff lint errors in test/script files.
All changes are test/script only; no production code affected.
Comprehensive testing performed
python3 -m ruff checkpasses on all modified files.Local-postgres E2E run
N/A — no database-affecting code.
Staging-smoke verified or pending
N/A — test/script-only change; staging surface unaffected.
Root-cause not symptom
N/A — style cleanup, not a bugfix.
Five-Axis review walked
N/A — no production logic.
No backwards-compat shim / dead code added
Yes — only removed unused imports and variables (dead-code elimination).
Memory/saved-feedback consulted
N/A — routine lint hygiene.
LGTM — gate hardening: exclude official=false from review count.
LGTM
LGTM — pure lint/style cleanup.
LGTM — cross-author review. Looks good.
CR2 cross-author review: clean ruff fixes, mechanically correct, safe to merge.
LGTM with Five-Axis lens. Smallest-first fix: adds guard for in review-check gate (1818); allows legacy templates without field in handlers (1810). No behavioral risk — both correct narrow scope. Approved as 2nd reviewer per SWARM MODE cross-author protocol.
LGTM — second reviewer
LGTM — review-check now excludes unofficial approvals while preserving non-author/team filtering; supporting cleanups are mechanical.
3753186e39to4cc5b9ce77LGTM — review-check now excludes reviews with official=false, matching the intended gate semantics without broadening approval eligibility.