carlos / platform Public

census: claim names deploy's own earlier git reads (Astra scoped-check P3); review findings recorded

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev 3f7edfec909d3dda56313722ea0a3f2bd2ef4711 parent df07851
5 files changed, +30 −6
  • docs/superpowers/notes/census-claims-mail-submission-followups.tsv +1 −1
  • docs/superpowers/notes/census-proposal-mail-submission-followups.md +2 −2
  • docs/superpowers/reviews/FINDINGS-mail-submission-followups.md +24 −0
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-mail-submission-followups.tsv +2 −2

CI passed — run details

diff --git a/docs/superpowers/notes/census-claims-mail-submission-followups.tsv b/docs/superpowers/notes/census-claims-mail-submission-followups.tsv
index 63bd43fa2..04d63602f 100644
--- a/docs/superpowers/notes/census-claims-mail-submission-followups.tsv
+++ b/docs/superpowers/notes/census-claims-mail-submission-followups.tsv
@@ -1 +1 @@
-deploy.go:runDeploy takes --mail and refuses a value but submit before the console is asked anything (the git reads for --version and the branch name run earlier, as before) (validShipMail, joined with the existing --swap check), and sets the session's shipMail, which the existing ship request sends to the console and checks the echo of (checkMailEcho); its usage text moves to the deployUsage const; no read added, read site unchanged (1)
+deploy.go:runDeploy takes --mail and refuses a value but submit before the console is asked anything (the git reads for the version and the dirty-tree check run earlier, as before) (validShipMail, joined with the existing --swap check), and sets the session's shipMail, which the existing ship request sends to the console and checks the echo of (checkMailEcho); its usage text moves to the deployUsage const; no read added, read site unchanged (1)
diff --git a/docs/superpowers/notes/census-proposal-mail-submission-followups.md b/docs/superpowers/notes/census-proposal-mail-submission-followups.md
index e59d3bf2c..dccb8026c 100644
--- a/docs/superpowers/notes/census-proposal-mail-submission-followups.md
+++ b/docs/superpowers/notes/census-proposal-mail-submission-followups.md
@@ -4,7 +4,7 @@ Ruling `census-ruling-mail-submission-followups`. The independent reviewer appro
| unit | change | read sites | what changed |
|---|---|---|---|
-| `deploy.go` `runDeploy` | body | unchanged (1) | takes --mail and refuses a value but submit before the console is asked anything (the git reads for --version and the branch name run earlier, as before) (validShipMail, joined with the existing --swap check), and sets the session's shipMail, which the existing ship request sends to the console and checks the echo of (checkMailEcho); its usage text moves to the deployUsage const; no read added, read site unchanged (1) |
+| `deploy.go` `runDeploy` | body | unchanged (1) | takes --mail and refuses a value but submit before the console is asked anything (the git reads for the version and the dirty-tree check run earlier, as before) (validShipMail, joined with the existing --swap check), and sets the session's shipMail, which the existing ship request sends to the console and checks the echo of (checkMailEcho); its usage text moves to the deployUsage const; no read added, read site unchanged (1) |
Envelopes re-pinned: `.`.
@@ -14,6 +14,6 @@ Recorded dispositions, which each change must still satisfy:
- `deploy.go` `runDeploy`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-edge-asset-cache-1;basis=takes --assets and --no-assets, refuses both together and bad folders before anything runs (deployAssets), reads the folders saved in .carlos/config for the session's console through configAssets (the config walk the CLI already makes), and saves a new list there as it saves the other deploy settings; read site unchanged (1), none added;rev3=census-ruling-gated-deploy-watch-164;basis=the static-deploy branch passes its watch targets through passGatedTargets (a console POST for a gate pass per gated host) and passes the gated-host set to watchDeployed; no new local read, read site unchanged (1), none added;rev3=census-ruling-region-labels;basis=builds a host-to-label map (hostPlaces) from the instance list it already read and passes it to the static watch targets and watchDeployed, so the watch lines say where; no read added;rev3=census-ruling-first-deploy-493;basis=Sequences existing console APIs for confirmed-missing app and first instance creation, with repeatable environment values; local artifact preflight before these new writes. Existing config artifact stat read retained.;rev3=census-ruling-account-subdomains;basis=builds its watch targets with watchTargetsFor (host, watchOrigin(host), the instance list's public_host as Display, place, probe) from the instance list it already read, and passes them to watchDeployed; deployingLine prints the public host from that same list; the watch still dials and matches host; no read added, read site unchanged (1); fix round 1: a first static deploy keeps the create answer mintPlatformHost now returns (the whole record, not its host) and carries its public_host into the record it appends, for printing only; mintPlatformHost makes the same two console requests as before
-Seal: `1610abfc476fe45d259494242243756dac9cfec49cdd7f7f7b238329392241a1` → `0e2b80b3b712ab849a6e510be731344199c1374fa5945f469b17eac7177a8edc`.
+Seal: `1610abfc476fe45d259494242243756dac9cfec49cdd7f7f7b238329392241a1` → `74700c1c04d5a4d88e6b1d81ba27a2f7c2762545e75600b10f2a0d7b7b8b4bd3`.
Overlay: `internal/provision/testdata/plan14-root-reads-mail-submission-followups.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/docs/superpowers/reviews/FINDINGS-mail-submission-followups.md b/docs/superpowers/reviews/FINDINGS-mail-submission-followups.md
new file mode 100644
index 000000000..40210c4f2
--- /dev/null
+++ b/docs/superpowers/reviews/FINDINGS-mail-submission-followups.md
@@ -0,0 +1,24 @@
+# Review findings: mail submission follow-ups
+
+Branch `feat/mail-submission-followups`. The findings are as the coordinator relayed them.
+
+## Census (root-read), Astra (codex/gpt-6-astra, high)
+
+- **Round 1, at 99c49f86a** (diff c855db56d..99c49f86a): READY.
+ - `deploy.go` `runDeploy`: APPROVE. It keeps legacy/accepted-legacy.
+ - Envelope `.`: APPROVE.
+ - No P1 or P2.
+ - P3: the comments in ship_mail.go:24 and canary.go:521, and the claim, overstated the ordering ("before the first read"), because git reads run earlier. Fixed in 2a591b348: they now say "before the console is asked anything".
+- **Scoped check of the fix diff, at df0785194**: CHECK PASSED.
+ - `runDeploy`: APPROVE.
+ - Envelope `.`: APPROVE.
+ - No P1 or P2.
+ - P3: the claim credited the branch-name git read to runDeploy, but that read is canary's. Fixed: the claim now says "the git reads for the version and the dirty-tree check run earlier". The fix changes only the claim text and the card; no code changed.
+
+## Branch review, Opus (round 1, at 99c49f86a): READY
+
+No P1 or P2. Three P3s:
+
+1. Commit the comment rewording. Done.
+2. canary's usage text, the docs and the promote comment said "promotion into a canary is never refused". That contradicts judgeServing once email submission is on. Fixed in 2a591b348 with copy MSF-C6 and MSF-C7, applied verbatim from Luna round 2.
+3. Optional: a zero-arg `--mail` case in deploy_mail_test.go. Not added. `sess.shipMail` is set before the zero-arg branch, so the path does not depend on how the artifact is chosen. This stays on the follow-up list.
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index f308ce36f..9594b0ebf 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -243,4 +243,4 @@ plan14-root-reads-ha-generations-floor.tsv 7ca068c5c146a679b4726d74fe43cf9c47f97
plan14-root-reads-fix-1193-wal-close-test.tsv 7ca068c5c146a679b4726d74fe43cf9c47f97080f9c08b761a36a9a12a5a3c54
plan14-root-reads-ha-1192.tsv 8df52839a0c961d3721f3a5c3247d06202dae4e00d011844b7117f8e918803d4
plan14-root-reads-audit-bugs-2.tsv 1610abfc476fe45d259494242243756dac9cfec49cdd7f7f7b238329392241a1
-plan14-root-reads-mail-submission-followups.tsv 0e2b80b3b712ab849a6e510be731344199c1374fa5945f469b17eac7177a8edc
+plan14-root-reads-mail-submission-followups.tsv 74700c1c04d5a4d88e6b1d81ba27a2f7c2762545e75600b10f2a0d7b7b8b4bd3
diff --git a/internal/provision/testdata/plan14-root-reads-mail-submission-followups.tsv b/internal/provision/testdata/plan14-root-reads-mail-submission-followups.tsv
index 4cbef9ed4..7d2fab6f9 100644
--- a/internal/provision/testdata/plan14-root-reads-mail-submission-followups.tsv
+++ b/internal/provision/testdata/plan14-root-reads-mail-submission-followups.tsv
@@ -1,5 +1,5 @@
# Census overlay mail-submission-followups, written by census-propose (#369). census-ruling-mail-submission-followups, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-mail-submission-followups.md.
# 1 body, 0 sites, 1 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
-@legacy 174978164e203db504dc82cc878f176d41ec38526386e837baa025a4df201417 deploy.go runDeploy legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-edge-asset-cache-1;basis=takes --assets and --no-assets, refuses both together and bad folders before anything runs (deployAssets), reads the folders saved in .carlos/config for the session's console through configAssets (the config walk the CLI already makes), and saves a new list there as it saves the other deploy settings; read site unchanged (1), none added;rev3=census-ruling-gated-deploy-watch-164;basis=the static-deploy branch passes its watch targets through passGatedTargets (a console POST for a gate pass per gated host) and passes the gated-host set to watchDeployed; no new local read, read site unchanged (1), none added;rev3=census-ruling-region-labels;basis=builds a host-to-label map (hostPlaces) from the instance list it already read and passes it to the static watch targets and watchDeployed, so the watch lines say where; no read added;rev3=census-ruling-first-deploy-493;basis=Sequences existing console APIs for confirmed-missing app and first instance creation, with repeatable environment values; local artifact preflight before these new writes. Existing config artifact stat read retained.;rev3=census-ruling-account-subdomains;basis=builds its watch targets with watchTargetsFor (host, watchOrigin(host), the instance list's public_host as Display, place, probe) from the instance list it already read, and passes them to watchDeployed; deployingLine prints the public host from that same list; the watch still dials and matches host; no read added, read site unchanged (1); fix round 1: a first static deploy keeps the create answer mintPlatformHost now returns (the whole record, not its host) and carries its public_host into the record it appends, for printing only; mintPlatformHost makes the same two console requests as before;rev3=census-ruling-mail-submission-followups;basis=takes --mail and refuses a value but submit before the console is asked anything (the git reads for --version and the branch name run earlier, as before) (validShipMail, joined with the existing --swap check), and sets the session's shipMail, which the existing ship request sends to the console and checks the echo of (checkMailEcho); its usage text moves to the deployUsage const; no read added, read site unchanged (1) file:Stat@8743 1f3fe5769efda7c319d8c3ee0c54140e79ea15e3f8381dec0bb3244b1bd46f29
-deploy.go runDeploy legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-edge-asset-cache-1;basis=takes --assets and --no-assets, refuses both together and bad folders before anything runs (deployAssets), reads the folders saved in .carlos/config for the session's console through configAssets (the config walk the CLI already makes), and saves a new list there as it saves the other deploy settings; read site unchanged (1), none added;rev3=census-ruling-gated-deploy-watch-164;basis=the static-deploy branch passes its watch targets through passGatedTargets (a console POST for a gate pass per gated host) and passes the gated-host set to watchDeployed; no new local read, read site unchanged (1), none added;rev3=census-ruling-region-labels;basis=builds a host-to-label map (hostPlaces) from the instance list it already read and passes it to the static watch targets and watchDeployed, so the watch lines say where; no read added;rev3=census-ruling-first-deploy-493;basis=Sequences existing console APIs for confirmed-missing app and first instance creation, with repeatable environment values; local artifact preflight before these new writes. Existing config artifact stat read retained.;rev3=census-ruling-account-subdomains;basis=builds its watch targets with watchTargetsFor (host, watchOrigin(host), the instance list's public_host as Display, place, probe) from the instance list it already read, and passes them to watchDeployed; deployingLine prints the public host from that same list; the watch still dials and matches host; no read added, read site unchanged (1); fix round 1: a first static deploy keeps the create answer mintPlatformHost now returns (the whole record, not its host) and carries its public_host into the record it appends, for printing only; mintPlatformHost makes the same two console requests as before;rev3=census-ruling-mail-submission-followups;basis=takes --mail and refuses a value but submit before the console is asked anything (the git reads for --version and the branch name run earlier, as before) (validShipMail, joined with the existing --swap check), and sets the session's shipMail, which the existing ship request sends to the console and checks the echo of (checkMailEcho); its usage text moves to the deployUsage const; no read added, read site unchanged (1) file:Stat@8743 1f3fe5769efda7c319d8c3ee0c54140e79ea15e3f8381dec0bb3244b1bd46f29
+@legacy 399c0d6dca35e2a17946e31462de0e4762c890477f4ab64bdda815d8e1c8f200 deploy.go runDeploy legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-edge-asset-cache-1;basis=takes --assets and --no-assets, refuses both together and bad folders before anything runs (deployAssets), reads the folders saved in .carlos/config for the session's console through configAssets (the config walk the CLI already makes), and saves a new list there as it saves the other deploy settings; read site unchanged (1), none added;rev3=census-ruling-gated-deploy-watch-164;basis=the static-deploy branch passes its watch targets through passGatedTargets (a console POST for a gate pass per gated host) and passes the gated-host set to watchDeployed; no new local read, read site unchanged (1), none added;rev3=census-ruling-region-labels;basis=builds a host-to-label map (hostPlaces) from the instance list it already read and passes it to the static watch targets and watchDeployed, so the watch lines say where; no read added;rev3=census-ruling-first-deploy-493;basis=Sequences existing console APIs for confirmed-missing app and first instance creation, with repeatable environment values; local artifact preflight before these new writes. Existing config artifact stat read retained.;rev3=census-ruling-account-subdomains;basis=builds its watch targets with watchTargetsFor (host, watchOrigin(host), the instance list's public_host as Display, place, probe) from the instance list it already read, and passes them to watchDeployed; deployingLine prints the public host from that same list; the watch still dials and matches host; no read added, read site unchanged (1); fix round 1: a first static deploy keeps the create answer mintPlatformHost now returns (the whole record, not its host) and carries its public_host into the record it appends, for printing only; mintPlatformHost makes the same two console requests as before;rev3=census-ruling-mail-submission-followups;basis=takes --mail and refuses a value but submit before the console is asked anything (the git reads for the version and the dirty-tree check run earlier, as before) (validShipMail, joined with the existing --swap check), and sets the session's shipMail, which the existing ship request sends to the console and checks the echo of (checkMailEcho); its usage text moves to the deployUsage const; no read added, read site unchanged (1) file:Stat@8743 1f3fe5769efda7c319d8c3ee0c54140e79ea15e3f8381dec0bb3244b1bd46f29
+deploy.go runDeploy legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-edge-asset-cache-1;basis=takes --assets and --no-assets, refuses both together and bad folders before anything runs (deployAssets), reads the folders saved in .carlos/config for the session's console through configAssets (the config walk the CLI already makes), and saves a new list there as it saves the other deploy settings; read site unchanged (1), none added;rev3=census-ruling-gated-deploy-watch-164;basis=the static-deploy branch passes its watch targets through passGatedTargets (a console POST for a gate pass per gated host) and passes the gated-host set to watchDeployed; no new local read, read site unchanged (1), none added;rev3=census-ruling-region-labels;basis=builds a host-to-label map (hostPlaces) from the instance list it already read and passes it to the static watch targets and watchDeployed, so the watch lines say where; no read added;rev3=census-ruling-first-deploy-493;basis=Sequences existing console APIs for confirmed-missing app and first instance creation, with repeatable environment values; local artifact preflight before these new writes. Existing config artifact stat read retained.;rev3=census-ruling-account-subdomains;basis=builds its watch targets with watchTargetsFor (host, watchOrigin(host), the instance list's public_host as Display, place, probe) from the instance list it already read, and passes them to watchDeployed; deployingLine prints the public host from that same list; the watch still dials and matches host; no read added, read site unchanged (1); fix round 1: a first static deploy keeps the create answer mintPlatformHost now returns (the whole record, not its host) and carries its public_host into the record it appends, for printing only; mintPlatformHost makes the same two console requests as before;rev3=census-ruling-mail-submission-followups;basis=takes --mail and refuses a value but submit before the console is asked anything (the git reads for the version and the dirty-tree check run earlier, as before) (validShipMail, joined with the existing --swap check), and sets the session's shipMail, which the existing ship request sends to the console and checks the echo of (checkMailEcho); its usage text moves to the deployUsage const; no read added, read site unchanged (1) file:Stat@8743 1f3fe5769efda7c319d8c3ee0c54140e79ea15e3f8381dec0bb3244b1bd46f29
@coverage . cee5db9bb10e60010db7a685c20fb9545f44db0f82e94a8b1d8a993caebbf2aa