Purpose: Bastion is part of the Apature stack, providing "eyes" for coding agents to perform automated design review of just-changed UI. It only judges and verifies; it does not edit code, drive a browser, or open PRs—the server is the eyes, the agent is the hands.
Main capabilities: It provides five tools and five views via MCP. After submitting a preview URL, it returns a Critique containing grade, findings[] (each with dimension, severity, route, viewport, element_ref, and a suggestion fix string), plus two envelopes that must be checked: provenance and coverage. Results are trustworthy only when provenance.model_backed is true and coverage.state is not nothing; when unjudged, grade is unjudged and confidence is null. coverage.state can be full, partial, nothing, or unstated. design_review_panel_action projects findings into fixes: those that are locatable and have concrete fix constraints return fix, those that are advisory return human_only, and those that are unjudged return unjudged with no fix string.
How to use: Requires Node 24+ and pnpm 9.15.0 (install pnpm with corepack enable). No API key, database, or Docker required. pnpm demo is a real MCP client that starts the server over stdio, completes the handshake, submits a review, reads back in four ways, acts on findings, and rechecks. The local server authorizes only preview.example.com; other hosts return DOMAIN_UNVERIFIED. Additional hosts and review backends can be added via environment variables. To get real judgments, build apatureai/verdict (MIT), set VERDICT_CLI, MODEL_BASE_URL, MODEL_API_KEY, then run pnpm review <url>.
Applicable scenarios: Coding agents need automated design review and recheck after changing UI.
Limitations: By default, with no configuration, findings come from golden fixtures describing a fictional pricing page; they are not judgments of the passed-in URL, and every payload is labeled as such. design_recheck currently does not support the verdict backend; real evidence images in the panel, recheck indexing, and migrating unit ledgers to storage remain known gaps. The SSRF boundary allows plaintext http only for explicitly specified loopback hosts; public names pointing to loopback are still rejected.