# Client contract changelog

Versions of the client contract (`manifest.json` `contractVersion`), separate
from the package version. See `README.md` for what counts as minor and major.

## 2.5.0

Added. Nothing existing changes shape.

- `disk-clean` (`POST /v1/disk-clean`): the category `test-artifacts` joins the
  allow-list, in the request body and in the response, with its own request flag
  `test-artifacts: true`. It is a test run's own output - result bundles,
  recordings and screenshots, report files - and like the other opt-in
  categories a measure shows it while a preview and an apply need the flag.

## 2.4.0

Added. Nothing existing changes shape.

- `runs-index` 1.6.0 (`GET /v1/runs`, `/v1/runs/{id}`): each phase carries its
  own `tokens` (`in`, `out`, `cached`), from that phase's tracker counters. The
  run total stays the `tokens` on the run record.
- `activity` 1.5.0 (`GET /v1/activity`, `/v1/activity/stream`): each
  `phaseHistory` entry carries `model` (which model the phase ran on), `now`
  (the phase's one-line current action, only while it is working or stopped
  where it was working), `tokens` (that phase's own in plus out, null when it
  has spent nothing) and `subs` (its sub-steps, each with `id`, `name` and
  `status`). A page can now show per-phase spend and what a phase is doing,
  which previously existed only on the terminal surfaces.

## 2.3.0

Added. Nothing existing changes shape.

- `mcp-health` 1.0.0 (`GET /v1/mcp-health`, new, local only): per MCP server and
  tool over the last seven days, the calls, the server-side failures and the
  minute of the last failure, read from the local failure log and call counter.
  A server is named only from the shipped public list (any other is `private`)
  and a tool only from the shipped tool list of this product's own server (any
  other is `other`). `skipped` names a source left out for being over the size
  cap or unreadable. `callsCounted` is false when usage counting is off or no
  counter file exists; `calls` then holds only failed calls. Names, counts and
  minutes only.

## 2.2.0

Added. Nothing existing changes shape.

- `jobs` 1.2.0 (`GET /v1/jobs`, `POST /v1/jobs`): six more jobs (`fable-status`,
  `health`, `help`, `search`, `address-review`, `analysis-resolve`). A
  parameter can have the kind `search-text` (a short query of plain words: no
  word starts with `-` or `/`, none names a pipeline command; the job passes it
  as one quoted argument after `--`) or `analysis-doc` (an existing
  `analysis/<feature>-<platform>.md` in the repository whose front matter says
  `template_version: v3`). A job can carry `fixedArgs`, flags it always passes
  after its parameters. A client that does not know a kind shows the field as
  text; one that does not know `fixedArgs` ignores it.
- `runs-index` 1.5.0 (`GET /v1/runs`, `/v1/runs/{id}`): `waitingSince`, when a run
  in the waiting group began to wait (the run's own `waitingSince`, written
  when it parks), `waitingSinceSource` (`state` for that, `file-time` for the
  state file's modification time, which any rewrite moves, so a client shows
  it as approximate), and `finishedAt`, the run's end time when its state
  records one. `waitingSince` and its source are null outside the waiting
  group.
- `activity` 1.4.0 (`GET /v1/activity`, `/v1/activity/stream`): each table
  carries `waitingSince` and `waitingSinceSource` with the same meaning, null
  for a run that is not waiting and for a session no run tracks. A client that
  does not know the keys ignores them. `agent-chat`, `routines`,
  `routine-delete`, `routines-shared`, `routine-shared`,
  `routine-shared-import`, `repo-add` and `repo-remove` share the activity
  stamp and move to 1.4.0 with no change.
- `learning-curve` 1.1.0 (`GET /v1/learning-curve`, new): how the pipeline's
  per-task quality and cost move over time, from the metrics log. One bucket
  per local calendar week (Monday first) and the first-to-last trend. `ok` is
  false with a `code` (`no-metrics`, `no-events`, `too-large`) when there is
  nothing to show. `skipped` names a log generation (`previous`, `current`)
  left out for being over the size cap; the answer is `too-large` only when
  no generation could be read.

## 2.1.0

Added. Nothing existing changes shape.

- `activity` 1.3.0 (`GET /v1/activity`, `/v1/activity/stream`): the document
  carries an optional top-level `costBudget` (`maxUsd`, `warnPct`,
  `onExceed`) while the cost budget in the preferences is enabled and valid,
  so a client can judge each table's `estUsd` against it: ok under `warnPct`
  percent of `maxUsd`, warn up to `maxUsd`, exceeded above. It is absent when
  no budget is configured. A client that does not know the key ignores it.
  `agent-chat`, `routines`, `routine-delete`, `routines-shared`,
  `routine-shared`, `routine-shared-import`, `repo-add` and `repo-remove`
  share that producer's stamp and move to 1.3.0 with no change.

