Initial commit: Conflict Checker

Cross-discipline design-contradiction checker for construction drawing
sets. Standalone tool broken out from Iron_Bid; a pipeline stage may
later fold back into Iron_Bid.

Pipeline: PDF->images -> per-sheet assertion extraction -> deterministic
clustering by location -> per-cluster reasoning -> report.
Includes CLI (cli/run_check.py) and web UI (backend/main.py).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-03 00:22:02 +00:00
co-authored by Claude Opus 4.8
commit 1d248a8808
262 changed files with 8209 additions and 0 deletions
@@ -0,0 +1 @@
{"sheet_number": "M02.02", "discipline": "Mechanical", "sheet_title": "MECHANICAL ROOF PLAN", "level": "ROOF", "scale": "1/4\" = 1'-0\"", "assertions": [{"subject": "View 1", "attribute": "scale", "value": "1/4\" = 1'-0\"", "source_text": "1 MECHANICAL ROOF PLAN 1/4\" = 1'-0\"", "confidence": "high", "location_key": {"grid": null, "room": null, "level": "ROOF", "tag": "1"}}, {"subject": "VTR", "attribute": "duct_size", "value": "8\"RD", "source_text": "VTR 8\"RD", "confidence": "high", "location_key": {"grid": "B / 4", "room": null, "level": "ROOF", "tag": "VTR 8\"RD"}}, {"subject": "VTR", "attribute": "duct_size", "value": "10\"RD", "source_text": "10\"RD VTR", "confidence": "high", "location_key": {"grid": "B / 5", "room": null, "level": "ROOF", "tag": "10\"RD VTR"}}, {"subject": "VTRs", "attribute": "keynote_assertion", "value": "Terminate exhaust duct to manufacturer provided vent cap.", "source_text": "TERMINATE EXHAUST DUCT TO MANUFACTURER PROVIDED VENT CAP.", "confidence": "high", "location_key": {"grid": null, "room": null, "level": "ROOF", "tag": "1"}}, {"subject": "RTUs", "attribute": "keynote_assertion", "value": "Supply / return duct to transition in vertical to RTU curb opening.", "source_text": "SUPPLY / RETURN DUCT TO TRANSITION IN VERTICAL TO RTU CURB OPENING.", "confidence": "high", "location_key": {"grid": null, "room": null, "level": "ROOF", "tag": "2"}}, {"subject": "10\"RD VTR", "attribute": "clearance_requirement", "value": "Limit of 10' radius from any outdoor air intake.", "source_text": "LIMIT OF 10' RADIUS FROM ANY OUTDOOR AIR INTAKE.", "confidence": "high", "location_key": {"grid": "B / 5", "room": null, "level": "ROOF", "tag": "3"}}, {"subject": "RTUs", "attribute": "accessory", "value": "Economizer Hood", "source_text": "ECONOMIZER HOOD.", "confidence": "medium", "location_key": {"grid": null, "room": null, "level": "ROOF", "tag": "4"}}]}