You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fix FMT-009 false positive: measure inter-block baseline gaps for PDFs
that encode each visual line as a separate text block (was only measuring
intra-block gaps, missing double spacing entirely on most briefs)
- Add per-check page numbers to HTML report (badges on failed checks,
column on passed checks table)
- Add PyMuPDF/fallback status line to report footer
- Add pages field to CheckResult, pymupdf_used field to ComplianceReport
- Add --pymupdf/--no-pymupdf CLI flags to build_report.py
- Update known issues: FMT-009 removed from active false-positive list
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: SKILL.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: brief-compliance
3
-
version: 1.5.0
3
+
version: 1.6.0
4
4
description: >-
5
5
Triggers when a user uploads a legal brief PDF for compliance review against the
6
6
North Dakota Rules of Appellate Procedure. Analyzes the brief and produces a
@@ -175,12 +175,13 @@ Based on testing across 13 briefs (Feb 2026):
175
175
176
176
### Mechanical Check False Positives
177
177
178
-
Three mechanical checks have high false-positive rates. When reporting results, note these caveats to the user:
178
+
Two mechanical checks have high false-positive rates. When reporting results, note these caveats to the user:
179
179
180
180
-**FMT-006 (Font Size)**: Measures the minimum font found anywhere in the PDF. Small fonts in page numbers, headers, footers, superscripts, or PDF artifacts trigger REJECT even when the body text is properly 12pt. If this is the sole REJECT trigger and the reported minimum is 8-11pt, flag it as a likely false positive.
181
-
-**FMT-009 (Spacing)**: Nearly all briefs are flagged as single-spaced. The detector is miscalibrated for many PDF encodings. If the brief appears to be a standard attorney-prepared document, note this is likely a false positive.
182
181
-**FMT-005 (Bottom Margin)**: Page numbers at the bottom are measured as content in the margin zone. Nearly always triggers.
183
182
183
+
**Fixed (v1.6.0):** FMT-009 (Spacing) previously only measured intra-block line gaps, missing PDFs that encode each line as a separate text block. Now also measures inter-block baseline distances, which correctly detects double spacing in these PDFs.
184
+
184
185
### Brief Type Auto-Detection
185
186
186
187
The `--brief-type auto` flag frequently returns "unknown", especially for appellee briefs. If auto-detection fails, re-run Phase 1 with an explicit `--brief-type` flag based on the cover page text.
@@ -224,7 +225,7 @@ These are run by `check_brief.py` — no changes needed here.
224
225
| FMT-006 | Font size >= 12pt | 32(a)(5) | REJECT | ⚠ High false-positive rate — flags small fonts in page numbers, headers, superscripts |
0 commit comments