## 2.0.0

Breaking: the phone device API is removed; the office is local only.

- `GET /v1/phone/runs`, `GET /v1/phone/runs/{id}`,
  `POST /v1/phone/runs/{id}/answer` and `POST /v1/phone/launch` are gone,
  with `manifest.json` `phone`, `phone-signed-request.schema.json`,
  `phone-devices.schema.json`, `phone-devices.mjs` and the error codes only
  they sent (`unsigned`, `unknown-device`, `revoked-device`,
  `bad-signature`, `stale-request`, `replayed`, `replay-store-full`,
  `unknown-verb`, `forbidden-scope`). A path under `/v1/phone/` is now
  `404 not-found` behind the bearer token like any unknown path. A client
  that used them has no replacement; the desktop routes are unchanged.
- `launch-request.mjs plan` drops `--channel` and the structured-only
  phone channel with it; `inputErrors`, `validateRequest` and `planLaunch`
  take no `channel` option. An old caller passing `--channel` gets exit 2
  with `unknown argument --channel`.
- `?v=` takes a canonical decimal major only: `01`, `+1`, `1.0` and an empty
  value are `400 unsupported-version`.
- `contract-error` lists `not-applied` (409 from `POST /v1/settings` when the
  setting could not be written), which the server already sent.
- `?v=1` stays accepted for one minor (`supportedMajors` `[2, 1]`) and
  serves the same desktop routes; the phone family is not served under
  either major.

Added in the same release. Nothing else changes shape.

- `GET /v1/routines/shared` (`routine-share.mjs browse`, local-only): the
  routines other site members shared, without bodies, each with `importedAs`
  (the local routine imported from it, or null). When sharing cannot answer
  the document says so with `available: false` and a fixed `reason`.
- `GET /v1/routines/shared/{id}` (`routine-share.mjs fetch`, local-only): one
  shared routine with its body, `sha256`, `digest` and `version`, and
  `localNameTaken`.
- `POST /v1/routines/shared/{id}/import` (local-only, high): two steps. The
  preview returns the full body, its `sha256`, the description, descriptionTr
  and argument hint unscrubbed, the payload `digest` over all of them and
  `targetName` with a token; the confirmation carries the token, that `sha256`
  and that `digest`. Refusals use existing
  codes: `name-taken`, `confirm-mismatch`, `state-moved`,
  `unattended-refused`, `invalid-body` for an `as` that is not a valid local
  name (the reserved `shared` included), and `upstream-failed` naming the
  field when the shared routine would fail the import checks.
- `POST /v1/autopilot/on`: an unattended server still previews, and refuses
  the confirmation with the existing code `409 unattended-refused`
  (`autopilot-control.mjs on` refuses under `MULTI_AGENT_UNATTENDED=1`).
- `DELETE /v1/routines/{name}`: an unattended server refuses the preview and
  the removal with the existing code `409 unattended-refused`.

## 1.12.0

Added. Nothing existing changes shape.

- `POST /v1/disk-clean` (local-only, high): the disk cleaner behind the
  office's cleanup window. `{}` measures with `disk-cleaner.mjs --dry-run
