parity: split canary rm from retire; two rows are operator-only
Branch review R1 P2s. canary-list claimed parity between canary rm, which deletes the canary's instance and leaves its channel, and the browser Retire, which retires the channel and refuses while a host follows it. canary-list now pairs canary ls with the releases page; canary-rm is a gap in wp-instances (the console has no instance delete) and canary-retire is console-only. apps-show and email-pause need a system operator (and for pause the mail-operator allowlist), so they are operator rows with the restriction in the note and no package. docs/parity.md regenerated with make parity-doc.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+13
−10
docs/parity.md+8 −7parity/parity.tsv+5 −3
CI cancelled — superseded by a newer push — run details
diff --git a/docs/parity.md b/docs/parity.md| index d05318d82..83a97cb96 100644 |
| --- a/docs/parity.md |
| +++ b/docs/parity.md |
| @@ -12,9 +12,9 @@ Only top-level CLI commands are checked against main.go. Subcommand rows stay ha |
| |---|---:| |
| | both | 42 | |
| | partial | 9 | |
| -| gap | 64 | |
| +| gap | 63 | |
| | cli-only | 15 | |
| -| console-only | 16 | |
| +| console-only | 17 | |
| | Total | 146 | |
| ## account |
| @@ -45,7 +45,6 @@ Only top-level CLI commands are checked against main.go. Subcommand rows stay ha |
| | 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. | |
| @@ -122,7 +121,6 @@ Only top-level CLI commands are checked against main.go. Subcommand rows stay ha |
| | 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 |
| @@ -192,7 +190,9 @@ Only top-level CLI commands are checked against main.go. Subcommand rows stay ha |
| | 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` | | | |
| +| canary-list | both | `canary ls` | `GET /a/{sqid}/apps/{app}/releases` | | | |
| +| canary-rm | gap | `canary rm` | | [wp-instances](#wp-instances) | Deletes the canary's instance and leaves its channel. The console has no instance delete (instances-delete); its Retire is a different operation (canary-retire). | |
| +| canary-retire | console-only | | `POST /a/{sqid}/apps/{app}/canary/retire` | | Retires the canary's channel and refuses while any host follows it. No CLI verb retires a channel: canary rm deletes the instance and leaves the channel. | |
| | 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. | |
| @@ -256,6 +256,7 @@ Only top-level CLI commands are checked against main.go. Subcommand rows stay ha |
| Discussion #734. |
| +- `canary-rm` (releases), CLI has `canary rm` |
| - `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` |
| @@ -276,7 +277,6 @@ Discussion #735. |
| - `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` |
| @@ -316,7 +316,6 @@ Discussion #737. |
| - `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> |
| @@ -383,6 +382,8 @@ Discussion #742. |
| | Row | Area | CLI | Console | Note | |
| |---|---|---|---|---| |
| +| apps-show | apps | `apps show` | | Operator only: the policy read needs a system operator (apiSystemRoller). Reads the instance policy (egress, size). | |
| +| email-pause | email | `email pause`<br>`email resume` | | Operator only: pause and resume need a console operator on the mail-operator allowlist (CARLOS_MAIL_OPERATORS). | |
| | 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. | |
diff --git a/parity/parity.tsv b/parity/parity.tsv| index 61636d261..bb8613896 100644 |
| --- a/parity/parity.tsv |
| +++ b/parity/parity.tsv |
| @@ -13,7 +13,7 @@ apps-swap apps both apps set [--swap,--swap-concurrency] POST /a/{sqid}/apps/{ap |
| 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-show apps operator apps show Operator only: the policy read needs a system operator (apiSystemRoller). 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. |
| @@ -34,7 +34,9 @@ deploy releases cli-only deploy Builds on this machine, then ships and promot |
| 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 |
| +canary-list releases both canary ls GET /a/{sqid}/apps/{app}/releases |
| +canary-rm releases gap canary rm wp-instances Deletes the canary's instance and leaves its channel. The console has no instance delete (instances-delete); its Retire is a different operation (canary-retire). |
| +canary-retire releases console-only POST /a/{sqid}/apps/{app}/canary/retire Retires the canary's channel and refuses while any host follows it. No CLI verb retires a channel: canary rm deletes the instance and leaves the channel. |
| 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. |
| @@ -132,7 +134,7 @@ 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 |
| +email-pause email operator email pause ; email resume Operator only: pause and resume need a console operator on the mail-operator allowlist (CARLOS_MAIL_OPERATORS). |
| # relay |
| relay relay gap relay enable ; relay status ; relay disable ; relay adopted wp-fleets-relay |