Private
Public Access
0
0

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.
This commit is contained in:
2026-06-17 18:56:10 -04:00
parent 373783dedc
commit 6bf8b9119f
+1 -1
View File
@@ -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)")