carlos / platform Public

store: re-record the CLI golden cases and re-pin the census after round 1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev 1858cf22464c715751762cc784ccec20bf00b9c4 parent 7cdd220
5 files changed, +35 −37
  • docs/superpowers/notes/census-claims-store-versioning.tsv +2 −2
  • docs/superpowers/notes/census-proposal-store-versioning.md +3 −3
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-store-versioning.tsv +7 −7
  • testdata/clireg-golden.jsonl +22 −24

CI cancelled — superseded by a newer push — run details

CI log
=== gate ===
go: downloading go1.26.10 (linux/arm64)
go version go1.26.10 linux/arm64
opentofu: arm64, tofu 1.13.9, aws 6.73.0, archive 2.8.1
  tofu: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/tofu_1.13.9_linux_arm64.tar.gz
  tofu: downloaded, digest verified
  aws: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/terraform-provider-aws_6.73.0_linux_arm64.zip
  aws: downloaded, digest verified
  archive: downloading https://carlos-ci-mirror-640012953448.s3.eu-west-1.amazonaws.com/opentofu/terraform-provider-archive_2.8.1_linux_arm64.zip
  archive: downloaded, digest verified
  installed in /tmp/carlos-opentofu-HMhHVY
.amadan/test-gate.sh
go: downloading github.com/aws/aws-sdk-go-v2 v1.44.0
go: downloading github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.68.0
go: downloading github.com/aws/aws-sdk-go-v2/service/costexplorer v1.67.5
go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.105.0
go: downloading github.com/aws/smithy-go v1.28.1
go: downloading github.com/benbjohnson/litestream v0.5.14
go: downloading golang.org/x/net v0.62.0
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/aws/aws-sdk-go-v2/service/acm v1.45.0
go: downloading github.com/aws/aws-sdk-go-v2/service/ec2 v1.324.0
go: downloading github.com/aws/aws-sdk-go-v2/service/iam v1.58.2
go: downloading github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi v1.37.0
go: downloading golang.org/x/sys v0.49.0
go: downloading golang.org/x/crypto v0.58.0
go: downloading golang.org/x/mod v0.41.0
go: downloading github.com/aws/aws-sdk-go-v2/service/sesv2 v1.66.6
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.8.4
go: downloading github.com/pion/dtls/v3 v3.1.4
go: downloading github.com/klauspost/compress v1.20.2
go: downloading github.com/prometheus/client_golang v1.17.0
go: downloading golang.org/x/sync v0.24.0
go: downloading github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.20.18
go: downloading github.com/lmittmann/tint v1.1.3
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading google.golang.org/protobuf v1.36.10
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/prometheus/client_model v0.5.0
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/prometheus/common v0.45.0
go: downloading golang.org/x/text v0.43.0
go: downloading github.com/wlynxg/anet v0.0.5
go: downloading github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0
go: downloading github.com/klauspost/compress v1.20.2
go: downloading golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e
go: downloading modernc.org/sqlite v1.55.0
go: downloading github.com/pierrec/lz4/v4 v4.1.22
go: downloading github.com/aws/aws-sdk-go-v2/service/ecs v1.91.0
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/libc v1.74.1
go: downloading modernc.org/mathutil v1.7.1
go: downloading modernc.org/mathutil v1.7.1

