carlos / platform Public

census: re-propose group-capacity-damping after the wording fix and main merge

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 030b98525406889f985a0db81c57b324a882f043 parent 65d02ae
3 files changed, +8 −8
  • docs/superpowers/notes/census-proposal-group-capacity-damping.md +1 −1
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-group-capacity-damping.tsv +6 −6

CI passed — run details

diff --git a/docs/superpowers/notes/census-proposal-group-capacity-damping.md b/docs/superpowers/notes/census-proposal-group-capacity-damping.md
index 8b12b0b07..aa97a508d 100644
--- a/docs/superpowers/notes/census-proposal-group-capacity-damping.md
+++ b/docs/superpowers/notes/census-proposal-group-capacity-damping.md
@@ -16,6 +16,6 @@ Recorded dispositions, which each change must still satisfy:
- `infra/modules/region-host/group_alarms.tf` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add default-off termination queue age alarm, using existing queue name and regional SNS topic; no IAM, queue, consumer or instance changes. Copy sweep 1: apply approved variable and alarm descriptions verbatim; no resource, threshold, action or read changes.;rev3=census-ruling-region-ha-p3b;basis=Add group capacity, memory, clock, missing-clock and launch-failure notifications; preserve account-owner SNS rights and scope CloudWatch/EventBridge publishers by source account/ARN. Operator-applied Terraform, no box file read; notifications grant no replacement authority.;rev3=census-ruling-region-ha-g2-t3;basis=T3b: add one group-mode SuspectHolderHosts Maximum alarm, 60 seconds, 1 of 1, threshold greater than zero, missing data notBreaching, existing regional SNS actions and ASG dimension. No replacement, scale, IAM, storage or root runtime authority.;rev3=census-ruling-region-ha-g3-fixes;basis=Send existing queue, group and launch-failure notifications to the selected regional SNS topic. Keep externally owned topic policy and subscriptions outside this module; no replacement or scale authority and no new root runtime read.
- `infra/modules/region-host/tests/group_alarms.tftest.hcl` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add plan-only mock queue alarm defaults, thresholds, missing-data and regional notification assertions.;rev3=census-ruling-region-ha-p3b;basis=Mock group metric producers, alarm dimensions/windows/missing data and complete scoped SNS policy; retain fixed alarm expectations. Test-only Terraform input, no root runtime read.;rev3=census-ruling-region-ha-p3b1-fixes;basis=Supply the real-shape group queue URL in the group alarm mock so the launch URL equality guard is exercised. Mock plans only; no runtime reads.;rev3=census-ruling-region-ha-g2-t3;basis=T3b: pin fixed-mode zero count, group shape, regional SNS actions and non-breaching missing data for the new alarm; mock-provider test only, no root runtime read.
-Seal: `43260792034a1a20791d14c4e4476e762b40d7bcca64257ef2e9899da6af5df0` → `f021a34c3ff3415fb3aa46029891acd22255fa030b34480885dce852f1216833`.
+Seal: `43260792034a1a20791d14c4e4476e762b40d7bcca64257ef2e9899da6af5df0` → `0c649af234a7b89a75479e59e705307e3293a59439b7b251dd4558bd46ef2100`.
Overlay: `internal/provision/testdata/plan14-root-reads-group-capacity-damping.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 5387bbcd4..61c01f0cc 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -165,4 +165,4 @@ plan14-root-reads-demo-terms-links.tsv c8e2c7ed3850823a8e379d880738982772b870ad8
plan14-root-reads-fix-silent-start-kill-861.tsv 733204d61bea49fe418d8ff0f1bfa20d77bdffb1f08a216d9de92923eea22557
plan14-root-reads-group-bucket-region.tsv 733204d61bea49fe418d8ff0f1bfa20d77bdffb1f08a216d9de92923eea22557
plan14-root-reads-w6-ingress-drain.tsv 43260792034a1a20791d14c4e4476e762b40d7bcca64257ef2e9899da6af5df0
-plan14-root-reads-group-capacity-damping.tsv f021a34c3ff3415fb3aa46029891acd22255fa030b34480885dce852f1216833
+plan14-root-reads-group-capacity-damping.tsv 0c649af234a7b89a75479e59e705307e3293a59439b7b251dd4558bd46ef2100
diff --git a/internal/provision/testdata/plan14-root-reads-group-capacity-damping.tsv b/internal/provision/testdata/plan14-root-reads-group-capacity-damping.tsv
index 2b6516950..7e42926a7 100644
--- a/internal/provision/testdata/plan14-root-reads-group-capacity-damping.tsv
+++ b/internal/provision/testdata/plan14-root-reads-group-capacity-damping.tsv
@@ -1,8 +1,8 @@
# Census overlay group-capacity-damping, written by census-propose (#369). census-ruling-group-capacity-damping, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-group-capacity-damping.md.
# 2 body, 0 sites, 2 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
-@legacy 79beeddb7d0dd4e3fa941bcdac7240aa2b2559cb0f1a52f058e62c0478ed4a65 infra/modules/region-host/group_alarms.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add default-off termination queue age alarm, using existing queue name and regional SNS topic; no IAM, queue, consumer or instance changes. Copy sweep 1: apply approved variable and alarm descriptions verbatim; no resource, threshold, action or read changes.;rev3=census-ruling-region-ha-p3b;basis=Add group capacity, memory, clock, missing-clock and launch-failure notifications; preserve account-owner SNS rights and scope CloudWatch/EventBridge publishers by source account/ARN. Operator-applied Terraform, no box file read; notifications grant no replacement authority.;rev3=census-ruling-region-ha-g2-t3;basis=T3b: add one group-mode SuspectHolderHosts Maximum alarm, 60 seconds, 1 of 1, threshold greater than zero, missing data notBreaching, existing regional SNS actions and ASG dimension. No replacement, scale, IAM, storage or root runtime authority.;rev3=census-ruling-region-ha-g3-fixes;basis=Send existing queue, group and launch-failure notifications to the selected regional SNS topic. Keep externally owned topic policy and subscriptions outside this module; no replacement or scale authority and no new root runtime read.;rev3=census-ruling-group-capacity-damping;basis=group_capacity alarm: evaluation_periods and datapoints_to_alarm 1 -> 5 (alarms after 5 of 5 one-minute periods breaching), comment updated, description unchanged; same metric math, threshold, missing-data handling and actions. tofu only, run on an operator machine; no read is added and nothing on a box reads the file. file:external@0 5a50c6413335f8deb821552dc1cf4a811e02f67bdfac49e75a11c0d0f382b19e
-@legacy 674f4270a71ac724298658e6ae347810c6b3102b47255ce15a552f5bdfcd5baf infra/modules/region-host/tests/group_alarms.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add plan-only mock queue alarm defaults, thresholds, missing-data and regional notification assertions.;rev3=census-ruling-region-ha-p3b;basis=Mock group metric producers, alarm dimensions/windows/missing data and complete scoped SNS policy; retain fixed alarm expectations. Test-only Terraform input, no root runtime read.;rev3=census-ruling-region-ha-p3b1-fixes;basis=Supply the real-shape group queue URL in the group alarm mock so the launch URL equality guard is exercised. Mock plans only; no runtime reads.;rev3=census-ruling-region-ha-g2-t3;basis=T3b: pin fixed-mode zero count, group shape, regional SNS actions and non-breaching missing data for the new alarm; mock-provider test only, no root runtime read.;rev3=census-ruling-group-capacity-damping;basis=Assert the group capacity alarm window is 5 of 5 (was 1 of 1) and update its message. Mock-provider test only, no root runtime read. file:external@0 1180c329fff3d82e5f03e7792cb4c2435b6f3e03762b9b62762f615daeff5787
-infra/modules/region-host/group_alarms.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add default-off termination queue age alarm, using existing queue name and regional SNS topic; no IAM, queue, consumer or instance changes. Copy sweep 1: apply approved variable and alarm descriptions verbatim; no resource, threshold, action or read changes.;rev3=census-ruling-region-ha-p3b;basis=Add group capacity, memory, clock, missing-clock and launch-failure notifications; preserve account-owner SNS rights and scope CloudWatch/EventBridge publishers by source account/ARN. Operator-applied Terraform, no box file read; notifications grant no replacement authority.;rev3=census-ruling-region-ha-g2-t3;basis=T3b: add one group-mode SuspectHolderHosts Maximum alarm, 60 seconds, 1 of 1, threshold greater than zero, missing data notBreaching, existing regional SNS actions and ASG dimension. No replacement, scale, IAM, storage or root runtime authority.;rev3=census-ruling-region-ha-g3-fixes;basis=Send existing queue, group and launch-failure notifications to the selected regional SNS topic. Keep externally owned topic policy and subscriptions outside this module; no replacement or scale authority and no new root runtime read.;rev3=census-ruling-group-capacity-damping;basis=group_capacity alarm: evaluation_periods and datapoints_to_alarm 1 -> 5 (alarms after 5 of 5 one-minute periods breaching), comment updated, description unchanged; same metric math, threshold, missing-data handling and actions. tofu only, run on an operator machine; no read is added and nothing on a box reads the file. file:external@0 5a50c6413335f8deb821552dc1cf4a811e02f67bdfac49e75a11c0d0f382b19e
-infra/modules/region-host/tests/group_alarms.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add plan-only mock queue alarm defaults, thresholds, missing-data and regional notification assertions.;rev3=census-ruling-region-ha-p3b;basis=Mock group metric producers, alarm dimensions/windows/missing data and complete scoped SNS policy; retain fixed alarm expectations. Test-only Terraform input, no root runtime read.;rev3=census-ruling-region-ha-p3b1-fixes;basis=Supply the real-shape group queue URL in the group alarm mock so the launch URL equality guard is exercised. Mock plans only; no runtime reads.;rev3=census-ruling-region-ha-g2-t3;basis=T3b: pin fixed-mode zero count, group shape, regional SNS actions and non-breaching missing data for the new alarm; mock-provider test only, no root runtime read.;rev3=census-ruling-group-capacity-damping;basis=Assert the group capacity alarm window is 5 of 5 (was 1 of 1) and update its message. Mock-provider test only, no root runtime read. file:external@0 1180c329fff3d82e5f03e7792cb4c2435b6f3e03762b9b62762f615daeff5787
-@coverage infra/modules/region-host 4840daf00fb1298be31c7a38a03b2c72da085dd09949f19650e6429b5e5d66dc
-@coverage infra/modules/region-host/tests da426764959112acb9eba280a61938710e551c1aef02ef0cb7e4f04c217598ec
+@legacy cf36c0ea936437db75d8cee8bbba1531638c4104cee4813e7078934f57643470 infra/modules/region-host/group_alarms.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add default-off termination queue age alarm, using existing queue name and regional SNS topic; no IAM, queue, consumer or instance changes. Copy sweep 1: apply approved variable and alarm descriptions verbatim; no resource, threshold, action or read changes.;rev3=census-ruling-region-ha-p3b;basis=Add group capacity, memory, clock, missing-clock and launch-failure notifications; preserve account-owner SNS rights and scope CloudWatch/EventBridge publishers by source account/ARN. Operator-applied Terraform, no box file read; notifications grant no replacement authority.;rev3=census-ruling-region-ha-g2-t3;basis=T3b: add one group-mode SuspectHolderHosts Maximum alarm, 60 seconds, 1 of 1, threshold greater than zero, missing data notBreaching, existing regional SNS actions and ASG dimension. No replacement, scale, IAM, storage or root runtime authority.;rev3=census-ruling-region-ha-g3-fixes;basis=Send existing queue, group and launch-failure notifications to the selected regional SNS topic. Keep externally owned topic policy and subscriptions outside this module; no replacement or scale authority and no new root runtime read.;rev3=census-ruling-group-capacity-damping;basis=group_capacity alarm: evaluation_periods and datapoints_to_alarm 1 -> 5 (alarms after 5 of 5 one-minute periods breaching), comment updated, description unchanged; same metric math, threshold, missing-data handling and actions. tofu only, run on an operator machine; no read is added and nothing on a box reads the file. file:external@0 00bb28311d50c48cde502ca7c7400764b7797c88c291a4ed0179bec7a4681480
+@legacy 6305d3c6c54f8df28bf3b39c3226f3addf94257db34346dea5f85e6dd58268b3 infra/modules/region-host/tests/group_alarms.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add plan-only mock queue alarm defaults, thresholds, missing-data and regional notification assertions.;rev3=census-ruling-region-ha-p3b;basis=Mock group metric producers, alarm dimensions/windows/missing data and complete scoped SNS policy; retain fixed alarm expectations. Test-only Terraform input, no root runtime read.;rev3=census-ruling-region-ha-p3b1-fixes;basis=Supply the real-shape group queue URL in the group alarm mock so the launch URL equality guard is exercised. Mock plans only; no runtime reads.;rev3=census-ruling-region-ha-g2-t3;basis=T3b: pin fixed-mode zero count, group shape, regional SNS actions and non-breaching missing data for the new alarm; mock-provider test only, no root runtime read.;rev3=census-ruling-group-capacity-damping;basis=Assert the group capacity alarm window is 5 of 5 (was 1 of 1) and update its message. Mock-provider test only, no root runtime read. file:external@0 6865c7786c25abe0d0ec308b1e90f229cd754127165fb553ee81d6134ddba972
+infra/modules/region-host/group_alarms.tf external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add default-off termination queue age alarm, using existing queue name and regional SNS topic; no IAM, queue, consumer or instance changes. Copy sweep 1: apply approved variable and alarm descriptions verbatim; no resource, threshold, action or read changes.;rev3=census-ruling-region-ha-p3b;basis=Add group capacity, memory, clock, missing-clock and launch-failure notifications; preserve account-owner SNS rights and scope CloudWatch/EventBridge publishers by source account/ARN. Operator-applied Terraform, no box file read; notifications grant no replacement authority.;rev3=census-ruling-region-ha-g2-t3;basis=T3b: add one group-mode SuspectHolderHosts Maximum alarm, 60 seconds, 1 of 1, threshold greater than zero, missing data notBreaching, existing regional SNS actions and ASG dimension. No replacement, scale, IAM, storage or root runtime authority.;rev3=census-ruling-region-ha-g3-fixes;basis=Send existing queue, group and launch-failure notifications to the selected regional SNS topic. Keep externally owned topic policy and subscriptions outside this module; no replacement or scale authority and no new root runtime read.;rev3=census-ruling-group-capacity-damping;basis=group_capacity alarm: evaluation_periods and datapoints_to_alarm 1 -> 5 (alarms after 5 of 5 one-minute periods breaching), comment updated, description unchanged; same metric math, threshold, missing-data handling and actions. tofu only, run on an operator machine; no read is added and nothing on a box reads the file. file:external@0 00bb28311d50c48cde502ca7c7400764b7797c88c291a4ed0179bec7a4681480
+infra/modules/region-host/tests/group_alarms.tftest.hcl external legacy accepted-legacy accepted-legacy;rev3=census-ruling-region-ha-p3a;basis=Add plan-only mock queue alarm defaults, thresholds, missing-data and regional notification assertions.;rev3=census-ruling-region-ha-p3b;basis=Mock group metric producers, alarm dimensions/windows/missing data and complete scoped SNS policy; retain fixed alarm expectations. Test-only Terraform input, no root runtime read.;rev3=census-ruling-region-ha-p3b1-fixes;basis=Supply the real-shape group queue URL in the group alarm mock so the launch URL equality guard is exercised. Mock plans only; no runtime reads.;rev3=census-ruling-region-ha-g2-t3;basis=T3b: pin fixed-mode zero count, group shape, regional SNS actions and non-breaching missing data for the new alarm; mock-provider test only, no root runtime read.;rev3=census-ruling-group-capacity-damping;basis=Assert the group capacity alarm window is 5 of 5 (was 1 of 1) and update its message. Mock-provider test only, no root runtime read. file:external@0 6865c7786c25abe0d0ec308b1e90f229cd754127165fb553ee81d6134ddba972
+@coverage infra/modules/region-host 852b117804e6635ade13c313db7b57580678c8e81706fa3fb56c382c0d9aa251
+@coverage infra/modules/region-host/tests 5c232284952d1bcc228804b757a560fb19289f63f6d479583c706bd294ce0971