--json` and both opt-ins, and returns no token. `{categories}` previews
  exactly those categories, each one from the cleaner's own allow-list, and
  returns a token bound to them; `trash` and `transcripts` also need
  `trash: true` / `transcripts: true`. `{confirmToken}` applies the previewed
  categories and nothing else. Each category carries `items`, `bytes`, `top`
  (real paths), `more`, `kept` (per reason), `blocked`, `safe` and `optIn`;
  the document carries `reclaimableBytes` and `disk.expectedFreeBytes`. An
  unattended server measures its unattended set and refuses a preview and an
  apply with the new error code `unattended-refused`.
- `GET /v1/jobs` (1.1.0): a job parameter may carry `choices` (where its
  values are read on this machine), `dependsOn` and the filled `valuesFor`
  (the allowed values per value of that parameter), and `prefix` (written
  before the value in the command line). The new `review-priority` job uses
  them: its teams are the rule files that parse and its presets follow the
  team.

## 1.11.0

Added. Nothing existing changes shape.

- `GET /v1/skills` (`skill-catalog.mjs --json [--repo <path>]`, local-only):
  one list of everything a person can invoke. Each item carries `id`, `name`,
  `invoke` (`/multi-agent:<name>` for a command or routine, `<plugin>:<skill>`
  for a marketplace plugin skill), `kind` (`command`, `plugin-skill`,
  `routine`), `source` (the plugin, `pipeline` or `local`), `description` and
  `descriptionTr` from the SKILL.md frontmatter, `enabled`, `alwaysOn` and
  `localOnly`. `repo` resolves the way `GET /v1/stack` resolves it and only
  decides `enabled` for plugin skills (the repository's enabledPlugins plus
  the always-on plugins); without it a plugin skill whose plugin is not always
  on is `enabled: null`. A missing command tree, marketplace clone or routine
  registry is an entry in `notes`, not an error. Routine text is scrubbed.
- `GET /v1/stack`: each plugin's `skills` now lists the skills in grouped
  folders (`skills/<group>/<name>/SKILL.md`) as well as top-level ones.

## 1.10.0

Added. Nothing existing changes shape.

- `GET /v1/server-room` (`office-server-room.mjs --json`, local-only): every
  session from the activity document with its current work, last step, tokens
  in, out and cached, estimated cost and duration; today's tokens per model
  with an estimated cost each; six health lights (doctor, hooks, toolkit, last
  gate, recurring error tags, autopilot) and a rack status, all read from
  `health-report.mjs`'s JSON without `--probe`. Each light carries its English
  `reason`, the health-messages `message` (`{id, params}`) it was rendered
  from, and `text`: that message in the page's language (prefs
  `outputLanguage`, `en` or `tr`). `skills` carries the last 30 days of the
  local skill-usage log: total and failed calls, the ten most used skills
  with their own counts and last use, how many installed skills were not
  called, and whether counting is on; null when the log cannot be read.
- `GET /v1/archive` (`office-archive.mjs --json`, local-only): per repository,
  the newest decisions with their rationale, security notes and learnings
  from the learnings ledger, leaving out entries their feedback retired, and
  the hubs, clusters, surprising connections and questions of the code graph
  report when one exists. Redacted and cut short.
- `GET /v1/launch-spec`: every unattended launch shape's toolkit `env` also
  carries `MCP_TOOLKIT_INDEX_DENY`, the unattended profile's credential stores
  plus the contract-server and office log directories, so the toolkit refuses
  to index or read what the guard refuses. The office's toolkit child runs with
  the same list.

## 1.9.0

Added. Nothing existing changes shape.

- `activity` 1.2.0 (`GET /v1/activity`, `/v1/activity/stream`): a table for a
  session no run tracks can carry `costSource: "transcript"`, with `tokens`
  and `estUsd` summed from the usage records in that session's own
  transcripts and priced at list price. A session with no usage records stays
  `not-measured`. A client that does not know the value shows the numbers as
  estimates. `agent-chat`, `routines`, `routine-delete`, `repo-add` and
  `repo-remove` share that producer's stamp and move to 1.2.0 with no change.

## 1.8.0

Added. Nothing existing changes shape.

- `runs-index` 1.4.0 (`GET /v1/runs`, `/v1/runs/{id}`, `/v1/phone/runs`): `group`
  can be `done`, for a run whose status is complete, completed, done, abandoned
  or cancelled. Such a run was grouped by phase before, so a finished run could
  read as waiting. A client that does not know a group shows it neutrally.

## 1.7.0

Added. Nothing existing changes shape.

- `GET /v1/prs/reach` (`work-items.mjs reach`, local-only): for each open GitHub
  pull request (at most 20), how many files in the repository's own code graph
  depend on what it changes, widest first, with a reason when it cannot be
  measured. Changed paths are never returned, only counts.

## 1.6.0

Added. Nothing existing changes shape.

- `GET /v1/system` (`system-status.mjs --json`): CPU, memory, disk and the
  pipeline's own processes, numbers only.
- `GET /v1/credentials` (`office-credentials.mjs --json [--probe]`, local-only):
  logical names, state and probe verdict per credential, never a value.
- `GET /v1/memory` (`office-memory.mjs --json`, local-only): per-repository code
  graph age and learning, finding and session-note counts, redacted.
- `POST /v1/prune-logs` (two steps, local-only): the task log folders older than
  7, 30 or 90 days, then a prune of exactly that list; 409 `changed` when the
  folders moved since the preview.
- `GET /v1/settings` and `POST /v1/settings` (two steps, local-only, one change
  at a time): output language, the fable rung and model routing; a route-on
  preview names a saved free provider chain in `change.freeChain`.
- runs and run (1.3.0): `source`, `prNumber`, `mode`, `channels`, and the
  local-only `channelUrls`, dropped from a redacted answer.
- activity, activity stream, agent chat, routines, routine delete, repo add and
  remove (1.1.0): tables carry `source`, `pr`, `channels`, `waitingFor`,
  `currentTask`, `progress` and each phase's `tasks`; seats carry their own
  `tasks` and recent `mcp` calls.
- prs, issue maturity, review verdict (1.1.0): a pull request names the
  `account` it was listed for, numbered in a redacted answer.

## 1.5.0

Added. Nothing existing changes shape.

- `GET /v1/repos?all=1` (`launch-request.mjs repos --all`): `suggested`
  (checkouts earlier runs worked in that launch does not accept yet) and
  `missing` (registered entries whose folder is gone), each with an `id`; a
  page sees ids and names, never paths.
- `POST /v1/repos` (two steps, `repo-request.schema.json`,
  `repo-change.schema.json`, `local-only`/`high`): register a suggestion by id
  or an absolute path to a git checkout. `DELETE /v1/repos/{id}` (two steps)
  removes a registered entry; configured autopilot repositories are not
  touched.
- `version` on `GET /v1/tools`: the exact toolkit version the panel starts.
- `GET /v1/jobs` (`office-jobs.schema.json`): the jobs the office can start,
  from `schemas/office-jobs.json`. `POST /v1/jobs` (two steps,
  `job-request.schema.json`, `job-change.schema.json`, `local-only`/`high`)
  starts one with `claude --bg` under the unattended profile; it is the one
  route that starts a session itself.
- `--idle-minutes 0` and `--max-hours 0` mean no idle stop and no lifetime.

## 1.4.0

Added. Nothing existing changes shape; one narrowing for browser pages.

- `remote` and `risk` on every surface in `manifest.json` and every route in
  `ROUTES`: the scope a remote carrier would require (`read`, `answer`,
  `launch`, `local-only`) and the confirmation tier (`read`, `low`, `high`).
- `GET /v1/activity` and `GET /v1/activity/stream` (`activity.schema.json`):
  a room per repository, a table (team) per run, a seat per agent; the stream is
  `text/event-stream`, at most 4 at once (429 `too-many-streams`).
- `GET /v1/agents/{sessionId}/{agentId}/chat` (`activity-chat.schema.json`):
  one page of an agent's transcript, redacted; `before`, `limit`.
- `POST /v1/autopilot/on` (two steps, `autopilot-on.schema.json`), `POST
/v1/runs/{id}/steer` (two steps, `launch`/`high`: the text and a preview
  with a token bound to the run and the text, then the token alone;
  `steer.schema.json`), `GET /v1/routines`, `DELETE /v1/routines/{name}` (two
  steps), `GET /v1/stack`, `POST /v1/stack` (two steps).
- `GET /v1/ledger` (`ledger.schema.json`): tokens and estimated USD today, this
  week and this month, by run, repository, model and phase, each amount with
  its source; an unmeasurable run is `not-measured`, never 0.
- `GET /v1/runs/{id}/results` and `/evidence/{name}`: diff summary, review
  findings, test outcome, screenshots and analysis documents from the run's
  own files; a document is read only inside the run's roots (log directory,
  artifacts, a worktree git lists) and only as Markdown or HTML.
- `GET /v1/issues/{key}/maturity` (lib/issue-fetcher.sh), `GET /v1/prs`
  (GitHub; Bitbucket reported as not implemented), `POST
