carlos / platform Public

parity: seed the table, page and coverage tests

Seeds parity/parity.tsv from the 2026-11-09 inventory, every console
row checked against routeDecls and every CLI row against its
dispatcher; adds parity/packages.tsv (nine packages, discussions not
filed yet), parity/README.md and the generated docs/parity.md.

Tests: TestParityTableCoversConsoleRoutes (package console) holds the
table against the non-cli route declarations; TestParityTableIsValid,
TestParityCLITopLevel and TestParityPageIsCurrent (internal/parity)
check the real table's rules, main.go's top-level words and the page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 9b5b66960f923d1f8ed92d0567bc03cfd0088391 parent ac12be0
6 files changed, +883 −0
  • docs/parity.md +464 −0
  • internal/console/parity_test.go +53 −0
  • internal/parity/repo_test.go +101 −0
  • parity/README.md +7 −0
  • parity/packages.tsv +12 −0
  • parity/parity.tsv +246 −0
diff --git a/docs/parity.md b/docs/parity.md
new file mode 100644
index 000000000..9f74455c9
--- /dev/null
+++ b/docs/parity.md
@@ -0,0 +1,464 @@
+# CLI and console parity
+
+This page is generated from `parity/parity.tsv` and `parity/packages.tsv` by `make parity-doc`. Edit the table, then regenerate the page.
+
+## Counts
+
+Customer rows only. Rows outside customer parity are listed at the end.
+
+Commands below the top level are checked for shape only until slice 4's registry.
+
+| Status | Rows |
+|---|---:|
+| both | 42 |
+| partial | 9 |
+| gap | 64 |
+| cli-only | 15 |
+| console-only | 16 |
+| Total | 146 |
+
+## account
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| accounts-create | both | `accounts create` | `GET /accounts/new`<br>`POST /accounts/new` | | |
+| accounts-list | both | `accounts list` | `GET /accounts` | | |
+| services | both | `services create`<br>`services ls`<br>`services rotate`<br>`services revoke` | `GET /a/{sqid}/settings`<br>`POST /a/{sqid}/services/new`<br>`POST /a/{sqid}/services/rotate`<br>`POST /a/{sqid}/services/revoke` | | |
+| cli-tokens | gap | | `GET /settings`<br>`GET /auth/cli/tokens`<br>`POST /auth/cli/tokens/revoke` | [wp-cli-verbs](#wp-cli-verbs) | The CLI can only log itself out. |
+| auth-login | cli-only | `auth login` | | | Signs this terminal in; the browser half is an auth row. |
+| auth-identity | cli-only | `auth whoami`<br>`auth logout`<br>`auth default` | | | This terminal's own identity and default console. |
+| account-delete | console-only | | `POST /a/{sqid}/delete` | | Deleting an account needs a passkey. |
+| plan-keep | gap | | `GET /a/{sqid}/plan/keep`<br>`POST /a/{sqid}/plan/keep` | [wp-cli-verbs](#wp-cli-verbs) | Choosing which apps to keep when a plan lapses. |
+| getting-started | console-only | | `POST /a/{sqid}/getting-started/hide`<br>`POST /a/{sqid}/getting-started/show`<br>`POST /a/{sqid}/getting-started/skip`<br>`POST /a/{sqid}/getting-started/done` | | A checklist in the page. |
+| nav-index | console-only | | `GET /a/{sqid}/index`<br>`GET /a/{sqid}/apps/{app}/index`<br>`GET /a/{sqid}/apps/{app}/settings/index` | | Phone navigation pages that list sections. |
+
+## apps
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| apps-list | both | `apps list` | `GET /a/{sqid}/{$}`<br>`GET /a/{sqid}/apps/{app}` | | |
+| apps-create | partial | `apps create` | `GET /a/{sqid}/apps/new`<br>`POST /a/{sqid}/apps/new`<br>`POST /a/{sqid}/apps/new/region` | | The new app form has no place, control-plane or build-probe choice at create. |
+| apps-place | both | `apps place` | `POST /a/{sqid}/apps/{app}/place`<br>`POST /a/{sqid}/fleets/{fleet}/place`<br>`GET /a/{sqid}/apps/{app}/settings/{section}` | | |
+| apps-region | both | `apps region` | `GET /a/{sqid}/apps/{app}/settings`<br>`GET /a/{sqid}/apps/{app}/settings/{section}`<br>`POST /a/{sqid}/apps/{app}/region` | | |
+| apps-build-probe | gap | `apps build-probe` | | [wp-settings](#wp-settings) | |
+| apps-swap | both | `apps set [--swap,--swap-concurrency]` | `POST /a/{sqid}/apps/{app}/swap`<br>`GET /a/{sqid}/apps/{app}/settings/{section}` | | |
+| apps-interactive | gap | `apps set [--interactive]` | | [wp-settings](#wp-settings) | |
+| apps-copies | gap | `apps set [--copies]` | | [wp-settings](#wp-settings) | The overview shows copy counts only. |
+| apps-update-defaults | gap | `apps set [--instance-control,--default-updates,--default-major,--default-channel]` | | [wp-settings](#wp-settings) | Instance pages set updates one instance at a time. |
+| apps-show | gap | `apps show` | | [wp-settings](#wp-settings) | Reads the instance policy (egress, size). |
+| apps-delete | both | `apps delete` | `POST /a/{sqid}/apps/{app}/delete` | | |
+| apps-restore | both | `apps restore` | `GET /a/{sqid}/trash`<br>`POST /a/{sqid}/trash/restore` | | |
+| apps-ttl | partial | `apps ttl` | `POST /a/{sqid}/apps/{app}/extend` | | The console extends by 1, 7 or 30 days; it cannot set any duration or shorten. |
+| apps-keep | both | `apps keep` | `POST /a/{sqid}/apps/{app}/keep` | | |
+| apps-source | both | `apps source pull` | `GET /a/{sqid}/apps/{app}/source` | | |
+| apps-rename | gap | | `POST /a/{sqid}/apps/{app}/rename` | [wp-cli-verbs](#wp-cli-verbs) | Rename before the first ship. |
+| apps-control-plane-set | gap | | `POST /a/{sqid}/apps/{app}/control-plane/set` | [wp-cli-verbs](#wp-cli-verbs) | The CLI sets it only at apps create. |
+| apps-control-plane-clear | console-only | | `POST /a/{sqid}/apps/{app}/control-plane/clear` | | Needs a passkey. |
+| apps-move-account | console-only | | `POST /a/{sqid}/apps/{app}/move` | | Moving an app to another account needs a passkey. |
+| apps-purge | console-only | | `POST /a/{sqid}/trash/delete` | | Deleting from Trash now needs a passkey. |
+| apps-production | console-only | | `POST /a/{sqid}/apps/{app}/production` | | Turning the production flag on or off needs a passkey. |
+| apps-star | console-only | | `POST /a/{sqid}/apps/{app}/star` | | A browser list preference. |
+| apps-account-review | console-only | | `GET /a/{sqid}/apps/{app}/account-review` | | A page that explains an account mismatch to the person in the browser. |
+
+## billing
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| billing | console-only | | `GET /a/{sqid}/billing`<br>`GET /upgrade`<br>`POST /a/{sqid}/billing/confirm`<br>`POST /a/{sqid}/billing/checkout`<br>`GET /a/{sqid}/billing/continue`<br>`GET /a/{sqid}/billing/done`<br>`POST /a/{sqid}/billing/change`<br>`POST /a/{sqid}/billing/renewal`<br>`POST /a/{sqid}/billing/seats`<br>`POST /a/{sqid}/billing/portal`<br>`POST /a/{sqid}/billing/card` | | Payment goes through the Stripe pages in a browser. |
+
+## config
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| env | both | `env set [--environment, existing bundle]`<br>`env unset`<br>`env list` | `GET /a/{sqid}/apps/{app}/settings/{section}`<br>`POST /a/{sqid}/apps/{app}/settings/environments` | | |
+| env-new-bundle | gap | `env set [--environment, new bundle]` | | [wp-settings](#wp-settings) | The form edits bundles that already exist. |
+| env-environments | both | `env environments` | `GET /a/{sqid}/apps/{app}/settings/{section}` | | |
+| env-exec-delivery | gap | `env exec-delivery` | | [wp-settings](#wp-settings) | |
+| env-sync | gap | `env sync` | | [wp-settings](#wp-settings) | |
+| env-ownership | gap | `env adopt`<br>`env release`<br>`env fork` | | [wp-settings](#wp-settings) | |
+| secrets | both | `secrets set`<br>`secrets unset`<br>`secrets list` | `GET /a/{sqid}/apps/{app}/settings/{section}`<br>`POST /a/{sqid}/apps/{app}/settings/environments` | | The browser seals the value before it is sent. |
+| secrets-genkey | cli-only | `secrets genkey` | | | The private key must stay on this machine. |
+| secrets-fingerprint | cli-only | `secrets fingerprint` | | | Reads a key file on this machine. |
+| features-list | both | `features list` | `GET /a/{sqid}/apps/{app}/settings/{section}` | | |
+| features-set | gap | `features set` | | [wp-settings](#wp-settings) | The Features section prints the CLI command. |
+
+## data
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| run | gap | `run [without -it]` | | [wp-db-run](#wp-db-run) | |
+| run-interactive | gap | `run [-it]`<br>`console` | | [wp-terminal](#wp-terminal) | An interactive terminal needs a browser terminal design first. |
+| db-query | gap | `db query` | | [wp-db-run](#wp-db-run) | |
+| db-pull | gap | `db pull` | | [wp-db-run](#wp-db-run) | |
+| door-keys | gap | `instances door-key create`<br>`instances door-key list`<br>`instances door-key revoke` | | [wp-db-run](#wp-db-run) | |
+| instances-import | gap | `instances import`<br>`instances import commit`<br>`instances import abort` | | [wp-import](#wp-import) | |
+| ledger-read | gap | `ledger list`<br>`ledger head` | | [wp-settings](#wp-settings) | |
+| ledger-publish | gap | `ledger publish` | | [wp-settings](#wp-settings) | |
+| ledger-write | cli-only | `ledger append`<br>`ledger blob` | | | Programmatic writes by the app or CI. |
+| ledger-verify | cli-only | `ledger verify` | | | Verification runs on the client, by design. |
+
+## domains
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| domains-list | both | `domains list` | `GET /a/{sqid}/apps/{app}/settings/{section}` | | |
+| domains-attach | both | `domains attach`<br>`domains detach` | `POST /a/{sqid}/apps/{app}/domains/attach`<br>`POST /a/{sqid}/apps/{app}/domains/detach` | | |
+| domains-verify | partial | `domains verify` | `POST /a/{sqid}/apps/{app}/domains/attach` | | There is no Verify button; attaching again verifies. |
+| domains-buy | both | `domains check`<br>`domains buy` | `GET /a/{sqid}/apps/{app}/domains/buy`<br>`POST /a/{sqid}/apps/{app}/domains/check`<br>`POST /a/{sqid}/apps/{app}/domains/buy`<br>`GET /a/{sqid}/apps/{app}/domains/purchases/{id}`<br>`GET /a/{sqid}/apps/{app}/domains/purchases/{id}/status` | | |
+| domains-paths | gap | `domains paths` | | [wp-settings](#wp-settings) | |
+| domains-placements | gap | `domains placements` | | [wp-settings](#wp-settings) | |
+| gate | both | `gate set`<br>`gate clear`<br>`gate list` | `POST /a/{sqid}/apps/{app}/gate`<br>`GET /a/{sqid}/apps/{app}/settings/{section}` | | |
+| ratelimit | both | `ratelimit show`<br>`ratelimit set`<br>`ratelimit clear` | `POST /a/{sqid}/apps/{app}/ratelimit`<br>`GET /a/{sqid}/apps/{app}/settings/{section}` | | |
+| assets | gap | `assets status`<br>`assets purge` | | [wp-settings](#wp-settings) | |
+
+## email
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| email-enable | gap | `email enable` | | [wp-email-storage](#wp-email-storage) | The Email section prints the CLI command. |
+| email-status | both | `email status` | `GET /a/{sqid}/apps/{app}/settings/{section}` | | |
+| email-domains | gap | `email domains add`<br>`email domains rm` | | [wp-email-storage](#wp-email-storage) | add waits for the domain to verify. |
+| email-test | gap | `email test` | | [wp-email-storage](#wp-email-storage) | |
+| email-events | gap | `email events`<br>`email events push` | | [wp-email-storage](#wp-email-storage) | |
+| email-credentials | partial | `email credentials create`<br>`email credentials list`<br>`email credentials revoke` | `GET /a/{sqid}/apps/{app}/settings/{section}` | | The console lists credentials read-only; it cannot create or revoke them. |
+| email-rotate | gap | `email rotate` | | [wp-email-storage](#wp-email-storage) | |
+| email-pause | gap | `email pause`<br>`email resume` | | [wp-email-storage](#wp-email-storage) | |
+
+## fleets
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| fleets-ls | both | `fleets ls` | `GET /a/{sqid}/fleet`<br>`GET /a/{sqid}/fleet/byo` | | |
+| fleets-show | partial | `fleets show` | `GET /a/{sqid}/fleets/{fleet}` | | The fleet page has no managed-operation progress. |
+| fleets-create-byo | gap | `fleets create [--bucket]` | | [wp-fleets-relay](#wp-fleets-relay) | The bring-your-own page prints the CLI command. |
+| fleets-create-managed | gap | `fleets create [--managed]` | | [wp-fleets-relay](#wp-fleets-relay) | |
+| fleets-add-box | gap | `fleets add-box` | | [wp-fleets-relay](#wp-fleets-relay) | The fleet page prints the CLI command. |
+| fleets-boxes-add | gap | `fleets boxes add` | | [wp-fleets-relay](#wp-fleets-relay) | Managed boxes. |
+| fleets-rotate-token | both | `fleets rotate-token` | `POST /a/{sqid}/fleets/{fleet}/rotate` | | |
+| fleets-tag-box | both | `fleets tag-box` | `POST /a/{sqid}/fleets/{fleet}/tags` | | |
+| fleets-detach-box | both | `fleets detach-box` | `POST /a/{sqid}/fleets/{fleet}/detach` | | |
+| fleets-drain | gap | `fleets drain` | | [wp-fleets-relay](#wp-fleets-relay) | |
+| fleets-secrets-key | gap | `fleets secrets-key` | | [wp-fleets-relay](#wp-fleets-relay) | The fleet page shows the fingerprint and prints the CLI command. |
+
+## instances
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| instances-list | both | `instances list` | `GET /a/{sqid}/apps/{app}/instances`<br>`GET /a/{sqid}/apps/{app}/instances/{host}` | | |
+| instances-enable | gap | `instances enable` | | [wp-instances](#wp-instances) | |
+| instances-create | gap | `instances create [host, channel, environment, region, role, --from, --at, --restore]` | | [wp-instances](#wp-instances) | The empty Running page prints the CLI command. |
+| instances-delete | gap | `instances delete` | | [wp-instances](#wp-instances) | |
+| instances-set-channel | gap | `instances set-channel` | | [wp-instances](#wp-instances) | |
+| instances-set-environment | gap | `instances set-environment` | | [wp-instances](#wp-instances) | |
+| instances-set-assets | gap | `instances set-assets` | | [wp-instances](#wp-instances) | |
+| instances-set-pages | gap | `instances set-pages` | | [wp-instances](#wp-instances) | Page caching on or off for one instance. |
+| instances-updates | both | `instances set [--updates,--major,--pin]` | `POST /a/{sqid}/apps/{app}/instances/{host}/updates` | | |
+| instances-update | both | `instances update` | `POST /a/{sqid}/apps/{app}/instances/{host}/updates/install` | | |
+| instances-retry | both | `instances retry` | `POST /a/{sqid}/apps/{app}/instances/{host}/retry` | | |
+| steering | gap | `steering latency`<br>`steering off` | | [wp-instances](#wp-instances) | |
+| routes | partial | `routes` | `GET /a/{sqid}/apps/{app}/instances`<br>`GET /a/{sqid}/apps/{app}/settings/{section}` | | The console shows host and channel but no environment or replication column. |
+| restart | partial | `restart` | `POST /a/{sqid}/apps/{app}/restart`<br>`POST /a/{sqid}/apps/{app}/instances/{host}/restart` | | The console has no environment scope and no dry-run list. |
+| move | gap | `move`<br>`move status`<br>`move cut`<br>`move abort`<br>`move resolve [--retry]`<br>`move offline stage`<br>`move offline start`<br>`move offline seal`<br>`move offline flip`<br>`move offline open`<br>`move offline finish`<br>`move offline abort`<br>`move offline status` | | [wp-instances](#wp-instances) | Region moves; the instance page shows only that a move is running. |
+
+## observe
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| logs | both | `logs` | `GET /a/{sqid}/apps/{app}/logs`<br>`GET /a/{sqid}/apps/{app}/logs/data` | | |
+| errors | both | `errors` | `GET /a/{sqid}/apps/{app}/errors`<br>`POST /a/{sqid}/apps/{app}/errors/level` | | |
+| availability | both | `availability` | `GET /a/{sqid}/apps/{app}/availability` | | |
+| analytics | both | `analytics` | `GET /a/{sqid}/apps/{app}/analytics`<br>`POST /a/{sqid}/apps/{app}/analytics/setting` | | |
+| analytics-live | console-only | | `GET /a/{sqid}/apps/{app}/analytics/live` | | A live view that updates in the page. |
+| protection | both | `protection` | `GET /a/{sqid}/apps/{app}/protection`<br>`POST /a/{sqid}/apps/{app}/protection/setting` | | |
+| protection-events | gap | | `GET /a/{sqid}/apps/{app}/protection`<br>`GET /a/{sqid}/apps/{app}/protection/data` | [wp-cli-verbs](#wp-cli-verbs) | What the guard did; the CLI shows only the mode. |
+| activity | gap | | `GET /a/{sqid}/apps/{app}/activity` | [wp-cli-verbs](#wp-cli-verbs) | The audit trail; logs has platform events, not this. |
+| geo | gap | `geo` | | [wp-settings](#wp-settings) | |
+| explain | gap | `explain` | | [wp-settings](#wp-settings) | |
+| account-error-level | gap | | `POST /a/{sqid}/errors/level` | [wp-cli-verbs](#wp-cli-verbs) | The account default error level. |
+| account-analytics | gap | | `POST /a/{sqid}/analytics/setting` | [wp-cli-verbs](#wp-cli-verbs) | The account default for analytics. |
+
+## relay
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| relay | gap | `relay enable`<br>`relay status`<br>`relay disable`<br>`relay adopted` | | [wp-fleets-relay](#wp-fleets-relay) | |
+
+## releases
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| ship | cli-only | `ship` | | | Builds and uploads from this machine. |
+| deploy | cli-only | `deploy` | | | Builds on this machine, then ships and promotes. |
+| promote | both | `promote` | `GET /a/{sqid}/apps/{app}/releases`<br>`POST /a/{sqid}/apps/{app}/promote` | | |
+| rollback | both | `rollback` | `GET /a/{sqid}/apps/{app}/releases`<br>`POST /a/{sqid}/apps/{app}/rollback` | | |
+| canary-deploy | partial | `canary deploy` | `POST /a/{sqid}/apps/{app}/canary` | | The console points a canary at a shipped version but gives it no host of its own. |
+| canary-list | both | `canary ls`<br>`canary rm` | `GET /a/{sqid}/apps/{app}/releases`<br>`POST /a/{sqid}/apps/{app}/canary/retire` | | |
+| channels | both | `channels` | `GET /a/{sqid}/apps/{app}/releases` | | |
+| channels-resign | gap | `channels resign` | | [wp-settings](#wp-settings) | |
+| channels-digests | gap | `channels digests` | | [wp-settings](#wp-settings) | Shows whether channel pointers are digest-signed. |
+| pipeline | both | `pipeline show`<br>`pipeline init`<br>`pipeline set`<br>`pipeline add`<br>`pipeline remove` | `GET /a/{sqid}/apps/{app}/pipeline`<br>`POST /a/{sqid}/apps/{app}/pipeline`<br>`GET /a/{sqid}/apps/{app}/settings/{section}` | | |
+| releases | both | `releases` | `GET /a/{sqid}/apps/{app}/releases`<br>`GET /a/{sqid}/apps/{app}/deployments` | | |
+| releases-retention | partial | `releases retention` | `GET /a/{sqid}/apps/{app}/releases` | | The console shows the keep count only; it cannot set it or do a dry run. |
+| version-target | gap | `version target` | | [wp-settings](#wp-settings) | |
+| fast-track | console-only | | `POST /a/{sqid}/apps/{app}/fasttrack` | | Needs a passkey; instances update --fast-track covers one instance. |
+| pending-confirm | console-only | | `POST /a/{sqid}/apps/{app}/pending/{id}/confirm`<br>`POST /a/{sqid}/apps/{app}/pending/{id}/reject` | | A passkey quorum by design; pipeline show lists what is waiting. |
+
+## schedules
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| schedule | gap | `schedule ls`<br>`schedule set`<br>`schedule rm`<br>`schedule run` | | [wp-schedules-sidecars](#wp-schedules-sidecars) | No console page shows schedules. |
+
+## sidecars
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| sidecars | gap | `sidecars enable`<br>`sidecars create`<br>`sidecars ls`<br>`sidecars wake`<br>`sidecars rm`<br>`sidecars logs` | | [wp-schedules-sidecars](#wp-schedules-sidecars) | |
+
+## storage
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| store-create | gap | `store create` | | [wp-email-storage](#wp-email-storage) | The Storage section prints the CLI command. |
+| store-status | both | `store status` | `GET /a/{sqid}/apps/{app}/settings/{section}` | | |
+| store-apply | both | `store apply` | `GET /a/{sqid}/settings`<br>`POST /a/{sqid}/store/apply` | | |
+| store-rotate | gap | `store rotate` | | [wp-email-storage](#wp-email-storage) | |
+| store-scan | gap | `store scan request`<br>`store scan status`<br>`store scan grant`<br>`store scan revoke`<br>`store scan sweep`<br>`store scan enforce`<br>`store scan rotate-webhook-key` | | [wp-email-storage](#wp-email-storage) | |
+| store-destroy | console-only | | `POST /a/{sqid}/apps/{app}/store/destroy` | | Needs a passkey. |
+
+## team
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| team-list | gap | | `GET /a/{sqid}/team` | [wp-cli-verbs](#wp-cli-verbs) | The CLI cannot list members. |
+| team-invite | gap | | `POST /a/{sqid}/invite`<br>`POST /a/{sqid}/invite/revoke` | [wp-cli-verbs](#wp-cli-verbs) | |
+| team-accept | console-only | | `GET /invite/{token}`<br>`POST /invite/{token}` | | The invite arrives as an email link and is accepted in the browser. |
+| team-remove | gap | | `POST /a/{sqid}/members/remove` | [wp-cli-verbs](#wp-cli-verbs) | |
+| team-transfer | console-only | | `POST /a/{sqid}/members/transfer` | | Transferring ownership needs a passkey. |
+
+## tooling
+
+| Row | Status | CLI | Console | Package | Note |
+|---|---|---|---|---|---|
+| config-destinations | cli-only | `config destinations list`<br>`config destinations add`<br>`config destinations set`<br>`config destinations default`<br>`config destinations remove`<br>`config destinations rename` | | | Named deploy targets in a local file. |
+| devbox | cli-only | `devbox share`<br>`devbox unshare`<br>`devbox list` | | | Publishes a dev server running on this machine. |
+| vet | cli-only | `vet` | | | Checks a local release against the contract. |
+| update | cli-only | `update` | | | Updates this binary. |
+| skills | cli-only | `skills` | | | Prints the public agent skills for an agent to read. |
+| version | cli-only | `version` | | | Prints this binary's build. |
+| help | cli-only | `help` | | | Prints usage. |
+
+## Work packages
+
+<a id="wp-instances"></a>
+
+### wp-instances: Instances in the console: create, delete, channel, environment, assets, steering and region moves
+
+No discussion filed yet.
+
+- `instances-enable` (instances), CLI has `instances enable`
+- `instances-create` (instances), CLI has `instances create [host, channel, environment, region, role, --from, --at, --restore]`
+- `instances-delete` (instances), CLI has `instances delete`
+- `instances-set-channel` (instances), CLI has `instances set-channel`
+- `instances-set-environment` (instances), CLI has `instances set-environment`
+- `instances-set-assets` (instances), CLI has `instances set-assets`
+- `instances-set-pages` (instances), CLI has `instances set-pages`
+- `steering` (instances), CLI has `steering latency`, `steering off`
+- `move` (instances), CLI has `move`, `move status`, `move cut`, `move abort`, `move resolve [--retry]`, `move offline stage`, `move offline start`, `move offline seal`, `move offline flip`, `move offline open`, `move offline finish`, `move offline abort`, `move offline status`
+
+<a id="wp-settings"></a>
+
+### wp-settings: Small settings forms over existing CLI doors
+
+No discussion filed yet.
+
+- `apps-build-probe` (apps), CLI has `apps build-probe`
+- `apps-interactive` (apps), CLI has `apps set [--interactive]`
+- `apps-copies` (apps), CLI has `apps set [--copies]`
+- `apps-update-defaults` (apps), CLI has `apps set [--instance-control,--default-updates,--default-major,--default-channel]`
+- `apps-show` (apps), CLI has `apps show`
+- `channels-resign` (releases), CLI has `channels resign`
+- `channels-digests` (releases), CLI has `channels digests`
+- `version-target` (releases), CLI has `version target`
+- `env-new-bundle` (config), CLI has `env set [--environment, new bundle]`
+- `env-exec-delivery` (config), CLI has `env exec-delivery`
+- `env-sync` (config), CLI has `env sync`
+- `env-ownership` (config), CLI has `env adopt`, `env release`, `env fork`
+- `features-set` (config), CLI has `features set`
+- `domains-paths` (domains), CLI has `domains paths`
+- `domains-placements` (domains), CLI has `domains placements`
+- `assets` (domains), CLI has `assets status`, `assets purge`
+- `geo` (observe), CLI has `geo`
+- `explain` (observe), CLI has `explain`
+- `ledger-read` (data), CLI has `ledger list`, `ledger head`
+- `ledger-publish` (data), CLI has `ledger publish`
+
+<a id="wp-schedules-sidecars"></a>
+
+### wp-schedules-sidecars: Schedules and sidecars in the console
+
+No discussion filed yet.
+
+- `schedule` (schedules), CLI has `schedule ls`, `schedule set`, `schedule rm`, `schedule run`
+- `sidecars` (sidecars), CLI has `sidecars enable`, `sidecars create`, `sidecars ls`, `sidecars wake`, `sidecars rm`, `sidecars logs`
+
+<a id="wp-email-storage"></a>
+
+### wp-email-storage: Email and storage self-serve in the console
+
+No discussion filed yet.
+
+- `store-create` (storage), CLI has `store create`
+- `store-rotate` (storage), CLI has `store rotate`
+- `store-scan` (storage), CLI has `store scan request`, `store scan status`, `store scan grant`, `store scan revoke`, `store scan sweep`, `store scan enforce`, `store scan rotate-webhook-key`
+- `email-enable` (email), CLI has `email enable`
+- `email-domains` (email), CLI has `email domains add`, `email domains rm`
+- `email-test` (email), CLI has `email test`
+- `email-events` (email), CLI has `email events`, `email events push`
+- `email-rotate` (email), CLI has `email rotate`
+- `email-pause` (email), CLI has `email pause`, `email resume`
+
+<a id="wp-cli-verbs"></a>
+
+### wp-cli-verbs: CLI verbs for console-only actions: team, activity, rename and account defaults
+
+No discussion filed yet.
+
+- `apps-rename` (apps), console has `POST /a/{sqid}/apps/{app}/rename`
+- `apps-control-plane-set` (apps), console has `POST /a/{sqid}/apps/{app}/control-plane/set`
+- `protection-events` (observe), console has `GET /a/{sqid}/apps/{app}/protection`, `GET /a/{sqid}/apps/{app}/protection/data`
+- `activity` (observe), console has `GET /a/{sqid}/apps/{app}/activity`
+- `account-error-level` (observe), console has `POST /a/{sqid}/errors/level`
+- `account-analytics` (observe), console has `POST /a/{sqid}/analytics/setting`
+- `team-list` (team), console has `GET /a/{sqid}/team`
+- `team-invite` (team), console has `POST /a/{sqid}/invite`, `POST /a/{sqid}/invite/revoke`
+- `team-remove` (team), console has `POST /a/{sqid}/members/remove`
+- `cli-tokens` (account), console has `GET /settings`, `GET /auth/cli/tokens`, `POST /auth/cli/tokens/revoke`
+- `plan-keep` (account), console has `GET /a/{sqid}/plan/keep`, `POST /a/{sqid}/plan/keep`
+
+<a id="wp-fleets-relay"></a>
+
+### wp-fleets-relay: Fleets and relay self-serve in the console
+
+No discussion filed yet.
+
+- `relay` (relay), CLI has `relay enable`, `relay status`, `relay disable`, `relay adopted`
+- `fleets-create-byo` (fleets), CLI has `fleets create [--bucket]`
+- `fleets-create-managed` (fleets), CLI has `fleets create [--managed]`
+- `fleets-add-box` (fleets), CLI has `fleets add-box`
+- `fleets-boxes-add` (fleets), CLI has `fleets boxes add`
+- `fleets-drain` (fleets), CLI has `fleets drain`
+- `fleets-secrets-key` (fleets), CLI has `fleets secrets-key`
+
+<a id="wp-db-run"></a>
+
+### wp-db-run: Database query and pull, non-interactive run, and door keys in the console
+
+No discussion filed yet.
+
+- `run` (data), CLI has `run [without -it]`
+- `db-query` (data), CLI has `db query`
+- `db-pull` (data), CLI has `db pull`
+- `door-keys` (data), CLI has `instances door-key create`, `instances door-key list`, `instances door-key revoke`
+
+<a id="wp-terminal"></a>
+
+### wp-terminal: A browser terminal for run -it and console
+
+No discussion filed yet.
+
+- `run-interactive` (data), CLI has `run [-it]`, `console`
+
+<a id="wp-import"></a>
+
+### wp-import: Instance import through the console
+
+No discussion filed yet.
+
+- `instances-import` (data), CLI has `instances import`, `instances import commit`, `instances import abort`
+
+## Outside customer parity
+
+### operator
+
+| Row | Area | CLI | Console | Note |
+|---|---|---|---|---|
+| op-pages | operator | | `GET /fleet`<br>`GET /fleet/activity`<br>`GET /fleet/index`<br>`GET /fleet/people`<br>`GET /fleet/people/{address}`<br>`GET /fleet/metrics` | Operator pages with no CLI read. |
+| op-alerts | operator | | `GET /fleet/alerts`<br>`GET /fleet/alerts/history`<br>`/fleet/alerts/connectors`<br>`/fleet/alerts/connectors/{id}/test`<br>`/fleet/alerts/connectors/{id}/confirm-link`<br>`/fleet/alerts/connectors/{id}/delete`<br>`/fleet/alerts/rules/{rule}` | Fleet alert connectors and rules, operator pages only. |
+| op-alert-links | operator | | `GET /alerts/confirm/{token}`<br>`POST /alerts/confirm/{token}`<br>`GET /alerts/unsubscribe/{token}`<br>`POST /alerts/unsubscribe/{token}`<br>`GET /alerts/snooze/{token}`<br>`POST /alerts/snooze/{token}` | Links in fleet alert emails; the token is the credential. |
+| op-protection | operator | | `GET /fleet/protection`<br>`GET /fleet/protection/data` | The fleet-wide protection view. |
+| op-architecture | operator | `status [--instances,--layout]` | `GET /fleet/boxes`<br>`/fleet/architecture`<br>`/fleet/architecture/refresh` | The console shows counts and the map, not one row per instance. |
+| op-status-live | operator | `status [--live]` | `GET /fleet/boxes` | What every box reported. |
+| op-store-approvals | operator | `store approvals`<br>`store approve`<br>`store decline` | `GET /fleet/store`<br>`POST /fleet/store/{account}/{decision}` | Deciding storage applications. |
+| op-store-grant | operator | `store grant` | | A per-app storage override; no ops page. |
+| op-economics | operator | `economics bill`<br>`economics backhaul` | `GET /fleet/economics`<br>`/fleet/economics/bill`<br>`/api/economics/bill`<br>`/api/economics/backhaul`<br>`/fleet/economics/scenarios` | The bill and backhaul inputs; the CLI posts to the /api/economics doors. |
+| op-accounts-plan | operator | `accounts plan` | `GET /fleet/economics/accounts`<br>`/fleet/economics/tier` | The console sets the pool tier only. |
+| op-accounts-migrate | operator | `accounts migrate` | | A one-off migration of an app's objects. |
+| op-billing | operator | `billing problems`<br>`billing close`<br>`billing house` | | Billing problems and house accounts. |
+| op-instance-policy | operator | `apps set [--egress-allow,--size]`<br>`instances set [--size]` | | Instance policy is set by an operator. |
+| op-upstreams | operator | `instances set-upstreams`<br>`instances create [--addr]` | | TCP backends are set by an operator. |
+| op-digests | operator | `channels digests on`<br>`channels digests off` | | The digest signing switch. |
+| op-releases-authorize | operator | `releases authorize` | | Signs a promotion record for an old build. |
+| op-relay-rotate | operator | `relay rotate` | | Rotates a region's relay master. |
+| op-move-lost | operator | `move resolve [--declare-lost]` | | Declares a box lost in the middle of a move. |
+| op-host-resolve | operator | `ops host resolve` | | Host-claim resolution for a lost host. |
+| op-system-update | operator | `system update`<br>`system status`<br>`system rollback`<br>`system cancel-activation` | | Platform self-update. |
+| op-system-antivirus | operator | `system antivirus status`<br>`system antivirus enable`<br>`system antivirus disable`<br>`system antivirus rotate-webhook-key` | | Deployment-wide scanning. |
+| op-system-pdf | operator | `system pdf status` | | The PDF service. |
+| op-system-layout | operator | `system layout status`<br>`system layout migrate`<br>`system layout revert` | | Instance layout; the Architecture page reads it. |
+| op-system-geoip | operator | `system geoip publish`<br>`system geoip status`<br>`system geoip off` | | The platform GeoIP database. |
+| op-system-cutovers | operator | `system seeds-floor publish`<br>`system legacy-routes assign`<br>`system lifetimes cutover`<br>`system hosts-used status` | | One-off cutovers and floors. |
+| op-system-roles | operator | `system box role`<br>`system group role` | | Box and group roles. |
+| op-system-demos | operator | `system demos status`<br>`system demos serving`<br>`system demos takedown`<br>`system demos takedown-status`<br>`system demos reports`<br>`system demos reports resolve` | | Demo serving, takedowns and reports. |
+| op-system-managed-fleets | operator | `system managed-fleets show`<br>`system managed-fleets set` | | The managed-fleet catalog. |
+
+### box-local
+
+| Row | Area | CLI | Console | Note |
+|---|---|---|---|---|
+| bootstrap | box | `bootstrap` | | Prepares a host, as root. |
+| box-routes | box | `add`<br>`remove`<br>`route`<br>`instances` | | This box's own registry routes. |
+| box-daemons | box | `edge`<br>`agent`<br>`adopt` | | Run under systemd on a box. |
+| box-instance | box | `instance-control`<br>`instance-exec`<br>`instance-exit`<br>`instance-stop`<br>`instance-probe` | | Instance plumbing run under systemd. |
+| box-ops | box | `ops litestream`<br>`ops restore-verify`<br>`ops hibernate-verify` | | Checks run on a box. |
+| release-keygen | box | `release-keygen` | | Mints signing keys; the private key stays local. |
+| proof | box | `proof keygen`<br>`proof get`<br>`proof put`<br>`proof history` | | Dev proofs a box needs to adopt. |
+| relay-box | box | `relay serve`<br>`relay keygen` | | Runs the relay, or mints a region master key. |
+| system-box | box | `system apply`<br>`system files`<br>`system guard-arm`<br>`system guard-exec`<br>`system floor-allows-prev`<br>`system install-channel`<br>`system host-env`<br>`system named-units`<br>`system db-worker`<br>`system journal-migrate`<br>`system group-maintenance`<br>`system box publish-record` | | Root oneshots and units on a box. |
+| status-dry-run | box | `status [--dry-run]` | | A leak check against a fixture fleet, run locally. |
+| devbox-serve | box | `devbox serve` | | The devbox service under systemd. |
+
+### auth
+
+| Row | Area | CLI | Console | Note |
+|---|---|---|---|---|
+| browser-signin | auth | | `GET /{$}`<br>`POST /auth/continue`<br>`GET /auth/email/link`<br>`POST /auth/email/link`<br>`POST /auth/email/code`<br>`GET /auth/signin`<br>`GET /auth/callback`<br>`GET /auth/confirm`<br>`POST /auth/signout` | Browser sign-in and sign-out. |
+| step-up | auth | | `GET /auth/stepup/callback`<br>`POST /auth/email/stepup/code` | Re-authentication before a passkey action. |
+| cli-auth-doors | auth | | `POST /auth/cli/start`<br>`POST /auth/cli/poll`<br>`GET /auth/cli`<br>`POST /auth/cli/approve`<br>`GET /auth/cli/whoami`<br>`POST /auth/cli/revoke`<br>`POST /auth/cli/accounts` | The browser half of auth login and the identity doors the CLI calls (whoami, logout, accounts create). |
+
+### demo
+
+| Row | Area | CLI | Console | Note |
+|---|---|---|---|---|
+| demo-claim | demo | | `GET /demo/claim`<br>`GET /demo/claim/kept`<br>`POST /demo/claim/kept`<br>`GET /demo/claim/status`<br>`POST /demo/claim/intent`<br>`POST /demo/claim/prove`<br>`POST /demo/claim/select` | The browser claim flow for a demo app. |
+| demo-api | demo | | `POST /api/demo/apps`<br>`GET /api/demo/jobs/{jobID}`<br>`POST /api/demo/claims`<br>`POST /api/demo/claims/verify`<br>`POST /api/demo/claims/select`<br>`GET /api/demo/claims/status` | The demo API agents call. |
+| demo-box | demo | | `POST /api/box/demo-retirements/ack`<br>`GET /api/box/demo-builds`<br>`POST /api/box/demo-builds/{jobID}/pickup`<br>`POST /api/box/demo-builds/{jobID}/result`<br>`POST /api/box/demo-claims/{operationID}/pickup`<br>`POST /api/box/demo-claims/{operationID}/snapshot`<br>`POST /api/box/demo-claims/{operationID}/ack` | Doors the demo box calls. |
+| demo-report | demo | | `GET /demo/report`<br>`POST /demo/report` | The public form to report a demo. |
+
+### asset
+
+| Row | Area | CLI | Console | Note |
+|---|---|---|---|---|
+| static | platform | | `GET /static/{hash}/{file...}` | Hashed static files for the pages. |
+
+### internal
+
+| Row | Area | CLI | Console | Note |
+|---|---|---|---|---|
+| healthz | platform | | `GET /healthz` | Health check for the load balancer. |
+| alert-signing-key | platform | | `GET /alerts/signing-key` | The public key alert webhook receivers fetch. |
+| legacy-apps | platform | | `GET /apps`<br>`GET /apps/{app}` | Old URLs kept as redirects into the account. |
+| billing-webhook | platform | | `POST /billing/webhook` | Stripe calls it. |
+| ses-events | platform | | `POST /api/ses/events` | Amazon SES delivery events. |
+| box-doors | platform | | `POST /api/fleet/enrol`<br>`GET /api/box/interactive/{id}`<br>`GET /api/box/runs/{id}`<br>`POST /api/fleet/replicas/{account}/{app}/{host}/coordinator`<br>`POST /api/fleet/replicas/{account}/{app}/{host}/release` | Doors boxes and managed fleets call, not people. |
+| plumbing | platform | `__demo-snapshot`<br>`__registry-child`<br>`__rootfs-check-probe`<br>`__rootfs-check-prepare`<br>`__cgexec`<br>`__cgprobe` | | Words the binary runs itself as, dispatched before the command switch. |
diff --git a/internal/console/parity_test.go b/internal/console/parity_test.go
new file mode 100644
index 000000000..08ba79d30
--- /dev/null
+++ b/internal/console/parity_test.go
@@ -0,0 +1,53 @@
+package console
+
+import (
+ "testing"
+
+ "github.com/carlosframework/platform/internal/parity"
+)
+
+// TestParityTableCoversConsoleRoutes holds parity/parity.tsv against
+// routeDecls (spec C1): every route the console declares, other than the
+// /api/cli/ doors, is a console member of at least one row, and every
+// console member is a route the console declares and not one of those
+// doors.
+func TestParityTableCoversConsoleRoutes(t *testing.T) {
+ rows, err := parity.Load("../../parity/parity.tsv")
+ if err != nil {
+ t.Fatal(err)
+ }
+
+ kinds := map[string]routeKind{}
+ nonCLI := 0
+ for _, d := range routeDecls {
+ kinds[d.Pattern] = d.Kind
+ if !d.Kind.isCLI() {
+ nonCLI++
+ }
+ }
+ // Non-vacuity: a declaration list that shrank to nothing, or a scan
+ // that read the wrong thing, must not pass as full coverage.
+ if nonCLI < 150 {
+ t.Fatalf("saw %d non-cli route declarations, want at least 150; is routeDecls being read?", nonCLI)
+ }
+
+ covered := map[string]bool{}
+ for _, r := range rows {
+ for _, m := range r.Console {
+ kind, ok := kinds[m.Text]
+ switch {
+ case !ok:
+ t.Errorf("parity/parity.tsv:%d: row %s: console member `%s` is not a route the console declares; fix the pattern or remove it", r.Line, r.ID, m.Text)
+ case kind.isCLI():
+ t.Errorf("parity/parity.tsv:%d: row %s: `%s` is an /api/cli door, outside parity", r.Line, r.ID, m.Text)
+ default:
+ covered[m.Text] = true
+ }
+ }
+ }
+ for _, d := range routeDecls {
+ if !d.Kind.isCLI() && !covered[d.Pattern] {
+ t.Errorf("console declares `%s` but no row covers it: add a row to parity/parity.tsv with console member `%s`", d.Pattern, d.Pattern)
+ }
+ }
+}
diff --git a/internal/parity/repo_test.go b/internal/parity/repo_test.go
new file mode 100644
index 000000000..eae8df51a
--- /dev/null
+++ b/internal/parity/repo_test.go
@@ -0,0 +1,101 @@
+package parity
+
+import (
+ "bytes"
+ "os"
+ "strings"
+ "testing"
+
+ "github.com/carlosframework/platform/internal/docsite"
+)
+
+// The checked-in table, its packages and its page, read by the tests
+// below. The console's coverage test (package console) reads the same
+// table.
+const (
+ repoTable = "../../parity/parity.tsv"
+ repoPackages = "../../parity/packages.tsv"
+ repoPage = "../../docs/parity.md"
+ repoMain = "../../main.go"
+)
+
+func loadRepo(t *testing.T) ([]Row, []Package) {
+ t.Helper()
+ rows, err := Load(repoTable)
+ if err != nil {
+ t.Fatal(err)
+ }
+ pkgs, err := LoadPackages(repoPackages)
+ if err != nil {
+ t.Fatal(err)
+ }
+ return rows, pkgs
+}
+
+// TestParityTableIsValid applies the structural rules (spec C1 to C4) to
+// the real table.
+func TestParityTableIsValid(t *testing.T) {
+ rows, pkgs := loadRepo(t)
+ for _, p := range Check(rows, pkgs) {
+ t.Error(p)
+ }
+ customer := 0
+ for _, r := range rows {
+ if r.Status.Customer() {
+ customer++
+ }
+ }
+ if customer < 100 {
+ t.Errorf("the table has %d customer rows, want at least 100; was it truncated?", customer)
+ }
+}
+
+// TestParityCLITopLevel is spec C5: every command main.go dispatches
+// starts some row's CLI member, and every CLI member starts with a command
+// main.go dispatches, except the __ plumbing words dispatched before the
+// switch, which Check holds to shape only.
+func TestParityCLITopLevel(t *testing.T) {
+ rows, _ := loadRepo(t)
+ words, err := docsite.TopLevelCommands(repoMain)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if len(words) == 0 {
+ t.Fatal("docsite.TopLevelCommands found no commands in main.go")
+ }
+ dispatched := map[string]bool{}
+ for _, w := range words {
+ dispatched[w] = true
+ }
+ first := map[string]bool{}
+ for _, r := range rows {
+ for _, m := range r.CLI {
+ w, _, _ := strings.Cut(m.Text, " ")
+ first[w] = true
+ if strings.HasPrefix(w, "__") {
+ continue
+ }
+ if !dispatched[w] {
+ t.Errorf("parity/parity.tsv:%d: row %s: `%s` is not a command main.go dispatches", r.Line, r.ID, w)
+ }
+ }
+ }
+ for _, w := range words {
+ if !first[w] {
+ t.Errorf("main.go dispatches `%s` but no row's CLI member starts with it: add a row", w)
+ }
+ }
+}
+
+// TestParityPageIsCurrent is spec C6's stale check: docs/parity.md is
+// exactly what make parity-doc writes from the table.
+func TestParityPageIsCurrent(t *testing.T) {
+ rows, pkgs := loadRepo(t)
+ got, err := os.ReadFile(repoPage)
+ if err != nil {
+ t.Fatalf("%v: run make parity-doc", err)
+ }
+ if !bytes.Equal(got, Render(rows, pkgs)) {
+ t.Error("docs/parity.md is stale: run make parity-doc")
+ }
+}
diff --git a/parity/README.md b/parity/README.md
new file mode 100644
index 000000000..81968388b
--- /dev/null
+++ b/parity/README.md
@@ -0,0 +1,7 @@
+# Parity table
+
+`parity.tsv` lists every CLI command and console route, one row per capability, with its status (`both`, `partial`, `gap`, `cli-only`, `console-only`, or a status outside customer parity). `packages.tsv` lists the work packages that close the `gap` rows.
+
+The rule: a branch that adds a CLI command or subcommand, or a console route declaration, adds its row here in the same branch. Tests in `internal/parity` and `internal/console` fail when the table and the code disagree.
+
+After editing either file, run `make parity-doc` to regenerate `docs/parity.md`.
diff --git a/parity/packages.tsv b/parity/packages.tsv
new file mode 100644
index 000000000..329153fb6
--- /dev/null
+++ b/parity/packages.tsv
@@ -0,0 +1,12 @@
+# Work packages that close gap rows in parity/parity.tsv. discussion is the
+# amadan discussion number, empty until it is filed.
+id title discussion
+wp-instances Instances in the console: create, delete, channel, environment, assets, steering and region moves
+wp-settings Small settings forms over existing CLI doors
+wp-schedules-sidecars Schedules and sidecars in the console
+wp-email-storage Email and storage self-serve in the console
+wp-cli-verbs CLI verbs for console-only actions: team, activity, rename and account defaults
+wp-fleets-relay Fleets and relay self-serve in the console
+wp-db-run Database query and pull, non-interactive run, and door keys in the console
+wp-terminal A browser terminal for run -it and console
+wp-import Instance import through the console
diff --git a/parity/parity.tsv b/parity/parity.tsv
new file mode 100644
index 000000000..61636d261
--- /dev/null
+++ b/parity/parity.tsv
@@ -0,0 +1,246 @@
+# The CLI and console parity table: one row per capability.
+# Rules, statuses and the column format: parity/README.md and internal/parity.
+# After editing, run make parity-doc to regenerate docs/parity.md.
+id area status cli console package mcp note
+
+# apps
+apps-list apps both apps list GET /a/{sqid}/{$} ; GET /a/{sqid}/apps/{app}
+apps-create apps partial apps create GET /a/{sqid}/apps/new ; POST /a/{sqid}/apps/new ; POST /a/{sqid}/apps/new/region The new app form has no place, control-plane or build-probe choice at create.
+apps-place apps both apps place POST /a/{sqid}/apps/{app}/place ; POST /a/{sqid}/fleets/{fleet}/place ; GET /a/{sqid}/apps/{app}/settings/{section}
+apps-region apps both apps region GET /a/{sqid}/apps/{app}/settings ; GET /a/{sqid}/apps/{app}/settings/{section} ; POST /a/{sqid}/apps/{app}/region
+apps-build-probe apps gap apps build-probe wp-settings
+apps-swap apps both apps set [--swap,--swap-concurrency] POST /a/{sqid}/apps/{app}/swap ; GET /a/{sqid}/apps/{app}/settings/{section}
+apps-interactive apps gap apps set [--interactive] wp-settings
+apps-copies apps gap apps set [--copies] wp-settings The overview shows copy counts only.
+apps-update-defaults apps gap apps set [--instance-control,--default-updates,--default-major,--default-channel] wp-settings Instance pages set updates one instance at a time.
+apps-show apps gap apps show wp-settings Reads the instance policy (egress, size).
+apps-delete apps both apps delete POST /a/{sqid}/apps/{app}/delete
+apps-restore apps both apps restore GET /a/{sqid}/trash ; POST /a/{sqid}/trash/restore
+apps-ttl apps partial apps ttl POST /a/{sqid}/apps/{app}/extend The console extends by 1, 7 or 30 days; it cannot set any duration or shorten.
+apps-keep apps both apps keep POST /a/{sqid}/apps/{app}/keep
+apps-source apps both apps source pull GET /a/{sqid}/apps/{app}/source
+apps-rename apps gap POST /a/{sqid}/apps/{app}/rename wp-cli-verbs Rename before the first ship.
+apps-control-plane-set apps gap POST /a/{sqid}/apps/{app}/control-plane/set wp-cli-verbs The CLI sets it only at apps create.
+apps-control-plane-clear apps console-only POST /a/{sqid}/apps/{app}/control-plane/clear Needs a passkey.
+apps-move-account apps console-only POST /a/{sqid}/apps/{app}/move Moving an app to another account needs a passkey.
+apps-purge apps console-only POST /a/{sqid}/trash/delete Deleting from Trash now needs a passkey.
+apps-production apps console-only POST /a/{sqid}/apps/{app}/production Turning the production flag on or off needs a passkey.
+apps-star apps console-only POST /a/{sqid}/apps/{app}/star A browser list preference.
+apps-account-review apps console-only GET /a/{sqid}/apps/{app}/account-review A page that explains an account mismatch to the person in the browser.
+
+# releases
+ship releases cli-only ship Builds and uploads from this machine.
+deploy releases cli-only deploy Builds on this machine, then ships and promotes.
+promote releases both promote GET /a/{sqid}/apps/{app}/releases ; POST /a/{sqid}/apps/{app}/promote
+rollback releases both rollback GET /a/{sqid}/apps/{app}/releases ; POST /a/{sqid}/apps/{app}/rollback
+canary-deploy releases partial canary deploy POST /a/{sqid}/apps/{app}/canary The console points a canary at a shipped version but gives it no host of its own.
+canary-list releases both canary ls ; canary rm GET /a/{sqid}/apps/{app}/releases ; POST /a/{sqid}/apps/{app}/canary/retire
+channels releases both channels GET /a/{sqid}/apps/{app}/releases
+channels-resign releases gap channels resign wp-settings
+channels-digests releases gap channels digests wp-settings Shows whether channel pointers are digest-signed.
+pipeline releases both pipeline show ; pipeline init ; pipeline set ; pipeline add ; pipeline remove GET /a/{sqid}/apps/{app}/pipeline ; POST /a/{sqid}/apps/{app}/pipeline ; GET /a/{sqid}/apps/{app}/settings/{section}
+releases releases both releases GET /a/{sqid}/apps/{app}/releases ; GET /a/{sqid}/apps/{app}/deployments
+releases-retention releases partial releases retention GET /a/{sqid}/apps/{app}/releases The console shows the keep count only; it cannot set it or do a dry run.
+version-target releases gap version target wp-settings
+fast-track releases console-only POST /a/{sqid}/apps/{app}/fasttrack Needs a passkey; instances update --fast-track covers one instance.
+pending-confirm releases console-only POST /a/{sqid}/apps/{app}/pending/{id}/confirm ; POST /a/{sqid}/apps/{app}/pending/{id}/reject A passkey quorum by design; pipeline show lists what is waiting.
+
+# config
+env config both env set [--environment, existing bundle] ; env unset ; env list GET /a/{sqid}/apps/{app}/settings/{section} ; POST /a/{sqid}/apps/{app}/settings/environments
+env-new-bundle config gap env set [--environment, new bundle] wp-settings The form edits bundles that already exist.
+env-environments config both env environments GET /a/{sqid}/apps/{app}/settings/{section}
+env-exec-delivery config gap env exec-delivery wp-settings
+env-sync config gap env sync wp-settings
+env-ownership config gap env adopt ; env release ; env fork wp-settings
+secrets config both secrets set ; secrets unset ; secrets list GET /a/{sqid}/apps/{app}/settings/{section} ; POST /a/{sqid}/apps/{app}/settings/environments The browser seals the value before it is sent.
+secrets-genkey config cli-only secrets genkey The private key must stay on this machine.
+secrets-fingerprint config cli-only secrets fingerprint Reads a key file on this machine.
+features-list config both features list GET /a/{sqid}/apps/{app}/settings/{section}
+features-set config gap features set wp-settings The Features section prints the CLI command.
+
+# instances
+instances-list instances both instances list GET /a/{sqid}/apps/{app}/instances ; GET /a/{sqid}/apps/{app}/instances/{host}
+instances-enable instances gap instances enable wp-instances
+instances-create instances gap instances create [host, channel, environment, region, role, --from, --at, --restore] wp-instances The empty Running page prints the CLI command.
+instances-delete instances gap instances delete wp-instances
+instances-set-channel instances gap instances set-channel wp-instances
+instances-set-environment instances gap instances set-environment wp-instances
+instances-set-assets instances gap instances set-assets wp-instances
+instances-set-pages instances gap instances set-pages wp-instances Page caching on or off for one instance.
+instances-updates instances both instances set [--updates,--major,--pin] POST /a/{sqid}/apps/{app}/instances/{host}/updates
+instances-update instances both instances update POST /a/{sqid}/apps/{app}/instances/{host}/updates/install
+instances-retry instances both instances retry POST /a/{sqid}/apps/{app}/instances/{host}/retry
+steering instances gap steering latency ; steering off wp-instances
+routes instances partial routes GET /a/{sqid}/apps/{app}/instances ; GET /a/{sqid}/apps/{app}/settings/{section} The console shows host and channel but no environment or replication column.
+restart instances partial restart POST /a/{sqid}/apps/{app}/restart ; POST /a/{sqid}/apps/{app}/instances/{host}/restart The console has no environment scope and no dry-run list.
+move instances gap move ; move status ; move cut ; move abort ; move resolve [--retry] ; move offline stage ; move offline start ; move offline seal ; move offline flip ; move offline open ; move offline finish ; move offline abort ; move offline status wp-instances Region moves; the instance page shows only that a move is running.
+
+# domains
+domains-list domains both domains list GET /a/{sqid}/apps/{app}/settings/{section}
+domains-attach domains both domains attach ; domains detach POST /a/{sqid}/apps/{app}/domains/attach ; POST /a/{sqid}/apps/{app}/domains/detach
+domains-verify domains partial domains verify POST /a/{sqid}/apps/{app}/domains/attach There is no Verify button; attaching again verifies.
+domains-buy domains both domains check ; domains buy GET /a/{sqid}/apps/{app}/domains/buy ; POST /a/{sqid}/apps/{app}/domains/check ; POST /a/{sqid}/apps/{app}/domains/buy ; GET /a/{sqid}/apps/{app}/domains/purchases/{id} ; GET /a/{sqid}/apps/{app}/domains/purchases/{id}/status
+domains-paths domains gap domains paths wp-settings
+domains-placements domains gap domains placements wp-settings
+gate domains both gate set ; gate clear ; gate list POST /a/{sqid}/apps/{app}/gate ; GET /a/{sqid}/apps/{app}/settings/{section}
+ratelimit domains both ratelimit show ; ratelimit set ; ratelimit clear POST /a/{sqid}/apps/{app}/ratelimit ; GET /a/{sqid}/apps/{app}/settings/{section}
+assets domains gap assets status ; assets purge wp-settings
+
+# observe
+logs observe both logs GET /a/{sqid}/apps/{app}/logs ; GET /a/{sqid}/apps/{app}/logs/data
+errors observe both errors GET /a/{sqid}/apps/{app}/errors ; POST /a/{sqid}/apps/{app}/errors/level
+availability observe both availability GET /a/{sqid}/apps/{app}/availability
+analytics observe both analytics GET /a/{sqid}/apps/{app}/analytics ; POST /a/{sqid}/apps/{app}/analytics/setting
+analytics-live observe console-only GET /a/{sqid}/apps/{app}/analytics/live A live view that updates in the page.
+protection observe both protection GET /a/{sqid}/apps/{app}/protection ; POST /a/{sqid}/apps/{app}/protection/setting
+protection-events observe gap GET /a/{sqid}/apps/{app}/protection ; GET /a/{sqid}/apps/{app}/protection/data wp-cli-verbs What the guard did; the CLI shows only the mode.
+activity observe gap GET /a/{sqid}/apps/{app}/activity wp-cli-verbs The audit trail; logs has platform events, not this.
+geo observe gap geo wp-settings
+explain observe gap explain wp-settings
+account-error-level observe gap POST /a/{sqid}/errors/level wp-cli-verbs The account default error level.
+account-analytics observe gap POST /a/{sqid}/analytics/setting wp-cli-verbs The account default for analytics.
+
+# schedules, sidecars
+schedule schedules gap schedule ls ; schedule set ; schedule rm ; schedule run wp-schedules-sidecars No console page shows schedules.
+sidecars sidecars gap sidecars enable ; sidecars create ; sidecars ls ; sidecars wake ; sidecars rm ; sidecars logs wp-schedules-sidecars
+
+# data
+run data gap run [without -it] wp-db-run
+run-interactive data gap run [-it] ; console wp-terminal An interactive terminal needs a browser terminal design first.
+db-query data gap db query wp-db-run
+db-pull data gap db pull wp-db-run
+door-keys data gap instances door-key create ; instances door-key list ; instances door-key revoke wp-db-run
+instances-import data gap instances import ; instances import commit ; instances import abort wp-import
+ledger-read data gap ledger list ; ledger head wp-settings
+ledger-publish data gap ledger publish wp-settings
+ledger-write data cli-only ledger append ; ledger blob Programmatic writes by the app or CI.
+ledger-verify data cli-only ledger verify Verification runs on the client, by design.
+
+# storage
+store-create storage gap store create wp-email-storage The Storage section prints the CLI command.
+store-status storage both store status GET /a/{sqid}/apps/{app}/settings/{section}
+store-apply storage both store apply GET /a/{sqid}/settings ; POST /a/{sqid}/store/apply
+store-rotate storage gap store rotate wp-email-storage
+store-scan storage gap store scan request ; store scan status ; store scan grant ; store scan revoke ; store scan sweep ; store scan enforce ; store scan rotate-webhook-key wp-email-storage
+store-destroy storage console-only POST /a/{sqid}/apps/{app}/store/destroy Needs a passkey.
+
+# email
+email-enable email gap email enable wp-email-storage The Email section prints the CLI command.
+email-status email both email status GET /a/{sqid}/apps/{app}/settings/{section}
+email-domains email gap email domains add ; email domains rm wp-email-storage add waits for the domain to verify.
+email-test email gap email test wp-email-storage
+email-events email gap email events ; email events push wp-email-storage
+email-credentials email partial email credentials create ; email credentials list ; email credentials revoke GET /a/{sqid}/apps/{app}/settings/{section} The console lists credentials read-only; it cannot create or revoke them.
+email-rotate email gap email rotate wp-email-storage
+email-pause email gap email pause ; email resume wp-email-storage
+
+# relay
+relay relay gap relay enable ; relay status ; relay disable ; relay adopted wp-fleets-relay
+
+# fleets
+fleets-ls fleets both fleets ls GET /a/{sqid}/fleet ; GET /a/{sqid}/fleet/byo
+fleets-show fleets partial fleets show GET /a/{sqid}/fleets/{fleet} The fleet page has no managed-operation progress.
+fleets-create-byo fleets gap fleets create [--bucket] wp-fleets-relay The bring-your-own page prints the CLI command.
+fleets-create-managed fleets gap fleets create [--managed] wp-fleets-relay
+fleets-add-box fleets gap fleets add-box wp-fleets-relay The fleet page prints the CLI command.
+fleets-boxes-add fleets gap fleets boxes add wp-fleets-relay Managed boxes.
+fleets-rotate-token fleets both fleets rotate-token POST /a/{sqid}/fleets/{fleet}/rotate
+fleets-tag-box fleets both fleets tag-box POST /a/{sqid}/fleets/{fleet}/tags
+fleets-detach-box fleets both fleets detach-box POST /a/{sqid}/fleets/{fleet}/detach
+fleets-drain fleets gap fleets drain wp-fleets-relay
+fleets-secrets-key fleets gap fleets secrets-key wp-fleets-relay The fleet page shows the fingerprint and prints the CLI command.
+
+# team
+team-list team gap GET /a/{sqid}/team wp-cli-verbs The CLI cannot list members.
+team-invite team gap POST /a/{sqid}/invite ; POST /a/{sqid}/invite/revoke wp-cli-verbs
+team-accept team console-only GET /invite/{token} ; POST /invite/{token} The invite arrives as an email link and is accepted in the browser.
+team-remove team gap POST /a/{sqid}/members/remove wp-cli-verbs
+team-transfer team console-only POST /a/{sqid}/members/transfer Transferring ownership needs a passkey.
+
+# account
+accounts-create account both accounts create GET /accounts/new ; POST /accounts/new
+accounts-list account both accounts list GET /accounts
+services account both services create ; services ls ; services rotate ; services revoke GET /a/{sqid}/settings ; POST /a/{sqid}/services/new ; POST /a/{sqid}/services/rotate ; POST /a/{sqid}/services/revoke
+cli-tokens account gap GET /settings ; GET /auth/cli/tokens ; POST /auth/cli/tokens/revoke wp-cli-verbs The CLI can only log itself out.
+auth-login account cli-only auth login Signs this terminal in; the browser half is an auth row.
+auth-identity account cli-only auth whoami ; auth logout ; auth default This terminal's own identity and default console.
+account-delete account console-only POST /a/{sqid}/delete Deleting an account needs a passkey.
+plan-keep account gap GET /a/{sqid}/plan/keep ; POST /a/{sqid}/plan/keep wp-cli-verbs Choosing which apps to keep when a plan lapses.
+getting-started account console-only POST /a/{sqid}/getting-started/hide ; POST /a/{sqid}/getting-started/show ; POST /a/{sqid}/getting-started/skip ; POST /a/{sqid}/getting-started/done A checklist in the page.
+nav-index account console-only GET /a/{sqid}/index ; GET /a/{sqid}/apps/{app}/index ; GET /a/{sqid}/apps/{app}/settings/index Phone navigation pages that list sections.
+
+# billing
+billing billing console-only GET /a/{sqid}/billing ; GET /upgrade ; POST /a/{sqid}/billing/confirm ; POST /a/{sqid}/billing/checkout ; GET /a/{sqid}/billing/continue ; GET /a/{sqid}/billing/done ; POST /a/{sqid}/billing/change ; POST /a/{sqid}/billing/renewal ; POST /a/{sqid}/billing/seats ; POST /a/{sqid}/billing/portal ; POST /a/{sqid}/billing/card Payment goes through the Stripe pages in a browser.
+
+# tooling
+config-destinations tooling cli-only config destinations list ; config destinations add ; config destinations set ; config destinations default ; config destinations remove ; config destinations rename Named deploy targets in a local file.
+devbox tooling cli-only devbox share ; devbox unshare ; devbox list Publishes a dev server running on this machine.
+vet tooling cli-only vet Checks a local release against the contract.
+update tooling cli-only update Updates this binary.
+skills tooling cli-only skills Prints the public agent skills for an agent to read.
+version tooling cli-only version Prints this binary's build.
+help tooling cli-only help Prints usage.
+
+# operator
+op-pages operator operator GET /fleet ; GET /fleet/activity ; GET /fleet/index ; GET /fleet/people ; GET /fleet/people/{address} ; GET /fleet/metrics Operator pages with no CLI read.
+op-alerts operator operator GET /fleet/alerts ; GET /fleet/alerts/history ; /fleet/alerts/connectors ; /fleet/alerts/connectors/{id}/test ; /fleet/alerts/connectors/{id}/confirm-link ; /fleet/alerts/connectors/{id}/delete ; /fleet/alerts/rules/{rule} Fleet alert connectors and rules, operator pages only.
+op-alert-links operator operator GET /alerts/confirm/{token} ; POST /alerts/confirm/{token} ; GET /alerts/unsubscribe/{token} ; POST /alerts/unsubscribe/{token} ; GET /alerts/snooze/{token} ; POST /alerts/snooze/{token} Links in fleet alert emails; the token is the credential.
+op-protection operator operator GET /fleet/protection ; GET /fleet/protection/data The fleet-wide protection view.
+op-architecture operator operator status [--instances,--layout] GET /fleet/boxes ; /fleet/architecture ; /fleet/architecture/refresh The console shows counts and the map, not one row per instance.
+op-status-live operator operator status [--live] GET /fleet/boxes What every box reported.
+op-store-approvals operator operator store approvals ; store approve ; store decline GET /fleet/store ; POST /fleet/store/{account}/{decision} Deciding storage applications.
+op-store-grant operator operator store grant A per-app storage override; no ops page.
+op-economics operator operator economics bill ; economics backhaul GET /fleet/economics ; /fleet/economics/bill ; /api/economics/bill ; /api/economics/backhaul ; /fleet/economics/scenarios The bill and backhaul inputs; the CLI posts to the /api/economics doors.
+op-accounts-plan operator operator accounts plan GET /fleet/economics/accounts ; /fleet/economics/tier The console sets the pool tier only.
+op-accounts-migrate operator operator accounts migrate A one-off migration of an app's objects.
+op-billing operator operator billing problems ; billing close ; billing house Billing problems and house accounts.
+op-instance-policy operator operator apps set [--egress-allow,--size] ; instances set [--size] Instance policy is set by an operator.
+op-upstreams operator operator instances set-upstreams ; instances create [--addr] TCP backends are set by an operator.
+op-digests operator operator channels digests on ; channels digests off The digest signing switch.
+op-releases-authorize operator operator releases authorize Signs a promotion record for an old build.
+op-relay-rotate operator operator relay rotate Rotates a region's relay master.
+op-move-lost operator operator move resolve [--declare-lost] Declares a box lost in the middle of a move.
+op-host-resolve operator operator ops host resolve Host-claim resolution for a lost host.
+op-system-update operator operator system update ; system status ; system rollback ; system cancel-activation Platform self-update.
+op-system-antivirus operator operator system antivirus status ; system antivirus enable ; system antivirus disable ; system antivirus rotate-webhook-key Deployment-wide scanning.
+op-system-pdf operator operator system pdf status The PDF service.
+op-system-layout operator operator system layout status ; system layout migrate ; system layout revert Instance layout; the Architecture page reads it.
+op-system-geoip operator operator system geoip publish ; system geoip status ; system geoip off The platform GeoIP database.
+op-system-cutovers operator operator system seeds-floor publish ; system legacy-routes assign ; system lifetimes cutover ; system hosts-used status One-off cutovers and floors.
+op-system-roles operator operator system box role ; system group role Box and group roles.
+op-system-demos operator operator system demos status ; system demos serving ; system demos takedown ; system demos takedown-status ; system demos reports ; system demos reports resolve Demo serving, takedowns and reports.
+op-system-managed-fleets operator operator system managed-fleets show ; system managed-fleets set The managed-fleet catalog.
+
+# box
+bootstrap box box-local bootstrap Prepares a host, as root.
+box-routes box box-local add ; remove ; route ; instances This box's own registry routes.
+box-daemons box box-local edge ; agent ; adopt Run under systemd on a box.
+box-instance box box-local instance-control ; instance-exec ; instance-exit ; instance-stop ; instance-probe Instance plumbing run under systemd.
+box-ops box box-local ops litestream ; ops restore-verify ; ops hibernate-verify Checks run on a box.
+release-keygen box box-local release-keygen Mints signing keys; the private key stays local.
+proof box box-local proof keygen ; proof get ; proof put ; proof history Dev proofs a box needs to adopt.
+relay-box box box-local relay serve ; relay keygen Runs the relay, or mints a region master key.
+system-box box box-local system apply ; system files ; system guard-arm ; system guard-exec ; system floor-allows-prev ; system install-channel ; system host-env ; system named-units ; system db-worker ; system journal-migrate ; system group-maintenance ; system box publish-record Root oneshots and units on a box.
+status-dry-run box box-local status [--dry-run] A leak check against a fixture fleet, run locally.
+devbox-serve box box-local devbox serve The devbox service under systemd.
+
+# auth
+browser-signin auth auth GET /{$} ; POST /auth/continue ; GET /auth/email/link ; POST /auth/email/link ; POST /auth/email/code ; GET /auth/signin ; GET /auth/callback ; GET /auth/confirm ; POST /auth/signout Browser sign-in and sign-out.
+step-up auth auth GET /auth/stepup/callback ; POST /auth/email/stepup/code Re-authentication before a passkey action.
+cli-auth-doors auth auth POST /auth/cli/start ; POST /auth/cli/poll ; GET /auth/cli ; POST /auth/cli/approve ; GET /auth/cli/whoami ; POST /auth/cli/revoke ; POST /auth/cli/accounts The browser half of auth login and the identity doors the CLI calls (whoami, logout, accounts create).
+
+# demo
+demo-claim demo demo GET /demo/claim ; GET /demo/claim/kept ; POST /demo/claim/kept ; GET /demo/claim/status ; POST /demo/claim/intent ; POST /demo/claim/prove ; POST /demo/claim/select The browser claim flow for a demo app.
+demo-api demo demo POST /api/demo/apps ; GET /api/demo/jobs/{jobID} ; POST /api/demo/claims ; POST /api/demo/claims/verify ; POST /api/demo/claims/select ; GET /api/demo/claims/status The demo API agents call.
+demo-box demo demo POST /api/box/demo-retirements/ack ; GET /api/box/demo-builds ; POST /api/box/demo-builds/{jobID}/pickup ; POST /api/box/demo-builds/{jobID}/result ; POST /api/box/demo-claims/{operationID}/pickup ; POST /api/box/demo-claims/{operationID}/snapshot ; POST /api/box/demo-claims/{operationID}/ack Doors the demo box calls.
+demo-report demo demo GET /demo/report ; POST /demo/report The public form to report a demo.
+
+# platform
+static platform asset GET /static/{hash}/{file...} Hashed static files for the pages.
+healthz platform internal GET /healthz Health check for the load balancer.
+alert-signing-key platform internal GET /alerts/signing-key The public key alert webhook receivers fetch.
+legacy-apps platform internal GET /apps ; GET /apps/{app} Old URLs kept as redirects into the account.
+billing-webhook platform internal POST /billing/webhook Stripe calls it.
+ses-events platform internal POST /api/ses/events Amazon SES delivery events.
+box-doors platform internal POST /api/fleet/enrol ; GET /api/box/interactive/{id} ; GET /api/box/runs/{id} ; POST /api/fleet/replicas/{account}/{app}/{host}/coordinator ; POST /api/fleet/replicas/{account}/{app}/{host}/release Doors boxes and managed fleets call, not people.
+plumbing platform internal __demo-snapshot ; __registry-child ; __rootfs-check-probe ; __rootfs-check-prepare ; __cgexec ; __cgprobe Words the binary runs itself as, dispatched before the command switch.