carlos / platform Public

census: re-pin region-host variables for the pass 5 descriptions

Luna pass 5 changed only the text of two descriptions in
infra/modules/region-host/variables.tf (store_conversion and
managed_fleets_inline_retired). make census-card lists that one unit as
a body change and re-pins the region-host envelope; no type, default,
validation or resource changes and no root read is added.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 429b41365b9e54b883abdadde0cf7263119f24c5 parent 461f353
4 files changed, +12 −7
  • docs/superpowers/notes/census-claims-media-conversion.tsv +6 −1
  • docs/superpowers/notes/census-proposal-media-conversion.md +2 −2
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-media-conversion.tsv +3 −3

CI passed — run details

diff --git a/docs/superpowers/notes/census-claims-media-conversion.tsv b/docs/superpowers/notes/census-claims-media-conversion.tsv
index d999dcc5e..ab38218dc 100644
--- a/docs/superpowers/notes/census-claims-media-conversion.tsv
+++ b/docs/superpowers/notes/census-claims-media-conversion.tsv
@@ -79,7 +79,7 @@ infra/modules/region-host/main.tf:external store_conversion (bool, default false
infra/modules/region-host/managed_fleets.tf:external the console's managed fleet grant becomes a customer-managed attached policy with identical statements; a temporary input managed_fleets_inline_retired (default false) keeps the old inline copy beside it so the first apply only adds, and true removes the copy; a grant over 6,144 characters stays inline-only and is refused only on retirement; the inline-total precondition now counts every inline policy the module puts on the role, the inline copy included while it exists. No new action, resource or principal.
infra/modules/region-host/tests/analytics_prune.tftest.hcl:external mock-plan assertions follow host_analytics_prune to its managed policy and attachment; same grant pinned; no apply, no AWS access.
infra/modules/region-host/tests/managed_fleets/managed_fleets.tftest.hcl:external mock-plan runs for the managed fleet policy and attachment, the two-apply retirement, the 6,144 refusal on retirement, three regions accepted inline-only, the complete console role's inline total with conversion on, and the conversion prefix refusals with fleets on and off; no apply, no AWS access.
-infra/modules/region-host/variables.tf:external two variables: store_conversion (bool, default false) and managed_fleets_inline_retired (bool, default false, temporary); operator Terraform input only; no box runtime read.
+infra/modules/region-host/variables.tf:external 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.
infra/modules/region-host/tests/store_conversion.tftest.hcl:external new mock-plan test: store_conversion off creates nothing and leaves the boundary byte for byte; on grants exactly nine actions on the store prefix, adds the two multipart actions to the boundary, denies the writes on the deployment and data buckets, and refuses broad, overlapping or empty prefixes; no apply, no AWS access.
infra/modules/media-engine/main.tf:external new module (Task 11): locals and the region precondition (region == store_region); the ECR repository (immutable tags, scan on push); the repository policy, created only by the drill input and granting pull to one operator-chosen foreign drill user, with a precondition refusing a principal in this module's own account; the engine log group. tofu only, operator machine; nothing on a box reads it.
infra/modules/media-engine/network.tf:external new: a VPC with two private subnets, no internet gateway, NAT or default route; a tasks security group with no ingress and HTTPS egress only to the S3 prefix list and the endpoints; S3 gateway and ECR/logs interface endpoints with principal-scoped policies; a Route 53 Resolver DNS firewall allowing only the S3, ECR and logs names (TRUST_REDIRECTION_DOMAIN on that ALLOW only) and blocking the rest with NXDOMAIN, fail-closed; the drill input changes only the four endpoint policies and the repository policy.
@@ -98,3 +98,8 @@ infra/modules/media-engine/tests/media_engine.tftest.hcl:external new OpenTofu t
# golang.org/x/crypto/x509roots/fallback v0.0.0-20260209214922-2f26647a795e (Mozilla's TLS roots, with no
# dependencies of its own), and go.sum its two hashes. Only cmd/carlos-media imports it, the engine image's binary,
# outside the root binary: go list -deps . for linux amd64 and arm64 names neither it nor any media package.
+#
+# Copy pass 5 (Luna, 2026-11-19): the descriptions of store_conversion and managed_fleets_inline_retired in
+# infra/modules/region-host/variables.tf now name the managed_fleet_bucket_prefix overlap, the inline-copy prerequisite
+# and the 6,144-character fit, which the module's validations already enforce. No type, default, validation or
+# resource changes; no root read is added. Only that unit's body and the region-host envelope are re-pinned.
diff --git a/docs/superpowers/notes/census-proposal-media-conversion.md b/docs/superpowers/notes/census-proposal-media-conversion.md
index 7fa75a112..46e11f2e1 100644
--- a/docs/superpowers/notes/census-proposal-media-conversion.md
+++ b/docs/superpowers/notes/census-proposal-media-conversion.md
@@ -8,7 +8,7 @@ Ruling `census-ruling-media-conversion`. The independent reviewer approves or re
| `infra/modules/region-host/managed_fleets.tf` `external` | body | unchanged (1) | the console's managed fleet grant becomes a customer-managed attached policy with identical statements; a temporary input managed_fleets_inline_retired (default false) keeps the old inline copy beside it so the first apply only adds, and true removes the copy; a grant over 6,144 characters stays inline-only and is refused only on retirement; the inline-total precondition now counts every inline policy the module puts on the role, the inline copy included while it exists. No new action, resource or principal. |
| `infra/modules/region-host/tests/analytics_prune.tftest.hcl` `external` | body | unchanged (1) | mock-plan assertions follow host_analytics_prune to its managed policy and attachment; same grant pinned; no apply, no AWS access. |
| `infra/modules/region-host/tests/managed_fleets/managed_fleets.tftest.hcl` `external` | body | unchanged (1) | mock-plan runs for the managed fleet policy and attachment, the two-apply retirement, the 6,144 refusal on retirement, three regions accepted inline-only, the complete console role's inline total with conversion on, and the conversion prefix refusals with fleets on and off; no apply, no AWS access. |
-| `infra/modules/region-host/variables.tf` `external` | body | unchanged (1) | two variables: store_conversion (bool, default false) and managed_fleets_inline_retired (bool, default false, temporary); operator Terraform input only; no box runtime read. |
+| `infra/modules/region-host/variables.tf` `external` | body | unchanged (1) | 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. |
Envelopes re-pinned: `.`, `infra/modules/media-engine`, `infra/modules/media-engine/reaper`, `infra/modules/media-engine/tests`, `infra/modules/region-host`, `infra/modules/region-host/tests`, `infra/modules/region-host/tests/managed_fleets`, `internal/clireg`, `internal/objstore`, `internal/plans`.
@@ -37,6 +37,6 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `infra/modules/media-engine/versions.tf:external`: reads +file:external; written legacy, accepted-legacy, frozen
- new `infra/modules/region-host/tests/store_conversion.tftest.hcl:external`: reads +file:external; written legacy, accepted-legacy, frozen
-Seal: `5bf2d00767807be812b004a474352ec184788be3ce65607a45c37b04956714a2` → `83b876e80ff5cd7cd8885a198c7816a1147139aa85db5664c129ccfb28d67d5a`.
+Seal: `5bf2d00767807be812b004a474352ec184788be3ce65607a45c37b04956714a2` → `facc060cf054aa24f5aef68ec81ffd0b67448c5507a7417f2a72fb7379257242`.
Overlay: `internal/provision/testdata/plan14-root-reads-media-conversion.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 eeac27642..bf4c0094a 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -254,4 +254,4 @@ plan14-root-reads-small-fixes-1246-1248.tsv c6d366dcf2211b714977b7a69180289555b3
plan14-root-reads-edge-ppv2-idle.tsv 5d4a5eea79394145fdd59aa5eb87115cc1ee396e02e0ab4b21decd2b3a10e3b4
plan14-root-reads-flake-lease-teardown.tsv 5d4a5eea79394145fdd59aa5eb87115cc1ee396e02e0ab4b21decd2b3a10e3b4
plan14-root-reads-ha-generations.tsv 5bf2d00767807be812b004a474352ec184788be3ce65607a45c37b04956714a2
-plan14-root-reads-media-conversion.tsv 83b876e80ff5cd7cd8885a198c7816a1147139aa85db5664c129ccfb28d67d5a
+plan14-root-reads-media-conversion.tsv facc060cf054aa24f5aef68ec81ffd0b67448c5507a7417f2a72fb7379257242
diff --git a/internal/provision/testdata/plan14-root-reads-media-conversion.tsv b/internal/provision/testdata/plan14-root-reads-media-conversion.tsv
index 05601300e..ce7d237c7 100644
--- a/internal/provision/testdata/plan14-root-reads-media-conversion.tsv
+++ b/internal/provision/testdata/plan14-root-reads-media-conversion.tsv
@@ -5,7 +5,7 @@
@legacy de187d2272aff9732987857fe834f483b81a7b6a12988417a63e873eca8925a3 infra/modules/region-host/managed_fleets.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b1;basis=managed fleets 2b-1 Task 5 (new file): locals building the console host role's managed fleet grant and the fleet boundary statements, plus one aws_iam_role_policy host_managed_fleets on the existing aws_iam_role.host, count 0 unless managed_fleets_enabled; EC2 RunInstances only with the approved images, subnets, security groups and types, the four carlos identity tags, IMDSv2, hop limit 1 and no instance profile; CreateTags only at RunInstances; TerminateInstances and GetConsoleOutput only on instances carrying the deployment tag and all four identity tags; Describe{Images,Instances} region-conditioned; S3 bucket create/tag/configure on <managed_fleet_bucket_prefix>* only with an explicit Deny on the deployment, data and staging buckets; IAM user lifecycle on <managed_fleet_user_path>* with CreateUser/PutUserPolicy conditioned on the boundary ARN; no role, PassRole, SSM, instance profile or object access; a precondition refuses the plan past IAM's 10,240-character inline total; tofu only, run on an operator's machine; no box unit, user_data or binary reads the file; no read is added;rev3=census-ruling-media-conversion;basis=the console's managed fleet grant becomes a customer-managed attached policy with identical statements; a temporary input managed_fleets_inline_retired (default false) keeps the old inline copy beside it so the first apply only adds, and true removes the copy; a grant over 6,144 characters stays inline-only and is refused only on retirement; the inline-total precondition now counts every inline policy the module puts on the role, the inline copy included while it exists. No new action, resource or principal. file:external@0 c79539d039dc227dbcb404a8ea65d841ac625293b0afef3df121e4c062a81040
@legacy 3bf6179fdd9549cba935b89cef2a9bc61511bddf2e81cf0ab87342453049eb91 infra/modules/region-host/tests/analytics_prune.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-stats-prune-400;basis=new mock-plan test: the analytics version-prune grant is absent by default and, when on, grants exactly the analytics day-file versions; test-only Terraform, no runtime reads;rev3=census-ruling-media-conversion;basis=mock-plan assertions follow host_analytics_prune to its managed policy and attachment; same grant pinned; no apply, no AWS access. file:external@0 41f2b88e627bb448e7a9b8cfea071a3d4f6e2befafbbd584df928ddb6dceaae7
@legacy feda52a35722c88067f8961ba6147fda9f2d389f8297ff39865ae68e3c4c4151 infra/modules/region-host/tests/managed_fleets/managed_fleets.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b1;basis=managed fleets 2b-1 Task 5 (new file): 32 OpenTofu test runs, every one command = plan against mock_provider aws (no apply, no AWS access), pinning the rendered grant and boundary to internal/awsmanaged/testdata fixtures, the off and store-only renderings byte for byte, and the variable refusals; run only on a developer's or operator's machine with tofu test; nothing on a box or in any binary reads the file;rev3=census-ruling-media-conversion;basis=mock-plan runs for the managed fleet policy and attachment, the two-apply retirement, the 6,144 refusal on retirement, three regions accepted inline-only, the complete console role's inline total with conversion on, and the conversion prefix refusals with fleets on and off; no apply, no AWS access. file:external@0 621ec28e2b476f0069ec98199a772586198066c5773b1bcd01b1d7e6ab78b7b1
-@legacy 80a04ad89a36c20ac34cd6b0e6fcd13efed19c24d0b81036b3bc7b4e055b27ea 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. file:external@0 da31f31bcdcf0369954fe21b730589b456605a92b6b07674a7e48b76a75b8dca
+@legacy d5c1e97b60797a4fe35850c1d2f00e088465bad7bb3d8542e6564fe43b448a8b 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. file:external@0 0f795166d90990d43a0c14b51b3dcee98adb9cb4d803f41a3fe02ecf1de38f54
@legacy 2300a2cad317843b4be32c0ea17fc1317f0a2dd56cced1ac42685ccb90e75a75 infra/modules/media-engine/ecs.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-media-conversion;basis=new: Fargate-only cluster and four task definitions (deadline + codec containers, entryPoint /usr/local/bin/carlos-media, read-only root, user 65534, caps dropped, no task role, image by digest) created only once image_digest is set, with skip_destroy so a rollout keeps the revisions a running console uses. file:external@0 e2235db156b7cf1f4c70ebd7515c0c6e27bab4ad2b73af4eb232498733672c90
@legacy 7141b316421c64e8d198e7d8def05c2525d20bc229cbb907c793fb5237ec1dc3 infra/modules/media-engine/iam.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-media-conversion;basis=new: task execution role (ECR pull and the log group only); conversion role trusted only by the console role, Allow GetObject on store objects and PutObject on derived/ and media-results/, Deny GetObject on infected objects and any PutObject setting carlos-scan tags, 1 h sessions; the console role's customer-managed policy: AssumeRole on the conversion role, RunTask on this engine's task definitions in its cluster, Describe/Stop/List tasks in the cluster, DescribeTaskDefinition, PassRole of the execution role to ecs-tasks, ListBucket on the deployment bucket. file:external@0 d97d49b0881fa91f8a1aff3bfa9bd10eb152254b9c0014bc75c36976f9d52645
@legacy 8491b002119223461f1d8b64e4e315b6416b1da9d2af4cbeef965673e68cac69 infra/modules/media-engine/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-media-conversion;basis=new module (Task 11): locals and the region precondition (region == store_region); the ECR repository (immutable tags, scan on push); the repository policy, created only by the drill input and granting pull to one operator-chosen foreign drill user, with a precondition refusing a principal in this module's own account; the engine log group. tofu only, operator machine; nothing on a box reads it. file:external@0 87586e2a1c7a61538170864dbef9507ffca30858b4d2db398962745b35e99c60
@@ -22,7 +22,7 @@ infra/modules/region-host/main.tf external legacy accepted-legacy accepted-legac
infra/modules/region-host/managed_fleets.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b1;basis=managed fleets 2b-1 Task 5 (new file): locals building the console host role's managed fleet grant and the fleet boundary statements, plus one aws_iam_role_policy host_managed_fleets on the existing aws_iam_role.host, count 0 unless managed_fleets_enabled; EC2 RunInstances only with the approved images, subnets, security groups and types, the four carlos identity tags, IMDSv2, hop limit 1 and no instance profile; CreateTags only at RunInstances; TerminateInstances and GetConsoleOutput only on instances carrying the deployment tag and all four identity tags; Describe{Images,Instances} region-conditioned; S3 bucket create/tag/configure on <managed_fleet_bucket_prefix>* only with an explicit Deny on the deployment, data and staging buckets; IAM user lifecycle on <managed_fleet_user_path>* with CreateUser/PutUserPolicy conditioned on the boundary ARN; no role, PassRole, SSM, instance profile or object access; a precondition refuses the plan past IAM's 10,240-character inline total; tofu only, run on an operator's machine; no box unit, user_data or binary reads the file; no read is added;rev3=census-ruling-media-conversion;basis=the console's managed fleet grant becomes a customer-managed attached policy with identical statements; a temporary input managed_fleets_inline_retired (default false) keeps the old inline copy beside it so the first apply only adds, and true removes the copy; a grant over 6,144 characters stays inline-only and is refused only on retirement; the inline-total precondition now counts every inline policy the module puts on the role, the inline copy included while it exists. No new action, resource or principal. file:external@0 c79539d039dc227dbcb404a8ea65d841ac625293b0afef3df121e4c062a81040
infra/modules/region-host/tests/analytics_prune.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-stats-prune-400;basis=new mock-plan test: the analytics version-prune grant is absent by default and, when on, grants exactly the analytics day-file versions; test-only Terraform, no runtime reads;rev3=census-ruling-media-conversion;basis=mock-plan assertions follow host_analytics_prune to its managed policy and attachment; same grant pinned; no apply, no AWS access. file:external@0 41f2b88e627bb448e7a9b8cfea071a3d4f6e2befafbbd584df928ddb6dceaae7
infra/modules/region-host/tests/managed_fleets/managed_fleets.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-managed-fleets-2b1;basis=managed fleets 2b-1 Task 5 (new file): 32 OpenTofu test runs, every one command = plan against mock_provider aws (no apply, no AWS access), pinning the rendered grant and boundary to internal/awsmanaged/testdata fixtures, the off and store-only renderings byte for byte, and the variable refusals; run only on a developer's or operator's machine with tofu test; nothing on a box or in any binary reads the file;rev3=census-ruling-media-conversion;basis=mock-plan runs for the managed fleet policy and attachment, the two-apply retirement, the 6,144 refusal on retirement, three regions accepted inline-only, the complete console role's inline total with conversion on, and the conversion prefix refusals with fleets on and off; no apply, no AWS access. file:external@0 621ec28e2b476f0069ec98199a772586198066c5773b1bcd01b1d7e6ab78b7b1
-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. file:external@0 da31f31bcdcf0369954fe21b730589b456605a92b6b07674a7e48b76a75b8dca
+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. file:external@0 0f795166d90990d43a0c14b51b3dcee98adb9cb4d803f41a3fe02ecf1de38f54
infra/modules/media-engine/ecs.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-media-conversion;basis=new: Fargate-only cluster and four task definitions (deadline + codec containers, entryPoint /usr/local/bin/carlos-media, read-only root, user 65534, caps dropped, no task role, image by digest) created only once image_digest is set, with skip_destroy so a rollout keeps the revisions a running console uses. file:external@0 e2235db156b7cf1f4c70ebd7515c0c6e27bab4ad2b73af4eb232498733672c90
infra/modules/media-engine/iam.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-media-conversion;basis=new: task execution role (ECR pull and the log group only); conversion role trusted only by the console role, Allow GetObject on store objects and PutObject on derived/ and media-results/, Deny GetObject on infected objects and any PutObject setting carlos-scan tags, 1 h sessions; the console role's customer-managed policy: AssumeRole on the conversion role, RunTask on this engine's task definitions in its cluster, Describe/Stop/List tasks in the cluster, DescribeTaskDefinition, PassRole of the execution role to ecs-tasks, ListBucket on the deployment bucket. file:external@0 d97d49b0881fa91f8a1aff3bfa9bd10eb152254b9c0014bc75c36976f9d52645
infra/modules/media-engine/main.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-media-conversion;basis=new module (Task 11): locals and the region precondition (region == store_region); the ECR repository (immutable tags, scan on push); the repository policy, created only by the drill input and granting pull to one operator-chosen foreign drill user, with a precondition refusing a principal in this module's own account; the engine log group. tofu only, operator machine; nothing on a box reads it. file:external@0 87586e2a1c7a61538170864dbef9507ffca30858b4d2db398962745b35e99c60
@@ -39,7 +39,7 @@ infra/modules/region-host/tests/store_conversion.tftest.hcl external legacy acce
@coverage infra/modules/media-engine d198b1211971a88612f806ea1f195a9627d5829f09ba510017075fe7a04ef73b
@coverage infra/modules/media-engine/reaper 9e77bcec9100b8f90c09fbfa9f24334ca6996e63100a3b02abd414aa6fb198d6
@coverage infra/modules/media-engine/tests bf1c85fc71f99f5a6cfd11ec5a03837b0103f4cfbc0986bbbde513a292962838
-@coverage infra/modules/region-host ac324a3b5c2c371760f8825165d81ef3168f8289ad68a3a8b173e932d58aa492
+@coverage infra/modules/region-host 00c1a4c937d6f1a868a10a185b89a8f7ba848ebecad34e4dbc78572407a848d3
@coverage infra/modules/region-host/tests 3c9dc9b567c7f8b41c2bbad6e41f7b0b81f78da0015d64dcc949ebb9df7356d9
@coverage infra/modules/region-host/tests/managed_fleets f53886af4e4953417be379a96a39a3542085219ebb38ae7ddfcbe70aa61b52c0
@coverage internal/clireg 0dc017b7b3c547ef67b328decf65e613a8dc25f43e7d09f5e7144a73e5d325ba