census: propose claim-ux-edge (banner, moved page, banner expiry)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 files changed,
+40
−0
docs/superpowers/notes/census-proposal-claim-ux-edge.md+26 −0internal/provision/testdata/plan14-root-reads-chain.tsv+1 −0internal/provision/testdata/plan14-root-reads-claim-ux-edge.tsv+13 −0
CI passed — run details
Intent
Attributed to this commit: 46.3 g CO₂e (5,699,100 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on claim-ux-edge, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.
diff --git a/docs/superpowers/notes/census-proposal-claim-ux-edge.md b/docs/superpowers/notes/census-proposal-claim-ux-edge.md| new file mode 100644 |
| index 000000000..b6d764a3e |
| --- /dev/null |
| +++ b/docs/superpowers/notes/census-proposal-claim-ux-edge.md |
| @@ -0,0 +1,26 @@ |
| +# Census approval: claim-ux-edge |
| + |
| +Ruling `census-ruling-claim-ux-edge`. The independent reviewer approves or rejects every change below, 2 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26). |
| + |
| +| unit | change | read sites | what changed | |
| +|---|---|---|---| |
| +| `internal/edge/demo_assets/banner.css` `external` | body | unchanged (1) | Restyled the fixed embedded banner layout for a one-line summary with a no-script details element; still compiled-in bytes under the reserved asset path, no imports or URLs. | |
| +| `internal/edge/demo_banner.go` `transformDemoHTMLResponse` | body | unchanged (1) | Passes the route's known demo expiry into the injected banner markup for the hours-left text; same bounded sniff and streaming injector, no new reads. | |
| + |
| +Envelopes re-pinned: `internal/edge`, `internal/edge/demo_assets`. |
| + |
| +Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Reject if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. A rejected unit goes back to the author to correct; nothing escalates to the census owner. |
| + |
| +Recorded dispositions, which each change must still satisfy: |
| + |
| +- `internal/edge/demo_assets/banner.css` `external`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_assets/banner.css:1-31 is the fixed embedded warning layout, referenced by demo_banner.go:22 and served only under the reserved asset path at :91. No external imports, URLs, runtime path or app-selected content; stylesheet bytes are compiled into the edge. |
| +- `internal/edge/demo_banner.go` `transformDemoHTMLResponse`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_banner.go:212-282 transforms the app HTTP response stream. The new ReadAll at :228 is bounded to 512 bytes of response Body for sniffing, not a filesystem read. HTML is streamed through the bounded-prefix injector; unsupported active types/charsets/encodings refuse and stale representation metadata is removed. |
| + |
| +New dispositions, which census-propose wrote and the reviewer checks against the unit's reads and the diff: |
| + |
| +- new `internal/edge/demo_assets/moved.css:external`: reads +file:external; written legacy, accepted-legacy, frozen |
| +- reads `internal/edge/demo_traffic.go:Edge.demoProxy`: +registry:DemoExpiresAt; keeps legacy, task accepted-legacy |
| + |
| +Seal: `61027a32e31cb7ce017304f526f668c26980999e2699a3013a82e2630164143e` → `889ce9f72f93b581b29527e5c5d4410b47732424ce8ce45c080904ebb6c52195`. |
| + |
| +Overlay: `internal/provision/testdata/plan14-root-reads-claim-ux-edge.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 95d483abc..ecb578613 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-chain.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-chain.tsv |
| @@ -114,3 +114,4 @@ plan14-root-reads-fix-asset-e2e-unsized-flake.tsv 3c1d54d297da31d147cdb4e1ad4627 |
| plan14-root-reads-region-ha-g2r-fixes.tsv 5c6f157c56e24dc835edc534c5dc0e043e6527e8116e5bb470e68e4fd271796c |
| plan14-root-reads-fix-incomplete-domains-pass.tsv 61027a32e31cb7ce017304f526f668c26980999e2699a3013a82e2630164143e |
| plan14-root-reads-signin-first-run-mobile.tsv 61027a32e31cb7ce017304f526f668c26980999e2699a3013a82e2630164143e |
| +plan14-root-reads-claim-ux-edge.tsv 889ce9f72f93b581b29527e5c5d4410b47732424ce8ce45c080904ebb6c52195 |
diff --git a/internal/provision/testdata/plan14-root-reads-claim-ux-edge.tsv b/internal/provision/testdata/plan14-root-reads-claim-ux-edge.tsv| new file mode 100644 |
| index 000000000..7a17a5b18 |
| --- /dev/null |
| +++ b/internal/provision/testdata/plan14-root-reads-claim-ux-edge.tsv |
| @@ -0,0 +1,13 @@ |
| +# Census overlay claim-ux-edge, written by census-propose (#369). census-ruling-claim-ux-edge, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-claim-ux-edge.md. |
| +# 2 body, 0 sites, 2 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| +# 2 new dispositions: 1 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 6a2f28fdbbe6d76763a07c08135d7f49260e8f2ca711e8cc81c736e40743b941 internal/edge/demo_assets/banner.css external legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_assets/banner.css:1-31 is the fixed embedded warning layout, referenced by demo_banner.go:22 and served only under the reserved asset path at :91. No external imports, URLs, runtime path or app-selected content; stylesheet bytes are compiled into the edge.;rev3=census-ruling-claim-ux-edge;basis=Restyled the fixed embedded banner layout for a one-line summary with a no-script details element; still compiled-in bytes under the reserved asset path, no imports or URLs. file:external@0 0648d10fcb1e0658e0b8335d17f325184473df6ade171263c1dbc76199ae356f |
| +@legacy b5c7b537625922ad897c4d46ac50cd70be87d62bc7c470389da7ff1764a97b8d internal/edge/demo_banner.go transformDemoHTMLResponse legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_banner.go:212-282 transforms the app HTTP response stream. The new ReadAll at :228 is bounded to 512 bytes of response Body for sniffing, not a filesystem read. HTML is streamed through the bounded-prefix injector; unsupported active types/charsets/encodings refuse and stale representation metadata is removed.;rev3=census-ruling-claim-ux-edge;basis=Passes the route's known demo expiry into the injected banner markup for the hours-left text; same bounded sniff and streaming injector, no new reads. file:ReadAll@700 b1f44400d2fa500ee29ba578dc7d95fd75ef59a2e81367ebfc40862bce277cf0 |
| +@legacy 3faa7db7abb20dc486f3344796ba30ab173bf8a37530f72e43b265988760f575 internal/edge/demo_assets/moved.css external legacy accepted-legacy accepted-legacy;rev3=census-ruling-claim-ux-edge;basis=New fixed embedded stylesheet for the moved page, compiled into the edge and served only under the reserved demo asset path; no imports, URLs or app-selected content. file:external@0 87dc2a8002679725103794a1f305b3548da9b62fe8dd4c5e3fccdc3d9bb54048 |
| +@legacy c92bc102a7c39cb2e16d0d20a8e865a5d5f83881a7b7e10005fe06bb29f0e27a internal/edge/demo_traffic.go Edge.demoProxy legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_traffic.go:537-558 reads the supplied Route.Host and IsForward to install resident banner or forwarding transports before reload wrappers. No new registry lookup; resident content is transformed once, forwarded representations remain unchanged.;rev3=census-ruling-claim-ux-edge;basis=Reads the existing registry field DemoExpiresAt (already used for serving admission) to give the banner its end time; display only, grants no serving authority. registry:DemoExpiresAt@712,registry:Host@658 a7e5be95325949c270f305694318659b486ec8998f39fc64799c595ecb41496a |
| +internal/edge/demo_assets/banner.css external legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_assets/banner.css:1-31 is the fixed embedded warning layout, referenced by demo_banner.go:22 and served only under the reserved asset path at :91. No external imports, URLs, runtime path or app-selected content; stylesheet bytes are compiled into the edge.;rev3=census-ruling-claim-ux-edge;basis=Restyled the fixed embedded banner layout for a one-line summary with a no-script details element; still compiled-in bytes under the reserved asset path, no imports or URLs. file:external@0 0648d10fcb1e0658e0b8335d17f325184473df6ade171263c1dbc76199ae356f |
| +internal/edge/demo_banner.go transformDemoHTMLResponse legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_banner.go:212-282 transforms the app HTTP response stream. The new ReadAll at :228 is bounded to 512 bytes of response Body for sniffing, not a filesystem read. HTML is streamed through the bounded-prefix injector; unsupported active types/charsets/encodings refuse and stale representation metadata is removed.;rev3=census-ruling-claim-ux-edge;basis=Passes the route's known demo expiry into the injected banner markup for the hours-left text; same bounded sniff and streaming injector, no new reads. file:ReadAll@700 b1f44400d2fa500ee29ba578dc7d95fd75ef59a2e81367ebfc40862bce277cf0 |
| +internal/edge/demo_assets/moved.css external legacy accepted-legacy accepted-legacy;rev3=census-ruling-claim-ux-edge;basis=New fixed embedded stylesheet for the moved page, compiled into the edge and served only under the reserved demo asset path; no imports, URLs or app-selected content. file:external@0 87dc2a8002679725103794a1f305b3548da9b62fe8dd4c5e3fccdc3d9bb54048 |
| +internal/edge/demo_traffic.go Edge.demoProxy legacy accepted-legacy accepted-legacy;rev3=census-ruling-agent-start-demo-2;basis=demo_traffic.go:537-558 reads the supplied Route.Host and IsForward to install resident banner or forwarding transports before reload wrappers. No new registry lookup; resident content is transformed once, forwarded representations remain unchanged.;rev3=census-ruling-claim-ux-edge;basis=Reads the existing registry field DemoExpiresAt (already used for serving admission) to give the banner its end time; display only, grants no serving authority. registry:DemoExpiresAt@712,registry:Host@658 a7e5be95325949c270f305694318659b486ec8998f39fc64799c595ecb41496a |
| +@coverage internal/edge 0595f75d0da2fc50cd4407aa51b1cd2ec71eb2f8cdf4ed1f0ea980f091e71b88 |
| +@coverage internal/edge/demo_assets efa7a9efd1e7eefdb1b0da5d0169cc2cacf565e7447c0857cf08e2f93d1dcb97 |