docs: census review brief for billing dashboard 1
The #280 root-read census brief for the Astra reviewer: the root envelope re-pin from billing_cli.go and billing_cli_copy.go.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+36
−0
docs/superpowers/reviews/CODEX-REVIEW-BRIEF-census-billing-dashboard-1.md+36 −0
diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-census-billing-dashboard-1.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-census-billing-dashboard-1.md| new file mode 100644 |
| index 000000000..dcc40d2ce |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-census-billing-dashboard-1.md |
| @@ -0,0 +1,36 @@ |
| +# Review brief: root-read census (#280) for billing dashboard plan 1, round 1 of 3 |
| + |
| +Repo carlos/platform, branch `billing-dash-1-data`, commit 4981b99f (tip at brief time; the census files are in 4981b99f). |
| +Under review: the census card `docs/superpowers/notes/census-proposal-billing-dashboard-1.md`, its overlay `internal/provision/testdata/plan14-root-reads-billing-dashboard-1.tsv` and chain line, and the root-binary part of the diff `f3a9531e..4981b99f` (merge base with amadan main `f3a9531e`): `billing_cli.go`, `billing_cli_copy.go` (repo root, package main). |
| +Authorities: AGENTS.md "The census: the reviewer decides" (on main). The billing dashboard spec and plans live on this branch (docs only); you need them only for context. |
| + |
| +You are an independent reviewer (other model family than the Claude author). Read the card, then the diff of every in-scope file, and check every claim against the code. |
| + |
| +## Fixed: do not re-argue |
| + |
| +- Paul's ruling (#280, 2026-10-26): the reviewer decides every class; nothing escalates to Paul. |
| +- `make census-propose` reported that no unit changed class: only the root envelope `.` is re-pinned, and the seal is unchanged. The author's unit claims were refused by the tool as "not a change the census sees". |
| + |
| +## What to check |
| + |
| +1. For the re-pinned envelope `.`: read every changed function in `billing_cli.go` and `billing_cli_copy.go` and what it reaches. The claim is: adds the `carlos billing revenue` and `carlos billing payments` verbs, which call the console's `/api/cli/billing/revenue` and `/api/cli/billing/payments` over the existing CLI session and print the answers; no root read added. |
| +2. 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 root relies on; or if the diff cannot settle either. |
| +3. Confirm no other in-scope file changed: for `GOOS=linux` amd64 and arm64, `go list -deps -f '{{.Dir}} {{.GoFiles}} {{.EmbedFiles}}' .` against `git diff --name-only f3a9531e 4981b99f`. (Test files and `internal/provision` test changes do not ship in the binary.) |
| + |
| +## Severity |
| + |
| +- **P1**: unsafe, would not compile, a test fails, or it would not work. Blocks merge. |
| +- **P2**: wrong or missing. Fixed without reopening this review. |
| +- **P3**: clarity or polish. Goes on a follow-up list; never a reason for another round. |
| + |
| +A P1 states its failure scenario and the evidence (file:line). Do not raise a P2 to P1 to keep the review open. |
| + |
| +## Output |
| + |
| +A verdict per unit and per re-pinned envelope (APPROVE or REJECT), citing the lines you read. Then findings ranked P1, P2, P3, each with the problem, the evidence (file:line, verified), the failure scenario, a concrete fix and its fault family. End with exactly one verdict: |
| + |
| +- **READY**: no P1 and no P2. |
| +- **READY AFTER FIXES**: no P1. The listed P2s are fixed without another round. |
| +- **NOT READY**: one or more P1s, listed. |
| + |
| +Do not edit files. Do not spawn Anthropic-model reviewers or subagents of your own. Do not run the full test suites. |