Specifications
Reverse-engineered from the source at commit 53f8c53. Specs 001–025 describe behaviour as implemented, with numbered requirements (CLI-01, FS-30, …) that can be traced to code and tests, plus known gaps; 026 and 027 collect what’s missing — Blitz’s own gaps, and gaps against Claude Code and Antigravity — as requirements to close before new features.
Files are named spec_NNN_<name>.md, where NNN is the order of execution (first, so the files list in order): each spec builds on the specs before it, so reading (or rebuilding) them in order works bottom-up, from project setup to release. Links to later specs are cross-references for context, not dependencies.
| # | Spec | Covers |
|---|---|---|
| 001 | setup | Identity, layout, toolchain, commands, conventions |
| 002 | config | .env.toml location and trust, schema and defaults, in-place editing |
| 003 | observability | Redaction, audit log, diagnostic log, OpenTelemetry |
| 004 | i18n | Catalogs, locale resolution, interface vs reply language |
| 005 | approvals | Approval gate, remembered/saved rules, unattended runs, ask_user_question (with technical choices explained, in recommended order) |
| 006 | filetools | File sandbox, blocked paths, file tools, apply_patch, checkpoints and /undo |
| 007 | shell | run_shell_command, command policy, OS sandbox, process guard, background processes |
| 008 | web | web_fetch (SSRF-safe), web_search providers, /search |
| 009 | mcp | MCP servers: exposure, approval, timeouts, circuit breaker |
| 010 | hooks | pre_tool, post_tool, prompt_submit hooks |
| 011 | images | Attaching, preparing, storing and sending images |
| 012 | memory | Project instruction files |
| 013 | skills | Skill definitions, skills policy, script sandbox and environments |
| 014 | agents | Agent definitions, built-ins, delegation, Universal Constructor |
| 015 | models | Providers, retries and stalls, fallback chain, per-model settings |
| 016 | engine | Turns, plan/read-only modes, steering, /btw, compaction, sub-agents, usage, tracing |
| 017 | sessions | Transcripts, event log, resume, snapshots, session search |
| 018 | workspace | engine.Open, api.Backend, turn lifecycle, typed operations |
| 019 | tui | REPL, slash commands, steering, exit handling |
| 020 | cli | Commands, flags, one-shot output formats, exit codes, doctor, config |
| 021 | service | blitzd, socket, Connect API, approval broker, login item |
| 022 | client | Attaching front ends to the service |
| 023 | jobs | WORKER.md, schedules, permissions, enabling, runs, scheduler |
| 024 | desktop | The desktop app and its page (the Wails shell until v0.6.5; the Electron app since, spec 038) |
| 025 | release | CI, reproducible and signed releases |
| 026 | backlog | What’s missing: unimplemented requirements, verification still owed, and deliberate limitations |
| 027 | parity | Gaps against Claude Code, Antigravity CLI and Antigravity, as requirements to close before new features |
| 028 | monorepo | Apps over shared packages, their dependency rules, and the Bazel build: generated protos, the page, packages, reproducibility |
| 029 | files | The workspace’s files in the desktop app: explorer, editor, diffs, language intelligence |
| 030 | release readiness | Licensing, headers and notices; comments; specs, docs site, README, contributing and owners |
| 031 | project configuration | .blitz/settings.toml in a workspace: tiers of what applies at once, after hash-pinned trust, or never |
| 032 | background sub-agents | invoke_agent in the background: tasks, their tools, results, the task view and approvals |
| 033 | plugins | Bundles of skills, commands, agents, hooks and MCP servers: installing, pinning by hash, marketplaces, importing Claude Code and Gemini CLI plugins |
| 034 | vscode | The VS Code extension: the desktop app’s chat in a view, attached to the service through a local proxy, approvals in the diff view, the selection and files as context |
| 035 | search | Workspace search: an index of the files, PDFs and notebooks, chats and notes, kept up by scans, searched by words (FTS5, BM25) from the desktop app, the CLI and the agent |
| 036 | windows | Blitz on Windows: the tray runs the service; until v0.7.1 it also served the desktop page to an Edge app window |
| 037 | visual editor | Draft: Markdown edited in its rendered form (TipTap), code blocks as CodeMirror editors, and language servers (gopls first) for the editor through a LanguageService on the service |
| 038 | electron | The desktop app in Electron (one engine on every platform, a real app on Windows) over the page and blitz-tray --serve as its host; since v0.7.0 |
| 039 | secrets | The user’s secrets in the system’s keychain, named in prompts and settings as {secrets:key}; since v0.7.1 |
| 040 | studio | What a workspace’s .agents folder holds, each kind listed and edited in the desktop app; since v0.7.1 |
| 041 | gates | Rules that gate an agent’s turn, checked before it runs and after it answers, and guardrails at every step of it; since v0.7.1 |
| 042 | evals | Cases that check an agent still answers as it should, run and scored exactly or by meaning; since v0.7.1 |
| 043 | workflows | Steps joined into a graph, run as one turn (/name) and built on a canvas; since v0.7.1 |
| 044 | health | A workspace’s dashboard: what it holds, how its runs go, and each item’s quality judged on the evidence, on request and nightly; since v0.7.1 |
| 045 | composer | A guided conversation that makes a component: asks what it needs, writes the file, checks it with the engine’s rules and hands it to the editor as a draft; for workflows since v0.7.1, the other kinds next |
| 046 | databases | Databases the agents can query (PostgreSQL, AlloyDB, SQLite with sqlite-vec, BigQuery), served in-process by MCP Toolbox for Databases, read-only by default; since v0.8.0 |
| 047 | connectors | The systems the agents reach, databases first: categories and kinds as descriptors, backends behind one interface, capabilities such as the query builder; since v0.8.0 |
| 048 | harness learning | Draft: experience drawn from a workspace’s runs (.agents/EXPERIENCE.md), run evidence in /skills update and /agents update, invariant and project experience apart, guardrails and rules in /setup; after Harness² |
| 049 | browser profiles | The sign-ins the agents browse with: Blitz’s own Chromium profiles, one chosen per workspace from the person’s settings, kept between runs; since v0.8.4 |
| 050 | the agent’s browser in the app | With the desktop app open, the agent browses in a view of the app’s own, watched in a tab or silent, over a relay of the DevTools Protocol; since v0.8.4 |
| 051 | secrets hook | A pre-commit hook that stops commits adding API keys and other secrets (blitz security scan-secrets), put in when the harness or the window makes a repository; since v0.8.4 |
| 052 | processes | The agents’ background processes: what each uses, flags for the busy, the growing and the left running, and one place to see and stop them (the window’s status bar and view, /processes, the tray); since v0.8.5 |
| 053 | enterprise foundations | Draft: the service assembled from pkg/ with extension points, and clients that connect to an organization’s licensed service: its sign-in, its models, its signed catalog and its jobs |
| 054 | active installs | Once a day, on a day someone uses Blitz, a ping counts the install as active (front end, version, platform) with a random install ID: daily, weekly and monthly actives and retention. On by default, [usage] count = false turns it off |
| 055 | resource names | one URN for everything an organization’s service keeps (urn:blitz:runs:<id>, urn:blitz:artifacts:<workspace>:<job>:<run>/<path>), made only of IDs, mapped to its store by a locator and asked about at /api/v1/resources/{urn} |
| 056 | conversations across models | one neutral conversation, its provider state tagged by origin, adapted at each call from one record per model (input and output kinds, tools, reasoning, streaming, caching, price); model-made files kept as attachments, provider tools and citations kept neutrally; a conversation’s own model, switched from its next turn with a preview; a cost ledger call by call (draft) |
| 057 | spec-driven development | Phase 1: the specification listed and checked without a model (IDs, status, dependencies, vague words, Done when), reviewed by the model on request, refined in a conversation whose changes are kept one by one, and blitz spec review for CI; phase 2: approval and the ledger in .agents/.ledger/, verification (IDs found in the work, the model’s verdicts), the matrix; phase 3: a change recorded and its impact scanned (declarations and their uses, then the model’s steps after its estimate); phase 4: Implement (the prompt for what’s left, IDs cited), drift (a turn’s notice, verify --ci) and next up |
| 058 | pictures | Draft: a panel for making pictures, opened from the chat box: the model’s controls from a capability catalog (Gemini image models and Imagen), references from the computer and the file tree, multi-turn sessions, results saved into the file tree; blitz picture |
| 059 | data in workflows and chats | Phases 1–3 built: the table, read from each source’s own connection with its drivers’ column metadata; RunConnectorQuery; the workflow Data step (a saved query or SQL, template parameters, limits, writes asked first, BigQuery priced first, Try it); the chat’s database icon and @db: adding a connection, or a query’s result, to the context; the CLI’s /data and blitz data list|query (phase 5). Planned: chunks or rows as they stream |
| 060 | Blitz as a tool | Built (hook save, plugin install, org publish to come): one blitz tool running Blitz’s own commands (the CLI’s, from one catalog), changes approved through Blitz’s forms, secrets asked in the form, the organization’s policy applied, the mode only tightened: connections, settings, doctor and the organization’s policy first; then pictures, opening files and views (open_file built), evals, specs, jobs, memory, chats, processes, approvals and secrets; then workflows, agents and skills; then what brings code (MCP servers, hooks, plugins); a built-in blitz skill |
| 061 | every provider’s models | Built: every chat model of every provider set up (the organization’s first, Ollama when it answers), kept 10 minutes; the status bar’s agent and model as two buttons, the model menu grouped by provider with search; the CLI’s /model picker listing them all |
| 062 | a terminal in the window | Built: the person’s login shell in a PTY, run by the service outside the agent’s sandbox, as a tab in the editor area (xterm.js, truecolor, MesloLGS Nerd Font for oh-my-zsh themes), kept while the workspace is open, scrollback replayed on reload; Open in terminal in the file tree. Windows later |
| 063 | voice | Built (v1.0.0; the tray’s Stop talking, an organization’s switch and voice’s cost in the session’s to come): desktop only, Google only, off by default and gone when off: a microphone in the chat bar opens a Gemini Live conversation (ADK RunLive) whose voice agent hands work to the session’s agent as ordinary turns, says approvals aloud (yes allows once), and speaks short summaries of what changed and what’s waiting; Settings › Voice holds every [voice] setting |
| 064 | personality | Built for v1.0.0: how the root agent sounds (not what it may do): built-ins (friendly, direct, mentor, cheerful, calm, reviewer) and the person’s own in ~/.blitz/personalities/, each with a Gemini voice for spec_063; Settings › Personality to pick, try, write and duplicate; per workspace beside the output style, /personality; sub-agents, jobs, judges and evals stay neutral |
| 065 | packages | Agentic assets as versioned packages: versions, ranges (1.x, ^1.4.2), an agent’s skills by range so agents can run different versions side by side; the library and, in time, builders outside Blitz read them alike |
| 066 | reasoning | Built: a turn as a graph in the desktop app (an icon beside History): its model calls on a spine, each call’s shared reasoning to its left and its tools, sub-agents and words to its right, live as the turn runs and for every past turn (GetReasoning, from the saved events); the top menu stays usable over every view |
| 067 | CLI parity | Planned: the CLI as a first-class Blitz — a Blitz banner powered by Retail Cortex, one command tree feeding a completion menu (sub-commands, values, fuzzy) and shell completion, help from the tree and the embedded docs with ask Blitz (offline fallback), configuration by asking the agent (MCP from a web page, with secrets hidden), every desktop setting and Studio item as blitz <noun> <verb> with --json, and one meaning per name and flag |
Background and history: the roadmap, where to pick up, development.