3 files changed,
+15
−9
docs/site/cli.md
+5 −3
docs/superpowers/notes/instance-restore-658-cli-request.md
+6 −4
docs/superpowers/notes/instance-restore-658-copy.json
+4 −2
CI cancelled — superseded by a newer push
— run details
| index df6c2eca7..78dfcec95 100644 |
| --- a/docs/site/cli.md |
| +++ b/docs/site/cli.md |
| @@ -1253,11 +1253,13 @@ carlos instances create --app jam --host acme.jam.bab.oncarlos.com --restore |
| ``` |
| |
| A service credential with the `instance` role does the same through the |
| -create door, with `"restore": true` in the body. The instance wakes with the |
| -data it had when it was deleted. |
| +create door, with `"restore": true` in the body. The instance wakes with |
| +whatever data it kept when it was deleted. `"restore": true` in the answer |
| +means the restore was accepted, not that the data is already back. |
| |
| Without `--restore`, a create on a host that has held data is refused, as it |
| -always has been. If a restore would work, the refusal says so. |
| +always has been. The refusal often says when `--restore` would work, but not |
| +every time, so if the instance was yours, try `--restore`. |
| |
| A restore works only when all of these are true: |
| |
| index 8298d139c..1ed6a3d4e 100644 |
| --- a/docs/superpowers/notes/instance-restore-658-cli-request.md |
| +++ b/docs/superpowers/notes/instance-restore-658-cli-request.md |
| @@ -15,11 +15,13 @@ flag to ask for it. |
| Add `--restore` (boolean, default false) to `carlos instances create`. When |
| set, send `"restore": true` in the body of |
| `POST /api/cli/apps/{account}/{app}/instances`. The response gains |
| -`"restore": true` when the instance was restored; print that the instance was |
| -restored rather than newly created. |
| +`"restore": true` when the restore was accepted; print that the instance was |
| +restored rather than newly created. It confirms acceptance only, not that a |
| +wake or data recovery has completed. |
| |
| -Without the flag, a create on a host that has held data is refused, and the |
| -refusal text already tells the user to use `--restore`. |
| +Without the flag, a create on a host that has held data is refused. The |
| +refusal often suggests `--restore`, but the leftover-data refusal can answer |
| +first without mentioning it. |
| |
| Help text for the flag: |
| |
| index 7271c4aee..3ecdcea3c 100644 |
| --- a/docs/superpowers/notes/instance-restore-658-copy.json |
| +++ b/docs/superpowers/notes/instance-restore-658-copy.json |
| @@ -2,6 +2,8 @@ |
| "approved_by": "Paul", |
| "approved_on": "2026-11-08", |
| "review": "3gv22ytvaciobldxlhzysfgk4y", |
| + "revised_on": "2026-11-08", |
| + "revised_review": "67scetqmflhf6wwczzdhtwwnsq", |
| "strings": [ |
| { |
| "id": "docs.restore.heading", |
| @@ -13,11 +15,11 @@ |
| }, |
| { |
| "id": "docs.restore.service", |
| - "text": "A service credential with the `instance` role does the same through the create door, with `\"restore\": true` in the body. The instance wakes with the data it had when it was deleted." |
| + "text": "A service credential with the `instance` role does the same through the create door, with `\"restore\": true` in the body. The instance wakes with whatever data it kept when it was deleted. `\"restore\": true` in the answer means the restore was accepted, not that the data is already back." |
| }, |
| { |
| "id": "docs.restore.without", |
| - "text": "Without `--restore`, a create on a host that has held data is refused, as it always has been. If a restore would work, the refusal says so." |
| + "text": "Without `--restore`, a create on a host that has held data is refused, as it always has been. The refusal often says when `--restore` would work, but not every time, so if the instance was yours, try `--restore`." |
| }, |
| { |
| "id": "docs.restore.conditions", |