amadan: job cancelled — a newer push superseded it
diff --git a/docs/superpowers/notes/census-claims-store-versioning.tsv b/docs/superpowers/notes/census-claims-store-versioning.tsv
index 4f00afb18..b16d4a25c 100644
--- a/docs/superpowers/notes/census-claims-store-versioning.tsv
+++ b/docs/superpowers/notes/census-claims-store-versioning.tsv
@@ -1,3 +1,3 @@
-infra/modules/region-host/main.tf:external 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
-infra/modules/region-host/variables.tf:external new variable store_versioning (bool, default false) driving the policy above; operator Terraform input only; no box runtime read
+infra/modules/region-host/main.tf:external 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. The console never suspends a bucket (no off, Astra round 1); s3:PutBucketVersioning stays because enabling needs it
+infra/modules/region-host/variables.tf:external new variable store_versioning (bool, default false) driving the policy above; operator Terraform input only; no box runtime read. The copy pass (Astra round 1) changes only its description text
infra/modules/region-host/tests/store_versioning.tftest.hcl:external 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
diff --git a/docs/superpowers/notes/census-proposal-store-versioning.md b/docs/superpowers/notes/census-proposal-store-versioning.md
index b3321d403..00ec3fc82 100644
--- a/docs/superpowers/notes/census-proposal-store-versioning.md
+++ b/docs/superpowers/notes/census-proposal-store-versioning.md
@@ -4,8 +4,8 @@ Ruling `census-ruling-store-versioning`. The independent reviewer approves or re
| unit | change | read sites | what changed |
|---|---|---|---|
-| `infra/modules/region-host/main.tf` `external` | body | unchanged (1) | 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 |
-| `infra/modules/region-host/variables.tf` `external` | body | unchanged (1) | new variable store_versioning (bool, default false) driving the policy above; operator Terraform input only; no box runtime read |
+| `infra/modules/region-host/main.tf` `external` | body | unchanged (1) | 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. The console never suspends a bucket (no off, Astra round 1); s3:PutBucketVersioning stays because enabling needs it |
+| `infra/modules/region-host/variables.tf` `external` | body | unchanged (1) | new variable store_versioning (bool, default false) driving the policy above; operator Terraform input only; no box runtime read. The copy pass (Astra round 1) changes only its description text |
Envelopes re-pinned: `.`, `infra/modules/region-host`, `infra/modules/region-host/tests`, `internal/objstore`, `internal/provision`.
@@ -20,6 +20,6 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `infra/modules/region-host/tests/store_versioning.tftest.hcl:external`: reads +file:external; written legacy, accepted-legacy, frozen
-Seal: `9fb6041c2fe2f33edf7cc2a0fb6dc05092015414b89cab3610ebcfc04c21d5b0` → `eab31a06a4060ecba311f77edf52834447b366e97fd416cc8d1f22dd55ffefa9`.
+Seal: `9fb6041c2fe2f33edf7cc2a0fb6dc05092015414b89cab3610ebcfc04c21d5b0` → `9bb37ce5bdc6bec010dc07a5eb55951c7550a75d82c3816ac84c23a2ba58d0d6`.
Overlay: `internal/provision/testdata/plan14-root-reads-store-versioning.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 6254bb986..2e7a05fc5 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -278,4 +278,4 @@ plan14-root-reads-stateless-scale-1-memory-env.tsv 47ebd73418bcbe1bdf9cf34a2b94e
plan14-root-reads-group-revoke-readback-1255.tsv 47ebd73418bcbe1bdf9cf34a2b94e3393a1279aea58f9ee0aca3f0cfe42b9132
plan14-root-reads-precert-dns01-1293.tsv b2f039a12bb284c9a36b391339e25e3f77ec94a3d4e38389ec9ef75261d7873f
plan14-root-reads-fleet-client-address-1348.tsv 9fb6041c2fe2f33edf7cc2a0fb6dc05092015414b89cab3610ebcfc04c21d5b0
-plan14-root-reads-store-versioning.tsv eab31a06a4060ecba311f77edf52834447b366e97fd416cc8d1f22dd55ffefa9
+plan14-root-reads-store-versioning.tsv 9bb37ce5bdc6bec010dc07a5eb55951c7550a75d82c3816ac84c23a2ba58d0d6
diff --git a/internal/provision/testdata/plan14-root-reads-store-versioning.tsv b/internal/provision/testdata/plan14-root-reads-store-versioning.tsv
index 135cdf150..b07aa906a 100644
--- a/internal/provision/testdata/plan14-root-reads-store-versioning.tsv
+++ b/internal/provision/testdata/plan14-root-reads-store-versioning.tsv
@@ -1,14 +1,14 @@
# Census overlay store-versioning, written by census-propose (#369). census-ruling-store-versioning, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-store-versioning.md.
# 2 body, 0 sites, 5 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
# 1 new dispositions: 0 reads re-frozen at their disposition with the claim, 1 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
-@legacy 865ec75d7b37c82dee484f5951c58e14890d24fcb7565baa0f649ca3a1f20d99 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
-@legacy 0c69f59925f401a0ea6e7eab3bd778868232806831ea01c751fd3f0d7d147c50 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
+@legacy b0149f474c90aba1cb90949856618d0f6c005c62e373eed22a8c11c739db2d68 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. The console never suspends a bucket (no off, Astra round 1); s3:PutBucketVersioning stays because enabling needs it file:external@0 59f5c5161b2301eed2692dc1a7001c4fc60bb8f2540db0c3454cd6fb4c4103a5
+@legacy 2ebda20864b07186145f8f1a62d87819d286ae0d6a07d131ea98b93ec2cfeff5 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. The copy pass (Astra round 1) changes only its description text file:external@0 026ba7f7ac3a6f5db48c3a457e75f453b190f74f24318db377200da54bbacaa9
@legacy 399898bdf73ed665d01032b67073a49221ac6353c6dc86ac327dc557217336d5 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
-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/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. The console never suspends a bucket (no off, Astra round 1); s3:PutBucketVersioning stays because enabling needs it 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. The copy pass (Astra round 1) changes only its description text file:external@0 026ba7f7ac3a6f5db48c3a457e75f453b190f74f24318db377200da54bbacaa9
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 . 3dbd1c8cbe028b9182428f568af206aefcb6bdff167010c31e45dc423f113a23
-@coverage infra/modules/region-host a79ebd3d91e1291f86a9d308b2a7c77885f74bcc6d564a7cf7dfe715b9d1c8a1
+@coverage . 528db695a3464cab43dc48f2973698e5c25889561a7235efd46242b4c75b23fb
+@coverage infra/modules/region-host 81f0a154b0279fb272590524fe9a152900cdd198b9b6428269698ac229c9ddcf
@coverage infra/modules/region-host/tests 3d56c7f90b54be1e5f670bea1f9695ae302907e5a19ac11739b88877527503c1
-@coverage internal/objstore 714249891dc889e42553c63858c1702559754c995a18d2720be6a226b178bd24
+@coverage internal/objstore c3d46e94f8c374ea5d0a8622ef21680b8c1199b34d04c9de7ca1de110a81f446
@coverage internal/provision 4e93b34904bd4dc5e46074651f89c9028a0a15783ba4809a74d93d1d72a674ab
diff --git a/testdata/clireg-golden.jsonl b/testdata/clireg-golden.jsonl
index d50ed324a..21a98a20b 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 --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 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 turn versioning on for every private store made from now on, keeping old versions for 30 days (see carlos store versioning); --store-versioning=false turns this 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 turn versioning on for every private store made from now on, keeping old versions for 30 days (see carlos store versioning); --store-versioning=false turns this 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"}
@@ -828,8 +828,8 @@
{"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 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 use\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> config environment whose store to use (default: the app's own)\n --key <string> the object's key (name)\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 use\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> config environment whose store to use (default: the app's own)\n --key <string> the object's key (name)\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"}
@@ -867,26 +867,24 @@
{"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 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":"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 use\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> config environment whose store to use (default: the app's own)\n --keep-days <int> days to keep old versions, from 30 to 365 (default: the store's current setting, or 30 if unset); 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 use\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> config environment whose store to use (default: the app's own)\n --keep-days <int> days to keep old versions, from 30 to 365 (default: the store's current setting, or 30 if unset); 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 use\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> config environment whose store to use (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 use\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> config environment whose store to use (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|status> --app <a> [--environment <e>] [--keep-days <n>]\n\nKeep old versions so you can undo deletes and overwrites. Keep them for 30 days unless --keep-days sets a longer period. Once on, it stays on.\n"}
+{"case":"store versioning | --zz-unknown-flag","argv":["store","versioning","--zz-unknown-flag"],"exit":1,"stdout":"","stderr":"usage: carlos store versioning <on|status> --app <a> [--environment <e>] [--keep-days <n>]\n\nKeep old versions so you can undo deletes and overwrites. Keep them for 30 days unless --keep-days sets a longer period. Once on, it stays on.\n"}
+{"case":"store versioning | -h","argv":["store","versioning","-h"],"exit":1,"stdout":"","stderr":"usage: carlos store versioning <on|status> --app <a> [--environment <e>] [--keep-days <n>]\n\nKeep old versions so you can undo deletes and overwrites. Keep them for 30 days unless --keep-days sets a longer period. Once on, it stays on.\n"}
+{"case":"store versioning | bare","argv":["store","versioning"],"exit":1,"stdout":"","stderr":"usage: carlos store versioning <on|status> --app <a> [--environment <e>] [--keep-days <n>]\n\nKeep old versions so you can undo deletes and overwrites. Keep them for 30 days unless --keep-days sets a longer period. Once on, it stays on.\n"}
+{"case":"store versioning | help","argv":["store","versioning","help"],"exit":1,"stdout":"","stderr":"usage: carlos store versioning <on|status> --app <a> [--environment <e>] [--keep-days <n>]\n\nKeep old versions so you can undo deletes and overwrites. Keep them for 30 days unless --keep-days sets a longer period. Once on, it stays on.\n"}
+{"case":"store versioning | zz-unknown","argv":["store","versioning","zz-unknown"],"exit":1,"stdout":"","stderr":"usage: carlos store versioning <on|status> --app <a> [--environment <e>] [--keep-days <n>]\n\nKeep old versions so you can undo deletes and overwrites. Keep them for 30 days unless --keep-days sets a longer period. Once on, it stays on.\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 --after <string> list the versions older than this one (from the more line of the last page)\n --app, -a <string> app whose store to use\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> config environment whose store to use (default: the app's own)\n --key <string> the object's key (name)\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 --after <string> list the versions older than this one (from the more line of the last page)\n --app, -a <string> app whose store to use\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> config environment whose store to use (default: the app's own)\n --key <string> the object's key (name)\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|status> --app <a> [--environment <e>] [--keep-days <n>]\n keep old versions so you can undo deletes and\n overwrites. Keep them for 30 days unless\n --keep-days sets a longer period. Once on, it\n stays on.\n versions --app <a> --key <key> [--after <id>] [--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|status> --app <a> [--environment <e>] [--keep-days <n>]\n keep old versions so you can undo deletes and\n overwrites. Keep them for 30 days unless\n --keep-days sets a longer period. Once on, it\n stays on.\n versions --app <a> --key <key> [--after <id>] [--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|status> --app <a> [--environment <e>] [--keep-days <n>]\n keep old versions so you can undo deletes and\n overwrites. Keep them for 30 days unless\n --keep-days sets a longer period. Once on, it\n stays on.\n versions --app <a> --key <key> [--after <id>] [--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|status> --app <a> [--environment <e>] [--keep-days <n>]\n keep old versions so you can undo deletes and\n overwrites. Keep them for 30 days unless\n --keep-days sets a longer period. Once on, it\n stays on.\n versions --app <a> --key <key> [--after <id>] [--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|status> --app <a> [--environment <e>] [--keep-days <n>]\n keep old versions so you can undo deletes and\n overwrites. Keep them for 30 days unless\n --keep-days sets a longer period. Once on, it\n stays on.\n versions --app <a> --key <key> [--after <id>] [--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|status> --app <a> [--environment <e>] [--keep-days <n>]\n keep old versions so you can undo deletes and\n overwrites. Keep them for 30 days unless\n --keep-days sets a longer period. Once on, it\n stays on.\n versions --app <a> --key <key> [--after <id>] [--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"}