Documentation
¶
Overview ¶
smokefixture seeds an isolated ANTARES_HOME so `bin/antares serve --foreground` can boot for smoke testing without touching the developer's real ~/.antares, without dialling any provider, and with the exact session row the dashboard route-walk expects at /c/<id>.
Every field it writes is deliberate: onboarding must be considered *done* (Model.Default + a provider with a key or a local BaseURL — see server.NeedsSetup), auth must be enforced with a known password so the smoke script can log in against the real /api/auth/login flow, and every background subsystem that would otherwise reach the network (RAG embedder, gateways, plugins, cron, browser, MCP, smart titles, verify-replies, code-execution sandbox) must be off.
The helper is intentionally its own binary so the real `antares` command never grows a "prepare smoke fixture" mode. It reuses config.Default, config.SaveAt, and store.Open so schema drift is caught here the same day it lands in production.