carlos / platform Public

console, cli: claim route census and CLI golden for instances label

The label route refuses up front on a host-claim console (409 C33) and
reads or writes nothing, so it joins the claim route inventory. The CLI
golden gains the two instances label cases and the label line in the
instances usage block; no other line changed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev c08ef7a034a84d05464730b72a6bbf142b575336 parent d34156f
2 files changed, +17 −14
  • internal/console/testdata/claim-routes.txt +1 −0
  • testdata/clireg-golden.jsonl +16 −14

CI failed — run details

Intent

Human

<task-notification> <task-id>a2bee0384e8178390</task-id> <tool-use-id>toolu_01JwUxGCZT5rs6zy8vNppGHg</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/ac77363b-5830-422c-9f38-d7f2540dd398/tasks/a2bee0384e8178390.output</output-file> <status>completed</status> <summary>Agent "Implement Task 8 m2: census" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>- **Status:** Done. I reviewed `Server.handleAPIInstanceLabel` and re-pinned it as a record-writer with the same kinds: an exhausted CAS conflict now answers 502 with C38, and a migrating record still answers `changed` with C35. `make census-card` showed the root-read census clean, so I did not re-propose. - **Commit:** d34156ff `census: fleet record labels m2, last digest`. Not pushed. The report has a new "Last digest" line under "After the fix wave". - **Tests:** `go test ./internal/provision -run 'TestPlan14RootReadCensus|TestPlan9B8|TestCensusScopeIsTheRootBinary|TestFirstLabel' -count=1` passes (10.5 s). - **Concerns:** None new. Astra's #280 verdict is still owed.</result> <usage><subagent_tokens>139290</subagent_tokens><tool_uses>5</tool_uses><duration_ms>66645</duration_ms></usage> </task-notification>

Human

<task-notification> <task-id>bsf6aizn2</task-id> <tool-use-id>toolu_016M5GWGEbCEEuqHE9W8FNPW</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/ac77363b-5830-422c-9f38-d7f2540dd398/tasks/bsf6aizn2.output</output-file> <status>completed</status> <summary>Background command "Record census on #280 and wait for CI" completed (exit code 0)</summary> </task-notification>

