store: record the CLI golden cases for versioning; re-pin the census
The golden corpus gains the new store versioning, versions and restore cases and the changed store, store create and instances enable help. The census overlay is re-proposed over the final tree.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 files changed,
+27
−11
internal/provision/testdata/plan14-root-reads-store-versioning.tsv+1 −1testdata/clireg-golden.jsonl+26 −10
CI cancelled — superseded by a newer push — run details
diff --git a/internal/provision/testdata/plan14-root-reads-store-versioning.tsv b/internal/provision/testdata/plan14-root-reads-store-versioning.tsv| index 89181bae9..135cdf150 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-store-versioning.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-store-versioning.tsv |
| @@ -7,7 +7,7 @@ |
| infra/modules/region-host/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-invite-delivery;basis=tofu on an operator's machine with the operator's AWS credentials (no box unit; no binary embeds the file): main's module with one optional aws_iam_role_policy, host_console_mail, count 0 unless console_mail_from is set; it grants the host role ses:SendEmail on the one sending identity, the carlos-bab configuration set and its tenants, conditioned on ses:FromAddress equal to console_mail_from; no read is added and nothing on a box reads the file;rev3=census-ruling-sec-host-imdsv2-module;basis=aws_instance.host gains metadata_options (IMDSv2 required, hop limit 1, endpoint enabled), matching scanner-host; tofu configuration only, run on an operator's machine; no read, file or record write is added; applies in place on a running instance with no restart;rev3=census-ruling-hunt-account-root-hardening;basis=adds aws_iam_role_policy host_release_key_deny (count from deny_release_key_reads, default true): an explicit Deny on ssm:GetParameter, GetParameters and GetParameterHistory for parameter/carlos/release-key, and on GetParametersByPath for its ancestor paths; tofu only, run on an operator's machine; no read is added and nothing on a box reads the file;rev3=census-ruling-region-host-store-deny;basis=host_store policy: the explicit Deny on the deployment's own buckets drops s3:DeleteObject and keeps s3:DeleteBucket and s3:CreateBucket (lease release, retention and prune are DeleteObject); tofu only, run on an operator machine; no read is added and nothing on a box reads the file;rev3=census-ruling-region-ha-p3b;basis=Select default fixed resources through counted addresses and explicit moves; group mode selects scoped bucket/SSM policy, partition-aware ARNs and refuses fixed-only settings. Operator Terraform controls the instance role that can read boot parameters and write runtime bucket objects; release-key Deny and fixed-mode policy remain.;rev3=census-ruling-region-ha-g3-fixes;basis=Enable the fixed-host memory alarm with either alert input and use the selected topic for alarm and recovery notifications. Preserve module topic/subscription creation for alerts_email only. No new root runtime read or box authority.;rev3=census-ruling-managed-fleets-2b1;basis=managed fleets 2b-1 Task 5: aws_iam_policy.store_user_boundary is now counted when store_bucket_prefix is set or managed_fleets_enabled is true; its statements are concat of the unchanged object-storage pair (only with a store prefix, moved into local.store_boundary_statements byte for byte) and local.managed_boundary_statements (only with managed fleets: the fleet-data Allows on <managed_fleet_bucket_prefix>* buckets); name unchanged, description conditional on store prefix with lifecycle ignore_changes on description so a later feature switch never replaces the policy; tofu only, run on an operator's machine with the operator's AWS credentials; no box unit, user_data or binary reads the file; no read is added; default (both features off) plans no change;rev3=census-ruling-fixedbox-health-alarms;basis=Fixed host EC2 status-check alarms: auto-recover gains SNS alarm/ok actions (ec2:recover kept); new host_instance_check alarm (StatusCheckFailed_Instance 3 of 3 x 60 s -> ec2:reboot + SNS). tofu only, run on an operator machine; no read is added and nothing on a box reads the file.;rev3=census-ruling-fixed-host-ignore-user-data;basis=aws_instance.host lifecycle ignore_changes gains user_data (was [ami]): a user_data edit no longer plans an in-place update (stop/start) of a live fixed host; a new box still boots with the given script. tofu only, run on an operator machine; no read is added and nothing on a box reads the file.;rev3=census-ruling-w6-ingress-drain;basis=new aws_iam_role_policy.host_ingress_drain, count 1 only in fixed mode with ingress_target_group_arns non-empty: Allow elasticloadbalancing:DescribeTargetGroupAttributes and elasticloadbalancing:DescribeTargetHealth on Resource "*" (neither action takes a resource type). Read-only; no ELB write right. aws_iam_role.host's group-mode precondition gains length(var.ingress_target_group_arns) == 0, so group mode refuses the input. New AWS read right for the box role (the agent's drain reads); nothing a tenant or app can name.;rev3=census-ruling-stats-prune-400;basis=new aws_iam_role_policy for the console host role, count 1 only when enable_analytics_version_prune is true (default false, refused in group mode): s3:ListBucketVersions on the deployment bucket conditioned on s3:prefix apps/*, and s3:DeleteObjectVersion on deployment_bucket_arn/apps/*/*/analytics/*/days/* only; existing grants and denies unchanged; tofu only, run on an operator machine; no read is added and nothing on a box reads the file;rev3=census-ruling-media-conversion;basis=store_conversion (bool, default false) adds the customer-managed policy host_store_conversion attached to the host role: nine bucket-configuration actions (Get/PutBucketCORS, Get/PutLifecycleConfiguration, Get/PutBucketTagging, GetBucketPolicy, GetEncryptionConfiguration, GetBucketVersioning) on arn:aws:s3:::<store_bucket_prefix>* only, with an explicit Deny of the three writes on the deployment and data buckets; preconditions refuse it unless the prefix is a dedicated literal lower-case prefix ending in -store-, no deployment, data or sibling staging bucket starts with it, and it does not overlap a configured fleet prefix whatever managed_fleets_enabled says. The store user boundary gains s3:AbortMultipartUpload and s3:ListMultipartUploadParts only when the switch is on (off renders byte for byte as before). host_analytics_prune moves from inline to a customer-managed attached policy with identical statements and switch. Default plans no change apart from that policy's type.;rev3=census-ruling-store-versioning;basis=store_versioning (bool, default false) adds the customer-managed policy host_store_versioning attached to the host role: s3:GetBucketVersioning, PutBucketVersioning, GetLifecycleConfiguration, PutLifecycleConfiguration and ListBucketVersions on arn:aws:s3:::<store_bucket_prefix>*, and s3:DeleteObjectVersion, GetObjectVersion and PutObject on arn:aws:s3:::<store_bucket_prefix>*/*, with an explicit Deny of PutBucketVersioning and PutLifecycleConfiguration on the deployment and data buckets; the same four dedicated-prefix preconditions as store_conversion (prefix set, literal lower-case ending in -store-, no deployment, data or sibling staging bucket under it, no overlap with managed_fleet_bucket_prefix). The store user boundary does not change. Default plans no change. tofu only, run on an operator machine; no read is added and nothing on a box reads the file file:external@0 59f5c5161b2301eed2692dc1a7001c4fc60bb8f2540db0c3454cd6fb4c4103a5 |
| infra/modules/region-host/variables.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-console-invite-delivery;basis=tofu on an operator's machine with the operator's AWS credentials (no box unit; no binary embeds the file): main's variables with console_mail_from (validated as one lowercase address) and console_mail_region, both empty by default; no read is added and nothing on a box reads the file;rev3=census-ruling-hunt-account-root-hardening;basis=adds deny_release_key_reads (bool, default true); no read is added and nothing on a box reads the file;rev3=census-ruling-region-ha-p3b;basis=Add default-fixed mode and validated group count, zones, pinned image/release/template, ingress, configuration key and transaction-open refusal. Operator-supplied Terraform values select root boot inputs; no direct box runtime read and no group activation by default.;rev3=census-ruling-region-ha-g2-fixes;basis=Add an empty-default set of additional alert topic ARNs, validating concrete SNS topic syntax and excluding wildcards/subscriptions; operator Terraform input, no box runtime read.;rev3=census-ruling-region-ha-g3-fixes;basis=Add optional alerts_topic_arn with concrete same-region SNS ARN validation and mutual exclusion with alerts_email. The caller owns the existing topic policy and subscriptions; no runtime sink is configured and no new root read is added.;rev3=census-ruling-managed-fleets-2b1;basis=managed fleets 2b-1 Task 5: five variables, managed_fleets_enabled (bool, default false, refused unless mode is fixed), managed_fleets_deployment, managed_fleets_regions (concrete ami/subnet/sg IDs, arm64 types, no ID in two regions), managed_fleet_bucket_prefix (1-24 chars, no reserved prefix, must not cover the deployment, data or staging buckets, disjoint from store_bucket_prefix) and managed_fleet_user_path (literal IAM path, disjoint from store_user_path); store_bucket_prefix and store_user_path gain a validation refusing *, ? or ${ only when managed fleets and object storage are both on; operator Terraform input only; no box runtime read and nothing on a box reads the file;rev3=census-ruling-fixedbox-health-alarms;basis=Add optional health_alerts_topic_arn (concrete same-region SNS ARN validation, empty default); enable_auto_recovery description covers both status alarms. Operator Terraform input; no box runtime read.;rev3=census-ruling-w6-ingress-drain;basis=new variable ingress_target_group_arns (list(string), default [], non-nullable) validated as distinct ELB target group ARNs (arn:aws(-x)*:elasticloadbalancing:<region>:<12 digits>:targetgroup/<name>/<16 hex>); drives the IAM policy and output above. No read added.;rev3=census-ruling-stats-prune-400;basis=new variable enable_analytics_version_prune (bool, default false) driving the policy above; operator Terraform input; no box runtime read;rev3=census-ruling-platform-mail-submission;basis=Task 8: variable "mailer", an object {ses_region, ses_account_id, deployment_bucket_region, optional deployment_bucket_kms_key_arn} defaulting to null, which creates nothing; validated (AWS region shapes, 12-digit account, KMS ARN or empty).;rev3=census-ruling-media-conversion;basis=two variables: store_conversion (bool, default false) and managed_fleets_inline_retired (bool, default false, temporary); operator Terraform input only; no box runtime read. Copy pass 5 changes only the two descriptions' text.;rev3=census-ruling-store-versioning;basis=new variable store_versioning (bool, default false) driving the policy above; operator Terraform input only; no box runtime read file:external@0 c8b740c3db8921ef051dd00c3b15daa59b89d48c978d25b02a59cd90ca12f398 |
| infra/modules/region-host/tests/store_versioning.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-store-versioning;basis=new plan-time test file (mock provider, no credentials) for store_versioning: off creates nothing and keeps the boundary byte for byte; on creates exactly the two Allows and one Deny; the boundary never allows a history action; each prefix precondition refuses. Read only by tofu test in CI; nothing on a box reads it file:external@0 66b53503458622d81f347ad6a53c30cc6f13a56e6bb3d730e45ded954e36dc6e |
| -@coverage . a88c8f86d6d460d522b1eb7af73ce2aeb6283690cc374385b327bec6935bd264 |
| +@coverage . 3dbd1c8cbe028b9182428f568af206aefcb6bdff167010c31e45dc423f113a23 |
| @coverage infra/modules/region-host a79ebd3d91e1291f86a9d308b2a7c77885f74bcc6d564a7cf7dfe715b9d1c8a1 |
| @coverage infra/modules/region-host/tests 3d56c7f90b54be1e5f670bea1f9695ae302907e5a19ac11739b88877527503c1 |
| @coverage internal/objstore 714249891dc889e42553c63858c1702559754c995a18d2720be6a226b178bd24 |
diff --git a/testdata/clireg-golden.jsonl b/testdata/clireg-golden.jsonl| index 1cc1f793f..d50ed324a 100644 |
| --- a/testdata/clireg-golden.jsonl |
| +++ b/testdata/clireg-golden.jsonl |
| @@ -446,8 +446,8 @@ |
| {"case":"instances door-key | bare","argv":["instances","door-key"],"exit":1,"stdout":"","stderr":"usage: carlos instances door-key create --app <a> [--label <text>]\n carlos instances door-key list --app <a>\n carlos instances door-key revoke --app <a> <id>\n\n --account <a> account (sqid or name; default: your only account,\n or the configured/chosen one)\n --account-id <id> account sqid, matched as a sqid ONLY — supersedes\n --account\n --console <origin> console to act through (default: the only\n logged-in one)\n\nSigned in only (carlos auth login). A door key is written through a console, which keeps it in its own database. There is no direct-bucket form.\n\ncreate mints a new key for the app and prints it once. Store it now: it cannot be shown again, and list only ever shows its id and label.\n\nlist shows the app's live keys: id, label and when each was created.\n\nrevoke takes an id from list and stops that key working.\n"} |
| {"case":"instances door-key | help","argv":["instances","door-key","help"],"exit":1,"stdout":"","stderr":"usage: carlos instances door-key create --app <a> [--label <text>]\n carlos instances door-key list --app <a>\n carlos instances door-key revoke --app <a> <id>\n\n --account <a> account (sqid or name; default: your only account,\n or the configured/chosen one)\n --account-id <id> account sqid, matched as a sqid ONLY — supersedes\n --account\n --console <origin> console to act through (default: the only\n logged-in one)\n\nSigned in only (carlos auth login). A door key is written through a console, which keeps it in its own database. There is no direct-bucket form.\n\ncreate mints a new key for the app and prints it once. Store it now: it cannot be shown again, and list only ever shows its id and label.\n\nlist shows the app's live keys: id, label and when each was created.\n\nrevoke takes an id from list and stops that key working.\n"} |
| {"case":"instances door-key | zz-unknown","argv":["instances","door-key","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos instances door-key create --app <a> [--label <text>]\n carlos instances door-key list --app <a>\n carlos instances door-key revoke --app <a> <id>\n\n --account <a> account (sqid or name; default: your only account,\n or the configured/chosen one)\n --account-id <id> account sqid, matched as a sqid ONLY — supersedes\n --account\n --console <origin> console to act through (default: the only\n logged-in one)\n\nSigned in only (carlos auth login). A door key is written through a console, which keeps it in its own database. There is no direct-bucket form.\n\ncreate mints a new key for the app and prints it once. Store it now: it cannot be shown again, and list only ever shows its id and label.\n\nlist shows the app's live keys: id, label and when each was created.\n\nrevoke takes an id from list and stops that key working.\n"} |
| -{"case":"instances enable | --zz-unknown-flag","argv":["instances","enable","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances enable --app <a> [flags]\n\nSigned-in mode (carlos auth login; no CARLOS_DEPLOYMENT_* env): the console\nwrites the manifest, and pins its domain to your account's own platform\nsubdomain (<sqid>.<apps-domain>). --domain, --pool and --regions are operator,\nstore-mode flags and are refused here.\n\nStore mode (CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR set): every field\nis the operator's call, and --domain is required.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose instances this enables\n --channel, -c <string> release channel stamped into every record at create (store-mode default stable; signed-in mode: omitted preserves the manifest's)\n --console <string> console to enable through (signed-in 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 --domain <string> instance host domain suffix (store mode: required; signed-in mode: refused — the console pins it)\n --pool <string> pool stamped into every record at create (store mode only)\n --private-storage give every instance of this app a config environment and an object store of its own (issue #412); --private-storage=false turns the policy off\n --regions <string> comma-separated region allow-list (store mode only); empty = any shape-valid region\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --seed <string> argv of the app's first-boot init command, whitespace-split (strings.Fields)\n"} |
| -{"case":"instances enable | -h","argv":["instances","enable","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances enable --app <a> [flags]\n\nSigned-in mode (carlos auth login; no CARLOS_DEPLOYMENT_* env): the console\nwrites the manifest, and pins its domain to your account's own platform\nsubdomain (<sqid>.<apps-domain>). --domain, --pool and --regions are operator,\nstore-mode flags and are refused here.\n\nStore mode (CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR set): every field\nis the operator's call, and --domain is required.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose instances this enables\n --channel, -c <string> release channel stamped into every record at create (store-mode default stable; signed-in mode: omitted preserves the manifest's)\n --console <string> console to enable through (signed-in 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 --domain <string> instance host domain suffix (store mode: required; signed-in mode: refused — the console pins it)\n --pool <string> pool stamped into every record at create (store mode only)\n --private-storage give every instance of this app a config environment and an object store of its own (issue #412); --private-storage=false turns the policy off\n --regions <string> comma-separated region allow-list (store mode only); empty = any shape-valid region\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --seed <string> argv of the app's first-boot init command, whitespace-split (strings.Fields)\n"} |
| +{"case":"instances enable | --zz-unknown-flag","argv":["instances","enable","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances enable --app <a> [flags]\n\nSigned-in mode (carlos auth login; no CARLOS_DEPLOYMENT_* env): the console\nwrites the manifest, and pins its domain to your account's own platform\nsubdomain (<sqid>.<apps-domain>). --domain, --pool and --regions are operator,\nstore-mode flags and are refused here.\n\nStore mode (CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR set): every field\nis the operator's call, and --domain is required.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose instances this enables\n --channel, -c <string> release channel stamped into every record at create (store-mode default stable; signed-in mode: omitted preserves the manifest's)\n --console <string> console to enable through (signed-in 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 --domain <string> instance host domain suffix (store mode: required; signed-in mode: refused — the console pins it)\n --pool <string> pool stamped into every record at create (store mode only)\n --private-storage give every instance of this app a config environment and an object store of its own (issue #412); --private-storage=false turns the policy off\n --regions <string> comma-separated region allow-list (store mode only); empty = any shape-valid region\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --seed <string> argv of the app's first-boot init command, whitespace-split (strings.Fields)\n --store-versioning version every private store made from now on, keeping old versions 30 days (see carlos store versioning); --store-versioning=false turns the policy off\n"} |
| +{"case":"instances enable | -h","argv":["instances","enable","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances enable --app <a> [flags]\n\nSigned-in mode (carlos auth login; no CARLOS_DEPLOYMENT_* env): the console\nwrites the manifest, and pins its domain to your account's own platform\nsubdomain (<sqid>.<apps-domain>). --domain, --pool and --regions are operator,\nstore-mode flags and are refused here.\n\nStore mode (CARLOS_DEPLOYMENT_BUCKET/CARLOS_DEPLOYMENT_DIR set): every field\nis the operator's call, and --domain is required.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one; ops in direct mode)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account; this is the flag an ambiguity error tells you to use\n --app, -a <string> app whose instances this enables\n --channel, -c <string> release channel stamped into every record at create (store-mode default stable; signed-in mode: omitted preserves the manifest's)\n --console <string> console to enable through (signed-in 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 --domain <string> instance host domain suffix (store mode: required; signed-in mode: refused — the console pins it)\n --pool <string> pool stamped into every record at create (store mode only)\n --private-storage give every instance of this app a config environment and an object store of its own (issue #412); --private-storage=false turns the policy off\n --regions <string> comma-separated region allow-list (store mode only); empty = any shape-valid region\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --seed <string> argv of the app's first-boot init command, whitespace-split (strings.Fields)\n --store-versioning version every private store made from now on, keeping old versions 30 days (see carlos store versioning); --store-versioning=false turns the policy off\n"} |
| {"case":"instances foo | extra","argv":["instances","foo"],"exit":1,"stdout":"","stderr":"unable to open database file (14)\n"} |
| {"case":"instances import abort | --zz-unknown-flag","argv":["instances","import","abort","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos instances import --app <a> --host <h> --file <snapshot> --replaces <host:port>\n [--verify <path>] [--environment <e>]\n carlos instances import commit --app <a> --host <h>\n carlos instances import abort --app <a> --host <h>\n\ncarlos instances import moves an instance the platform never ran onto the platform.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to create through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --host <string> instance host — one DNS label + \".\" + the app's instance domain\n"} |
| {"case":"instances import abort | -h","argv":["instances","import","abort","-h"],"exit":0,"stdout":"","stderr":"usage: carlos instances import --app <a> --host <h> --file <snapshot> --replaces <host:port>\n [--verify <path>] [--environment <e>]\n carlos instances import commit --app <a> --host <h>\n carlos instances import abort --app <a> --host <h>\n\ncarlos instances import moves an instance the platform never ran onto the platform.\nflags:\n --account <string> account (sqid or name) the app belongs to (default: your only account, or the configured/chosen one)\n --account-id <string> account sqid, matched as a sqid ONLY — supersedes --account\n --app, -a <string> app the instance belongs to\n --console <string> console to create through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n --host <string> instance host — one DNS label + \".\" + the app's instance domain\n"} |
| @@ -822,12 +822,14 @@ |
| {"case":"store approvals | -h","argv":["store","approvals","-h"],"exit":0,"stdout":"","stderr":"usage: carlos store approvals [flags]\nflags:\n --console <string> console origin to read through\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"} |
| {"case":"store approve | --zz-unknown-flag","argv":["store","approve","--zz-unknown-flag"],"exit":1,"stdout":"flag provided but not defined: -zz-unknown-flag\nusage: carlos store approve [flags]\nflags:\n --account <string> account sqid to approve\n --console <string> console origin to approve through\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","stderr":"store approve: flag provided but not defined: -zz-unknown-flag\n"} |
| {"case":"store approve | -h","argv":["store","approve","-h"],"exit":0,"stdout":"usage: carlos store approve [flags]\nflags:\n --account <string> account sqid to approve\n --console <string> console origin to approve through\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","stderr":""} |
| -{"case":"store create | --zz-unknown-flag","argv":["store","create","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos store create [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 to declare a store for\n --console <string> console origin to declare 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 --env-prefix <string> env var prefix to deliver under (default CARLOS_STORE)\n --environment <string> declare a store for this config environment instead of the app itself\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| -{"case":"store create | -h","argv":["store","create","-h"],"exit":0,"stdout":"","stderr":"usage: carlos store create [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 to declare a store for\n --console <string> console origin to declare 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 --env-prefix <string> env var prefix to deliver under (default CARLOS_STORE)\n --environment <string> declare a store for this config environment instead of the app itself\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"store create | --zz-unknown-flag","argv":["store","create","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos store create [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 to declare a store for\n --console <string> console origin to declare 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 --env-prefix <string> env var prefix to deliver under (default CARLOS_STORE)\n --environment <string> declare a store for this config environment instead of the app itself\n --keep-days <int> days to keep old versions, from 30 to 365 (default 30); implies --versioning\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --versioning keep old versions of this store's objects from the start (see carlos store versioning)\n"} |
| +{"case":"store create | -h","argv":["store","create","-h"],"exit":0,"stdout":"","stderr":"usage: carlos store create [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 to declare a store for\n --console <string> console origin to declare 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 --env-prefix <string> env var prefix to deliver under (default CARLOS_STORE)\n --environment <string> declare a store for this config environment instead of the app itself\n --keep-days <int> days to keep old versions, from 30 to 365 (default 30); implies --versioning\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --versioning keep old versions of this store's objects from the start (see carlos store versioning)\n"} |
| {"case":"store decline | --zz-unknown-flag","argv":["store","decline","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos store decline [flags]\nflags:\n --account <string> account sqid to decline\n --console <string> console origin to decline through\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 --reason <string> reason for declining object storage\n"} |
| {"case":"store decline | -h","argv":["store","decline","-h"],"exit":0,"stdout":"","stderr":"usage: carlos store decline [flags]\nflags:\n --account <string> account sqid to decline\n --console <string> console origin to decline through\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 --reason <string> reason for declining object storage\n"} |
| {"case":"store grant | --zz-unknown-flag","argv":["store","grant","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos store grant [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 to grant a store for\n --bucket <string> adopt this existing bucket instead of minting one\n --console <string> console origin to grant 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 <string> grant this config environment's store instead of the app's own\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| {"case":"store grant | -h","argv":["store","grant","-h"],"exit":0,"stdout":"","stderr":"usage: carlos store grant [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 to grant a store for\n --bucket <string> adopt this existing bucket instead of minting one\n --console <string> console origin to grant 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 <string> grant this config environment's store instead of the app's own\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"store restore | --zz-unknown-flag","argv":["store","restore","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos store restore [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 whose store to version\n --console <string> console origin to act 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 <string> the config environment whose store to act on (default: the app's own)\n --key <string> the object's key\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --version <string> the version to make current again (from carlos store versions)\n"} |
| +{"case":"store restore | -h","argv":["store","restore","-h"],"exit":0,"stdout":"","stderr":"usage: carlos store restore [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 whose store to version\n --console <string> console origin to act 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 <string> the config environment whose store to act on (default: the app's own)\n --key <string> the object's key\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n --version <string> the version to make current again (from carlos store versions)\n"} |
| {"case":"store rotate | --zz-unknown-flag","argv":["store","rotate","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos store rotate [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 whose store credential to rotate\n --console <string> console origin to rotate 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 <string> rotate this config environment's store instead of the app's own\n --finish delete the previous key instead of minting a new one\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| {"case":"store rotate | -h","argv":["store","rotate","-h"],"exit":0,"stdout":"","stderr":"usage: carlos store rotate [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 whose store credential to rotate\n --console <string> console origin to rotate 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 <string> rotate this config environment's store instead of the app's own\n --finish delete the previous key instead of minting a new one\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| {"case":"store scan enforce | --zz-unknown-flag","argv":["store","scan","enforce","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"store scan enforce: say which — `carlos store scan enforce --app <a> on` or `... off`\n"} |
| @@ -865,12 +867,26 @@ |
| {"case":"store uploads | bare","argv":["store","uploads"],"exit":1,"stdout":"","stderr":"usage: carlos store uploads <enable|status|disable> --app <a> [flags]\n\n enable --app <a> [--origin <o>]...\n status --app <a>\n disable --app <a>\n\nLets browsers on the origins you name upload large files in parts straight to the app's store. With no --origin, it uses and prints the app's hostnames today. disable removes the rules again.\n\nFlags: --account/--account-id to disambiguate, --console to pick a console.\n"} |
| {"case":"store uploads | help","argv":["store","uploads","help"],"exit":1,"stdout":"","stderr":"usage: carlos store uploads <enable|status|disable> --app <a> [flags]\n\n enable --app <a> [--origin <o>]...\n status --app <a>\n disable --app <a>\n\nLets browsers on the origins you name upload large files in parts straight to the app's store. With no --origin, it uses and prints the app's hostnames today. disable removes the rules again.\n\nFlags: --account/--account-id to disambiguate, --console to pick a console.\n"} |
| {"case":"store uploads | zz-unknown","argv":["store","uploads","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos store uploads <enable|status|disable> --app <a> [flags]\n\n enable --app <a> [--origin <o>]...\n status --app <a>\n disable --app <a>\n\nLets browsers on the origins you name upload large files in parts straight to the app's store. With no --origin, it uses and prints the app's hostnames today. disable removes the rules again.\n\nFlags: --account/--account-id to disambiguate, --console to pick a console.\n"} |
| -{"case":"store | --help","argv":["store","--help"],"exit":1,"stdout":"","stderr":"usage: carlos store <create|status|apply|approvals|approve|decline|grant|rotate|scan|uploads> [flags]\n\n\n create --app <a> [--env-prefix <PREFIX>] [--environment <e>]\n declare that this app wants object storage, under\n an env prefix (default CARLOS_STORE). For an\n approved account, this also provisions the store.\n --environment declares a store belonging to one\n named config bundle, with its own bucket and its\n own credential, delivered into that bundle.\n status --app <a> [--environment <e>]\n show what's declared, granted and provisioned,\n which delivered variables have not reached the\n app's config yet, and whether a rotation is only\n half finished. Without --environment it also names\n every environment this app has a store for.\n apply [--note <text>] apply for object storage for an account you own.\n approvals list pending account applications (operator only).\n approve --account <sqid>\n approve an account for object storage (operator\n only; an explicit account sqid is required).\n decline --account <sqid> --reason <text>\n decline an account application (operator only;\n an explicit account sqid and reason are required).\n grant --app <a> [--bucket <name>] [--environment <e>]\n provision the declared store and deliver its\n credentials. Needs a deployment operator\n (CARLOS_STORE_OPERATORS) — a 403 for anyone else,\n member or not. --bucket adopts an existing bucket\n instead of minting one.\n rotate --app <a> [--finish] [--environment <e>]\n mint a fresh credential, leaving the old one live\n until --finish deletes it. A member verb: spends\n nothing new, so there is no operator gate here.\n scan <sub-verb> --app <a>\n virus scanning over the store's objects — off by\n default. Run carlos store scan on its own to list\n the sub-verbs. A clean result on a client-encrypted\n store means nothing, and the CLI says so rather\n than claiming coverage it cannot have.\n uploads <enable|status|disable> --app <a> [--origin <o>]...\n Lets browsers on the origins you name upload large\n files in parts straight to the app's store. With no\n --origin, it uses and prints the app's hostnames\n today. disable removes the rules again.\n\n --account <sqid|name> account the app belongs to (default: your only\n account, or the configured/chosen one) —\n resolved by the console against your own\n memberships; signed-in mode only.\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\nApply, create, status, grant and rotate resolve accounts through your own\nmemberships. Approve and decline take an explicit sqid and do not require\nmembership in the target account.\n\nSigned-in only (carlos auth login): storage records live in the console's\nown deployment bucket and its grant/rotate walks touch the deployment's own\ncloud account — there is no direct-bucket equivalent for any of these\nverbs.\n\n"} |
| -{"case":"store | --zz-unknown-flag","argv":["store","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"usage: carlos store <create|status|apply|approvals|approve|decline|grant|rotate|scan|uploads> [flags]\n\n\n create --app <a> [--env-prefix <PREFIX>] [--environment <e>]\n declare that this app wants object storage, under\n an env prefix (default CARLOS_STORE). For an\n approved account, this also provisions the store.\n --environment declares a store belonging to one\n named config bundle, with its own bucket and its\n own credential, delivered into that bundle.\n status --app <a> [--environment <e>]\n show what's declared, granted and provisioned,\n which delivered variables have not reached the\n app's config yet, and whether a rotation is only\n half finished. Without --environment it also names\n every environment this app has a store for.\n apply [--note <text>] apply for object storage for an account you own.\n approvals list pending account applications (operator only).\n approve --account <sqid>\n approve an account for object storage (operator\n only; an explicit account sqid is required).\n decline --account <sqid> --reason <text>\n decline an account application (operator only;\n an explicit account sqid and reason are required).\n grant --app <a> [--bucket <name>] [--environment <e>]\n provision the declared store and deliver its\n credentials. Needs a deployment operator\n (CARLOS_STORE_OPERATORS) — a 403 for anyone else,\n member or not. --bucket adopts an existing bucket\n instead of minting one.\n rotate --app <a> [--finish] [--environment <e>]\n mint a fresh credential, leaving the old one live\n until --finish deletes it. A member verb: spends\n nothing new, so there is no operator gate here.\n scan <sub-verb> --app <a>\n virus scanning over the store's objects — off by\n default. Run carlos store scan on its own to list\n the sub-verbs. A clean result on a client-encrypted\n store means nothing, and the CLI says so rather\n than claiming coverage it cannot have.\n uploads <enable|status|disable> --app <a> [--origin <o>]...\n Lets browsers on the origins you name upload large\n files in parts straight to the app's store. With no\n --origin, it uses and prints the app's hostnames\n today. disable removes the rules again.\n\n --account <sqid|name> account the app belongs to (default: your only\n account, or the configured/chosen one) —\n resolved by the console against your own\n memberships; signed-in mode only.\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\nApply, create, status, grant and rotate resolve accounts through your own\nmemberships. Approve and decline take an explicit sqid and do not require\nmembership in the target account.\n\nSigned-in only (carlos auth login): storage records live in the console's\nown deployment bucket and its grant/rotate walks touch the deployment's own\ncloud account — there is no direct-bucket equivalent for any of these\nverbs.\n\n"} |
| -{"case":"store | -h","argv":["store","-h"],"exit":1,"stdout":"","stderr":"usage: carlos store <create|status|apply|approvals|approve|decline|grant|rotate|scan|uploads> [flags]\n\n\n create --app <a> [--env-prefix <PREFIX>] [--environment <e>]\n declare that this app wants object storage, under\n an env prefix (default CARLOS_STORE). For an\n approved account, this also provisions the store.\n --environment declares a store belonging to one\n named config bundle, with its own bucket and its\n own credential, delivered into that bundle.\n status --app <a> [--environment <e>]\n show what's declared, granted and provisioned,\n which delivered variables have not reached the\n app's config yet, and whether a rotation is only\n half finished. Without --environment it also names\n every environment this app has a store for.\n apply [--note <text>] apply for object storage for an account you own.\n approvals list pending account applications (operator only).\n approve --account <sqid>\n approve an account for object storage (operator\n only; an explicit account sqid is required).\n decline --account <sqid> --reason <text>\n decline an account application (operator only;\n an explicit account sqid and reason are required).\n grant --app <a> [--bucket <name>] [--environment <e>]\n provision the declared store and deliver its\n credentials. Needs a deployment operator\n (CARLOS_STORE_OPERATORS) — a 403 for anyone else,\n member or not. --bucket adopts an existing bucket\n instead of minting one.\n rotate --app <a> [--finish] [--environment <e>]\n mint a fresh credential, leaving the old one live\n until --finish deletes it. A member verb: spends\n nothing new, so there is no operator gate here.\n scan <sub-verb> --app <a>\n virus scanning over the store's objects — off by\n default. Run carlos store scan on its own to list\n the sub-verbs. A clean result on a client-encrypted\n store means nothing, and the CLI says so rather\n than claiming coverage it cannot have.\n uploads <enable|status|disable> --app <a> [--origin <o>]...\n Lets browsers on the origins you name upload large\n files in parts straight to the app's store. With no\n --origin, it uses and prints the app's hostnames\n today. disable removes the rules again.\n\n --account <sqid|name> account the app belongs to (default: your only\n account, or the configured/chosen one) —\n resolved by the console against your own\n memberships; signed-in mode only.\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\nApply, create, status, grant and rotate resolve accounts through your own\nmemberships. Approve and decline take an explicit sqid and do not require\nmembership in the target account.\n\nSigned-in only (carlos auth login): storage records live in the console's\nown deployment bucket and its grant/rotate walks touch the deployment's own\ncloud account — there is no direct-bucket equivalent for any of these\nverbs.\n\n"} |
| -{"case":"store | bare","argv":["store"],"exit":1,"stdout":"","stderr":"usage: carlos store <create|status|apply|approvals|approve|decline|grant|rotate|scan|uploads> [flags]\n\n\n create --app <a> [--env-prefix <PREFIX>] [--environment <e>]\n declare that this app wants object storage, under\n an env prefix (default CARLOS_STORE). For an\n approved account, this also provisions the store.\n --environment declares a store belonging to one\n named config bundle, with its own bucket and its\n own credential, delivered into that bundle.\n status --app <a> [--environment <e>]\n show what's declared, granted and provisioned,\n which delivered variables have not reached the\n app's config yet, and whether a rotation is only\n half finished. Without --environment it also names\n every environment this app has a store for.\n apply [--note <text>] apply for object storage for an account you own.\n approvals list pending account applications (operator only).\n approve --account <sqid>\n approve an account for object storage (operator\n only; an explicit account sqid is required).\n decline --account <sqid> --reason <text>\n decline an account application (operator only;\n an explicit account sqid and reason are required).\n grant --app <a> [--bucket <name>] [--environment <e>]\n provision the declared store and deliver its\n credentials. Needs a deployment operator\n (CARLOS_STORE_OPERATORS) — a 403 for anyone else,\n member or not. --bucket adopts an existing bucket\n instead of minting one.\n rotate --app <a> [--finish] [--environment <e>]\n mint a fresh credential, leaving the old one live\n until --finish deletes it. A member verb: spends\n nothing new, so there is no operator gate here.\n scan <sub-verb> --app <a>\n virus scanning over the store's objects — off by\n default. Run carlos store scan on its own to list\n the sub-verbs. A clean result on a client-encrypted\n store means nothing, and the CLI says so rather\n than claiming coverage it cannot have.\n uploads <enable|status|disable> --app <a> [--origin <o>]...\n Lets browsers on the origins you name upload large\n files in parts straight to the app's store. With no\n --origin, it uses and prints the app's hostnames\n today. disable removes the rules again.\n\n --account <sqid|name> account the app belongs to (default: your only\n account, or the configured/chosen one) —\n resolved by the console against your own\n memberships; signed-in mode only.\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\nApply, create, status, grant and rotate resolve accounts through your own\nmemberships. Approve and decline take an explicit sqid and do not require\nmembership in the target account.\n\nSigned-in only (carlos auth login): storage records live in the console's\nown deployment bucket and its grant/rotate walks touch the deployment's own\ncloud account — there is no direct-bucket equivalent for any of these\nverbs.\n\n"} |
| -{"case":"store | help","argv":["store","help"],"exit":1,"stdout":"","stderr":"usage: carlos store <create|status|apply|approvals|approve|decline|grant|rotate|scan|uploads> [flags]\n\n\n create --app <a> [--env-prefix <PREFIX>] [--environment <e>]\n declare that this app wants object storage, under\n an env prefix (default CARLOS_STORE). For an\n approved account, this also provisions the store.\n --environment declares a store belonging to one\n named config bundle, with its own bucket and its\n own credential, delivered into that bundle.\n status --app <a> [--environment <e>]\n show what's declared, granted and provisioned,\n which delivered variables have not reached the\n app's config yet, and whether a rotation is only\n half finished. Without --environment it also names\n every environment this app has a store for.\n apply [--note <text>] apply for object storage for an account you own.\n approvals list pending account applications (operator only).\n approve --account <sqid>\n approve an account for object storage (operator\n only; an explicit account sqid is required).\n decline --account <sqid> --reason <text>\n decline an account application (operator only;\n an explicit account sqid and reason are required).\n grant --app <a> [--bucket <name>] [--environment <e>]\n provision the declared store and deliver its\n credentials. Needs a deployment operator\n (CARLOS_STORE_OPERATORS) — a 403 for anyone else,\n member or not. --bucket adopts an existing bucket\n instead of minting one.\n rotate --app <a> [--finish] [--environment <e>]\n mint a fresh credential, leaving the old one live\n until --finish deletes it. A member verb: spends\n nothing new, so there is no operator gate here.\n scan <sub-verb> --app <a>\n virus scanning over the store's objects — off by\n default. Run carlos store scan on its own to list\n the sub-verbs. A clean result on a client-encrypted\n store means nothing, and the CLI says so rather\n than claiming coverage it cannot have.\n uploads <enable|status|disable> --app <a> [--origin <o>]...\n Lets browsers on the origins you name upload large\n files in parts straight to the app's store. With no\n --origin, it uses and prints the app's hostnames\n today. disable removes the rules again.\n\n --account <sqid|name> account the app belongs to (default: your only\n account, or the configured/chosen one) —\n resolved by the console against your own\n memberships; signed-in mode only.\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\nApply, create, status, grant and rotate resolve accounts through your own\nmemberships. Approve and decline take an explicit sqid and do not require\nmembership in the target account.\n\nSigned-in only (carlos auth login): storage records live in the console's\nown deployment bucket and its grant/rotate walks touch the deployment's own\ncloud account — there is no direct-bucket equivalent for any of these\nverbs.\n\n"} |
| -{"case":"store | zz-unknown","argv":["store","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos store <create|status|apply|approvals|approve|decline|grant|rotate|scan|uploads> [flags]\n\n\n create --app <a> [--env-prefix <PREFIX>] [--environment <e>]\n declare that this app wants object storage, under\n an env prefix (default CARLOS_STORE). For an\n approved account, this also provisions the store.\n --environment declares a store belonging to one\n named config bundle, with its own bucket and its\n own credential, delivered into that bundle.\n status --app <a> [--environment <e>]\n show what's declared, granted and provisioned,\n which delivered variables have not reached the\n app's config yet, and whether a rotation is only\n half finished. Without --environment it also names\n every environment this app has a store for.\n apply [--note <text>] apply for object storage for an account you own.\n approvals list pending account applications (operator only).\n approve --account <sqid>\n approve an account for object storage (operator\n only; an explicit account sqid is required).\n decline --account <sqid> --reason <text>\n decline an account application (operator only;\n an explicit account sqid and reason are required).\n grant --app <a> [--bucket <name>] [--environment <e>]\n provision the declared store and deliver its\n credentials. Needs a deployment operator\n (CARLOS_STORE_OPERATORS) — a 403 for anyone else,\n member or not. --bucket adopts an existing bucket\n instead of minting one.\n rotate --app <a> [--finish] [--environment <e>]\n mint a fresh credential, leaving the old one live\n until --finish deletes it. A member verb: spends\n nothing new, so there is no operator gate here.\n scan <sub-verb> --app <a>\n virus scanning over the store's objects — off by\n default. Run carlos store scan on its own to list\n the sub-verbs. A clean result on a client-encrypted\n store means nothing, and the CLI says so rather\n than claiming coverage it cannot have.\n uploads <enable|status|disable> --app <a> [--origin <o>]...\n Lets browsers on the origins you name upload large\n files in parts straight to the app's store. With no\n --origin, it uses and prints the app's hostnames\n today. disable removes the rules again.\n\n --account <sqid|name> account the app belongs to (default: your only\n account, or the configured/chosen one) —\n resolved by the console against your own\n memberships; signed-in mode only.\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\nApply, create, status, grant and rotate resolve accounts through your own\nmemberships. Approve and decline take an explicit sqid and do not require\nmembership in the target account.\n\nSigned-in only (carlos auth login): storage records live in the console's\nown deployment bucket and its grant/rotate walks touch the deployment's own\ncloud account — there is no direct-bucket equivalent for any of these\nverbs.\n\n"} |
| +{"case":"store versioning off | --zz-unknown-flag","argv":["store","versioning","off","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos store versioning off [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 whose store to version\n --console <string> console origin to act 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 <string> the config environment whose store to act on (default: the app's own)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"store versioning off | -h","argv":["store","versioning","off","-h"],"exit":0,"stdout":"","stderr":"usage: carlos store versioning off [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 whose store to version\n --console <string> console origin to act 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 <string> the config environment whose store to act on (default: the app's own)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"store versioning on | --zz-unknown-flag","argv":["store","versioning","on","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos store versioning on [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 whose store to version\n --console <string> console origin to act 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 <string> the config environment whose store to act on (default: the app's own)\n --keep-days <int> days to keep old versions, from 30 to 365 (default 30, or the store's current setting); can't be lowered\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"store versioning on | -h","argv":["store","versioning","on","-h"],"exit":0,"stdout":"","stderr":"usage: carlos store versioning on [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 whose store to version\n --console <string> console origin to act 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 <string> the config environment whose store to act on (default: the app's own)\n --keep-days <int> days to keep old versions, from 30 to 365 (default 30, or the store's current setting); can't be lowered\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"store versioning status | --zz-unknown-flag","argv":["store","versioning","status","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos store versioning status [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 whose store to version\n --console <string> console origin to act 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 <string> the config environment whose store to act on (default: the app's own)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"store versioning status | -h","argv":["store","versioning","status","-h"],"exit":0,"stdout":"","stderr":"usage: carlos store versioning status [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 whose store to version\n --console <string> console origin to act 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 <string> the config environment whose store to act on (default: the app's own)\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"store versioning | --help","argv":["store","versioning","--help"],"exit":1,"stdout":"","stderr":"usage: carlos store versioning <on|off|status> --app <a> [--environment <e>] [--keep-days <n>]\n\nKeeps old versions of the store's objects, so a delete or an overwrite can be undone. Old versions are kept 30 days unless --keep-days says longer.\n"} |
| +{"case":"store versioning | --zz-unknown-flag","argv":["store","versioning","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"usage: carlos store versioning <on|off|status> --app <a> [--environment <e>] [--keep-days <n>]\n\nKeeps old versions of the store's objects, so a delete or an overwrite can be undone. Old versions are kept 30 days unless --keep-days says longer.\n"} |
| +{"case":"store versioning | -h","argv":["store","versioning","-h"],"exit":1,"stdout":"","stderr":"usage: carlos store versioning <on|off|status> --app <a> [--environment <e>] [--keep-days <n>]\n\nKeeps old versions of the store's objects, so a delete or an overwrite can be undone. Old versions are kept 30 days unless --keep-days says longer.\n"} |
| +{"case":"store versioning | bare","argv":["store","versioning"],"exit":1,"stdout":"","stderr":"usage: carlos store versioning <on|off|status> --app <a> [--environment <e>] [--keep-days <n>]\n\nKeeps old versions of the store's objects, so a delete or an overwrite can be undone. Old versions are kept 30 days unless --keep-days says longer.\n"} |
| +{"case":"store versioning | help","argv":["store","versioning","help"],"exit":1,"stdout":"","stderr":"usage: carlos store versioning <on|off|status> --app <a> [--environment <e>] [--keep-days <n>]\n\nKeeps old versions of the store's objects, so a delete or an overwrite can be undone. Old versions are kept 30 days unless --keep-days says longer.\n"} |
| +{"case":"store versioning | zz-unknown","argv":["store","versioning","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos store versioning <on|off|status> --app <a> [--environment <e>] [--keep-days <n>]\n\nKeeps old versions of the store's objects, so a delete or an overwrite can be undone. Old versions are kept 30 days unless --keep-days says longer.\n"} |
| +{"case":"store versions | --zz-unknown-flag","argv":["store","versions","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos store versions [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 whose store to version\n --console <string> console origin to act 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 <string> the config environment whose store to act on (default: the app's own)\n --key <string> the object's key\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"store versions | -h","argv":["store","versions","-h"],"exit":0,"stdout":"","stderr":"usage: carlos store versions [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 whose store to version\n --console <string> console origin to act 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 <string> the config environment whose store to act on (default: the app's own)\n --key <string> the object's key\n --registry <string> registry database (resolves --account) (default: $DIR/data/registry.db)\n"} |
| +{"case":"store | --help","argv":["store","--help"],"exit":1,"stdout":"","stderr":"usage: carlos store <create|status|apply|approvals|approve|decline|grant|rotate|scan|uploads|versioning|versions|restore> [flags]\n\n\n create --app <a> [--env-prefix <PREFIX>] [--environment <e>] [--versioning [--keep-days <n>]]\n declare that this app wants object storage, under\n an env prefix (default CARLOS_STORE). For an\n approved account, this also provisions the store.\n --environment declares a store belonging to one\n named config bundle, with its own bucket and its\n own credential, delivered into that bundle.\n status --app <a> [--environment <e>]\n show what's declared, granted and provisioned,\n which delivered variables have not reached the\n app's config yet, and whether a rotation is only\n half finished. Without --environment it also names\n every environment this app has a store for.\n apply [--note <text>] apply for object storage for an account you own.\n approvals list pending account applications (operator only).\n approve --account <sqid>\n approve an account for object storage (operator\n only; an explicit account sqid is required).\n decline --account <sqid> --reason <text>\n decline an account application (operator only;\n an explicit account sqid and reason are required).\n grant --app <a> [--bucket <name>] [--environment <e>]\n provision the declared store and deliver its\n credentials. Needs a deployment operator\n (CARLOS_STORE_OPERATORS) — a 403 for anyone else,\n member or not. --bucket adopts an existing bucket\n instead of minting one.\n rotate --app <a> [--finish] [--environment <e>]\n mint a fresh credential, leaving the old one live\n until --finish deletes it. A member verb: spends\n nothing new, so there is no operator gate here.\n scan <sub-verb> --app <a>\n virus scanning over the store's objects — off by\n default. Run carlos store scan on its own to list\n the sub-verbs. A clean result on a client-encrypted\n store means nothing, and the CLI says so rather\n than claiming coverage it cannot have.\n uploads <enable|status|disable> --app <a> [--origin <o>]...\n Lets browsers on the origins you name upload large\n files in parts straight to the app's store. With no\n --origin, it uses and prints the app's hostnames\n today. disable removes the rules again.\n versioning <on|off|status> --app <a> [--environment <e>] [--keep-days <n>]\n keep old versions of the store's objects, so a\n delete or an overwrite can be undone. Old versions\n are kept 30 days unless --keep-days says longer.\n versions --app <a> --key <key> [--environment <e>]\n list one object's versions, newest first.\n restore --app <a> --key <key> --version <id> [--environment <e>]\n make an old version current again. Nothing is deleted.\n\n --account <sqid|name> account the app belongs to (default: your only\n account, or the configured/chosen one) —\n resolved by the console against your own\n memberships; signed-in mode only.\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\nApply, create, status, grant and rotate resolve accounts through your own\nmemberships. Approve and decline take an explicit sqid and do not require\nmembership in the target account.\n\nSigned-in only (carlos auth login): storage records live in the console's\nown deployment bucket and its grant/rotate walks touch the deployment's own\ncloud account — there is no direct-bucket equivalent for any of these\nverbs.\n\n"} |
| +{"case":"store | --zz-unknown-flag","argv":["store","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"usage: carlos store <create|status|apply|approvals|approve|decline|grant|rotate|scan|uploads|versioning|versions|restore> [flags]\n\n\n create --app <a> [--env-prefix <PREFIX>] [--environment <e>] [--versioning [--keep-days <n>]]\n declare that this app wants object storage, under\n an env prefix (default CARLOS_STORE). For an\n approved account, this also provisions the store.\n --environment declares a store belonging to one\n named config bundle, with its own bucket and its\n own credential, delivered into that bundle.\n status --app <a> [--environment <e>]\n show what's declared, granted and provisioned,\n which delivered variables have not reached the\n app's config yet, and whether a rotation is only\n half finished. Without --environment it also names\n every environment this app has a store for.\n apply [--note <text>] apply for object storage for an account you own.\n approvals list pending account applications (operator only).\n approve --account <sqid>\n approve an account for object storage (operator\n only; an explicit account sqid is required).\n decline --account <sqid> --reason <text>\n decline an account application (operator only;\n an explicit account sqid and reason are required).\n grant --app <a> [--bucket <name>] [--environment <e>]\n provision the declared store and deliver its\n credentials. Needs a deployment operator\n (CARLOS_STORE_OPERATORS) — a 403 for anyone else,\n member or not. --bucket adopts an existing bucket\n instead of minting one.\n rotate --app <a> [--finish] [--environment <e>]\n mint a fresh credential, leaving the old one live\n until --finish deletes it. A member verb: spends\n nothing new, so there is no operator gate here.\n scan <sub-verb> --app <a>\n virus scanning over the store's objects — off by\n default. Run carlos store scan on its own to list\n the sub-verbs. A clean result on a client-encrypted\n store means nothing, and the CLI says so rather\n than claiming coverage it cannot have.\n uploads <enable|status|disable> --app <a> [--origin <o>]...\n Lets browsers on the origins you name upload large\n files in parts straight to the app's store. With no\n --origin, it uses and prints the app's hostnames\n today. disable removes the rules again.\n versioning <on|off|status> --app <a> [--environment <e>] [--keep-days <n>]\n keep old versions of the store's objects, so a\n delete or an overwrite can be undone. Old versions\n are kept 30 days unless --keep-days says longer.\n versions --app <a> --key <key> [--environment <e>]\n list one object's versions, newest first.\n restore --app <a> --key <key> --version <id> [--environment <e>]\n make an old version current again. Nothing is deleted.\n\n --account <sqid|name> account the app belongs to (default: your only\n account, or the configured/chosen one) —\n resolved by the console against your own\n memberships; signed-in mode only.\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\nApply, create, status, grant and rotate resolve accounts through your own\nmemberships. Approve and decline take an explicit sqid and do not require\nmembership in the target account.\n\nSigned-in only (carlos auth login): storage records live in the console's\nown deployment bucket and its grant/rotate walks touch the deployment's own\ncloud account — there is no direct-bucket equivalent for any of these\nverbs.\n\n"} |
| +{"case":"store | -h","argv":["store","-h"],"exit":1,"stdout":"","stderr":"usage: carlos store <create|status|apply|approvals|approve|decline|grant|rotate|scan|uploads|versioning|versions|restore> [flags]\n\n\n create --app <a> [--env-prefix <PREFIX>] [--environment <e>] [--versioning [--keep-days <n>]]\n declare that this app wants object storage, under\n an env prefix (default CARLOS_STORE). For an\n approved account, this also provisions the store.\n --environment declares a store belonging to one\n named config bundle, with its own bucket and its\n own credential, delivered into that bundle.\n status --app <a> [--environment <e>]\n show what's declared, granted and provisioned,\n which delivered variables have not reached the\n app's config yet, and whether a rotation is only\n half finished. Without --environment it also names\n every environment this app has a store for.\n apply [--note <text>] apply for object storage for an account you own.\n approvals list pending account applications (operator only).\n approve --account <sqid>\n approve an account for object storage (operator\n only; an explicit account sqid is required).\n decline --account <sqid> --reason <text>\n decline an account application (operator only;\n an explicit account sqid and reason are required).\n grant --app <a> [--bucket <name>] [--environment <e>]\n provision the declared store and deliver its\n credentials. Needs a deployment operator\n (CARLOS_STORE_OPERATORS) — a 403 for anyone else,\n member or not. --bucket adopts an existing bucket\n instead of minting one.\n rotate --app <a> [--finish] [--environment <e>]\n mint a fresh credential, leaving the old one live\n until --finish deletes it. A member verb: spends\n nothing new, so there is no operator gate here.\n scan <sub-verb> --app <a>\n virus scanning over the store's objects — off by\n default. Run carlos store scan on its own to list\n the sub-verbs. A clean result on a client-encrypted\n store means nothing, and the CLI says so rather\n than claiming coverage it cannot have.\n uploads <enable|status|disable> --app <a> [--origin <o>]...\n Lets browsers on the origins you name upload large\n files in parts straight to the app's store. With no\n --origin, it uses and prints the app's hostnames\n today. disable removes the rules again.\n versioning <on|off|status> --app <a> [--environment <e>] [--keep-days <n>]\n keep old versions of the store's objects, so a\n delete or an overwrite can be undone. Old versions\n are kept 30 days unless --keep-days says longer.\n versions --app <a> --key <key> [--environment <e>]\n list one object's versions, newest first.\n restore --app <a> --key <key> --version <id> [--environment <e>]\n make an old version current again. Nothing is deleted.\n\n --account <sqid|name> account the app belongs to (default: your only\n account, or the configured/chosen one) —\n resolved by the console against your own\n memberships; signed-in mode only.\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\nApply, create, status, grant and rotate resolve accounts through your own\nmemberships. Approve and decline take an explicit sqid and do not require\nmembership in the target account.\n\nSigned-in only (carlos auth login): storage records live in the console's\nown deployment bucket and its grant/rotate walks touch the deployment's own\ncloud account — there is no direct-bucket equivalent for any of these\nverbs.\n\n"} |
| +{"case":"store | bare","argv":["store"],"exit":1,"stdout":"","stderr":"usage: carlos store <create|status|apply|approvals|approve|decline|grant|rotate|scan|uploads|versioning|versions|restore> [flags]\n\n\n create --app <a> [--env-prefix <PREFIX>] [--environment <e>] [--versioning [--keep-days <n>]]\n declare that this app wants object storage, under\n an env prefix (default CARLOS_STORE). For an\n approved account, this also provisions the store.\n --environment declares a store belonging to one\n named config bundle, with its own bucket and its\n own credential, delivered into that bundle.\n status --app <a> [--environment <e>]\n show what's declared, granted and provisioned,\n which delivered variables have not reached the\n app's config yet, and whether a rotation is only\n half finished. Without --environment it also names\n every environment this app has a store for.\n apply [--note <text>] apply for object storage for an account you own.\n approvals list pending account applications (operator only).\n approve --account <sqid>\n approve an account for object storage (operator\n only; an explicit account sqid is required).\n decline --account <sqid> --reason <text>\n decline an account application (operator only;\n an explicit account sqid and reason are required).\n grant --app <a> [--bucket <name>] [--environment <e>]\n provision the declared store and deliver its\n credentials. Needs a deployment operator\n (CARLOS_STORE_OPERATORS) — a 403 for anyone else,\n member or not. --bucket adopts an existing bucket\n instead of minting one.\n rotate --app <a> [--finish] [--environment <e>]\n mint a fresh credential, leaving the old one live\n until --finish deletes it. A member verb: spends\n nothing new, so there is no operator gate here.\n scan <sub-verb> --app <a>\n virus scanning over the store's objects — off by\n default. Run carlos store scan on its own to list\n the sub-verbs. A clean result on a client-encrypted\n store means nothing, and the CLI says so rather\n than claiming coverage it cannot have.\n uploads <enable|status|disable> --app <a> [--origin <o>]...\n Lets browsers on the origins you name upload large\n files in parts straight to the app's store. With no\n --origin, it uses and prints the app's hostnames\n today. disable removes the rules again.\n versioning <on|off|status> --app <a> [--environment <e>] [--keep-days <n>]\n keep old versions of the store's objects, so a\n delete or an overwrite can be undone. Old versions\n are kept 30 days unless --keep-days says longer.\n versions --app <a> --key <key> [--environment <e>]\n list one object's versions, newest first.\n restore --app <a> --key <key> --version <id> [--environment <e>]\n make an old version current again. Nothing is deleted.\n\n --account <sqid|name> account the app belongs to (default: your only\n account, or the configured/chosen one) —\n resolved by the console against your own\n memberships; signed-in mode only.\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\nApply, create, status, grant and rotate resolve accounts through your own\nmemberships. Approve and decline take an explicit sqid and do not require\nmembership in the target account.\n\nSigned-in only (carlos auth login): storage records live in the console's\nown deployment bucket and its grant/rotate walks touch the deployment's own\ncloud account — there is no direct-bucket equivalent for any of these\nverbs.\n\n"} |
| +{"case":"store | help","argv":["store","help"],"exit":1,"stdout":"","stderr":"usage: carlos store <create|status|apply|approvals|approve|decline|grant|rotate|scan|uploads|versioning|versions|restore> [flags]\n\n\n create --app <a> [--env-prefix <PREFIX>] [--environment <e>] [--versioning [--keep-days <n>]]\n declare that this app wants object storage, under\n an env prefix (default CARLOS_STORE). For an\n approved account, this also provisions the store.\n --environment declares a store belonging to one\n named config bundle, with its own bucket and its\n own credential, delivered into that bundle.\n status --app <a> [--environment <e>]\n show what's declared, granted and provisioned,\n which delivered variables have not reached the\n app's config yet, and whether a rotation is only\n half finished. Without --environment it also names\n every environment this app has a store for.\n apply [--note <text>] apply for object storage for an account you own.\n approvals list pending account applications (operator only).\n approve --account <sqid>\n approve an account for object storage (operator\n only; an explicit account sqid is required).\n decline --account <sqid> --reason <text>\n decline an account application (operator only;\n an explicit account sqid and reason are required).\n grant --app <a> [--bucket <name>] [--environment <e>]\n provision the declared store and deliver its\n credentials. Needs a deployment operator\n (CARLOS_STORE_OPERATORS) — a 403 for anyone else,\n member or not. --bucket adopts an existing bucket\n instead of minting one.\n rotate --app <a> [--finish] [--environment <e>]\n mint a fresh credential, leaving the old one live\n until --finish deletes it. A member verb: spends\n nothing new, so there is no operator gate here.\n scan <sub-verb> --app <a>\n virus scanning over the store's objects — off by\n default. Run carlos store scan on its own to list\n the sub-verbs. A clean result on a client-encrypted\n store means nothing, and the CLI says so rather\n than claiming coverage it cannot have.\n uploads <enable|status|disable> --app <a> [--origin <o>]...\n Lets browsers on the origins you name upload large\n files in parts straight to the app's store. With no\n --origin, it uses and prints the app's hostnames\n today. disable removes the rules again.\n versioning <on|off|status> --app <a> [--environment <e>] [--keep-days <n>]\n keep old versions of the store's objects, so a\n delete or an overwrite can be undone. Old versions\n are kept 30 days unless --keep-days says longer.\n versions --app <a> --key <key> [--environment <e>]\n list one object's versions, newest first.\n restore --app <a> --key <key> --version <id> [--environment <e>]\n make an old version current again. Nothing is deleted.\n\n --account <sqid|name> account the app belongs to (default: your only\n account, or the configured/chosen one) —\n resolved by the console against your own\n memberships; signed-in mode only.\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\nApply, create, status, grant and rotate resolve accounts through your own\nmemberships. Approve and decline take an explicit sqid and do not require\nmembership in the target account.\n\nSigned-in only (carlos auth login): storage records live in the console's\nown deployment bucket and its grant/rotate walks touch the deployment's own\ncloud account — there is no direct-bucket equivalent for any of these\nverbs.\n\n"} |
| +{"case":"store | zz-unknown","argv":["store","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos store <create|status|apply|approvals|approve|decline|grant|rotate|scan|uploads|versioning|versions|restore> [flags]\n\n\n create --app <a> [--env-prefix <PREFIX>] [--environment <e>] [--versioning [--keep-days <n>]]\n declare that this app wants object storage, under\n an env prefix (default CARLOS_STORE). For an\n approved account, this also provisions the store.\n --environment declares a store belonging to one\n named config bundle, with its own bucket and its\n own credential, delivered into that bundle.\n status --app <a> [--environment <e>]\n show what's declared, granted and provisioned,\n which delivered variables have not reached the\n app's config yet, and whether a rotation is only\n half finished. Without --environment it also names\n every environment this app has a store for.\n apply [--note <text>] apply for object storage for an account you own.\n approvals list pending account applications (operator only).\n approve --account <sqid>\n approve an account for object storage (operator\n only; an explicit account sqid is required).\n decline --account <sqid> --reason <text>\n decline an account application (operator only;\n an explicit account sqid and reason are required).\n grant --app <a> [--bucket <name>] [--environment <e>]\n provision the declared store and deliver its\n credentials. Needs a deployment operator\n (CARLOS_STORE_OPERATORS) — a 403 for anyone else,\n member or not. --bucket adopts an existing bucket\n instead of minting one.\n rotate --app <a> [--finish] [--environment <e>]\n mint a fresh credential, leaving the old one live\n until --finish deletes it. A member verb: spends\n nothing new, so there is no operator gate here.\n scan <sub-verb> --app <a>\n virus scanning over the store's objects — off by\n default. Run carlos store scan on its own to list\n the sub-verbs. A clean result on a client-encrypted\n store means nothing, and the CLI says so rather\n than claiming coverage it cannot have.\n uploads <enable|status|disable> --app <a> [--origin <o>]...\n Lets browsers on the origins you name upload large\n files in parts straight to the app's store. With no\n --origin, it uses and prints the app's hostnames\n today. disable removes the rules again.\n versioning <on|off|status> --app <a> [--environment <e>] [--keep-days <n>]\n keep old versions of the store's objects, so a\n delete or an overwrite can be undone. Old versions\n are kept 30 days unless --keep-days says longer.\n versions --app <a> --key <key> [--environment <e>]\n list one object's versions, newest first.\n restore --app <a> --key <key> --version <id> [--environment <e>]\n make an old version current again. Nothing is deleted.\n\n --account <sqid|name> account the app belongs to (default: your only\n account, or the configured/chosen one) —\n resolved by the console against your own\n memberships; signed-in mode only.\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\nApply, create, status, grant and rotate resolve accounts through your own\nmemberships. Approve and decline take an explicit sqid and do not require\nmembership in the target account.\n\nSigned-in only (carlos auth login): storage records live in the console's\nown deployment bucket and its grant/rotate walks touch the deployment's own\ncloud account — there is no direct-bucket equivalent for any of these\nverbs.\n\n"} |
| {"case":"system antivirus disable | --zz-unknown-flag","argv":["system","antivirus","disable","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos system antivirus disable [flags]\nflags:\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"} |
| {"case":"system antivirus disable | -h","argv":["system","antivirus","disable","-h"],"exit":0,"stdout":"","stderr":"usage: carlos system antivirus disable [flags]\nflags:\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"} |
| {"case":"system antivirus enable | --zz-unknown-flag","argv":["system","antivirus","enable","--zz-unknown-flag"],"exit":2,"stdout":"","stderr":"flag provided but not defined: -zz-unknown-flag\nusage: carlos system antivirus enable [flags]\nflags:\n --console <string> console to act through (default: the only logged-in one)\n --destination, -d <name> use the named block from .carlos/config's destinations (default: CARLOS_DESTINATION, else the file's default or only one)\n"} |