canary retire: re-record the CLI golden corpus (#1634)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+17
−17
testdata/clireg-golden.jsonl+17 −17
diff --git a/testdata/clireg-golden.jsonl b/testdata/clireg-golden.jsonl| index c461dd540..a30c92321 100644 |
| --- a/testdata/clireg-golden.jsonl |
| +++ b/testdata/clireg-golden.jsonl |
| @@ -130,23 +130,23 @@ |
| {"case":"bootstrap | --zz-unknown-flag","argv":["bootstrap","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos bootstrap [flags]\nflags:\n --offcloud off-cloud box: require a staged 0600 credentials file instead of an EC2 instance profile\n --plan-json with -root: print the arming plan as JSON on stdout instead of the human summary\n --root <string> install root; a staging dir writes files only (no user creation, no systemctl) (default: /)\n --socket-consumer <value> host-app user to enroll in the carlos-sockets group (repeatable); members may dial every instance socket on the box\n"} |
| {"case":"bootstrap | -h","argv":["bootstrap","-h"],"exit":0,"stdout":"","stderr":"usage: carlos bootstrap [flags]\nflags:\n --offcloud off-cloud box: require a staged 0600 credentials file instead of an EC2 instance profile\n --plan-json with -root: print the arming plan as JSON on stdout instead of the human summary\n --root <string> install root; a staging dir writes files only (no user creation, no systemctl) (default: /)\n --socket-consumer <value> host-app user to enroll in the carlos-sockets group (repeatable); members may dial every instance socket on the box\n"} |
| {"case":"canary ./site | extra","argv":["canary","./site"],"exit":1,"stdout":"","stderr":"not in a git repository — pass --version\n"} |
| -{"case":"canary delete | --zz-unknown-flag","argv":["canary","delete","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 canary belongs to\n --console <string> console to remove 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 --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary delete | -h","argv":["canary","delete","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 canary belongs to\n --console <string> console to remove 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 --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary deploy | --zz-unknown-flag","argv":["canary","deploy","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 to canary\n --console <string> console to deploy 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 the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| -{"case":"canary deploy | -h","argv":["canary","deploy","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 to canary\n --console <string> console to deploy 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 the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| -{"case":"canary list -h | extra","argv":["canary","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 whose canaries to list\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 --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary list | --zz-unknown-flag","argv":["canary","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 whose canaries to list\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 --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary list | -h","argv":["canary","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 whose canaries to list\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 --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary ls | --zz-unknown-flag","argv":["canary","ls","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 whose canaries to list\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 --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary ls | -h","argv":["canary","ls","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 whose canaries to list\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 --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary retire | --zz-unknown-flag","argv":["canary","retire","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 canary belongs to\n --console <string> console to retire 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 --name <string> canary to retire\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary retire | -h","argv":["canary","retire","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 canary belongs to\n --console <string> console to retire 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 --name <string> canary to retire\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary rm | --zz-unknown-flag","argv":["canary","rm","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 canary belongs to\n --console <string> console to remove 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 --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary rm | -h","argv":["canary","rm","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 canary belongs to\n --console <string> console to remove 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 --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"canary | --help","argv":["canary","--help"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 to canary\n --console <string> console to deploy 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 the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| -{"case":"canary | --zz-unknown-flag","argv":["canary","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 to canary\n --console <string> console to deploy 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 the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| -{"case":"canary | -h","argv":["canary","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\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 to canary\n --console <string> console to deploy 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 the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| -{"case":"canary | bare","argv":["canary"],"exit":1,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: it deletes nothing.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel, once nothing has followed it for 15 minutes. Shipped releases stay.\n"} |
| +{"case":"canary delete | --zz-unknown-flag","argv":["canary","delete","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 canary belongs to\n --console <string> console to remove 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 --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary delete | -h","argv":["canary","delete","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 canary belongs to\n --console <string> console to remove 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 --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary deploy | --zz-unknown-flag","argv":["canary","deploy","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 to canary\n --console <string> console to deploy 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 the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| +{"case":"canary deploy | -h","argv":["canary","deploy","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 to canary\n --console <string> console to deploy 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 the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| +{"case":"canary list -h | extra","argv":["canary","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 whose canaries to list\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 --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary list | --zz-unknown-flag","argv":["canary","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 whose canaries to list\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 --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary list | -h","argv":["canary","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 whose canaries to list\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 --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary ls | --zz-unknown-flag","argv":["canary","ls","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 whose canaries to list\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 --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary ls | -h","argv":["canary","ls","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 whose canaries to list\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 --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary retire | --zz-unknown-flag","argv":["canary","retire","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 canary belongs to\n --console <string> console to retire 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 --name <string> canary to retire\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary retire | -h","argv":["canary","retire","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 canary belongs to\n --console <string> console to retire 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 --name <string> canary to retire\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary rm | --zz-unknown-flag","argv":["canary","rm","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 canary belongs to\n --console <string> console to remove 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 --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary rm | -h","argv":["canary","rm","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 canary belongs to\n --console <string> console to remove 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 --name <string> canary name to remove\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"canary | --help","argv":["canary","--help"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 to canary\n --console <string> console to deploy 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 the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| +{"case":"canary | --zz-unknown-flag","argv":["canary","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 to canary\n --console <string> console to deploy 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 the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| +{"case":"canary | -h","argv":["canary","-h"],"exit":0,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\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 to canary\n --console <string> console to deploy 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 the canary binds to (default: the app's default bundle)\n --kind <string> binary | static (default: binary)\n --label <string> one line for humans — shows up in carlos releases and in the console\n --mail <string> declare this build's mail transport. the one value is submit: the build sends through carlos's submission socket when CARLOS_MAIL=submit is set\n --name <string> canary name (default: the current git branch, slugified)\n --region <string> region for the canary instance (default: the app's region)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that owns --environment, named explicitly (carlos env adopt)\n --target <string> GOOS-GOARCH the binary was built for (binary kind, single file) (default: linux-arm64)\n --timeout <duration> how long to watch the canary URL before failing (default: 2m0s)\n --version, -v <string> version (default: git rev-parse --short HEAD)\n"} |
| +{"case":"canary | bare","argv":["canary"],"exit":1,"stdout":"","stderr":"usage: carlos canary [deploy] --app <a> [--name <n>] [--version <sha>] [--kind binary|static]\n [--region <code>] [--environment <e>] [--target <goos-goarch>] [--label <l>]\n [--mail submit] [--timeout 120s] <files-or-site-dir>\n carlos canary ls --app <a>\n carlos canary rm --app <a> --name <n>\n carlos canary retire --app <a> --name <n>\n\nShips a version and serves it on its own host, following its own canary/<name>\nchannel, without touching what the app's other instances serve. The bare form\nis deploy.\n\n--name defaults to the current git branch, slugified. The canary's host is\n<name>-<app>.<your account's platform domain>, and its channel is\ncanary/<name>.\n\n--environment binds the canary to one of the app's named config bundles.\nReach for it whenever the app carries config: bundles are per-app, so without\none the canary serves values naming the app's MAIN host, and anything keyed to\na single origin — the Origin header the app compares against, magic-link URLs,\na WebAuthn RP ID, the cookie Secure flag — refuses requests on the canary host\nwhile GETs look healthy. \"carlos env --app <a> --environment <e> KEY=V\" writes\na bundle; this flag points the canary at it.\n\nPromotion into a canary is allowed from any rung, unless email submission is\non and the build lacks --mail submit. A canary costs no rung: a build that has\nbeen on one still enters the pipeline as a fresh build, so canarying and then\npromoting to edge is the ordinary path, not a bypass.\n\nCanaries carry a seven-day lease, refreshed by every re-promote. \"canary ls\"\nshows what is left of it. An expired lease only warns: the canary keeps\nserving and nothing is deleted.\n\n\"canary rm\" deletes the canary's instance. \"canary retire\" then deletes its\nchannel when no host follows it and the app's instances have been unchanged\nfor 15 minutes. Shipped releases stay.\n"} |
| {"case":"canary | help","argv":["canary","help"],"exit":1,"stdout":"","stderr":"not in a git repository — pass --version\n"} |
| {"case":"canary | zz-unknown","argv":["canary","zz-unknown"],"exit":1,"stdout":"","stderr":"not in a git repository — pass --version\n"} |
| {"case":"channels digests --account-id x on | extra","argv":["channels","digests","--account-id","x","on"],"exit":1,"stdout":"","stderr":"usage: carlos channels digests [on|off] [--account-id <sqid>]...\n"} |