Attributed to this commit: 28.2 g CO₂e (3,584,407 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on fleet-record-labels-m2, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/internal/console/testdata/claim-routes.txt b/internal/console/testdata/claim-routes.txt
index c4e11c8ef..6973628c0 100644
--- a/internal/console/testdata/claim-routes.txt
+++ b/internal/console/testdata/claim-routes.txt
@@ -294,6 +294,7 @@ route POST /api/cli/apps/{account}/{app}/instances/{host}/gate-pass
route POST /api/cli/apps/{account}/{app}/instances/{host}/import/abort
route POST /api/cli/apps/{account}/{app}/instances/{host}/import/commit
route POST /api/cli/apps/{account}/{app}/instances/{host}/import/stopped
+route POST /api/cli/apps/{account}/{app}/instances/{host}/label
route POST /api/cli/apps/{account}/{app}/instances/{host}/move
route POST /api/cli/apps/{account}/{app}/instances/{host}/move/cut
route POST /api/cli/apps/{account}/{app}/instances/{host}/move/offline
diff --git a/testdata/clireg-golden.jsonl b/testdata/clireg-golden.jsonl
index 37f8bf388..be0167708 100644
--- a/testdata/clireg-golden.jsonl
+++ b/testdata/clireg-golden.jsonl
@@ -398,10 +398,10 @@
{"case":"instance-stop | -h","argv":["instance-stop","-h"],"exit":2,"stdout":"","stderr":"usage: carlos instance-stop <main-pid>\n"}
{"case":"instances backups | --zz-unknown-flag","argv":["instances","backups","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances backups --app <a> [--instance <host>] [--json] [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app the instance belongs to\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --instance <string> the instance whose database to read (may be left out when the app has one)\n --json print the console's answer as JSON\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
{"case":"instances backups | -h","argv":["instances","backups","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances backups --app <a> [--instance <host>] [--json] [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app the instance belongs to\n --console <string> console to read through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --instance <string> the instance whose database to read (may be left out when the app has one)\n --json print the console's answer as JSON\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
-{"case":"instances create | --zz-unknown-flag","argv":["instances","create","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --addr <string> comma-separated TCP upstream set, host:port each (e.g. 10.0.0.1:8090,10.0.0.2:8090); omitted means the platform's own default upstream\n --app, -a <string> app the instance belongs to\n --at <int> with --from, the transaction id to copy at (default: the latest)\n --channel, -c <string> release channel the instance follows (default: the manifest's, then this app's other instances, then its pipeline entry)\n --console <string> console to create through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle this route binds to (default: the app's default bundle) — carlos env environments lists them\n --from <string> copy this instance's database into the new one. The source must be an instance of the same app, in this console's region\n --health-path <string> states the whole probe alongside --health-status: request path (default \"/\"); honoured for a single --addr too\n --health-status <int> probe's expected response status (default 200); fields neither flag names take the platform's own defaults\n --host <string> instance host — one DNS label + \".\" + the app's instance domain\n --kind <string> route class: instance (default) | service | static — a static record serves a file tree off the channel pointer and has no process\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --region <string> region for this instance (default: the app's region, subject to the manifest's allow-list)\n --replicas <string> comma-separated placement codes the account's replicas live in (the HOME record's opt-in; e.g. ie,uk) — this instance's own replica must be --role replica with --region\n --restore bring back a deleted instance on this host with the data it kept: the same app's plain instance, created and deleted after restore was available\n --role <string> instance role (default: the serving home); \"replica\" provisions a second instance of the account holding a one-way mirror of it, selling near the buyer — needs --region naming the replica's placement\n --scope <string> the team scope that owns --environment, named explicitly: binding an instance into an environment a team credential owns is a deliberate act (carlos env adopt)\n"}
-{"case":"instances create | -h","argv":["instances","create","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --addr <string> comma-separated TCP upstream set, host:port each (e.g. 10.0.0.1:8090,10.0.0.2:8090); omitted means the platform's own default upstream\n --app, -a <string> app the instance belongs to\n --at <int> with --from, the transaction id to copy at (default: the latest)\n --channel, -c <string> release channel the instance follows (default: the manifest's, then this app's other instances, then its pipeline entry)\n --console <string> console to create through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle this route binds to (default: the app's default bundle) — carlos env environments lists them\n --from <string> copy this instance's database into the new one. The source must be an instance of the same app, in this console's region\n --health-path <string> states the whole probe alongside --health-status: request path (default \"/\"); honoured for a single --addr too\n --health-status <int> probe's expected response status (default 200); fields neither flag names take the platform's own defaults\n --host <string> instance host — one DNS label + \".\" + the app's instance domain\n --kind <string> route class: instance (default) | service | static — a static record serves a file tree off the channel pointer and has no process\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --region <string> region for this instance (default: the app's region, subject to the manifest's allow-list)\n --replicas <string> comma-separated placement codes the account's replicas live in (the HOME record's opt-in; e.g. ie,uk) — this instance's own replica must be --role replica with --region\n --restore bring back a deleted instance on this host with the data it kept: the same app's plain instance, created and deleted after restore was available\n --role <string> instance role (default: the serving home); \"replica\" provisions a second instance of the account holding a one-way mirror of it, selling near the buyer — needs --region naming the replica's placement\n --scope <string> the team scope that owns --environment, named explicitly: binding an instance into an environment a team credential owns is a deliberate act (carlos env adopt)\n"}
-{"case":"instances delete | --zz-unknown-flag","argv":["instances","delete","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to delete through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --host <string> instance host whose record to retire\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n"}
-{"case":"instances delete | -h","argv":["instances","delete","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to delete through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --host <string> instance host whose record to retire\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n"}
+{"case":"instances create | --zz-unknown-flag","argv":["instances","create","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --addr <string> comma-separated TCP upstream set, host:port each (e.g. 10.0.0.1:8090,10.0.0.2:8090); omitted means the platform's own default upstream\n --app, -a <string> app the instance belongs to\n --at <int> with --from, the transaction id to copy at (default: the latest)\n --channel, -c <string> release channel the instance follows (default: the manifest's, then this app's other instances, then its pipeline entry)\n --console <string> console to create through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle this route binds to (default: the app's default bundle) — carlos env environments lists them\n --from <string> copy this instance's database into the new one. The source must be an instance of the same app, in this console's region\n --health-path <string> states the whole probe alongside --health-status: request path (default \"/\"); honoured for a single --addr too\n --health-status <int> probe's expected response status (default 200); fields neither flag names take the platform's own defaults\n --host <string> instance host — one DNS label + \".\" + the app's instance domain\n --kind <string> route class: instance (default) | service | static — a static record serves a file tree off the channel pointer and has no process\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --region <string> region for this instance (default: the app's region, subject to the manifest's allow-list)\n --replicas <string> comma-separated placement codes the account's replicas live in (the HOME record's opt-in; e.g. ie,uk) — this instance's own replica must be --role replica with --region\n --restore bring back a deleted instance on this host with the data it kept: the same app's plain instance, created and deleted after restore was available\n --role <string> instance role (default: the serving home); \"replica\" provisions a second instance of the account holding a one-way mirror of it, selling near the buyer — needs --region naming the replica's placement\n --scope <string> the team scope that owns --environment, named explicitly: binding an instance into an environment a team credential owns is a deliberate act (carlos env adopt)\n"}
+{"case":"instances create | -h","argv":["instances","create","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --addr <string> comma-separated TCP upstream set, host:port each (e.g. 10.0.0.1:8090,10.0.0.2:8090); omitted means the platform's own default upstream\n --app, -a <string> app the instance belongs to\n --at <int> with --from, the transaction id to copy at (default: the latest)\n --channel, -c <string> release channel the instance follows (default: the manifest's, then this app's other instances, then its pipeline entry)\n --console <string> console to create through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle this route binds to (default: the app's default bundle) — carlos env environments lists them\n --from <string> copy this instance's database into the new one. The source must be an instance of the same app, in this console's region\n --health-path <string> states the whole probe alongside --health-status: request path (default \"/\"); honoured for a single --addr too\n --health-status <int> probe's expected response status (default 200); fields neither flag names take the platform's own defaults\n --host <string> instance host — one DNS label + \".\" + the app's instance domain\n --kind <string> route class: instance (default) | service | static — a static record serves a file tree off the channel pointer and has no process\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --region <string> region for this instance (default: the app's region, subject to the manifest's allow-list)\n --replicas <string> comma-separated placement codes the account's replicas live in (the HOME record's opt-in; e.g. ie,uk) — this instance's own replica must be --role replica with --region\n --restore bring back a deleted instance on this host with the data it kept: the same app's plain instance, created and deleted after restore was available\n --role <string> instance role (default: the serving home); \"replica\" provisions a second instance of the account holding a one-way mirror of it, selling near the buyer — needs --region naming the replica's placement\n --scope <string> the team scope that owns --environment, named explicitly: binding an instance into an environment a team credential owns is a deliberate act (carlos env adopt)\n"}
+{"case":"instances delete | --zz-unknown-flag","argv":["instances","delete","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to delete through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --host <string> instance host whose record to retire\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n"}
+{"case":"instances delete | -h","argv":["instances","delete","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to delete through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --host <string> instance host whose record to retire\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n"}
{"case":"instances door-key create | --zz-unknown-flag","argv":["instances","door-key","create","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances door-key create --app <a> [--label <text>]\n carlos instances door-key list --app <a>\n carlos instances door-key revoke --app <a> <id>\n\n --account <a> account (sqid or name; default: your only account,\n or the configured/chosen one)\n --account-id <id> account sqid, matched as a sqid ONLY — supersedes\n --account\n --console <origin> console to act through (default: the only\n logged-in one)\n\nSigned in only (carlos auth login). A door key is written through a console, which keeps it in its own database. There is no direct-bucket form.\n\ncreate mints a new key for the app and prints it once. Store it now: it cannot be shown again, and list only ever shows its id and label.\n\nlist shows the app's live keys: id, label and when each was created.\n\nrevoke takes an id from list and stops that key working.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app to mint a door key for\n --console <string> console to create through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --label <string> short note stored with the key and shown by list (default: none)\n"}
{"case":"instances door-key create | -h","argv":["instances","door-key","create","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances door-key create --app <a> [--label <text>]\n carlos instances door-key list --app <a>\n carlos instances door-key revoke --app <a> <id>\n\n --account <a> account (sqid or name; default: your only account,\n or the configured/chosen one)\n --account-id <id> account sqid, matched as a sqid ONLY — supersedes\n --account\n --console <origin> console to act through (default: the only\n logged-in one)\n\nSigned in only (carlos auth login). A door key is written through a console, which keeps it in its own database. There is no direct-bucket form.\n\ncreate mints a new key for the app and prints it once. Store it now: it cannot be shown again, and list only ever shows its id and label.\n\nlist shows the app's live keys: id, label and when each was created.\n\nrevoke takes an id from list and stops that key working.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app to mint a door key for\n --console <string> console to create through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --label <string> short note stored with the key and shown by list (default: none)\n"}
{"case":"instances door-key list | --zz-unknown-flag","argv":["instances","door-key","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances door-key create --app <a> [--label <text>]\n carlos instances door-key list --app <a>\n carlos instances door-key revoke --app <a> <id>\n\n --account <a> account (sqid or name; default: your only account,\n or the configured/chosen one)\n --account-id <id> account sqid, matched as a sqid ONLY — supersedes\n --account\n --console <origin> console to act through (default: the only\n logged-in one)\n\nSigned in only (carlos auth login). A door key is written through a console, which keeps it in its own database. There is no direct-bucket form.\n\ncreate mints a new key for the app and prints it once. Store it now: it cannot be shown again, and list only ever shows its id and label.\n\nlist shows the app's live keys: id, label and when each was created.\n\nrevoke takes an id from list and stops that key working.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app whose door keys to list\n --console <string> console to list through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}
@@ -427,22 +427,24 @@
{"case":"instances import | bare","argv":["instances","import"],"exit":2,"stdout":"","stderr":"usage: carlos instances import --app <a> --host <h> --file <snapshot> --replaces <host:port>\n [--verify <path>] [--environment <e>]\n carlos instances import commit --app <a> --host <h>\n carlos instances import abort --app <a> --host <h>\n\ncarlos instances import moves an instance the platform never ran onto the platform.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to create through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle this route binds to (default: the app's default bundle) — carlos env environments lists them\n --file <string> the snapshot to import: a consistent SQLite file taken after the old process stopped\n --host <string> instance host — one DNS label + \".\" + the app's instance domain\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --replaces <string> the address of the route this import takes over, as host:port\n --verify <string> a path to request with the verify token once swapped. A 2xx commits the import, anything else aborts it\n"}
{"case":"instances import | help","argv":["instances","import","help"],"exit":2,"stdout":"","stderr":"usage: carlos instances import --app <a> --host <h> --file <snapshot> --replaces <host:port>\n [--verify <path>] [--environment <e>]\n carlos instances import commit --app <a> --host <h>\n carlos instances import abort --app <a> --host <h>\n\ncarlos instances import moves an instance the platform never ran onto the platform.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to create through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle this route binds to (default: the app's default bundle) — carlos env environments lists them\n --file <string> the snapshot to import: a consistent SQLite file taken after the old process stopped\n --host <string> instance host — one DNS label + \".\" + the app's instance domain\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --replaces <string> the address of the route this import takes over, as host:port\n --verify <string> a path to request with the verify token once swapped. A 2xx commits the import, anything else aborts it\n"}
{"case":"instances import | zz-unknown","argv":["instances","import","zz-unknown"],"exit":2,"stdout":"","stderr":"usage: carlos instances import --app <a> --host <h> --file <snapshot> --replaces <host:port>\n [--verify <path>] [--environment <e>]\n carlos instances import commit --app <a> --host <h>\n carlos instances import abort --app <a> --host <h>\n\ncarlos instances import moves an instance the platform never ran onto the platform.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to create through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle this route binds to (default: the app's default bundle) — carlos env environments lists them\n --file <string> the snapshot to import: a consistent SQLite file taken after the old process stopped\n --host <string> instance host — one DNS label + \".\" + the app's instance domain\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --replaces <string> the address of the route this import takes over, as host:port\n --verify <string> a path to request with the verify token once swapped. A 2xx commits the import, anything else aborts it\n"}
-{"case":"instances list | --zz-unknown-flag","argv":["instances","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app whose instance records to list\n --console <string> console to list through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --health <string> only this state: running, serving, setting-up, asleep, no-readings, not-responding, failed\n --match <string> only hosts containing this substring\n"}
-{"case":"instances list | -h","argv":["instances","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app whose instance records to list\n --console <string> console to list through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --health <string> only this state: running, serving, setting-up, asleep, no-readings, not-responding, failed\n --match <string> only hosts containing this substring\n"}
-{"case":"instances retry | --zz-unknown-flag","argv":["instances","retry","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n"}
-{"case":"instances retry | -h","argv":["instances","retry","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n"}
+{"case":"instances label | --zz-unknown-flag","argv":["instances","label","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid only. it supersedes --account\n --app, -a <string> app the instance belongs to\n --box <string> the box to tie it to. it must be the box serving it now\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --dry-run show what would happen and change nothing\n"}
+{"case":"instances label | -h","argv":["instances","label","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid only. it supersedes --account\n --app, -a <string> app the instance belongs to\n --box <string> the box to tie it to. it must be the box serving it now\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --dry-run show what would happen and change nothing\n"}
+{"case":"instances list | --zz-unknown-flag","argv":["instances","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app whose instance records to list\n --console <string> console to list through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --health <string> only this state: running, serving, setting-up, asleep, no-readings, not-responding, failed\n --match <string> only hosts containing this substring\n"}
+{"case":"instances list | -h","argv":["instances","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app whose instance records to list\n --console <string> console to list through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --health <string> only this state: running, serving, setting-up, asleep, no-readings, not-responding, failed\n --match <string> only hosts containing this substring\n"}
+{"case":"instances retry | --zz-unknown-flag","argv":["instances","retry","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n"}
+{"case":"instances retry | -h","argv":["instances","retry","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n"}
{"case":"instances set | --zz-unknown-flag","argv":["instances","set","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances set <host> [--app <a>] [--updates auto|manual] [--channel <c>] [--major <n>] [--pin <build>] [--size small|standard|large|xlarge|default] (an empty value clears an update setting)\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY; supersedes --account\n --app, -a <string> app the instance belongs to\n --channel, -c <string> the channel to follow (the app's pipeline rules apply)\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --major <string> stay on this major version of stable; empty clears\n --pin <string> run exactly this build; empty clears\n --size <string> this instance's size: small, standard, large or xlarge. default follows the app's size. system operators only\n --updates <string> auto or manual; empty restores the app's default\n"}
{"case":"instances set | -h","argv":["instances","set","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances set <host> [--app <a>] [--updates auto|manual] [--channel <c>] [--major <n>] [--pin <build>] [--size small|standard|large|xlarge|default] (an empty value clears an update setting)\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY; supersedes --account\n --app, -a <string> app the instance belongs to\n --channel, -c <string> the channel to follow (the app's pipeline rules apply)\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --major <string> stay on this major version of stable; empty clears\n --pin <string> run exactly this build; empty clears\n --size <string> this instance's size: small, standard, large or xlarge. default follows the app's size. system operators only\n --updates <string> auto or manual; empty restores the app's default\n"}
{"case":"instances set-assets | --zz-unknown-flag","argv":["instances","set-assets","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances set-assets --app <a> [--account <a>] [--account-id <id>] [--console <origin>] <host> on|off\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY, supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n"}
{"case":"instances set-assets | -h","argv":["instances","set-assets","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances set-assets --app <a> [--account <a>] [--account-id <id>] [--console <origin>] <host> on|off\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY, supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n"}
-{"case":"instances set-channel | --zz-unknown-flag","argv":["instances","set-channel","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --channel, -c <string> release channel the route should follow\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --host <string> instance host whose channel to change\n"}
-{"case":"instances set-channel | -h","argv":["instances","set-channel","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --channel, -c <string> release channel the route should follow\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --host <string> instance host whose channel to change\n"}
-{"case":"instances set-environment | --zz-unknown-flag","argv":["instances","set-environment","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle to bind to; empty returns the route to the app's default bundle\n --host <string> instance host whose config binding to change\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n"}
-{"case":"instances set-environment | -h","argv":["instances","set-environment","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle to bind to; empty returns the route to the app's default bundle\n --host <string> instance host whose config binding to change\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n"}
+{"case":"instances set-channel | --zz-unknown-flag","argv":["instances","set-channel","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --channel, -c <string> release channel the route should follow\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --host <string> instance host whose channel to change\n"}
+{"case":"instances set-channel | -h","argv":["instances","set-channel","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --channel, -c <string> release channel the route should follow\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --host <string> instance host whose channel to change\n"}
+{"case":"instances set-environment | --zz-unknown-flag","argv":["instances","set-environment","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle to bind to; empty returns the route to the app's default bundle\n --host <string> instance host whose config binding to change\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n"}
+{"case":"instances set-environment | -h","argv":["instances","set-environment","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --environment <string> named config bundle to bind to; empty returns the route to the app's default bundle\n --host <string> instance host whose config binding to change\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n"}
{"case":"instances set-pages | --zz-unknown-flag","argv":["instances","set-pages","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances set-pages --app <a> [--account <a>] [--account-id <id>] [--console <origin>] <host> on|off\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY, supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n"}
{"case":"instances set-pages | -h","argv":["instances","set-pages","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances set-pages --app <a> [--account <a>] [--account-id <id>] [--console <origin>] <host> on|off\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY, supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n"}
-{"case":"instances set-upstreams | --zz-unknown-flag","argv":["instances","set-upstreams","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --addrs <string> comma-separated TCP upstream set, host:port each, replacing the record's whole upstream set; omitted leaves the existing set alone; an explicit --addrs \"\" clears it (400 for a kind:instance record — the DerivesPaths rail refuses that shape transition in place)\n --app, -a <string> app the instance belongs to\n --console <string> console to update through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --health-path <string> states the WHOLE probe block, replacing whatever was there — not a per-field update; a field neither flag names reverts to the platform's own default\n --health-status <int> probe's expected response status; either --health-path or --health-status, given at all, replaces the whole probe\n --host <string> instance host whose upstream set to repoint\n"}
-{"case":"instances set-upstreams | -h","argv":["instances","set-upstreams","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --addrs <string> comma-separated TCP upstream set, host:port each, replacing the record's whole upstream set; omitted leaves the existing set alone; an explicit --addrs \"\" clears it (400 for a kind:instance record — the DerivesPaths rail refuses that shape transition in place)\n --app, -a <string> app the instance belongs to\n --console <string> console to update through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --health-path <string> states the WHOLE probe block, replacing whatever was there — not a per-field update; a field neither flag names reverts to the platform's own default\n --health-status <int> probe's expected response status; either --health-path or --health-status, given at all, replaces the whole probe\n --host <string> instance host whose upstream set to repoint\n"}
+{"case":"instances set-upstreams | --zz-unknown-flag","argv":["instances","set-upstreams","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --addrs <string> comma-separated TCP upstream set, host:port each, replacing the record's whole upstream set; omitted leaves the existing set alone; an explicit --addrs \"\" clears it (400 for a kind:instance record — the DerivesPaths rail refuses that shape transition in place)\n --app, -a <string> app the instance belongs to\n --console <string> console to update through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --health-path <string> states the WHOLE probe block, replacing whatever was there — not a per-field update; a field neither flag names reverts to the platform's own default\n --health-status <int> probe's expected response status; either --health-path or --health-status, given at all, replaces the whole probe\n --host <string> instance host whose upstream set to repoint\n"}
+{"case":"instances set-upstreams | -h","argv":["instances","set-upstreams","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances create --app <a> --host <h> [--region <r>] [--channel <c>]\n [--kind instance|service|static] [--environment <e>] [--scope <s>]\n [--addr <a:p,...>] [--health-path <p>] [--health-status <n>]\n carlos instances list --app <a> [--match <substr>] [--health <slug>]\n carlos instances delete --app <a> --host <h>\n carlos instances set-upstreams --app <a> --host <h> [--addrs <a:p,...>]\n [--health-path <p>] [--health-status <n>]\n carlos instances set-channel --app <a> --host <h> --channel <c>\n carlos instances set-environment --app <a> --host <h> --environment <e> [--scope <s>]\n carlos instances set-assets --app <a> <host> on|off\n carlos instances set-pages --app <a> <host> on|off\n carlos instances retry --app <a> <host>\n carlos instances label --app <a> <host> [--box <b>] [--dry-run]\n carlos instances set --app <a> <host> [--updates auto|manual]\n [--channel <c>] [--major <n>] [--pin <build>]\n carlos instances update --app <a> <host> [--fast-track]\n\nSigned-in only (carlos auth login): instance records are console-authorized\nwrites — the console checks the host against the app's manifest and the\nbox's reconcile pass materializes the route.\n\ncreate stamps a channel on the record, and prints the one it chose. Named\nwith --channel it is yours; omitted, it is the app's own enable channel, else\nthe channel this app's other instances already follow, else its pipeline\nentry — where \"carlos deploy\" lands, so a brand-new app's first instance is\ndeployable without a passkey. Instances that follow SEVERAL channels are\nrefused rather than guessed at: pass --channel.\n\nset-channel moves ONE route onto a different release channel. The channel\nlives in the instance record, which the box converges the route from every\npass — so this is the verb that changes it, not \"carlos route --channel\",\nwhich edits a row the next reconcile overwrites. A move that the app's\npipeline gates is proposed and finished in the console, like a promote.\n\nretry clears the failure hold on one instance: the build that failed on its\nbox is tried again there, as a canary. \"carlos promote --retry <version>\n<channel>\" does the same on every box.\n\nlabel ties an instance on a fleet to the box serving it now. without --box, or with --dry-run, it only shows what it found and changes nothing\n\nset changes how one instance takes new builds: --updates auto or manual,\n--channel (the app's pipeline rules apply), --major to stay on one major\nversion of stable, and --pin to run exactly one build. An empty value clears\na setting, so the app's default applies again. update asks the instance's\nbox to install the newest build it considers ready, even with manual\nupdates; --fast-track skips the safety delay and needs an account owner.\n\n--environment binds a route to one of the app's named config bundles\n(\"carlos env environments\" lists them; \"carlos env --environment <e>\" writes\nthem). Omitted, a route serves the app's default bundle — which matters most\nwhen a route stands ALONGSIDE a live one: config is per-app, so a second\ninstance inherits values naming the first one's host, and anything the app\nkeys off a single origin (the Origin header it checks, magic-link URLs, a\nWebAuthn RP ID, the cookie Secure flag) fails closed on the new host while\nGETs look healthy. set-environment rebinds an existing route the same way,\nand for the same reason set-channel exists rather than \"carlos route\n--environment\": the reconciler reverts the box-side edit within seconds.\nRestart the instance afterwards to pick the new values up.\n\nset-upstreams-only flags:\n\n --addrs <a:p,...> comma-separated TCP upstream set, host:port each,\n replacing the record's whole upstream set;\n omitted leaves the existing set alone, an\n explicit --addrs \"\" clears it to empty (refused\n with a 400 for a kind:instance record — emptying\n an addr-backed instance route reverts it to a\n socket-backed shape, and the DerivesPaths rail\n refuses that transition in place; delete and\n re-create instead)\n --health-path <p> states the WHOLE probe block, replacing whatever\n was there — NOT a per-field update: a field\n neither flag names reverts to the platform's own\n default, even if a prior probe had set it\n --health-status <n> probe's expected response status; --health-path\n and --health-status may be given together or\n alone — either one, given at all, replaces the\n whole probe (omitting both leaves the existing\n probe untouched)\n\nOperators placing routes by hand on a box use carlos add, not this.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --addrs <string> comma-separated TCP upstream set, host:port each, replacing the record's whole upstream set; omitted leaves the existing set alone; an explicit --addrs \"\" clears it (400 for a kind:instance record — the DerivesPaths rail refuses that shape transition in place)\n --app, -a <string> app the instance belongs to\n --console <string> console to update through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --health-path <string> states the WHOLE probe block, replacing whatever was there — not a per-field update; a field neither flag names reverts to the platform's own default\n --health-status <int> probe's expected response status; either --health-path or --health-status, given at all, replaces the whole probe\n --host <string> instance host whose upstream set to repoint\n"}
{"case":"instances update | --zz-unknown-flag","argv":["instances","update","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances update <host> [--app <a>] [--fast-track]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY; supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --fast-track skip the safety delay (account owners only)\n"}
{"case":"instances update | -h","argv":["instances","update","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances update <host> [--app <a>] [--fast-track]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY; supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --fast-track skip the safety delay (account owners only)\n"}
{"case":"instances | --help","argv":["instances","--help"],"exit":0,"stdout":"","stderr":"usage: carlos instances [flags]\nflags:\n --registry <string> registry database (default: $DIR/data/registry.db)\n"}