carlos / platform Public

test: re-record CLI golden and scan appconfig_cli.go for #522

Two gate checks main added since the branch last merged:

- testdata/clireg-golden.jsonl re-recorded from 557113fb: the env and
  secrets help now carry --if-version and --digests, and env effective
  and env digest have cases of their own. No other case changed.
- appconfig_cli.go imports internal/moves, so the moves copy scan must
  list it once a branch changes it (TestMovesScanFilesCoverTheDiff).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 7c0f7add451cae4f87c38b37eb057e8cdc84c0be parent 557113f
2 files changed, +31 −24
  • approved_moves_copy_test.go +3 −0
  • testdata/clireg-golden.jsonl +28 −24
diff --git a/approved_moves_copy_test.go b/approved_moves_copy_test.go
index 8af76bfe3..908f5f610 100644
--- a/approved_moves_copy_test.go
+++ b/approved_moves_copy_test.go
@@ -1403,6 +1403,9 @@ var movesScanFiles = []string{
"internal/host/relocationlanding.go",
"internal/host/relocationowners.go",
"internal/host/relocationwake.go",
+ // Config receipts (#522 plan 1) changed the env and secrets verbs in
+ // this file, which imports internal/moves to read moves.ConsoleKey.
+ "appconfig_cli.go",
}
// The scan's base is the main commit moves-phase1 last merged: the diff from
diff --git a/testdata/clireg-golden.jsonl b/testdata/clireg-golden.jsonl
index 04cb741d6..66a23d5e3 100644
--- a/testdata/clireg-golden.jsonl
+++ b/testdata/clireg-golden.jsonl
@@ -312,28 +312,32 @@
{"case":"email | zz-unknown","argv":["email","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos email <enable|domains|status|test|credentials|submission|rotate|pause|resume> [flags]\n\n enable --app <a> [--env-prefix <PREFIX>] [--from <addr>] [--domain <d>] [--timeout <dur>]\n declare, ensure a sending domain, wait for it to\n verify, then enable delivery — the one-command\n path. --domain defaults to the domain half of\n --from; --from defaults to noreply@<domain> when\n only --domain is given. On a custom domain, the\n record set to publish is printed once, then this\n keeps polling (default 10m, --timeout to change)\n until SES confirms it or the wait gives up — a\n gave-up wait exits non-zero naming what SES has\n not confirmed (DKIM, MAIL FROM, or sending).\n domains add --app <a> [--timeout <dur>] <domain>\n the domain half of enable on its own: ensure a\n sending domain for an app already declared, print\n the record set on a custom domain, and poll to\n verified the same way.\n domains rm --app <a> <domain>\n stop this app sending from a domain and, when it\n was the LAST app using it, tear the SES identity\n down and RELEASE the global claim — the only way\n short of deleting the app to make a domain\n claimable by another CARLOS account again.\n Refused while <domain> is where this app's own\n From address sits: move that first. A custom\n domain's DNS is yours, so the now-stale records\n are printed rather than deleted.\n status --app <a> domains and their per-region verification state,\n today's counts against the cap, and the pause\n state.\n events --app <a> [--since <dur|time>] [--message <id>] [--to <addr>] [-n <count>] [--json]\n what happened to each message the app sent —\n delivered, bounced, complained about, delayed —\n newest first, with what the receiving server\n said. Kept for 30 days. --message takes the id SES\n gave the message when it was sent.\n events push --app <a> [--path <p> | --off] [--json]\n tell the app itself: POST each delivery, bounce,\n complaint, rejection and delay SES attributes to\n it, signed, to <p> on its own platform host. The\n verifying key is delivered as CARLOS_MAIL_EVENTS_KEY.\n Bare, shows where events go and how delivery is\n going; --off stops it.\n test --app <a> --to <addr>\n send a REAL message and report the result — the\n verify half of the no-infra rule: this is the\n command that proves email actually works, not\n just that the console says it should. Sends\n through a throwaway standalone credential, minted\n and revoked around the send; it never touches the\n delivered credential's password, which this CLI\n cannot read back out.\n credentials create --app <a> --name <n>\n mint a standalone credential for something not\n running on CARLOS — a laptop, a cron box. Shown\n ONCE, on this command's stdout, and nowhere else.\n credentials list --app <a>\n the standalone credentials that exist — names and\n key ids, never a password (status carries this\n too; a memorable second entry point for it).\n credentials revoke --app <a> --name <n>\n delete one standalone credential and its own IAM\n principal.\n submission on|off --app <a>\n send through the box, with no SMTP credential in\n the app (on), or deliver the credential again (off).\n rotate --app <a> [--finish]\n mint a fresh delivered credential, leaving the old\n one live until --finish deletes it.\n pause --app <a> stop this app's sending — operator only.\n resume --app <a> resume it — operator only. this lifts a plan's\n email hold too, until the app's next send while its\n limit is still used up\n\n --account <sqid|name> account the app belongs to (default: your only\n account, or the configured/chosen one).\n --account-id <sqid> account sqid, matched as a sqid ONLY.\n --console <origin> which logged-in console to use (only needed with\n several).\n\nSigned-in only (carlos auth login): email lives in the console's own\ndeployment bucket and every verb here calls out to it; there is no\ndirect-bucket equivalent.\n"}
{"case":"env adopt | --zz-unknown-flag","argv":["env","adopt","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos env adopt [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work 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> the environment to adopt\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that will own it\n"}
{"case":"env adopt | -h","argv":["env","adopt","-h"],"exit":0,"stdout":"","stderr":"usage: carlos env adopt [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work 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> the environment to adopt\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that will own it\n"}
+{"case":"env digest | --zz-unknown-flag","argv":["env","digest","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos env digest --kind env --value <v>\n or: carlos env digest --kind secret --envelope-file <path> [--sealed-to <fp>]\nflags:\n --envelope-file <string> a file containing the sealed envelope that was sent (--kind secret)\n --kind <string> \"env\" for a plain var, \"secret\" for a sealed one\n --sealed-to <string> the fingerprint the secret was sealed to, as sent in sealed_to (--kind secret). carlos secrets set always sends one\n --value <string> the plain var's value (--kind env)\n"}
+{"case":"env digest | -h","argv":["env","digest","-h"],"exit":0,"stdout":"","stderr":"usage: carlos env digest --kind env --value <v>\n or: carlos env digest --kind secret --envelope-file <path> [--sealed-to <fp>]\nflags:\n --envelope-file <string> a file containing the sealed envelope that was sent (--kind secret)\n --kind <string> \"env\" for a plain var, \"secret\" for a sealed one\n --sealed-to <string> the fingerprint the secret was sealed to, as sent in sealed_to (--kind secret). carlos secrets set always sends one\n --value <string> the plain var's value (--kind env)\n"}
+{"case":"env effective | --zz-unknown-flag","argv":["env","effective","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos env effective [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --host <string> the route to show (one of the app's hosts)\n --json print the console's answer as JSON\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
+{"case":"env effective | -h","argv":["env","effective","-h"],"exit":0,"stdout":"","stderr":"usage: carlos env effective [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --host <string> the route to show (one of the app's hosts)\n --json print the console's answer as JSON\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
{"case":"env environments | --zz-unknown-flag","argv":["env","environments","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos env environments [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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":"env environments | -h","argv":["env","environments","-h"],"exit":0,"stdout":"","stderr":"usage: carlos env environments [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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":"env exec-delivery | --zz-unknown-flag","argv":["env","exec-delivery","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos env exec-delivery [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to set the flag in (omit for the app's default bundle)\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
{"case":"env exec-delivery | -h","argv":["env","exec-delivery","-h"],"exit":0,"stdout":"","stderr":"usage: carlos env exec-delivery [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to set the flag in (omit for the app's default bundle)\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
{"case":"env fork | --zz-unknown-flag","argv":["env","fork","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos env fork [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work 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 --from <string> the environment to copy from (never the default bundle)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that will own it\n --to <string> the environment to create\n"}
{"case":"env fork | -h","argv":["env","fork","-h"],"exit":0,"stdout":"","stderr":"usage: carlos env fork [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work 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 --from <string> the environment to copy from (never the default bundle)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --scope <string> the team scope that will own it\n --to <string> the environment to create\n"}
-{"case":"env list | --zz-unknown-flag","argv":["env","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos env list [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to list (omit for the default bundle)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
-{"case":"env list | -h","argv":["env","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos env list [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to list (omit for the default bundle)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
+{"case":"env list | --zz-unknown-flag","argv":["env","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos env list [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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 --digests add each var's digest\n --environment, -e <string> named environment bundle to list (omit for the default bundle)\n --json print the bundle as JSON, including its version and every digest\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
+{"case":"env list | -h","argv":["env","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos env list [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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 --digests add each var's digest\n --environment, -e <string> named environment bundle to list (omit for the default bundle)\n --json print the bundle as JSON, including its version and every digest\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
{"case":"env release | --zz-unknown-flag","argv":["env","release","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos env release [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work 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> the environment to release\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
{"case":"env release | -h","argv":["env","release","-h"],"exit":0,"stdout":"","stderr":"usage: carlos env release [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work 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> the environment to release\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
-{"case":"env set | --zz-unknown-flag","argv":["env","set","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos env set [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to set in (omit for the default bundle)\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
-{"case":"env set | -h","argv":["env","set","-h"],"exit":0,"stdout":"","stderr":"usage: carlos env set [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to set in (omit for the default bundle)\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
+{"case":"env set | --zz-unknown-flag","argv":["env","set","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos env set [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to set in (omit for the default bundle)\n --if-version <string> write only if the bundle is at this version (\"none\": only if it does not exist yet). needs a console\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
+{"case":"env set | -h","argv":["env","set","-h"],"exit":0,"stdout":"","stderr":"usage: carlos env set [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to set in (omit for the default bundle)\n --if-version <string> write only if the bundle is at this version (\"none\": only if it does not exist yet). needs a console\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
{"case":"env sync | --zz-unknown-flag","argv":["env","sync","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos env sync [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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":"env sync | -h","argv":["env","sync","-h"],"exit":0,"stdout":"","stderr":"usage: carlos env sync [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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":"env unset | --zz-unknown-flag","argv":["env","unset","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos env unset [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to remove from (omit for the default bundle)\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
-{"case":"env unset | -h","argv":["env","unset","-h"],"exit":0,"stdout":"","stderr":"usage: carlos env unset [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to remove from (omit for the default bundle)\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
-{"case":"env | --help","argv":["env","--help"],"exit":1,"stdout":"","stderr":"usage: carlos env <command>\n\ncommands:\n set --app <a> [--environment <name>] KEY=value [KEY2=value2 ...] set one or more plain config vars\n unset --app <a> [--environment <name>] KEY [KEY2 ...] remove config vars\n list --app <a> [--environment <name>] list an app's config vars\n environments --app <a> list an app's named environment bundles\n exec-delivery --app <a> [--environment <name>] file|off|inherit opt one bundle's TCP-addr exec routes into config delivery\n sync --app <a> request immediate config convergence (issue #44)\n adopt --app <a> --environment <e> --scope <s> mark an unbound environment as owned by a team scope\n release --app <a> --environment <e> clear an unbound environment's team scope\n fork --app <a> --from <e> --to <n> --scope <s> copy an environment's own keys into a new one a team scope owns\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json,\nlayered on top of the default bundle (config.json) at materialization time —\nsee LoadMerged. Omit --environment for the default bundle itself. The bundle\nis created implicitly on its first \"set\", same as config.json today.\n\nexec-delivery sets \"exec_delivery\" in ONE bundle. \"file\" makes SyncExec\nwrite /data/<host>.config.env for the TCP-addr exec routes that resolve\nthrough that bundle (routes carlos proxies to but does not spawn — e.g.\ntitogo's router fleet) exactly as it already does for socket-exec routes,\nbut those routes are NEVER bounced: carlos does not own the process, so the\napp's own supervisor owns the restart.\n\nWithout --environment it is the app's default bundle, and \"off\" clears it.\nWith --environment it is that bundle alone, and \"inherit\" clears it — a\nbundle that says nothing takes the app default's answer, so clearing there\nis NOT the same as turning delivery off. To deliver to one service only:\nturn the app default off, then set \"file\" on the bundle its route is bound\nto (carlos route --host <h> --environment <name> binds it).\n\nTurning the app default off does NOT delete files already written for\nroutes that lose the opt-in: they hold decrypted secrets, and carlos cannot\nknow when the app's own supervisor has stopped reading them. It names each\none in its log every pass until you delete it by hand.\n\nsync touches apps/<acct>/<app>/config-gen.json — the agent's fast poll loop\n(host package) notices within ~3s and re-renders exec-backed instances;\nunit-backed routes converge in seconds on a box whose trigger unit\n(carlos-adopt.path) is armed, and on the next hourly root pass otherwise —\nthe agent can only request that pass, not write /etc or restart units\nitself. It never restarts a box's shared edge service, only the one app's\nown delivery.\n\nadopt, release and fork are an account owner's acts, through a logged-in\nconsole only: an environment a team scope owns is standalone (it never\ninherits the default bundle) and receives platform credentials minted for\nit alone. adopt and release refuse while any instance is bound to the\nenvironment; fork never copies the default bundle's keys or a\nplatform-managed one.\n\nEvery command above also works through a logged-in console\n(carlos auth login) when CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are\nunset — [--console <origin>] picks which logged-in console when more than one\nis configured; the store env vars win outright when set (direct-bucket\nmode, unchanged).\n"}
-{"case":"env | --zz-unknown-flag","argv":["env","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"usage: carlos env <command>\n\ncommands:\n set --app <a> [--environment <name>] KEY=value [KEY2=value2 ...] set one or more plain config vars\n unset --app <a> [--environment <name>] KEY [KEY2 ...] remove config vars\n list --app <a> [--environment <name>] list an app's config vars\n environments --app <a> list an app's named environment bundles\n exec-delivery --app <a> [--environment <name>] file|off|inherit opt one bundle's TCP-addr exec routes into config delivery\n sync --app <a> request immediate config convergence (issue #44)\n adopt --app <a> --environment <e> --scope <s> mark an unbound environment as owned by a team scope\n release --app <a> --environment <e> clear an unbound environment's team scope\n fork --app <a> --from <e> --to <n> --scope <s> copy an environment's own keys into a new one a team scope owns\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json,\nlayered on top of the default bundle (config.json) at materialization time —\nsee LoadMerged. Omit --environment for the default bundle itself. The bundle\nis created implicitly on its first \"set\", same as config.json today.\n\nexec-delivery sets \"exec_delivery\" in ONE bundle. \"file\" makes SyncExec\nwrite /data/<host>.config.env for the TCP-addr exec routes that resolve\nthrough that bundle (routes carlos proxies to but does not spawn — e.g.\ntitogo's router fleet) exactly as it already does for socket-exec routes,\nbut those routes are NEVER bounced: carlos does not own the process, so the\napp's own supervisor owns the restart.\n\nWithout --environment it is the app's default bundle, and \"off\" clears it.\nWith --environment it is that bundle alone, and \"inherit\" clears it — a\nbundle that says nothing takes the app default's answer, so clearing there\nis NOT the same as turning delivery off. To deliver to one service only:\nturn the app default off, then set \"file\" on the bundle its route is bound\nto (carlos route --host <h> --environment <name> binds it).\n\nTurning the app default off does NOT delete files already written for\nroutes that lose the opt-in: they hold decrypted secrets, and carlos cannot\nknow when the app's own supervisor has stopped reading them. It names each\none in its log every pass until you delete it by hand.\n\nsync touches apps/<acct>/<app>/config-gen.json — the agent's fast poll loop\n(host package) notices within ~3s and re-renders exec-backed instances;\nunit-backed routes converge in seconds on a box whose trigger unit\n(carlos-adopt.path) is armed, and on the next hourly root pass otherwise —\nthe agent can only request that pass, not write /etc or restart units\nitself. It never restarts a box's shared edge service, only the one app's\nown delivery.\n\nadopt, release and fork are an account owner's acts, through a logged-in\nconsole only: an environment a team scope owns is standalone (it never\ninherits the default bundle) and receives platform credentials minted for\nit alone. adopt and release refuse while any instance is bound to the\nenvironment; fork never copies the default bundle's keys or a\nplatform-managed one.\n\nEvery command above also works through a logged-in console\n(carlos auth login) when CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are\nunset — [--console <origin>] picks which logged-in console when more than one\nis configured; the store env vars win outright when set (direct-bucket\nmode, unchanged).\n"}
-{"case":"env | -h","argv":["env","-h"],"exit":1,"stdout":"","stderr":"usage: carlos env <command>\n\ncommands:\n set --app <a> [--environment <name>] KEY=value [KEY2=value2 ...] set one or more plain config vars\n unset --app <a> [--environment <name>] KEY [KEY2 ...] remove config vars\n list --app <a> [--environment <name>] list an app's config vars\n environments --app <a> list an app's named environment bundles\n exec-delivery --app <a> [--environment <name>] file|off|inherit opt one bundle's TCP-addr exec routes into config delivery\n sync --app <a> request immediate config convergence (issue #44)\n adopt --app <a> --environment <e> --scope <s> mark an unbound environment as owned by a team scope\n release --app <a> --environment <e> clear an unbound environment's team scope\n fork --app <a> --from <e> --to <n> --scope <s> copy an environment's own keys into a new one a team scope owns\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json,\nlayered on top of the default bundle (config.json) at materialization time —\nsee LoadMerged. Omit --environment for the default bundle itself. The bundle\nis created implicitly on its first \"set\", same as config.json today.\n\nexec-delivery sets \"exec_delivery\" in ONE bundle. \"file\" makes SyncExec\nwrite /data/<host>.config.env for the TCP-addr exec routes that resolve\nthrough that bundle (routes carlos proxies to but does not spawn — e.g.\ntitogo's router fleet) exactly as it already does for socket-exec routes,\nbut those routes are NEVER bounced: carlos does not own the process, so the\napp's own supervisor owns the restart.\n\nWithout --environment it is the app's default bundle, and \"off\" clears it.\nWith --environment it is that bundle alone, and \"inherit\" clears it — a\nbundle that says nothing takes the app default's answer, so clearing there\nis NOT the same as turning delivery off. To deliver to one service only:\nturn the app default off, then set \"file\" on the bundle its route is bound\nto (carlos route --host <h> --environment <name> binds it).\n\nTurning the app default off does NOT delete files already written for\nroutes that lose the opt-in: they hold decrypted secrets, and carlos cannot\nknow when the app's own supervisor has stopped reading them. It names each\none in its log every pass until you delete it by hand.\n\nsync touches apps/<acct>/<app>/config-gen.json — the agent's fast poll loop\n(host package) notices within ~3s and re-renders exec-backed instances;\nunit-backed routes converge in seconds on a box whose trigger unit\n(carlos-adopt.path) is armed, and on the next hourly root pass otherwise —\nthe agent can only request that pass, not write /etc or restart units\nitself. It never restarts a box's shared edge service, only the one app's\nown delivery.\n\nadopt, release and fork are an account owner's acts, through a logged-in\nconsole only: an environment a team scope owns is standalone (it never\ninherits the default bundle) and receives platform credentials minted for\nit alone. adopt and release refuse while any instance is bound to the\nenvironment; fork never copies the default bundle's keys or a\nplatform-managed one.\n\nEvery command above also works through a logged-in console\n(carlos auth login) when CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are\nunset — [--console <origin>] picks which logged-in console when more than one\nis configured; the store env vars win outright when set (direct-bucket\nmode, unchanged).\n"}
-{"case":"env | bare","argv":["env"],"exit":1,"stdout":"","stderr":"usage: carlos env <command>\n\ncommands:\n set --app <a> [--environment <name>] KEY=value [KEY2=value2 ...] set one or more plain config vars\n unset --app <a> [--environment <name>] KEY [KEY2 ...] remove config vars\n list --app <a> [--environment <name>] list an app's config vars\n environments --app <a> list an app's named environment bundles\n exec-delivery --app <a> [--environment <name>] file|off|inherit opt one bundle's TCP-addr exec routes into config delivery\n sync --app <a> request immediate config convergence (issue #44)\n adopt --app <a> --environment <e> --scope <s> mark an unbound environment as owned by a team scope\n release --app <a> --environment <e> clear an unbound environment's team scope\n fork --app <a> --from <e> --to <n> --scope <s> copy an environment's own keys into a new one a team scope owns\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json,\nlayered on top of the default bundle (config.json) at materialization time —\nsee LoadMerged. Omit --environment for the default bundle itself. The bundle\nis created implicitly on its first \"set\", same as config.json today.\n\nexec-delivery sets \"exec_delivery\" in ONE bundle. \"file\" makes SyncExec\nwrite /data/<host>.config.env for the TCP-addr exec routes that resolve\nthrough that bundle (routes carlos proxies to but does not spawn — e.g.\ntitogo's router fleet) exactly as it already does for socket-exec routes,\nbut those routes are NEVER bounced: carlos does not own the process, so the\napp's own supervisor owns the restart.\n\nWithout --environment it is the app's default bundle, and \"off\" clears it.\nWith --environment it is that bundle alone, and \"inherit\" clears it — a\nbundle that says nothing takes the app default's answer, so clearing there\nis NOT the same as turning delivery off. To deliver to one service only:\nturn the app default off, then set \"file\" on the bundle its route is bound\nto (carlos route --host <h> --environment <name> binds it).\n\nTurning the app default off does NOT delete files already written for\nroutes that lose the opt-in: they hold decrypted secrets, and carlos cannot\nknow when the app's own supervisor has stopped reading them. It names each\none in its log every pass until you delete it by hand.\n\nsync touches apps/<acct>/<app>/config-gen.json — the agent's fast poll loop\n(host package) notices within ~3s and re-renders exec-backed instances;\nunit-backed routes converge in seconds on a box whose trigger unit\n(carlos-adopt.path) is armed, and on the next hourly root pass otherwise —\nthe agent can only request that pass, not write /etc or restart units\nitself. It never restarts a box's shared edge service, only the one app's\nown delivery.\n\nadopt, release and fork are an account owner's acts, through a logged-in\nconsole only: an environment a team scope owns is standalone (it never\ninherits the default bundle) and receives platform credentials minted for\nit alone. adopt and release refuse while any instance is bound to the\nenvironment; fork never copies the default bundle's keys or a\nplatform-managed one.\n\nEvery command above also works through a logged-in console\n(carlos auth login) when CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are\nunset — [--console <origin>] picks which logged-in console when more than one\nis configured; the store env vars win outright when set (direct-bucket\nmode, unchanged).\n"}
-{"case":"env | help","argv":["env","help"],"exit":1,"stdout":"","stderr":"usage: carlos env <command>\n\ncommands:\n set --app <a> [--environment <name>] KEY=value [KEY2=value2 ...] set one or more plain config vars\n unset --app <a> [--environment <name>] KEY [KEY2 ...] remove config vars\n list --app <a> [--environment <name>] list an app's config vars\n environments --app <a> list an app's named environment bundles\n exec-delivery --app <a> [--environment <name>] file|off|inherit opt one bundle's TCP-addr exec routes into config delivery\n sync --app <a> request immediate config convergence (issue #44)\n adopt --app <a> --environment <e> --scope <s> mark an unbound environment as owned by a team scope\n release --app <a> --environment <e> clear an unbound environment's team scope\n fork --app <a> --from <e> --to <n> --scope <s> copy an environment's own keys into a new one a team scope owns\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json,\nlayered on top of the default bundle (config.json) at materialization time —\nsee LoadMerged. Omit --environment for the default bundle itself. The bundle\nis created implicitly on its first \"set\", same as config.json today.\n\nexec-delivery sets \"exec_delivery\" in ONE bundle. \"file\" makes SyncExec\nwrite /data/<host>.config.env for the TCP-addr exec routes that resolve\nthrough that bundle (routes carlos proxies to but does not spawn — e.g.\ntitogo's router fleet) exactly as it already does for socket-exec routes,\nbut those routes are NEVER bounced: carlos does not own the process, so the\napp's own supervisor owns the restart.\n\nWithout --environment it is the app's default bundle, and \"off\" clears it.\nWith --environment it is that bundle alone, and \"inherit\" clears it — a\nbundle that says nothing takes the app default's answer, so clearing there\nis NOT the same as turning delivery off. To deliver to one service only:\nturn the app default off, then set \"file\" on the bundle its route is bound\nto (carlos route --host <h> --environment <name> binds it).\n\nTurning the app default off does NOT delete files already written for\nroutes that lose the opt-in: they hold decrypted secrets, and carlos cannot\nknow when the app's own supervisor has stopped reading them. It names each\none in its log every pass until you delete it by hand.\n\nsync touches apps/<acct>/<app>/config-gen.json — the agent's fast poll loop\n(host package) notices within ~3s and re-renders exec-backed instances;\nunit-backed routes converge in seconds on a box whose trigger unit\n(carlos-adopt.path) is armed, and on the next hourly root pass otherwise —\nthe agent can only request that pass, not write /etc or restart units\nitself. It never restarts a box's shared edge service, only the one app's\nown delivery.\n\nadopt, release and fork are an account owner's acts, through a logged-in\nconsole only: an environment a team scope owns is standalone (it never\ninherits the default bundle) and receives platform credentials minted for\nit alone. adopt and release refuse while any instance is bound to the\nenvironment; fork never copies the default bundle's keys or a\nplatform-managed one.\n\nEvery command above also works through a logged-in console\n(carlos auth login) when CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are\nunset — [--console <origin>] picks which logged-in console when more than one\nis configured; the store env vars win outright when set (direct-bucket\nmode, unchanged).\n"}
-{"case":"env | zz-unknown","argv":["env","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos env <command>\n\ncommands:\n set --app <a> [--environment <name>] KEY=value [KEY2=value2 ...] set one or more plain config vars\n unset --app <a> [--environment <name>] KEY [KEY2 ...] remove config vars\n list --app <a> [--environment <name>] list an app's config vars\n environments --app <a> list an app's named environment bundles\n exec-delivery --app <a> [--environment <name>] file|off|inherit opt one bundle's TCP-addr exec routes into config delivery\n sync --app <a> request immediate config convergence (issue #44)\n adopt --app <a> --environment <e> --scope <s> mark an unbound environment as owned by a team scope\n release --app <a> --environment <e> clear an unbound environment's team scope\n fork --app <a> --from <e> --to <n> --scope <s> copy an environment's own keys into a new one a team scope owns\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json,\nlayered on top of the default bundle (config.json) at materialization time —\nsee LoadMerged. Omit --environment for the default bundle itself. The bundle\nis created implicitly on its first \"set\", same as config.json today.\n\nexec-delivery sets \"exec_delivery\" in ONE bundle. \"file\" makes SyncExec\nwrite /data/<host>.config.env for the TCP-addr exec routes that resolve\nthrough that bundle (routes carlos proxies to but does not spawn — e.g.\ntitogo's router fleet) exactly as it already does for socket-exec routes,\nbut those routes are NEVER bounced: carlos does not own the process, so the\napp's own supervisor owns the restart.\n\nWithout --environment it is the app's default bundle, and \"off\" clears it.\nWith --environment it is that bundle alone, and \"inherit\" clears it — a\nbundle that says nothing takes the app default's answer, so clearing there\nis NOT the same as turning delivery off. To deliver to one service only:\nturn the app default off, then set \"file\" on the bundle its route is bound\nto (carlos route --host <h> --environment <name> binds it).\n\nTurning the app default off does NOT delete files already written for\nroutes that lose the opt-in: they hold decrypted secrets, and carlos cannot\nknow when the app's own supervisor has stopped reading them. It names each\none in its log every pass until you delete it by hand.\n\nsync touches apps/<acct>/<app>/config-gen.json — the agent's fast poll loop\n(host package) notices within ~3s and re-renders exec-backed instances;\nunit-backed routes converge in seconds on a box whose trigger unit\n(carlos-adopt.path) is armed, and on the next hourly root pass otherwise —\nthe agent can only request that pass, not write /etc or restart units\nitself. It never restarts a box's shared edge service, only the one app's\nown delivery.\n\nadopt, release and fork are an account owner's acts, through a logged-in\nconsole only: an environment a team scope owns is standalone (it never\ninherits the default bundle) and receives platform credentials minted for\nit alone. adopt and release refuse while any instance is bound to the\nenvironment; fork never copies the default bundle's keys or a\nplatform-managed one.\n\nEvery command above also works through a logged-in console\n(carlos auth login) when CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are\nunset — [--console <origin>] picks which logged-in console when more than one\nis configured; the store env vars win outright when set (direct-bucket\nmode, unchanged).\n"}
+{"case":"env unset | --zz-unknown-flag","argv":["env","unset","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos env unset [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to remove from (omit for the default bundle)\n --if-version <string> write only if the bundle is at this version (\"none\": only if it does not exist yet). needs a console\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
+{"case":"env unset | -h","argv":["env","unset","-h"],"exit":0,"stdout":"","stderr":"usage: carlos env unset [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to remove from (omit for the default bundle)\n --if-version <string> write only if the bundle is at this version (\"none\": only if it does not exist yet). needs a console\n --message <string> Add a short note describing this change (shown alongside the recorded action).\n --no-prompt Skip the optional change description prompt.\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
+{"case":"env | --help","argv":["env","--help"],"exit":1,"stdout":"","stderr":"usage: carlos env <command>\n\ncommands:\n set --app <a> [--environment <name>] [--if-version <v>] KEY=value [KEY2=value2 ...] set one or more plain config vars\n unset --app <a> [--environment <name>] [--if-version <v>] KEY [KEY2 ...] remove config vars\n list --app <a> [--environment <name>] [--digests] [--json] list an app's config vars and the bundle's version\n effective --app <a> --host <h> [--json] show what one route gets from each config layer\n digest --kind env --value <v> print a plain var's digest for comparison\n digest --kind secret --envelope-file <path> [--sealed-to <fp>] print a secret's digest from the envelope that was sent\n environments --app <a> list an app's named environment bundles\n exec-delivery --app <a> [--environment <name>] file|off|inherit opt one bundle's TCP-addr exec routes into config delivery\n sync --app <a> request immediate config convergence (issue #44)\n adopt --app <a> --environment <e> --scope <s> mark an unbound environment as owned by a team scope\n release --app <a> --environment <e> clear an unbound environment's team scope\n fork --app <a> --from <e> --to <n> --scope <s> copy an environment's own keys into a new one a team scope owns\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json,\nlayered on top of the default bundle (config.json) at materialization time —\nsee LoadMerged. Omit --environment for the default bundle itself. The bundle\nis created implicitly on its first \"set\", same as config.json today.\n\nexec-delivery sets \"exec_delivery\" in ONE bundle. \"file\" makes SyncExec\nwrite /data/<host>.config.env for the TCP-addr exec routes that resolve\nthrough that bundle (routes carlos proxies to but does not spawn — e.g.\ntitogo's router fleet) exactly as it already does for socket-exec routes,\nbut those routes are NEVER bounced: carlos does not own the process, so the\napp's own supervisor owns the restart.\n\nWithout --environment it is the app's default bundle, and \"off\" clears it.\nWith --environment it is that bundle alone, and \"inherit\" clears it — a\nbundle that says nothing takes the app default's answer, so clearing there\nis NOT the same as turning delivery off. To deliver to one service only:\nturn the app default off, then set \"file\" on the bundle its route is bound\nto (carlos route --host <h> --environment <name> binds it).\n\nTurning the app default off does NOT delete files already written for\nroutes that lose the opt-in: they hold decrypted secrets, and carlos cannot\nknow when the app's own supervisor has stopped reading them. It names each\none in its log every pass until you delete it by hand.\n\nsync touches apps/<acct>/<app>/config-gen.json — the agent's fast poll loop\n(host package) notices within ~3s and re-renders exec-backed instances;\nunit-backed routes converge in seconds on a box whose trigger unit\n(carlos-adopt.path) is armed, and on the next hourly root pass otherwise —\nthe agent can only request that pass, not write /etc or restart units\nitself. It never restarts a box's shared edge service, only the one app's\nown delivery.\n\nevery bundle has a version, which changes whenever its contents change,\nand every var has a digest, which changes whenever that var changes. list\nshows the version, and --digests adds the digests. set and unset print a\nreceipt with what changed and the version after. --if-version <v> writes\nonly if the bundle is still at version v (\"none\" if it must not exist\nyet). otherwise nothing is written, the current version is printed and\ncarlos exits with code 4. --if-version needs a console\n\neffective shows, for one route, each key, the layer it comes from (default,\nenvironment or overlay) and the lower layers it hides. it works through a\nconsole only.\n\ndigest computes a digest locally. for a secret, pass the envelope that was\nsent and, with --sealed-to, the fingerprint of the key it was sealed to.\nboth are part of the stored var, and secrets set fills in sealed_to\n\nadopt, release and fork are an account owner's acts, through a logged-in\nconsole only: an environment a team scope owns is standalone (it never\ninherits the default bundle) and receives platform credentials minted for\nit alone. adopt and release refuse while any instance is bound to the\nenvironment; fork never copies the default bundle's keys or a\nplatform-managed one.\n\nEvery command above also works through a logged-in console\n(carlos auth login) when CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are\nunset — [--console <origin>] picks which logged-in console when more than one\nis configured; the store env vars win outright when set (direct-bucket\nmode, unchanged).\n"}
+{"case":"env | --zz-unknown-flag","argv":["env","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"usage: carlos env <command>\n\ncommands:\n set --app <a> [--environment <name>] [--if-version <v>] KEY=value [KEY2=value2 ...] set one or more plain config vars\n unset --app <a> [--environment <name>] [--if-version <v>] KEY [KEY2 ...] remove config vars\n list --app <a> [--environment <name>] [--digests] [--json] list an app's config vars and the bundle's version\n effective --app <a> --host <h> [--json] show what one route gets from each config layer\n digest --kind env --value <v> print a plain var's digest for comparison\n digest --kind secret --envelope-file <path> [--sealed-to <fp>] print a secret's digest from the envelope that was sent\n environments --app <a> list an app's named environment bundles\n exec-delivery --app <a> [--environment <name>] file|off|inherit opt one bundle's TCP-addr exec routes into config delivery\n sync --app <a> request immediate config convergence (issue #44)\n adopt --app <a> --environment <e> --scope <s> mark an unbound environment as owned by a team scope\n release --app <a> --environment <e> clear an unbound environment's team scope\n fork --app <a> --from <e> --to <n> --scope <s> copy an environment's own keys into a new one a team scope owns\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json,\nlayered on top of the default bundle (config.json) at materialization time —\nsee LoadMerged. Omit --environment for the default bundle itself. The bundle\nis created implicitly on its first \"set\", same as config.json today.\n\nexec-delivery sets \"exec_delivery\" in ONE bundle. \"file\" makes SyncExec\nwrite /data/<host>.config.env for the TCP-addr exec routes that resolve\nthrough that bundle (routes carlos proxies to but does not spawn — e.g.\ntitogo's router fleet) exactly as it already does for socket-exec routes,\nbut those routes are NEVER bounced: carlos does not own the process, so the\napp's own supervisor owns the restart.\n\nWithout --environment it is the app's default bundle, and \"off\" clears it.\nWith --environment it is that bundle alone, and \"inherit\" clears it — a\nbundle that says nothing takes the app default's answer, so clearing there\nis NOT the same as turning delivery off. To deliver to one service only:\nturn the app default off, then set \"file\" on the bundle its route is bound\nto (carlos route --host <h> --environment <name> binds it).\n\nTurning the app default off does NOT delete files already written for\nroutes that lose the opt-in: they hold decrypted secrets, and carlos cannot\nknow when the app's own supervisor has stopped reading them. It names each\none in its log every pass until you delete it by hand.\n\nsync touches apps/<acct>/<app>/config-gen.json — the agent's fast poll loop\n(host package) notices within ~3s and re-renders exec-backed instances;\nunit-backed routes converge in seconds on a box whose trigger unit\n(carlos-adopt.path) is armed, and on the next hourly root pass otherwise —\nthe agent can only request that pass, not write /etc or restart units\nitself. It never restarts a box's shared edge service, only the one app's\nown delivery.\n\nevery bundle has a version, which changes whenever its contents change,\nand every var has a digest, which changes whenever that var changes. list\nshows the version, and --digests adds the digests. set and unset print a\nreceipt with what changed and the version after. --if-version <v> writes\nonly if the bundle is still at version v (\"none\" if it must not exist\nyet). otherwise nothing is written, the current version is printed and\ncarlos exits with code 4. --if-version needs a console\n\neffective shows, for one route, each key, the layer it comes from (default,\nenvironment or overlay) and the lower layers it hides. it works through a\nconsole only.\n\ndigest computes a digest locally. for a secret, pass the envelope that was\nsent and, with --sealed-to, the fingerprint of the key it was sealed to.\nboth are part of the stored var, and secrets set fills in sealed_to\n\nadopt, release and fork are an account owner's acts, through a logged-in\nconsole only: an environment a team scope owns is standalone (it never\ninherits the default bundle) and receives platform credentials minted for\nit alone. adopt and release refuse while any instance is bound to the\nenvironment; fork never copies the default bundle's keys or a\nplatform-managed one.\n\nEvery command above also works through a logged-in console\n(carlos auth login) when CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are\nunset — [--console <origin>] picks which logged-in console when more than one\nis configured; the store env vars win outright when set (direct-bucket\nmode, unchanged).\n"}
+{"case":"env | -h","argv":["env","-h"],"exit":1,"stdout":"","stderr":"usage: carlos env <command>\n\ncommands:\n set --app <a> [--environment <name>] [--if-version <v>] KEY=value [KEY2=value2 ...] set one or more plain config vars\n unset --app <a> [--environment <name>] [--if-version <v>] KEY [KEY2 ...] remove config vars\n list --app <a> [--environment <name>] [--digests] [--json] list an app's config vars and the bundle's version\n effective --app <a> --host <h> [--json] show what one route gets from each config layer\n digest --kind env --value <v> print a plain var's digest for comparison\n digest --kind secret --envelope-file <path> [--sealed-to <fp>] print a secret's digest from the envelope that was sent\n environments --app <a> list an app's named environment bundles\n exec-delivery --app <a> [--environment <name>] file|off|inherit opt one bundle's TCP-addr exec routes into config delivery\n sync --app <a> request immediate config convergence (issue #44)\n adopt --app <a> --environment <e> --scope <s> mark an unbound environment as owned by a team scope\n release --app <a> --environment <e> clear an unbound environment's team scope\n fork --app <a> --from <e> --to <n> --scope <s> copy an environment's own keys into a new one a team scope owns\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json,\nlayered on top of the default bundle (config.json) at materialization time —\nsee LoadMerged. Omit --environment for the default bundle itself. The bundle\nis created implicitly on its first \"set\", same as config.json today.\n\nexec-delivery sets \"exec_delivery\" in ONE bundle. \"file\" makes SyncExec\nwrite /data/<host>.config.env for the TCP-addr exec routes that resolve\nthrough that bundle (routes carlos proxies to but does not spawn — e.g.\ntitogo's router fleet) exactly as it already does for socket-exec routes,\nbut those routes are NEVER bounced: carlos does not own the process, so the\napp's own supervisor owns the restart.\n\nWithout --environment it is the app's default bundle, and \"off\" clears it.\nWith --environment it is that bundle alone, and \"inherit\" clears it — a\nbundle that says nothing takes the app default's answer, so clearing there\nis NOT the same as turning delivery off. To deliver to one service only:\nturn the app default off, then set \"file\" on the bundle its route is bound\nto (carlos route --host <h> --environment <name> binds it).\n\nTurning the app default off does NOT delete files already written for\nroutes that lose the opt-in: they hold decrypted secrets, and carlos cannot\nknow when the app's own supervisor has stopped reading them. It names each\none in its log every pass until you delete it by hand.\n\nsync touches apps/<acct>/<app>/config-gen.json — the agent's fast poll loop\n(host package) notices within ~3s and re-renders exec-backed instances;\nunit-backed routes converge in seconds on a box whose trigger unit\n(carlos-adopt.path) is armed, and on the next hourly root pass otherwise —\nthe agent can only request that pass, not write /etc or restart units\nitself. It never restarts a box's shared edge service, only the one app's\nown delivery.\n\nevery bundle has a version, which changes whenever its contents change,\nand every var has a digest, which changes whenever that var changes. list\nshows the version, and --digests adds the digests. set and unset print a\nreceipt with what changed and the version after. --if-version <v> writes\nonly if the bundle is still at version v (\"none\" if it must not exist\nyet). otherwise nothing is written, the current version is printed and\ncarlos exits with code 4. --if-version needs a console\n\neffective shows, for one route, each key, the layer it comes from (default,\nenvironment or overlay) and the lower layers it hides. it works through a\nconsole only.\n\ndigest computes a digest locally. for a secret, pass the envelope that was\nsent and, with --sealed-to, the fingerprint of the key it was sealed to.\nboth are part of the stored var, and secrets set fills in sealed_to\n\nadopt, release and fork are an account owner's acts, through a logged-in\nconsole only: an environment a team scope owns is standalone (it never\ninherits the default bundle) and receives platform credentials minted for\nit alone. adopt and release refuse while any instance is bound to the\nenvironment; fork never copies the default bundle's keys or a\nplatform-managed one.\n\nEvery command above also works through a logged-in console\n(carlos auth login) when CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are\nunset — [--console <origin>] picks which logged-in console when more than one\nis configured; the store env vars win outright when set (direct-bucket\nmode, unchanged).\n"}
+{"case":"env | bare","argv":["env"],"exit":1,"stdout":"","stderr":"usage: carlos env <command>\n\ncommands:\n set --app <a> [--environment <name>] [--if-version <v>] KEY=value [KEY2=value2 ...] set one or more plain config vars\n unset --app <a> [--environment <name>] [--if-version <v>] KEY [KEY2 ...] remove config vars\n list --app <a> [--environment <name>] [--digests] [--json] list an app's config vars and the bundle's version\n effective --app <a> --host <h> [--json] show what one route gets from each config layer\n digest --kind env --value <v> print a plain var's digest for comparison\n digest --kind secret --envelope-file <path> [--sealed-to <fp>] print a secret's digest from the envelope that was sent\n environments --app <a> list an app's named environment bundles\n exec-delivery --app <a> [--environment <name>] file|off|inherit opt one bundle's TCP-addr exec routes into config delivery\n sync --app <a> request immediate config convergence (issue #44)\n adopt --app <a> --environment <e> --scope <s> mark an unbound environment as owned by a team scope\n release --app <a> --environment <e> clear an unbound environment's team scope\n fork --app <a> --from <e> --to <n> --scope <s> copy an environment's own keys into a new one a team scope owns\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json,\nlayered on top of the default bundle (config.json) at materialization time —\nsee LoadMerged. Omit --environment for the default bundle itself. The bundle\nis created implicitly on its first \"set\", same as config.json today.\n\nexec-delivery sets \"exec_delivery\" in ONE bundle. \"file\" makes SyncExec\nwrite /data/<host>.config.env for the TCP-addr exec routes that resolve\nthrough that bundle (routes carlos proxies to but does not spawn — e.g.\ntitogo's router fleet) exactly as it already does for socket-exec routes,\nbut those routes are NEVER bounced: carlos does not own the process, so the\napp's own supervisor owns the restart.\n\nWithout --environment it is the app's default bundle, and \"off\" clears it.\nWith --environment it is that bundle alone, and \"inherit\" clears it — a\nbundle that says nothing takes the app default's answer, so clearing there\nis NOT the same as turning delivery off. To deliver to one service only:\nturn the app default off, then set \"file\" on the bundle its route is bound\nto (carlos route --host <h> --environment <name> binds it).\n\nTurning the app default off does NOT delete files already written for\nroutes that lose the opt-in: they hold decrypted secrets, and carlos cannot\nknow when the app's own supervisor has stopped reading them. It names each\none in its log every pass until you delete it by hand.\n\nsync touches apps/<acct>/<app>/config-gen.json — the agent's fast poll loop\n(host package) notices within ~3s and re-renders exec-backed instances;\nunit-backed routes converge in seconds on a box whose trigger unit\n(carlos-adopt.path) is armed, and on the next hourly root pass otherwise —\nthe agent can only request that pass, not write /etc or restart units\nitself. It never restarts a box's shared edge service, only the one app's\nown delivery.\n\nevery bundle has a version, which changes whenever its contents change,\nand every var has a digest, which changes whenever that var changes. list\nshows the version, and --digests adds the digests. set and unset print a\nreceipt with what changed and the version after. --if-version <v> writes\nonly if the bundle is still at version v (\"none\" if it must not exist\nyet). otherwise nothing is written, the current version is printed and\ncarlos exits with code 4. --if-version needs a console\n\neffective shows, for one route, each key, the layer it comes from (default,\nenvironment or overlay) and the lower layers it hides. it works through a\nconsole only.\n\ndigest computes a digest locally. for a secret, pass the envelope that was\nsent and, with --sealed-to, the fingerprint of the key it was sealed to.\nboth are part of the stored var, and secrets set fills in sealed_to\n\nadopt, release and fork are an account owner's acts, through a logged-in\nconsole only: an environment a team scope owns is standalone (it never\ninherits the default bundle) and receives platform credentials minted for\nit alone. adopt and release refuse while any instance is bound to the\nenvironment; fork never copies the default bundle's keys or a\nplatform-managed one.\n\nEvery command above also works through a logged-in console\n(carlos auth login) when CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are\nunset — [--console <origin>] picks which logged-in console when more than one\nis configured; the store env vars win outright when set (direct-bucket\nmode, unchanged).\n"}
+{"case":"env | help","argv":["env","help"],"exit":1,"stdout":"","stderr":"usage: carlos env <command>\n\ncommands:\n set --app <a> [--environment <name>] [--if-version <v>] KEY=value [KEY2=value2 ...] set one or more plain config vars\n unset --app <a> [--environment <name>] [--if-version <v>] KEY [KEY2 ...] remove config vars\n list --app <a> [--environment <name>] [--digests] [--json] list an app's config vars and the bundle's version\n effective --app <a> --host <h> [--json] show what one route gets from each config layer\n digest --kind env --value <v> print a plain var's digest for comparison\n digest --kind secret --envelope-file <path> [--sealed-to <fp>] print a secret's digest from the envelope that was sent\n environments --app <a> list an app's named environment bundles\n exec-delivery --app <a> [--environment <name>] file|off|inherit opt one bundle's TCP-addr exec routes into config delivery\n sync --app <a> request immediate config convergence (issue #44)\n adopt --app <a> --environment <e> --scope <s> mark an unbound environment as owned by a team scope\n release --app <a> --environment <e> clear an unbound environment's team scope\n fork --app <a> --from <e> --to <n> --scope <s> copy an environment's own keys into a new one a team scope owns\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json,\nlayered on top of the default bundle (config.json) at materialization time —\nsee LoadMerged. Omit --environment for the default bundle itself. The bundle\nis created implicitly on its first \"set\", same as config.json today.\n\nexec-delivery sets \"exec_delivery\" in ONE bundle. \"file\" makes SyncExec\nwrite /data/<host>.config.env for the TCP-addr exec routes that resolve\nthrough that bundle (routes carlos proxies to but does not spawn — e.g.\ntitogo's router fleet) exactly as it already does for socket-exec routes,\nbut those routes are NEVER bounced: carlos does not own the process, so the\napp's own supervisor owns the restart.\n\nWithout --environment it is the app's default bundle, and \"off\" clears it.\nWith --environment it is that bundle alone, and \"inherit\" clears it — a\nbundle that says nothing takes the app default's answer, so clearing there\nis NOT the same as turning delivery off. To deliver to one service only:\nturn the app default off, then set \"file\" on the bundle its route is bound\nto (carlos route --host <h> --environment <name> binds it).\n\nTurning the app default off does NOT delete files already written for\nroutes that lose the opt-in: they hold decrypted secrets, and carlos cannot\nknow when the app's own supervisor has stopped reading them. It names each\none in its log every pass until you delete it by hand.\n\nsync touches apps/<acct>/<app>/config-gen.json — the agent's fast poll loop\n(host package) notices within ~3s and re-renders exec-backed instances;\nunit-backed routes converge in seconds on a box whose trigger unit\n(carlos-adopt.path) is armed, and on the next hourly root pass otherwise —\nthe agent can only request that pass, not write /etc or restart units\nitself. It never restarts a box's shared edge service, only the one app's\nown delivery.\n\nevery bundle has a version, which changes whenever its contents change,\nand every var has a digest, which changes whenever that var changes. list\nshows the version, and --digests adds the digests. set and unset print a\nreceipt with what changed and the version after. --if-version <v> writes\nonly if the bundle is still at version v (\"none\" if it must not exist\nyet). otherwise nothing is written, the current version is printed and\ncarlos exits with code 4. --if-version needs a console\n\neffective shows, for one route, each key, the layer it comes from (default,\nenvironment or overlay) and the lower layers it hides. it works through a\nconsole only.\n\ndigest computes a digest locally. for a secret, pass the envelope that was\nsent and, with --sealed-to, the fingerprint of the key it was sealed to.\nboth are part of the stored var, and secrets set fills in sealed_to\n\nadopt, release and fork are an account owner's acts, through a logged-in\nconsole only: an environment a team scope owns is standalone (it never\ninherits the default bundle) and receives platform credentials minted for\nit alone. adopt and release refuse while any instance is bound to the\nenvironment; fork never copies the default bundle's keys or a\nplatform-managed one.\n\nEvery command above also works through a logged-in console\n(carlos auth login) when CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are\nunset — [--console <origin>] picks which logged-in console when more than one\nis configured; the store env vars win outright when set (direct-bucket\nmode, unchanged).\n"}
+{"case":"env | zz-unknown","argv":["env","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos env <command>\n\ncommands:\n set --app <a> [--environment <name>] [--if-version <v>] KEY=value [KEY2=value2 ...] set one or more plain config vars\n unset --app <a> [--environment <name>] [--if-version <v>] KEY [KEY2 ...] remove config vars\n list --app <a> [--environment <name>] [--digests] [--json] list an app's config vars and the bundle's version\n effective --app <a> --host <h> [--json] show what one route gets from each config layer\n digest --kind env --value <v> print a plain var's digest for comparison\n digest --kind secret --envelope-file <path> [--sealed-to <fp>] print a secret's digest from the envelope that was sent\n environments --app <a> list an app's named environment bundles\n exec-delivery --app <a> [--environment <name>] file|off|inherit opt one bundle's TCP-addr exec routes into config delivery\n sync --app <a> request immediate config convergence (issue #44)\n adopt --app <a> --environment <e> --scope <s> mark an unbound environment as owned by a team scope\n release --app <a> --environment <e> clear an unbound environment's team scope\n fork --app <a> --from <e> --to <n> --scope <s> copy an environment's own keys into a new one a team scope owns\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json,\nlayered on top of the default bundle (config.json) at materialization time —\nsee LoadMerged. Omit --environment for the default bundle itself. The bundle\nis created implicitly on its first \"set\", same as config.json today.\n\nexec-delivery sets \"exec_delivery\" in ONE bundle. \"file\" makes SyncExec\nwrite /data/<host>.config.env for the TCP-addr exec routes that resolve\nthrough that bundle (routes carlos proxies to but does not spawn — e.g.\ntitogo's router fleet) exactly as it already does for socket-exec routes,\nbut those routes are NEVER bounced: carlos does not own the process, so the\napp's own supervisor owns the restart.\n\nWithout --environment it is the app's default bundle, and \"off\" clears it.\nWith --environment it is that bundle alone, and \"inherit\" clears it — a\nbundle that says nothing takes the app default's answer, so clearing there\nis NOT the same as turning delivery off. To deliver to one service only:\nturn the app default off, then set \"file\" on the bundle its route is bound\nto (carlos route --host <h> --environment <name> binds it).\n\nTurning the app default off does NOT delete files already written for\nroutes that lose the opt-in: they hold decrypted secrets, and carlos cannot\nknow when the app's own supervisor has stopped reading them. It names each\none in its log every pass until you delete it by hand.\n\nsync touches apps/<acct>/<app>/config-gen.json — the agent's fast poll loop\n(host package) notices within ~3s and re-renders exec-backed instances;\nunit-backed routes converge in seconds on a box whose trigger unit\n(carlos-adopt.path) is armed, and on the next hourly root pass otherwise —\nthe agent can only request that pass, not write /etc or restart units\nitself. It never restarts a box's shared edge service, only the one app's\nown delivery.\n\nevery bundle has a version, which changes whenever its contents change,\nand every var has a digest, which changes whenever that var changes. list\nshows the version, and --digests adds the digests. set and unset print a\nreceipt with what changed and the version after. --if-version <v> writes\nonly if the bundle is still at version v (\"none\" if it must not exist\nyet). otherwise nothing is written, the current version is printed and\ncarlos exits with code 4. --if-version needs a console\n\neffective shows, for one route, each key, the layer it comes from (default,\nenvironment or overlay) and the lower layers it hides. it works through a\nconsole only.\n\ndigest computes a digest locally. for a secret, pass the envelope that was\nsent and, with --sealed-to, the fingerprint of the key it was sealed to.\nboth are part of the stored var, and secrets set fills in sealed_to\n\nadopt, release and fork are an account owner's acts, through a logged-in\nconsole only: an environment a team scope owns is standalone (it never\ninherits the default bundle) and receives platform credentials minted for\nit alone. adopt and release refuse while any instance is bound to the\nenvironment; fork never copies the default bundle's keys or a\nplatform-managed one.\n\nEvery command above also works through a logged-in console\n(carlos auth login) when CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are\nunset — [--console <origin>] picks which logged-in console when more than one\nis configured; the store env vars win outright when set (direct-bucket\nmode, unchanged).\n"}
{"case":"errors | --zz-unknown-flag","argv":["errors","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos errors --app <a> [flags]\n\nLists error groups, newest first: one row per fingerprint with its count in\nthe window, the source it came from (log, edge, server, browser), the hosts\nand releases it was seen on. --fp <id> expands one group to its occurrences.\n--set-level error|warn changes which log lines count for this app.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app whose errors to read\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 --fp <string> expand one group: its occurrences, oldest first\n --host <string> only one instance (route host)\n --level <string> log lines at this level and above for this read: error | warn (default: the app's setting)\n --release <string> only one release\n --set-level <string> set the app's log level for errors: error | warn\n --since <string> window start: duration back from now, or RFC3339 (default: 24h)\n --source <string> only one source: log | edge | server | browser\n --until <string> window end (default: now)\n"}
{"case":"errors | -h","argv":["errors","-h"],"exit":0,"stdout":"","stderr":"usage: carlos errors --app <a> [flags]\n\nLists error groups, newest first: one row per fingerprint with its count in\nthe window, the source it came from (log, edge, server, browser), the hosts\nand releases it was seen on. --fp <id> expands one group to its occurrences.\n--set-level error|warn changes which log lines count for this app.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app whose errors to read\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 --fp <string> expand one group: its occurrences, oldest first\n --host <string> only one instance (route host)\n --level <string> log lines at this level and above for this read: error | warn (default: the app's setting)\n --release <string> only one release\n --set-level <string> set the app's log level for errors: error | warn\n --since <string> window start: duration back from now, or RFC3339 (default: 24h)\n --source <string> only one source: log | edge | server | browser\n --until <string> window end (default: now)\n"}
{"case":"explain | --zz-unknown-flag","argv":["explain","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos explain <code> --app <a> [flags]\n\nWhat a reference code from a page the edge answered says: which protection rule fired, when, and the request it answered, while a record of it is kept. --json prints the console's answer as it is.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY, and supersedes --account\n --app, -a <string> app whose credential asks\n --console <string> console to ask (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 --json print the console's answer as JSON\n"}
@@ -690,18 +694,18 @@
{"case":"secrets fingerprint | --zz-unknown-flag","argv":["secrets","fingerprint","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos secrets fingerprint [--file <path>]\nflags:\n --file <string> the host.env-style file holding CARLOS_SECRETS_KEY (default: /etc/carlos/host.env)\n"}
{"case":"secrets fingerprint | -h","argv":["secrets","fingerprint","-h"],"exit":0,"stdout":"","stderr":"usage: carlos secrets fingerprint [--file <path>]\nflags:\n --file <string> the host.env-style file holding CARLOS_SECRETS_KEY (default: /etc/carlos/host.env)\n"}
{"case":"secrets genkey | skipped","skipped":"prints a freshly generated key pair: no two runs agree"}
-{"case":"secrets list | --zz-unknown-flag","argv":["secrets","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos secrets list [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to list (omit for the default bundle)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
-{"case":"secrets list | -h","argv":["secrets","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos secrets list [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to list (omit for the default bundle)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
-{"case":"secrets set | --zz-unknown-flag","argv":["secrets","set","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos secrets set [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to set in (omit for the default bundle)\n --literal store a value that starts with its own key and = as it is\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
-{"case":"secrets set | -h","argv":["secrets","set","-h"],"exit":0,"stdout":"","stderr":"usage: carlos secrets set [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to set in (omit for the default bundle)\n --literal store a value that starts with its own key and = as it is\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
-{"case":"secrets unset | --zz-unknown-flag","argv":["secrets","unset","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos secrets unset [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to remove from (omit for the default bundle)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
-{"case":"secrets unset | -h","argv":["secrets","unset","-h"],"exit":0,"stdout":"","stderr":"usage: carlos secrets unset [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to remove from (omit for the default bundle)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
-{"case":"secrets | --help","argv":["secrets","--help"],"exit":1,"stdout":"","stderr":"usage: carlos secrets <command>\n\ncommands:\n set --app <a> [--environment <name>] KEY=value [KEY2=value2 ...] seal and set one or more secrets\n --app <a> [--environment <name>] KEY - the same, reading KEY's value from stdin\n unset --app <a> [--environment <name>] KEY [KEY2 ...] remove secrets\n list --app <a> [--environment <name>] list a secret's key names only — never values\n genkey mint a CARLOS_SECRETS_KEY/PUBKEY pair\n fingerprint [--file <path>] print the fingerprint of the key in a host.env, never the key\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json —\nsee \"carlos env\" for the full explanation; the same bundle backs both env\nvars and secrets, sealed or not. \"carlos env environments --app <a>\" lists\nan app's bundle names.\n\nset/unset/list also work through a logged-in console (carlos auth login)\nwhen CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are unset —\n[--console <origin>] picks which logged-in console when more than one is\nconfigured; the store env vars win outright when set (direct-bucket mode,\nunchanged). In that mode \"secrets set\" seals with CARLOS_SECRETS_PUBKEY if\nit's set in this terminal's own environment, otherwise the console's own\nserved public key (Config.SecretsPub) if it has one — CARLOS_SECRETS_KEY\n(the PRIVATE half) never leaves the box holding it either way.\ngenkey and fingerprint are always local, in both modes.\nfor an app placed on a fleet the console serves the fleet's own key, so leave\nCARLOS_SECRETS_PUBKEY unset. register that key with \"carlos fleets secrets-key\".\n"}
-{"case":"secrets | --zz-unknown-flag","argv":["secrets","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"usage: carlos secrets <command>\n\ncommands:\n set --app <a> [--environment <name>] KEY=value [KEY2=value2 ...] seal and set one or more secrets\n --app <a> [--environment <name>] KEY - the same, reading KEY's value from stdin\n unset --app <a> [--environment <name>] KEY [KEY2 ...] remove secrets\n list --app <a> [--environment <name>] list a secret's key names only — never values\n genkey mint a CARLOS_SECRETS_KEY/PUBKEY pair\n fingerprint [--file <path>] print the fingerprint of the key in a host.env, never the key\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json —\nsee \"carlos env\" for the full explanation; the same bundle backs both env\nvars and secrets, sealed or not. \"carlos env environments --app <a>\" lists\nan app's bundle names.\n\nset/unset/list also work through a logged-in console (carlos auth login)\nwhen CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are unset —\n[--console <origin>] picks which logged-in console when more than one is\nconfigured; the store env vars win outright when set (direct-bucket mode,\nunchanged). In that mode \"secrets set\" seals with CARLOS_SECRETS_PUBKEY if\nit's set in this terminal's own environment, otherwise the console's own\nserved public key (Config.SecretsPub) if it has one — CARLOS_SECRETS_KEY\n(the PRIVATE half) never leaves the box holding it either way.\ngenkey and fingerprint are always local, in both modes.\nfor an app placed on a fleet the console serves the fleet's own key, so leave\nCARLOS_SECRETS_PUBKEY unset. register that key with \"carlos fleets secrets-key\".\n"}
-{"case":"secrets | -h","argv":["secrets","-h"],"exit":1,"stdout":"","stderr":"usage: carlos secrets <command>\n\ncommands:\n set --app <a> [--environment <name>] KEY=value [KEY2=value2 ...] seal and set one or more secrets\n --app <a> [--environment <name>] KEY - the same, reading KEY's value from stdin\n unset --app <a> [--environment <name>] KEY [KEY2 ...] remove secrets\n list --app <a> [--environment <name>] list a secret's key names only — never values\n genkey mint a CARLOS_SECRETS_KEY/PUBKEY pair\n fingerprint [--file <path>] print the fingerprint of the key in a host.env, never the key\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json —\nsee \"carlos env\" for the full explanation; the same bundle backs both env\nvars and secrets, sealed or not. \"carlos env environments --app <a>\" lists\nan app's bundle names.\n\nset/unset/list also work through a logged-in console (carlos auth login)\nwhen CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are unset —\n[--console <origin>] picks which logged-in console when more than one is\nconfigured; the store env vars win outright when set (direct-bucket mode,\nunchanged). In that mode \"secrets set\" seals with CARLOS_SECRETS_PUBKEY if\nit's set in this terminal's own environment, otherwise the console's own\nserved public key (Config.SecretsPub) if it has one — CARLOS_SECRETS_KEY\n(the PRIVATE half) never leaves the box holding it either way.\ngenkey and fingerprint are always local, in both modes.\nfor an app placed on a fleet the console serves the fleet's own key, so leave\nCARLOS_SECRETS_PUBKEY unset. register that key with \"carlos fleets secrets-key\".\n"}
-{"case":"secrets | bare","argv":["secrets"],"exit":1,"stdout":"","stderr":"usage: carlos secrets <command>\n\ncommands:\n set --app <a> [--environment <name>] KEY=value [KEY2=value2 ...] seal and set one or more secrets\n --app <a> [--environment <name>] KEY - the same, reading KEY's value from stdin\n unset --app <a> [--environment <name>] KEY [KEY2 ...] remove secrets\n list --app <a> [--environment <name>] list a secret's key names only — never values\n genkey mint a CARLOS_SECRETS_KEY/PUBKEY pair\n fingerprint [--file <path>] print the fingerprint of the key in a host.env, never the key\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json —\nsee \"carlos env\" for the full explanation; the same bundle backs both env\nvars and secrets, sealed or not. \"carlos env environments --app <a>\" lists\nan app's bundle names.\n\nset/unset/list also work through a logged-in console (carlos auth login)\nwhen CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are unset —\n[--console <origin>] picks which logged-in console when more than one is\nconfigured; the store env vars win outright when set (direct-bucket mode,\nunchanged). In that mode \"secrets set\" seals with CARLOS_SECRETS_PUBKEY if\nit's set in this terminal's own environment, otherwise the console's own\nserved public key (Config.SecretsPub) if it has one — CARLOS_SECRETS_KEY\n(the PRIVATE half) never leaves the box holding it either way.\ngenkey and fingerprint are always local, in both modes.\nfor an app placed on a fleet the console serves the fleet's own key, so leave\nCARLOS_SECRETS_PUBKEY unset. register that key with \"carlos fleets secrets-key\".\n"}
-{"case":"secrets | help","argv":["secrets","help"],"exit":1,"stdout":"","stderr":"usage: carlos secrets <command>\n\ncommands:\n set --app <a> [--environment <name>] KEY=value [KEY2=value2 ...] seal and set one or more secrets\n --app <a> [--environment <name>] KEY - the same, reading KEY's value from stdin\n unset --app <a> [--environment <name>] KEY [KEY2 ...] remove secrets\n list --app <a> [--environment <name>] list a secret's key names only — never values\n genkey mint a CARLOS_SECRETS_KEY/PUBKEY pair\n fingerprint [--file <path>] print the fingerprint of the key in a host.env, never the key\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json —\nsee \"carlos env\" for the full explanation; the same bundle backs both env\nvars and secrets, sealed or not. \"carlos env environments --app <a>\" lists\nan app's bundle names.\n\nset/unset/list also work through a logged-in console (carlos auth login)\nwhen CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are unset —\n[--console <origin>] picks which logged-in console when more than one is\nconfigured; the store env vars win outright when set (direct-bucket mode,\nunchanged). In that mode \"secrets set\" seals with CARLOS_SECRETS_PUBKEY if\nit's set in this terminal's own environment, otherwise the console's own\nserved public key (Config.SecretsPub) if it has one — CARLOS_SECRETS_KEY\n(the PRIVATE half) never leaves the box holding it either way.\ngenkey and fingerprint are always local, in both modes.\nfor an app placed on a fleet the console serves the fleet's own key, so leave\nCARLOS_SECRETS_PUBKEY unset. register that key with \"carlos fleets secrets-key\".\n"}
-{"case":"secrets | zz-unknown","argv":["secrets","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos secrets <command>\n\ncommands:\n set --app <a> [--environment <name>] KEY=value [KEY2=value2 ...] seal and set one or more secrets\n --app <a> [--environment <name>] KEY - the same, reading KEY's value from stdin\n unset --app <a> [--environment <name>] KEY [KEY2 ...] remove secrets\n list --app <a> [--environment <name>] list a secret's key names only — never values\n genkey mint a CARLOS_SECRETS_KEY/PUBKEY pair\n fingerprint [--file <path>] print the fingerprint of the key in a host.env, never the key\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json —\nsee \"carlos env\" for the full explanation; the same bundle backs both env\nvars and secrets, sealed or not. \"carlos env environments --app <a>\" lists\nan app's bundle names.\n\nset/unset/list also work through a logged-in console (carlos auth login)\nwhen CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are unset —\n[--console <origin>] picks which logged-in console when more than one is\nconfigured; the store env vars win outright when set (direct-bucket mode,\nunchanged). In that mode \"secrets set\" seals with CARLOS_SECRETS_PUBKEY if\nit's set in this terminal's own environment, otherwise the console's own\nserved public key (Config.SecretsPub) if it has one — CARLOS_SECRETS_KEY\n(the PRIVATE half) never leaves the box holding it either way.\ngenkey and fingerprint are always local, in both modes.\nfor an app placed on a fleet the console serves the fleet's own key, so leave\nCARLOS_SECRETS_PUBKEY unset. register that key with \"carlos fleets secrets-key\".\n"}
+{"case":"secrets list | --zz-unknown-flag","argv":["secrets","list","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos secrets list [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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 --digests add each secret's digest\n --environment, -e <string> named environment bundle to list (omit for the default bundle)\n --json print the bundle's secrets as JSON, including its version and every digest\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
+{"case":"secrets list | -h","argv":["secrets","list","-h"],"exit":0,"stdout":"","stderr":"usage: carlos secrets list [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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 --digests add each secret's digest\n --environment, -e <string> named environment bundle to list (omit for the default bundle)\n --json print the bundle's secrets as JSON, including its version and every digest\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
+{"case":"secrets set | --zz-unknown-flag","argv":["secrets","set","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos secrets set [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to set in (omit for the default bundle)\n --if-version <string> write only if the bundle is at this version (\"none\": only if it does not exist yet). needs a console\n --literal store a value that starts with its own key and = as it is\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
+{"case":"secrets set | -h","argv":["secrets","set","-h"],"exit":0,"stdout":"","stderr":"usage: carlos secrets set [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to set in (omit for the default bundle)\n --if-version <string> write only if the bundle is at this version (\"none\": only if it does not exist yet). needs a console\n --literal store a value that starts with its own key and = as it is\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
+{"case":"secrets unset | --zz-unknown-flag","argv":["secrets","unset","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos secrets unset [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to remove from (omit for the default bundle)\n --if-version <string> write only if the bundle is at this version (\"none\": only if it does not exist yet). needs a console\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
+{"case":"secrets unset | -h","argv":["secrets","unset","-h"],"exit":0,"stdout":"","stderr":"usage: carlos secrets unset [flags]\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app name\n --console <string> console origin to work through (API mode only; 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, -e <string> named environment bundle to remove from (omit for the default bundle)\n --if-version <string> write only if the bundle is at this version (\"none\": only if it does not exist yet). needs a console\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"}
+{"case":"secrets | --help","argv":["secrets","--help"],"exit":1,"stdout":"","stderr":"usage: carlos secrets <command>\n\ncommands:\n set --app <a> [--environment <name>] [--if-version <v>] KEY=value [KEY2=value2 ...] seal and set one or more secrets\n --app <a> [--environment <name>] [--if-version <v>] KEY - the same, reading KEY's value from stdin\n unset --app <a> [--environment <name>] [--if-version <v>] KEY [KEY2 ...] remove secrets\n list --app <a> [--environment <name>] [--digests] [--json] list a secret's key names only — never values\n genkey mint a CARLOS_SECRETS_KEY/PUBKEY pair\n fingerprint [--file <path>] print the fingerprint of the key in a host.env, never the key\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json —\nsee \"carlos env\" for the full explanation; the same bundle backs both env\nvars and secrets, sealed or not. \"carlos env environments --app <a>\" lists\nan app's bundle names.\n\nset/unset/list also work through a logged-in console (carlos auth login)\nwhen CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are unset —\n[--console <origin>] picks which logged-in console when more than one is\nconfigured; the store env vars win outright when set (direct-bucket mode,\nunchanged). In that mode \"secrets set\" seals with CARLOS_SECRETS_PUBKEY if\nit's set in this terminal's own environment, otherwise the console's own\nserved public key (Config.SecretsPub) if it has one — CARLOS_SECRETS_KEY\n(the PRIVATE half) never leaves the box holding it either way.\ngenkey and fingerprint are always local, in both modes.\n\nversions, digests and --if-version work as for \"carlos env\". a secret's\ndigest is computed from its sealed envelope, so it reveals nothing about the\nvalue and changes every time the secret is set, even to the same value\n\nfor an app placed on a fleet the console serves the fleet's own key, so leave\nCARLOS_SECRETS_PUBKEY unset. register that key with \"carlos fleets secrets-key\".\n"}
+{"case":"secrets | --zz-unknown-flag","argv":["secrets","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"usage: carlos secrets <command>\n\ncommands:\n set --app <a> [--environment <name>] [--if-version <v>] KEY=value [KEY2=value2 ...] seal and set one or more secrets\n --app <a> [--environment <name>] [--if-version <v>] KEY - the same, reading KEY's value from stdin\n unset --app <a> [--environment <name>] [--if-version <v>] KEY [KEY2 ...] remove secrets\n list --app <a> [--environment <name>] [--digests] [--json] list a secret's key names only — never values\n genkey mint a CARLOS_SECRETS_KEY/PUBKEY pair\n fingerprint [--file <path>] print the fingerprint of the key in a host.env, never the key\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json —\nsee \"carlos env\" for the full explanation; the same bundle backs both env\nvars and secrets, sealed or not. \"carlos env environments --app <a>\" lists\nan app's bundle names.\n\nset/unset/list also work through a logged-in console (carlos auth login)\nwhen CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are unset —\n[--console <origin>] picks which logged-in console when more than one is\nconfigured; the store env vars win outright when set (direct-bucket mode,\nunchanged). In that mode \"secrets set\" seals with CARLOS_SECRETS_PUBKEY if\nit's set in this terminal's own environment, otherwise the console's own\nserved public key (Config.SecretsPub) if it has one — CARLOS_SECRETS_KEY\n(the PRIVATE half) never leaves the box holding it either way.\ngenkey and fingerprint are always local, in both modes.\n\nversions, digests and --if-version work as for \"carlos env\". a secret's\ndigest is computed from its sealed envelope, so it reveals nothing about the\nvalue and changes every time the secret is set, even to the same value\n\nfor an app placed on a fleet the console serves the fleet's own key, so leave\nCARLOS_SECRETS_PUBKEY unset. register that key with \"carlos fleets secrets-key\".\n"}
+{"case":"secrets | -h","argv":["secrets","-h"],"exit":1,"stdout":"","stderr":"usage: carlos secrets <command>\n\ncommands:\n set --app <a> [--environment <name>] [--if-version <v>] KEY=value [KEY2=value2 ...] seal and set one or more secrets\n --app <a> [--environment <name>] [--if-version <v>] KEY - the same, reading KEY's value from stdin\n unset --app <a> [--environment <name>] [--if-version <v>] KEY [KEY2 ...] remove secrets\n list --app <a> [--environment <name>] [--digests] [--json] list a secret's key names only — never values\n genkey mint a CARLOS_SECRETS_KEY/PUBKEY pair\n fingerprint [--file <path>] print the fingerprint of the key in a host.env, never the key\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json —\nsee \"carlos env\" for the full explanation; the same bundle backs both env\nvars and secrets, sealed or not. \"carlos env environments --app <a>\" lists\nan app's bundle names.\n\nset/unset/list also work through a logged-in console (carlos auth login)\nwhen CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are unset —\n[--console <origin>] picks which logged-in console when more than one is\nconfigured; the store env vars win outright when set (direct-bucket mode,\nunchanged). In that mode \"secrets set\" seals with CARLOS_SECRETS_PUBKEY if\nit's set in this terminal's own environment, otherwise the console's own\nserved public key (Config.SecretsPub) if it has one — CARLOS_SECRETS_KEY\n(the PRIVATE half) never leaves the box holding it either way.\ngenkey and fingerprint are always local, in both modes.\n\nversions, digests and --if-version work as for \"carlos env\". a secret's\ndigest is computed from its sealed envelope, so it reveals nothing about the\nvalue and changes every time the secret is set, even to the same value\n\nfor an app placed on a fleet the console serves the fleet's own key, so leave\nCARLOS_SECRETS_PUBKEY unset. register that key with \"carlos fleets secrets-key\".\n"}
+{"case":"secrets | bare","argv":["secrets"],"exit":1,"stdout":"","stderr":"usage: carlos secrets <command>\n\ncommands:\n set --app <a> [--environment <name>] [--if-version <v>] KEY=value [KEY2=value2 ...] seal and set one or more secrets\n --app <a> [--environment <name>] [--if-version <v>] KEY - the same, reading KEY's value from stdin\n unset --app <a> [--environment <name>] [--if-version <v>] KEY [KEY2 ...] remove secrets\n list --app <a> [--environment <name>] [--digests] [--json] list a secret's key names only — never values\n genkey mint a CARLOS_SECRETS_KEY/PUBKEY pair\n fingerprint [--file <path>] print the fingerprint of the key in a host.env, never the key\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json —\nsee \"carlos env\" for the full explanation; the same bundle backs both env\nvars and secrets, sealed or not. \"carlos env environments --app <a>\" lists\nan app's bundle names.\n\nset/unset/list also work through a logged-in console (carlos auth login)\nwhen CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are unset —\n[--console <origin>] picks which logged-in console when more than one is\nconfigured; the store env vars win outright when set (direct-bucket mode,\nunchanged). In that mode \"secrets set\" seals with CARLOS_SECRETS_PUBKEY if\nit's set in this terminal's own environment, otherwise the console's own\nserved public key (Config.SecretsPub) if it has one — CARLOS_SECRETS_KEY\n(the PRIVATE half) never leaves the box holding it either way.\ngenkey and fingerprint are always local, in both modes.\n\nversions, digests and --if-version work as for \"carlos env\". a secret's\ndigest is computed from its sealed envelope, so it reveals nothing about the\nvalue and changes every time the secret is set, even to the same value\n\nfor an app placed on a fleet the console serves the fleet's own key, so leave\nCARLOS_SECRETS_PUBKEY unset. register that key with \"carlos fleets secrets-key\".\n"}
+{"case":"secrets | help","argv":["secrets","help"],"exit":1,"stdout":"","stderr":"usage: carlos secrets <command>\n\ncommands:\n set --app <a> [--environment <name>] [--if-version <v>] KEY=value [KEY2=value2 ...] seal and set one or more secrets\n --app <a> [--environment <name>] [--if-version <v>] KEY - the same, reading KEY's value from stdin\n unset --app <a> [--environment <name>] [--if-version <v>] KEY [KEY2 ...] remove secrets\n list --app <a> [--environment <name>] [--digests] [--json] list a secret's key names only — never values\n genkey mint a CARLOS_SECRETS_KEY/PUBKEY pair\n fingerprint [--file <path>] print the fingerprint of the key in a host.env, never the key\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json —\nsee \"carlos env\" for the full explanation; the same bundle backs both env\nvars and secrets, sealed or not. \"carlos env environments --app <a>\" lists\nan app's bundle names.\n\nset/unset/list also work through a logged-in console (carlos auth login)\nwhen CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are unset —\n[--console <origin>] picks which logged-in console when more than one is\nconfigured; the store env vars win outright when set (direct-bucket mode,\nunchanged). In that mode \"secrets set\" seals with CARLOS_SECRETS_PUBKEY if\nit's set in this terminal's own environment, otherwise the console's own\nserved public key (Config.SecretsPub) if it has one — CARLOS_SECRETS_KEY\n(the PRIVATE half) never leaves the box holding it either way.\ngenkey and fingerprint are always local, in both modes.\n\nversions, digests and --if-version work as for \"carlos env\". a secret's\ndigest is computed from its sealed envelope, so it reveals nothing about the\nvalue and changes every time the secret is set, even to the same value\n\nfor an app placed on a fleet the console serves the fleet's own key, so leave\nCARLOS_SECRETS_PUBKEY unset. register that key with \"carlos fleets secrets-key\".\n"}
+{"case":"secrets | zz-unknown","argv":["secrets","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos secrets <command>\n\ncommands:\n set --app <a> [--environment <name>] [--if-version <v>] KEY=value [KEY2=value2 ...] seal and set one or more secrets\n --app <a> [--environment <name>] [--if-version <v>] KEY - the same, reading KEY's value from stdin\n unset --app <a> [--environment <name>] [--if-version <v>] KEY [KEY2 ...] remove secrets\n list --app <a> [--environment <name>] [--digests] [--json] list a secret's key names only — never values\n genkey mint a CARLOS_SECRETS_KEY/PUBKEY pair\n fingerprint [--file <path>] print the fingerprint of the key in a host.env, never the key\n\n--environment names a bundle at apps/<acct>/<app>/environments/<name>.json —\nsee \"carlos env\" for the full explanation; the same bundle backs both env\nvars and secrets, sealed or not. \"carlos env environments --app <a>\" lists\nan app's bundle names.\n\nset/unset/list also work through a logged-in console (carlos auth login)\nwhen CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR are unset —\n[--console <origin>] picks which logged-in console when more than one is\nconfigured; the store env vars win outright when set (direct-bucket mode,\nunchanged). In that mode \"secrets set\" seals with CARLOS_SECRETS_PUBKEY if\nit's set in this terminal's own environment, otherwise the console's own\nserved public key (Config.SecretsPub) if it has one — CARLOS_SECRETS_KEY\n(the PRIVATE half) never leaves the box holding it either way.\ngenkey and fingerprint are always local, in both modes.\n\nversions, digests and --if-version work as for \"carlos env\". a secret's\ndigest is computed from its sealed envelope, so it reveals nothing about the\nvalue and changes every time the secret is set, even to the same value\n\nfor an app placed on a fleet the console serves the fleet's own key, so leave\nCARLOS_SECRETS_PUBKEY unset. register that key with \"carlos fleets secrets-key\".\n"}
{"case":"services create | --zz-unknown-flag","argv":["services","create","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos services create [flags]\nflags:\n --account <string> account (sqid or name) to mint the credential in (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> bind the credential to one app (default: account-wide)\n --commands <string> command prefixes a run credential may run, comma-separated, words space-separated: \"import classic,import sync\" (required with --role run)\n --console <string> console to create it 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 --json print the credential and its bare secret as one JSON object, for a script\n --role <string> role: publish, deploy, instance, operate, service, run, team or admin (required)\n --rungs <string> rungs a deploy credential may move, comma-separated: canary, edge, beta (required with --role deploy)\n --scope <string> scope name a team credential holds: the environments it owns (required with --role team, with --app)\n"}
{"case":"services create | -h","argv":["services","create","-h"],"exit":0,"stdout":"","stderr":"usage: carlos services create [flags]\nflags:\n --account <string> account (sqid or name) to mint the credential in (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> bind the credential to one app (default: account-wide)\n --commands <string> command prefixes a run credential may run, comma-separated, words space-separated: \"import classic,import sync\" (required with --role run)\n --console <string> console to create it 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 --json print the credential and its bare secret as one JSON object, for a script\n --role <string> role: publish, deploy, instance, operate, service, run, team or admin (required)\n --rungs <string> rungs a deploy credential may move, comma-separated: canary, edge, beta (required with --role deploy)\n --scope <string> scope name a team credential holds: the environments it owns (required with --role team, with --app)\n"}
{"case":"services ls | --zz-unknown-flag","argv":["services","ls","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos services ls [flags]\nflags:\n --account <string> account (sqid or name) to list credentials for (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --console <string> console to list through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"}