From 6bf8b9119f06c6b98d4d17c7f1e521e550fd84b9 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Wed, 17 Jun 2026 18:56:10 -0400 Subject: [PATCH] fix(scripts): render_json no longer truncates per-file list to top 15 The per-file list was truncated to top 15 by default. Files below the top-15 violation ranking (e.g., the 4 UNCLEAR sites in outline_tool.py, summarize.py, conductor_tech_lead.py, openai_compatible.py) were hidden from the per-file output. The fix changes the default --top from 15 to 200, which exceeds the current project file count (65 src/ files) and leaves room for future growth. Users can still pass --top 15 if they want a truncated view. --- scripts/audit_exception_handling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/audit_exception_handling.py b/scripts/audit_exception_handling.py index 14ad9a26..ca65c945 100644 --- a/scripts/audit_exception_handling.py +++ b/scripts/audit_exception_handling.py @@ -1054,7 +1054,7 @@ def main() -> int: ) parser.add_argument("--src", default="src", help="Source directory to audit (default: src)") parser.add_argument("--json", action="store_true", help="Output JSON instead of human-readable report") - parser.add_argument("--top", type=int, default=15, help="Show top N files by violation count (default: 15)") + parser.add_argument("--top", type=int, default=200, help="Show top N files by violation count (default: 200)") parser.add_argument("--verbose", action="store_true", help="Show every site inline (default: top N summary)") parser.add_argument("--include-tests", action="store_true", help="Also scan tests/ and scripts/") parser.add_argument("--strict", action="store_true", help="Exit 1 if any violations are found (for CI use; the convention's CI gate)")