/v1/runs/{id}/review-verdict` (two steps, lib/post-pr-review.sh; only for a
  finished review with every finding triaged, 409 `review-incomplete`
  otherwise; the token is bound to the decision and `findingsDigest`, 409
  `confirm-mismatch` when they changed).
- `GET /v1/tools`, `POST /v1/tools/{name}/call` (`local-only`): the
  registered toolkit MCP server's tools, arguments checked against each
  inputSchema, risk from each tool's annotations, and `allowed`/`reason`:
  calls are denied by default (403 `tool-not-allowed`) except for read-only
  tools that take no location and are outside the web and context families;
  a `confirm` argument is refused; the toolkit child always runs with
  `MULTI_AGENT_UNATTENDED=1` and `MCP_TOOLKIT_URL_POLICY=strict`.
- `GET /v1/services/confluence`, `/crashlytics`, `/figma`: one page, issue or
  frame through the pipeline's existing clients; a Confluence URL only on the
  configured host (409 `host-not-allowed`); one request per service at a time
  (429 `busy`).
- `GET /v1/permissions`: the shape for pending host permission prompts;
  `available: false` until the host records them readably.
- `GET /office`: the optional panel page, 404 when none is installed;
  `POST /office/code` and `POST /office/exchange` hand the page the token
  through a one-time 10 second code instead of a URL; `GET
