Private
Public Access
0
0

conductor(plan): Mark task 1.3.1-1.3.3 (truncation fix) complete

This commit is contained in:
2026-06-17 18:56:22 -04:00
parent 6bf8b9119f
commit 3c13fd718f
@@ -70,12 +70,12 @@
### 1.3 Fix `render_json` truncation
- [ ] **Task 1.3.1: Write failing test for the no-truncation behavior**
- [x] **Task 1.3.1: Write failing test for the no-truncation behavior** [6bf8b911]
- WHERE: `tests/test_audit_exception_handling_bug_fixes.py`
- WHAT: A test fixture in a file with very few violations (e.g., 1 violation) that creates a low-violation file with an UNCLEAR site. Run the audit with `--json` and assert the UNCLEAR site is in the per-file findings list (not truncated to top 15).
- HOW: Use the audit's `--src` flag to point to a temp dir with the fixture; parse the JSON
- [ ] **Task 1.3.2: Fix the truncation**
- [x] **Task 1.3.2: Fix the truncation** [6bf8b911]
- WHERE: `scripts/audit_exception_handling.py:1058` (CLI default `--top 15`) and `scripts/audit_exception_handling.py:958` (the slice `[r for r in sorted_reports[:top]]`)
- WHAT: The per-file list is truncated to top 15 by violation count. The fix is either:
- Change the default `--top` to a much higher value (e.g., 200, which is the total file count)