Architecture Note · Operations & RevOps
Construction Project Controls, Submittals & Takeoff Automation: Deterministic Bid Leveling and Critical-Path Gates
Why unverified LLM spec summaries and manual bid-tab spreadsheets leak GMP contingency—and how deterministic parsing, scope-gap plugging, and Project Executive sign-off gates enforce auditability.
The Operational Problem: Unplugged Scope Gaps and Eroding Float
Preconstruction and project controls teams on commercial towers, data centers, and life-science builds manage three interlocking failure points: missed long-lead submittals buried in 1,000-page specifications, subcontractor bids padded with hidden exclusions, and Potential Change Orders (PCOs) that silently consume Guaranteed Maximum Price (GMP) contingency and critical-path schedule float.
When a trade package for Division 08 unitized curtainwall or Division 26 medium-voltage switchgear omits perimeter firestopping, third-party Testing, Adjusting & Balancing (TAB), or battery racks, the lowest raw quote is rarely the lowest leveled cost. In a synthetic Frankfurt Tier-4 Data Center or NYC Hudson Commercial Tower bid package, missing a 22-week switchgear shop drawing or leaving a capped $65,000 arc-flash allowance unplugged shifts six-figure exposure straight into post-award change orders.
Why Naive AI Wrappers Fail in Preconstruction Controls
Dropping specification PDFs and subcontractor quote spreadsheets into a generic chat wrapper introduces four predictable engineering failures:
- Nondeterministic arithmetic and silent drift: Language models approximate extended totals (
qty * unit_rate) and silently invent missing unit rates rather than flaggingEXCLUDED,ALLOWANCE, orMISSING LINErows for explicit estimator plug overrides. - Unanchored code taxonomy and missed certificates: Generic summarizers drop exact CSI MasterFormat (
03 30 00,23 64 16) and RICS NRM1/NRM2 (NRM 5.6) references or conflate Product Data, Shop Drawings, O&M Manuals, and LEED v4.1 / BREEAM sustainability certificates. - Proprietary pricing egress: Uploading unredacted subcontractor unit rates and GMP contingencies to external cloud models exposes commercial bid tabs outside tenant boundaries without retention controls.
- Missing authorization and formula-injection hygiene: Auto-approving change orders without named executive review corrupts contingency ledgers, while naive CSV exports can pass leading
=,+,-, or@characters as executable spreadsheet formulas.
The Deterministic Architecture That Fixes It
A production project controls plane separates deterministic parsing, arithmetic leveling, and state persistence from optional model adapters, enforcing human authority at every financial and schedule boundary:
- Spec-to-submittal extraction with 1-hour upload wipe:
POST /api/specs/submittalsparses JSON or multipart uploads (.txt,.md,.csv,.tsv,.json) across CSI MasterFormat and RICS NRM sections using anOfflineDeterministicAdapterby default (zero external API keys required). Extracted deliverables, fabrication lead times (highlighting procurement-critical items at≥12weeks), and due dates persist in tenant-scoped SQLite (WAL mode). Uploaded files stage under0600permissions and auto-wipe after 1 hour (3600s) viacleanup.py, retaining only SHA-256 file digests. - Side-by-side bid leveling and anomaly flags:
POST /api/bids/levelnormalizes multiple subcontractor quotes by CSI division or NRM element against the Engineer’s Baseline Quantity Takeoff. The engine automatically plugsEXCLUDED,MISSING LINE, and cappedALLOWANCEshortfalls using editable plug rates or peer medians, flags unit-rate anomalies (≥±18%in the workbench;>25%or>2 SDin backend leveling), and models optional Bid Alternates.GET /api/bids/{level_id}/export.csvemits RFC 4180 CSVs with OWASP formula-injection sanitization. - Critical-path float modeling and HTTP 409 Executive gates:
POST /api/projects/{id}/change-ordersandPOST /api/change-orders/{id}/evaluatecompute GMP contingency drawdown and net critical-path float (baseFloat - consumedFloatacross critical-path items) alongsideGET /api/projects/{id}/controlstelemetry for overdue submittals and RFI cycle times. The backend enforcesHTTP 409 Conflictif any approval or rejection lackshuman_review_confirmed=trueand a non-emptyexecutive_id, recording every decision in SHA-256 hash-chainedaudit_logsinside SQLiteBEGIN IMMEDIATEtransactions. Modifying any takeoff quantity, plug rate, or CO status automatically invalidates prior readiness sign-off until re-attested.
Operational Takeaway
Preconstruction automation earns trust when every leveled dollar, fabrication lead week, and schedule day traces back to deterministic math and named human accountability. By combining ephemeral spec ingestion, automatic exclusion plugging, OWASP-safe bid-tab exports, and hard HTTP 409 Executive sign-off gates, teams eliminate spreadsheet surprises without surrendering GMP governance.