Keep nearby
Quick Reference
The shortest operational reference for Command v20.4.
Mode cheat sheet
| Mode | How | Data |
|---|---|---|
| Offline demo | Double-click file or ?demo=1 | Browser localStorage only |
| Real local | npx wrangler pages dev public | Wrangler/local bindings |
| Real deployed | Protected Cloudflare URL | D1 + R2 |
Core names that must match exactly
D1 binding: COMMAND_DB
R2 binding: COMMAND_ASSETS
First admin: BOOTSTRAP_ADMIN_EMAIL
Deployed production auth: CF_ACCESS_TEAM_DOMAIN + CF_ACCESS_AUD + COMMAND_REQUIRE_ACCESS_JWT=true
Broadcast agent secret: BROADCAST_AGENT_TOKEN
Fast diagnosis
/setup-doctor.html
/api/command/me
/api/command/health
401 = identity. 503 COMMAND_DB = D1 binding. HTML/404 = Functions deployment. Upload binding error = R2.
Pre-launch rule: Command can be fully real behind Access while Iridesceux and HVN remain private/offline.
Production:
COMMAND_ALLOW_HEADER_AUTH=true must not be used as a shortcut. Setup Doctor should show CORE BACKEND green and Access JWT verification green.Broadcast: realtime control is preferred for live TAKE/CLEAR actions; polling is a fallback, not the primary live-control path.