census: plan-domains-2a proposal
Overlay, chain line and card from make census-propose. One unit renamed: domains_buy_cli.go readDomainContact -> readContactFile (same reads, error words passed in; shared by domains buy and domains contacts add/edit). Root package envelope re-pinned. Awaiting review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 files changed,
+33
−0
docs/superpowers/notes/census-proposal-plan-domains-2a.md+23 −0internal/provision/testdata/plan14-root-reads-chain.tsv+1 −0internal/provision/testdata/plan14-root-reads-plan-domains-2a.tsv+9 −0
CI cancelled — superseded by a newer push — run details
diff --git a/docs/superpowers/notes/census-proposal-plan-domains-2a.md b/docs/superpowers/notes/census-proposal-plan-domains-2a.md| new file mode 100644 |
| index 000000000..839981fb4 |
| --- /dev/null |
| +++ b/docs/superpowers/notes/census-proposal-plan-domains-2a.md |
| @@ -0,0 +1,23 @@ |
| +# Census approval: plan-domains-2a |
| + |
| +Ruling `census-ruling-plan-domains-2a`. The independent reviewer approves or rejects every change below, 1 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26). |
| + |
| +Envelopes re-pinned: `.`. |
| + |
| +Removed units: the scan finds neither the declaration nor any of its sites. |
| + |
| +| unit | recorded disposition | basis | what changed | |
| +|---|---|---|---| |
| +| `domains_buy_cli.go` `readDomainContact` | legacy, task accepted-legacy | accepted-legacy;rev3=census-ruling-domain-registration-1;basis=new: reads the --contact-file the person running carlos names, as that person; no root, no tenant or app input | removed: renamed to readContactFile in the same file (same reads, error words passed in); not deleted | |
| + |
| +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. |
| + |
| +A removed unit's recorded disposition and basis are in its table above. For a removed unit or a retired envelope, confirm from the diff that the code is deleted and not moved: a read that moved shows on this card as a change to the unit that took it, and a unit moved whole shows as a new unit, a decision. Reject if a check, refusal or validation that root relies on goes with the deleted code and its callers' changes on this card do not account for that. |
| + |
| +New dispositions, which census-propose wrote and the reviewer checks against the unit's reads and the diff: |
| + |
| +- new `domains_buy_cli.go:readContactFile`: reads +file:Open, +file:ReadAll; written legacy, accepted-legacy, frozen |
| + |
| +Seal: `aa2c0729fe761d6438d2e8b9ef4ef2c1a20699f5e81dded1783c9a008dfafba9` → `bbc45dde8cad5fefacbe7c82eea57ceeafbb180806a46f74759a8d0e89013a8e`. |
| + |
| +Overlay: `internal/provision/testdata/plan14-root-reads-plan-domains-2a.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 87f1ac29c..c821055c6 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-chain.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-chain.tsv |
| @@ -257,3 +257,4 @@ plan14-root-reads-ha-generations.tsv 5bf2d00767807be812b004a474352ec184788be3ce6 |
| plan14-root-reads-named-units-param-114.tsv 8daea28ba9b419e8680e8eb0d44a577c68ec01e02663a878288441dc579cc9f7 |
| plan14-root-reads-race-activator-1249.tsv 879cc401365966a2ca23962245ce9dff4b7879fe7a27b7691c3d91a4e70ff6e8 |
| plan14-root-reads-named-units-guard-fix.tsv aa2c0729fe761d6438d2e8b9ef4ef2c1a20699f5e81dded1783c9a008dfafba9 |
| +plan14-root-reads-plan-domains-2a.tsv bbc45dde8cad5fefacbe7c82eea57ceeafbb180806a46f74759a8d0e89013a8e |
diff --git a/internal/provision/testdata/plan14-root-reads-plan-domains-2a.tsv b/internal/provision/testdata/plan14-root-reads-plan-domains-2a.tsv| new file mode 100644 |
| index 000000000..d262030c1 |
| --- /dev/null |
| +++ b/internal/provision/testdata/plan14-root-reads-plan-domains-2a.tsv |
| @@ -0,0 +1,9 @@ |
| +# Census overlay plan-domains-2a, written by census-propose (#369). census-ruling-plan-domains-2a, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-plan-domains-2a.md. |
| +# 0 body, 0 sites, 1 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| +# 1 removed: each unit's declaration, or each envelope's directory, is absent from the scanned tree, so its row goes, a frozen declaration is retired as absent, and an envelope is retired. |
| +# 1 new dispositions: 0 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 cae90a9c4839a075a4ebf9ed7b1bd6ab28c7910cf476f6a056cae9babae65325 domains_buy_cli.go readContactFile legacy accepted-legacy accepted-legacy;rev3=census-ruling-plan-domains-2a;basis=renamed from readDomainContact; the body is the same (os.Open, io.ReadAll of a 16 KiB LimitReader, one strict JSON registrar.Contact); its error words are now a parameter so carlos domains buy --contact-file and the new carlos domains contacts add/edit --contact-file share it; it still reads only the file the person running carlos names, as that person; no root, no tenant or app input; no read added file:Open@100,file:ReadAll@207 d9b2346c3440944c49cba1c5f014a807426332f74e39e5a0e3edc5602ac5d0e3 |
| +domains_buy_cli.go readContactFile legacy accepted-legacy accepted-legacy;rev3=census-ruling-plan-domains-2a;basis=renamed from readDomainContact; the body is the same (os.Open, io.ReadAll of a 16 KiB LimitReader, one strict JSON registrar.Contact); its error words are now a parameter so carlos domains buy --contact-file and the new carlos domains contacts add/edit --contact-file share it; it still reads only the file the person running carlos names, as that person; no root, no tenant or app input; no read added file:Open@100,file:ReadAll@207 d9b2346c3440944c49cba1c5f014a807426332f74e39e5a0e3edc5602ac5d0e3 |
| +@remove domains_buy_cli.go readDomainContact |
| +@removed domains_buy_cli.go readDomainContact H3 census-ruling-plan-domains-2a;absent;basis=removed: renamed to readContactFile in the same file (same reads, error words passed in); not deleted |
| +@coverage . b911decd2da8411bbf66a423ec144247518ccb6bab76fa01ce468d9334955a14 |