Design from an audit

Docs

Design from <host> on a report starts the wizard from the site's own system rather than from a sentence. Before the first question, an AI call reads the crawl's evidence and corrects what the heuristics got wrong; then the wizard runs as usual, with the site's exact colours on its first card.

How to use it

Press Design from <host> on a finished report. The wizard bar reads Finalizing <host>'s audit… while the AI reads the evidence, then the palette question opens. Its first card is Keep the site’s colours, recommended: the site's own primary, exactly as read. The other cards are the model's alternatives. From there the flow is Create with AI.

The chat opens with the finalize's change list as its first message: what was corrected, and Kept the site's primary; N contrast rows still fail — Fix all repairs them. when protection left rows failing.

How it works

The crawl is pure and free; the finalize is the flow's first paid call. The model reads the site's address (as context, never fetched), the inferred recipe, a digest of the evidence (every colour cluster with where it is used, the home page's buttons and their fills, the title, the theme colour, the logo's fills) and the report's findings, and answers a patch over the inferred recipe plus the exact brand and accent hexes it read, with up to eight changes in words. It is told to match the site, never to improve it, and to read the primary from the home page's call to action.

The app rebuilds the brand ramp around the exact hex, snaps the hex onto its nearest shade, points primary at it in both themes (a near-black brand is treated as ink: the hex lands on the neutral ramp and dark text stays the dark primary), drops a font Google does not carry, then repairs contrast with primary, accent and background protected. Rows only a protected colour could fix stay failing and are counted. The primary gradient the crawl read is kept at its exact stops; the model may drop it or correct it with colours the crawl saw, and never adds one.

The first question is seeded: the posted recipe is the base, the model's cards are repaired against it, and the server adds the keep card in front, so the site's exact shades are one click away rather than lost to the first rebuild. Later colour questions rebuild ramps from hue and chroma as usual.

An audit flow is saved from the start and comes back paused; Resume re-issues the finalize only if it never landed. The canvas opens on the landing sample, since a site's system previewed on an admin page would mislead.

What can go wrong

  • Finalizing fails: Retry re-runs it; the audit itself is untouched.
  • The report was made before the evidence digest existed: the finalize runs on the palette and findings alone, coarser; Re-run the audit for a full one.
  • The primary came out wrong: pick another card, or say so in the chat during the palette question.