| index 8c7a8e5d1..ad96c987f 100644 |
| --- a/docs/superpowers/plans/2026-10-22-db-region-forward-copy.md |
| +++ b/docs/superpowers/plans/2026-10-22-db-region-forward-copy.md |
| @@ -24,8 +24,8 @@ The rules: |
| `\n\n`. In `docs/site/cli.md` each paragraph of a row is one line. |
| - No em dashes. A full stop and a new sentence instead, continuing in lower |
| case. Docs prose keeps the CLI page's sentence case. |
| -- Ids are not renumbered. DBF-17 to DBF-20 and DBF-23 to DBF-29 are kept |
| - for plan 3's pull rows. |
| +- Ids are not renumbered. DBF-17 to DBF-20, DBF-23 and DBF-24 are plan 3's |
| + pull rows; DBF-25 to DBF-29 stay free. |
| |
| Placeholders: `<host>` the instance's hostname; `<region>` a placement code |
| such as uk; `<size>` and `<cap>` byte sizes as the CLI prints them; `<n>` a |
| @@ -61,6 +61,20 @@ RFC 3339 time. |
| | DBF-16 | dbforward.go | <host> is moving between regions. read its database once the move has finished. | approved | |
| | DBF-32 | dbforward.go | this query cannot be sent to region <region>, because it contains invalid UTF-8 or the replacement character U+FFFD. fix the query and run it again. | approved | |
| |
| +## Pull (plan 3) |
| + |
| +Drafted 2026-10-23 for a Luna pass, in the voice of the approved plan 2 rows (DBF-4, DBF-5, DBF-11, DBF-21, DBF-22, |
| +DBF-30). Code may carry a pending row's text only through `dbForwardCopyWired`; DBF-23 is docs and waits. |
| + |
| +| id | file | text | status | |
| +|---|---|---|---| |
| +| DBF-17 | dbforward.go | the database for <host> takes <size> to fetch. carlos db pull can fetch at most <cap> from region <region>. | pending | |
| +| DBF-18 | dbforward.go | fetching a copy of <host>'s database from region <region>. | pending | |
| +| DBF-19 | internal/console/apidbforward.go | forwarded a database pull to region <region> (cli) | pending | |
| +| DBF-20 | internal/console/apidbforward.go | forwarded a database pull to region <region>, as of <time> (cli) | pending | |
| +| DBF-23 | docs/site/cli.md | If the app has more than one instance, name one with `--instance`. Only sleeping instances have a database copy. An instance on your own fleet or in a pool cannot be read this way, and the command says which.\n\nWhen an instance keeps its data in a different region from the console's, `carlos db query` runs in that region. A server there restores the copy, runs your query and sends back only the rows. `carlos db pull` fetches the copy's files from there and restores them on your machine. Both are encrypted for your terminal on the way, so nothing in between can read them, and nothing is printed or saved until all of it has arrived and been checked. In that region, a query's copy can be at most 2 GB once restored, the query runs for at most 5 minutes, and the rows can total at most 64 MB. A pull can fetch at most 2 GB. | pending | |
| +| DBF-24 | dbforward.go | the server in region <region> does not have room to prepare a copy of <host>'s database right now. try again later. | pending | |
| + |
| ## Docs |
| |
| | id | file | text | status | |