docs: narrow the GOMEMLIMIT sentence to capped binary instances
Astra #991 round 1, P2-4: say seeds, carlos run commands, rootfs apps and gVisor-run instances do not get the default.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+1
−1
docs/site/cli.md+1 −1
CI cancelled — superseded by a newer push — run details
diff --git a/docs/site/cli.md b/docs/site/cli.md| index 4fd4bee2c..8961d30e7 100644 |
| --- a/docs/site/cli.md |
| +++ b/docs/site/cli.md |
| @@ -1213,7 +1213,7 @@ no bundle can override: |
| | `CARLOS_PURGE` | `header` when the edge honours a `Carlos-Purge` response header, including `all` for every host of the instance | |
| | `CARLOS_ADMIN_TOKEN` | a secret shared with this one instance: the platform presents it when it calls your app, and your app presents it on `CARLOS_CONTROL_SOCKET` | |
| -The box also sets `GOMEMLIMIT` to 80% of the instance's memory size, unless your app's config or `<host>.env` sets its own. |
| +A binary instance whose memory cap was applied also gets `GOMEMLIMIT`, set to 80% of its memory size, unless your app's config or `<host>.env` sets its own. Seeds, `carlos run` commands, rootfs apps and instances run under gVisor don't get it. |
| The box keeps a sealed copy of each instance's `<host>.env`. It also keeps sealed copies of the `instance.key` and `report.token` files an app keeps at the top of its own directory. These copies are stored in the region's data bucket. Each copy is sealed to the box's secrets key and bound to your app. Only a box that can already read your app's secrets can open it. When a box starts an instance whose `<host>.env` is missing, it puts the sealed copy back first. This keeps the instance's `CARLOS_ADMIN_TOKEN` and `CARLOS_INSTANCE_KEY` instead of giving it new ones. A file that is there is never replaced. You can edit other values in `<host>.env`. The box seals the new contents within a minute. `CARLOS_ADMIN_TOKEN`, `CARLOS_INSTANCE_KEY`, `instance.key` and `report.token` cannot change once sealed. If the box finds a different value, it refuses to start the instance and raises an alert. Deleting the file does not reset it. A box without the secrets key a copy was sealed to will not start that instance. This includes a box whose key was changed. Put the old key back. |