provision: re-pin the record-write census for the key check and order
TestPlan9B8RecordWriteCensus: Enable, EnableEnvironment and ReapEnvironment re-digested (KeyState read before a skipped mint; the bundle's five out before the keys and user go), and the week-7 reap (its default-bundle write before the user goes). Classification and kinds unchanged; the same Put of the app sender.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+14
−1
internal/provision/platform_mail_submission_census_test.go+14 −1
CI cancelled — superseded by a newer push — run details
diff --git a/internal/provision/platform_mail_submission_census_test.go b/internal/provision/platform_mail_submission_census_test.go| index 51d3de4b4..201563a7c 100644 |
| --- a/internal/provision/platform_mail_submission_census_test.go |
| +++ b/internal/provision/platform_mail_submission_census_test.go |
| @@ -103,6 +103,15 @@ func platformMailSubmissionWriteCensusInventory() []censusEntry { |
| {"internal/console/lifetimes_create.go", "Server.createRecordWithLifetimeLocked", "key-site", "key:RecordKey", "7693b5ffa2908ee6f8856634dca0827af231679c29f83125a463901071348e99"}, |
| {"internal/console/updatescore.go", "Server.applyUpdates", "record-writer", "key:UpdateRecord", "be499044ac2f810182d82a7220246b12031914ebba9e4c495d114b6a4204280a"}, |
| {"internal/console/updatescore.go", "Server.requestInstall", "record-writer", "key:UpdateRecord", "016c60ecc2c8054c396c909d6f7c227b8bbdd1ee6868ac807919cecdf8986de4"}, |
| + // Ruled by Paul, 2026-11-14 (switch-off checks keys; switch-on |
| + // removes SMTP settings before deleting the user): re-digested, |
| + // classification and kinds unchanged, the same Put of the app |
| + // sender. Enable and EnableEnvironment ask Provisioner.KeyState (a |
| + // read) before they skip a mint; ReapEnvironment takes the five out |
| + // of the bundle before it deletes the keys and the user. |
| + {"internal/mail/walk.go", "claimUnserializedEnable", "reference", "id:Put", "74ac715f1700b2655a9c34a2ca55afe48704ea0f07154591036cf1855d2498e1"}, |
| + {"internal/mail/walk_environment.go", "claimUnserializedEnableEnvironment", "reference", "id:Put", "73d110a93a3b420f444ee051b6e389d874f2431f3be3372e2a68c2c0a613aa9e"}, |
| + {"internal/mail/walk_environment.go", "claimUnserializedReapEnvironment", "reference", "id:Put", "12f50770d608d967c3514a31cc2c9520fd8089feaa9d327fd1dd77752c45f0c6"}, |
| } |
| for _, r := range repins { |
| found := false |
| @@ -139,7 +148,11 @@ func platformMailSubmissionWriteCensusInventory() []censusEntry { |
| entries = append(entries, |
| censusEntry{"internal/mail/submission.go", "claimUnserializedSwitchOn", "reference", "id:Put", "9a51854db684923d987663cca49b0b0dafe0c52c57f809e5b1f0cab2c2cd6cc7"}, |
| censusEntry{"internal/mail/submission.go", "claimUnserializedSwitchOff", "reference", "id:Put", "fb3b0cf11f4846eb60aefd09130b0cf0f7e243d79178f1b80446b13d312ae0c8"}, |
| - censusEntry{"internal/mail/sweep.go", "claimUnserializedReapAppUserAfterSubmission", "reference", "id:Put", "7592eb9a0d741809beabab28b118a94c364da6e4fa5a20f9d2b80805a14e0c42"}, |
| + // Ruled by Paul, 2026-11-14 (SMTP settings out before the user is |
| + // deleted): the reap makes the default bundle a switched app's |
| + // (writeMailFromIn, a config write, not a record) before it deletes |
| + // the app-level user. The same Put of the app sender. |
| + censusEntry{"internal/mail/sweep.go", "claimUnserializedReapAppUserAfterSubmission", "reference", "id:Put", "25746696611d8f251f6f416de271aae8adc0ed23adecf21e66bb1c044470e0df"}, |
| censusEntry{"internal/console/alertsignals.go", "engineReads.switchedRecordHosts", "key-site", "key:RecordsPrefix", "9d474c76f8e5326bb99c79b03fd4677adbec77564172a66d1b4a625d2e33e294"}, |
| // Fable P3 and P2-8 (2026-11-14): the reap runs again while an |
| // app-level user exists, whatever the reap mark says (the same |