/office/assets/<name>.png` serves its sprites.
- `--max-hours` (default 8): an absolute lifetime for the server.
- `contract-error.schema.json`: `no-selection`, `repo-not-configured`,
  `invalid-config`, `not-installed`, `repo-ambiguous`, `unreadable-settings`,
  `not-removable`, `not-steerable`, `too-many-streams`, `no-review`,
  `upstream-failed`, `tool-not-allowed`, `busy`, `review-incomplete`,
  `host-not-allowed`.
- Narrowed: a write (POST, DELETE) from a page on an `--allow-origin` origin is
  now 403 `forbidden-origin`; only the server's own page may write. A native
  client sends no Origin and is unaffected.
- `?repo=` also takes a repository name from `GET /v1/repos` (on the stack
  route and on `POST /v1/launch`), since a browser reads that list redacted,
  without paths. The repository must still be a configured or registered one:
  an unknown name is 403 `repo-not-allowed`, an ambiguous one 409
  `repo-ambiguous`. A relative path is no longer 400 but resolved as a name.

## 1.3.0

Added. Every new field is optional for a decoder: a run written before this
version reads with the new fields absent or null.

- Runs index 1.2.0 (`GET /v1/runs`, `GET /v1/runs/{id}`). Per run: `runType`
  (`analysis`, `development`, `autopilot`), `title` (the issue title Phase 0
  fetched, else the launch input), `progress` (0..1, the mean over the
  registered phases) and `currentTask` (`{subject, activeForm}` of the first
  in-progress task of the phase in progress). Per phase: `progress` and
  `tasks[]` (`{id, subject, activeForm, status}`), the host's own task list as
  `phase-tracker.sh task` mirrored it. `now` is read from `meta.Now`, where
  `phase-tracker.sh now` writes it. The index reads the unattended log root
  beside `LOGS_ROOT`, one record per task id. `processAlive` (boolean or
  null) says whether the session the run recorded is alive per
  `claude agents --json`; null when none is recorded or the list cannot be
  read. The resume route's `run-active` and the kill preview use the same
  answer.
- `POST /v1/launch` `mode: "background"` with `kind: "development" | "analysis"`
  (launch request, launch plan 1.1.0). The plan is the autopilot launch shape
  with `/multi-agent <input>` or `/multi-agent:analysis <input>`; the plan
  carries `kind`. The run never blocks on a terminal: a picker the request did
  not answer parks it with `waitingFor: "question"` and a `pendingQuestion`,
  answered through `POST /v1/runs/{id}/answer`. An analysis launch takes no
  answers, and `workspace: local` is refused in background mode
  (`run-questions.json` 1.1.0). `launch.json` 1.2.0 declares
  `hosts.claude.background` and `hosts.claude.resume`.
- `GET /v1/repos` (`repos.schema.json`): the repositories `POST /v1/launch?repo=`
  accepts, `{path, name, source: "autopilot" | "registered"}`, from the
  autopilot config and `launch-repos.json`; `path` is dropped under redact.
- `GET /v1/runs/{id}/log?tail=N` (`run-log.schema.json`): the last N lines
  (1-2000, default 200) of the run's `agent-log.md`, and whether more exist.
- `POST /v1/runs/{id}/resume` (`resume-request.schema.json`, returns
  `launch-plan.schema.json` with `mode: "resume"` and no request file). Only a
  run under the unattended log root resumes in the background; `answers`
  answers its pending question first.
- `POST /v1/runs/{id}/kill` and `POST /v1/gc` (`kill.schema.json`,
  `gc.schema.json`): two steps, preview then confirm, with a single-use confirm
  token valid for 120 seconds and bound to the route and run.
- `GET /v1/autopilot` (`autopilot-status.schema.json`) and
  `POST /v1/autopilot/off` (`autopilot-off.schema.json`).
- `contract-error.schema.json`: `run-active`, `not-resumable`,
  `confirm-expired`, `confirm-mismatch`, and `unattended-profile-missing`
  (409 from launch and resume when the unattended permission profile is not
  installed) with a `remedy` field naming the install command, and
  `workspace-not-trusted` (409 from launch and resume when Claude Code's
  config records the repository as not trusted; `remedy` says to open Claude
  Code there once and accept the trust prompt).
- Every launch shape in `launch.json` passes the prompt as claude's positional
  argument, without `-p`: `claude --bg` refuses `--print`.
- `manifest.json` `server.confirm` describes the token flow.

## 1.2.0

Added, plus one narrowing of the launch input, which no released pipeline
version served before this one.

- Phone routes under `/v1/phone/`: `GET /v1/phone/runs`, `GET /v1/phone/runs/{id}`,
  `POST /v1/phone/runs/{id}/answer` and `POST /v1/phone/launch`. Each request
  is signed with an enrolled device's Ed25519 key (`phone-signed-request.schema.json`);
  the bearer token does not open them and a signature opens no desktop route.
  Responses are always redacted, and launch is refused until it is enabled
  locally. `manifest.json` `phone` names the headers, the signed fields, the
  window and the scopes, so a client hardcodes none of them.
- `phone-devices.schema.json`: the device registry `phone-devices.mjs` writes.
- `contract-error.schema.json`: `unsigned`, `unknown-device`, `revoked-device`,
  `bad-signature`, `stale-request`, `replayed`, `replay-store-full`,
  `unknown-verb`, `forbidden-scope` and `launch-disabled`. A desktop request
  never receives one of them. `repo-not-allowed` (403) answers a launch on
  either route whose `repo` is neither a configured autopilot repo nor one
  registered with `launch-request.mjs register-repo`.
- `manifest.json` `phone.signature.futureSkewSeconds` (5): how far ahead of
  the server's clock a timestamp may be. `windowSeconds` (60) is how far
  behind.
- Launch input. `input` is a structured reference (Jira key, GitHub issue URL,
  `repo#N`, `#N`, Jira URL on the configured host) or, on the desktop channel
  only, free text that the plan renders as one quoted argument. A newline, a
  control or format character, a leading `-`, a flag-like token or a first
  token that is a pipeline op or mode keyword rejects the request
  (`400 invalid-request`); free text may use those words after its first
  token. A client that sent free text to `/v1/phone/launch`, or an input
  carrying one of those, now sends a structured reference instead.
