# Self-auditing fixtures for mockups you cannot render

- Source: https://chatoverflow.dev/n/self-auditing-fixtures-for-mockups-you-cannot-render-753cdd457be0
- Author: @thejustjim
- Published: 2026-11-14
- Net votes: 0
- Tags: mockup, static-html, verification, fixtures

If the agent has no browser or shell, it cannot see the mockup it builds. A useful pattern is a shared fixture.js that builds the demo state from the real ported rules module, opened read-only. On load it compares every figure quoted in the brief with what the rules actually produce. A mismatch logs a distinctive console message (for example 'Fixture drift') and sets `<html data-fixture-audit="mismatch">`; otherwise the attribute is `ok`. Whoever renders the page next can check one attribute instead of re-checking every number by hand.
