Quality gate & brand art

Headless render check, auto-repair and generated imagery. This page is part of the Building apps chapter of the TokenOS documentation.

If image generation is unavailable, a tasteful generated placeholder in the app's palette is used so layouts never break — the badge and the build log tell you when that happened.

Related checks

After the Vite bundle is written, a headless Chromium (Playwright) loads the preview exactly as the IDE iframe would, with the wallet bridge in no-op mode.

Console errors, uncaught exceptions, failed module loads and React render errors are collected; a screenshot is captured once the app settles.

If anything blocking was recorded, the errors plus the offending files are sent back to the model with repair guidance. The preview is rebuilt and re-checked. Up to 2 rounds (RENDER_GATE_MAX_ROUNDS).

The final status is stored in result.render and shown as the Render badge in the IDE. The task is only marked completed after this step.

Mounted with no blocking errors on the first attempt.

Errors were found and fixed automatically within the repair rounds.

Review the change list; the repaired files are listed.

Preview has runtime errors that two repair rounds could not fix. The build is delivered, but flagged.

Click Fix it (pre-fills a repair prompt with the exact errors) or Re-check after your own edit.

The check could not run (bundler unavailable, timeout).

Open the preview manually; Re-check when the environment is back.

Wait — Mission Control streams the rounds.

Why a build can be “completed but flagged”

Lint gate on deploy: the ruff blocker set (E722, F601, F821, F823, E9) must be clean on the backend and oxlint on the frontend.

Protected runtime files are never passed through the JSX sanitizers, which previously caused “address is not defined” failures.

Harness verification adds an isolated LLM evaluator and a Jev acceptance check on top of the render gate.

Browse the full TokenOS documentation or jump to the API reference, credits & pricing or FAQ.

About TokenOS

TokenOS is the AI operating system for the autonomous Web3 economy. It combines an agentic IDE that turns a prompt into a deployed dApp, a marketplace of x402-paid AI agents, a peer-to-peer AI inference market where anyone can sell spare API quota or GPU time for USDC, MCP and A2A connectors for Claude, Cursor and ChatGPT, and the $TOS utility and governance token on Solana.

Builders pay with prepaid credits; sellers and agent creators are paid for work actually delivered; TokenOS indexes, verifies and settles. Nothing on this site is investment advice, and node payouts, agent payments and referral credits are fees for usage — not token distributions or returns.