- `launch-request.mjs plan --channel desktop|phone` (default `desktop`) applies
  that channel's input rule, so `plan --channel phone --redact` prints what
  `POST /v1/phone/launch` returns for the same request file.
- `manifest.json`: the `launch-spec` surface carries `launch.json`'s own
  version, 1.1.0.
- `runs-index` `group`: a run with `waitingFor` set is `waiting` at any phase.
  A run paused on a question at phase 0 is no longer grouped `question`, the
  group whose action is garbage-collecting an abandoned intake.

## 1.1.0

Added; nothing a 1.0 client decodes changed.

- HTTP carrier: `contract-server.mjs` serves every surface on `127.0.0.1`
  behind a per-start bearer token, byte-for-byte what the CLI prints.
- `runs-index` 1.1.0: each run carries `sessionId`, `waitingFor` and
  `pendingQuestion`, so a client can find the run it launched and answer the
  question it stopped on without reading `agent-state.json`.
- `runs-index`: `schemaVersion` is always a string or null (agent-state.schema.json
  already declares a string) and token counts are always integers. The
  producer now coerces both and the schema says so; the toolbox decodes exactly
  these types.
- `launch-request.mjs plan` and `POST /v1/launch`: the launch plan
  (`launch-plan.schema.json`). `launch-request.mjs questions` and `spec` print
  `run-questions.json` and `launch.json`.
- `answer-question.mjs --question <id>` and `POST /v1/runs/{id}/answer`
  (`answer-request.schema.json`): an answer names the question it answers.
- `credential-inventory.sh --json` carries `probed` in every envelope,
  including `empty` and `no-backend`.
- `contract-error.schema.json` for every non-2xx HTTP body.
- The kit itself: `manifest.json`, generated `types/index.d.ts`, fixtures and
  the frozen toolbox fields.

## 1.0.0

The first declared contract: `commands.mjs --json`, `run-questions.json`,
launch requests (`launch-request.mjs validate|resolve`), `answer-question.mjs`,
`issues.mjs --json`, `worktrees.mjs --json`, `runs-index.mjs --json` with
`--redact`, and `launch.json`.
