carlos / platform Public

census: review brief for media-spike-fixes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev cf5e84f34dab0cbd1ec34d30ad841a62a3824f12 parent dbd31a9
1 file changed, +13 −0
  • docs/superpowers/notes/CENSUS-REVIEW-BRIEF-media-spike-fixes.md +13 −0

CI cancelled — superseded by a newer push — run details

diff --git a/docs/superpowers/notes/CENSUS-REVIEW-BRIEF-media-spike-fixes.md b/docs/superpowers/notes/CENSUS-REVIEW-BRIEF-media-spike-fixes.md
new file mode 100644
index 000000000..bd78acc13
--- /dev/null
+++ b/docs/superpowers/notes/CENSUS-REVIEW-BRIEF-media-spike-fixes.md
@@ -0,0 +1,13 @@
+# Census approval: branch media-spike-fixes, commit dbd31a9c7a63273103d04326b65d4d793e851732
+
+You are the independent census reviewer (Paul's standing ruling on amadan #280: the cross-model reviewer decides every census class; nothing escalates to Paul). Round 1 of 3. Read-only; do not run tests, commit, or spawn reviewers.
+
+Read the card docs/superpowers/notes/census-proposal-media-spike-fixes.md and the overlay it names (internal/provision/testdata/plan14-root-reads-media-spike-fixes.tsv, and its line at the end of internal/provision/testdata/plan14-root-reads-chain.tsv). Then read `git diff origin/main...HEAD -- infra/modules/media-engine` and as much of ecs.tf, network.tf and tests/media_engine.tftest.hcl as you need to settle each claim.
+
+Background: the media spike (dev account, 2026-11-20) found the module never settles. ECS answers every container's linuxParameters.capabilities.add and the top-level environment, mountPoints, portMappings, systemControls and volumesFrom lists as empty lists, and the AWS provider's container_definitions comparison clears empty top-level lists but not capabilities.add. DNS Firewall stores every domain with a trailing dot (terraform-provider-aws issue 23543). The module now writes both in that form.
+
+The branch's other changes (cmd/mediaimage, internal/mediaaws/module_test.go and its testdata render, internal/mediahandler tests and fixtures) are outside the census's scope; the card lists no unit for them. Say so if you find otherwise.
+
+Answer the card's review question for the three units and the two re-pinned envelopes (`infra/modules/media-engine`, `infra/modules/media-engine/tests`): does any root read now open, run, query or follow a path or input a tenant, app or box agent can create, write or name? Does the change weaken a check, refusal, validation, argument or environment the recorded basis relies on? In particular: does writing `add = []` and the empty lists grant any capability, mount, port, sysctl or volume; does `"*."` with BLOCK/NXDOMAIN still cover every name the old `"*"` did, and does the allow list admit any name it did not; did any tftest assertion get weaker than "nothing granted"? Confirm the envelope re-pins are only these files' changes.
+
+Output: per unit and envelope, APPROVE or REJECT with the evidence (file:line); then one verdict line: CENSUS APPROVED or CENSUS REJECTED.