carlos / platform Public

email: Fable's P2-A and P2-B on 0655efe67 (ruled: fix both)

Ruled by Paul, 2026-11-14 ("OK"), recorded in the plan.

P2-A, two doors answered 200 without a switched app's From:
- the environment mint answers an unread app sender as a From not
  delivered (*envFromError), since the door cannot tell whether the app
  is switched;
- a re-declare delivers the From whenever the app is switched, so a
  retry after a failed delivery delivers.

P2-B, the guard held only in its shipped configuration:
- TestServingJudgedUnderTheLockBeforeEveryWrite clears its mark when
  this server's app lock is released (a per-server release hook on
  keyedLocks), so the judgement and the write must share one hold;
  moving the rebind judgement into its own short hold now fails it;
- the lifetime create, the claim-create door and the claim-create
  finish each have a test that refuses an undeclared head of a
  switched app; removing the judgement at each is killed;
- the declare door's app lock is tested;
- the simulation no longer panics with every environment released; the
  seed sweep is environment-driven (SUBMISSION_SIM_FIRST, _SEEDS,
  _STEPS), 60 seeds x 150 steps by default across four top-level tests
  the gate can deal to shards, seeds 2001, 2007 and 2012 among them; and
  scripted cases reach both P2-A paths.

P3s: allocRecordLocked's recovery replay judges before its write (a
refusal stays pending); the lock assertion is documented as a detector,
the guard tests being the proof.

Census: allocRecordLocked re-pinned in the record-write layer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by paul@keymail.dev 1181689a0432635d33e9abb7358ccd4a3cd25667 parent a0e07a8
11 files changed, +255 −16
  • docs/superpowers/plans/2026-11-13-platform-mail-submission.md +3 −0
  • internal/console/apimail.go +7 −4
  • internal/console/applocks.go +6 −0
  • internal/console/lifetimes_create.go +13 −0
  • internal/console/submission_paths_test.go +124 −0
  • internal/console/submission_sim_test.go +76 −9
  • internal/console/submissiongate.go +6 −0
  • internal/console/submissiongate_test.go +11 −1
  • internal/console/teamcreds.go +4 −1
  • internal/provision/platform_mail_submission_census_test.go +4 −0
  • internal/provision/testdata/plan14-root-reads-platform-mail-submission.tsv +1 −1
diff --git a/docs/superpowers/plans/2026-11-13-platform-mail-submission.md b/docs/superpowers/plans/2026-11-13-platform-mail-submission.md
index f0500c3d0..37c3431f3 100644
--- a/docs/superpowers/plans/2026-11-13-platform-mail-submission.md
+++ b/docs/superpowers/plans/2026-11-13-platform-mail-submission.md
@@ -70,6 +70,9 @@ Plan choices that are not gaps, for the plan reviewer (each resolves an item on
- **Stated, as Fable asked:**
- After a switch-off that failed part-way, a switched app's bundles can hold the five `<P>_SMTP_*` (and an environment its own SMTP user) beside the From until the switch-off is run again; its instances use submission throughout (the agent sets `CARLOS_MAIL=submit`), so this is a credential at rest, not a second channel in use.
- On the way off, a running instance started with `CARLOS_MAIL=submit` is refused by the mailer (`403 SUBMISSION_OFF`) from `On:false` until it restarts; the door asks every instance to restart at once.
+5. **Fable's review of `0655efe67` (approved, no P1; two P2s in the one-working-channel family).** **Ruled by Paul, 2026-11-14 ("OK"): fix both as part of option 1.**
+ - **P2-A, two doors answered 200 without a switched app's From:** the environment mint now answers a sender it cannot read as a From not delivered (`*envFromError`: the door cannot tell whether the app is switched), and a re-declare delivers the From whenever the app is switched, not only when the declaration changed, so a retry after a failed delivery delivers.
+ - **P2-B, the guard held only in its shipped configuration:** the lock test clears its "judged" mark when the app lock is released, so the judgement and the write must share one hold; the lifetime create, the claim-create door and the claim-create finish are each driven and judged; the declare door's app lock is tested; the simulation no longer panics with every environment released, and a wide seed sweep (environment-driven, and run in CI) covers many seeds and steps, Fable's failing seeds among them. P3s: `allocRecordLocked`'s recovery replay judges before it writes; the `*`-parameter rule reads unquoted parameter names only, so a quoted boundary holding `*=` is admitted; and the lock assertion is noted as a detector (a held app lock, not this request's hold).
The copy review (Task 6 P2-6) is still Paul's; the copy record stays a draft.
diff --git a/internal/console/apimail.go b/internal/console/apimail.go
index bcde9bc41..3991fdc74 100644
--- a/internal/console/apimail.go
+++ b/internal/console/apimail.go
@@ -656,10 +656,13 @@ func (s *Server) handleAPIEmailDeclare(w http.ResponseWriter, r *http.Request) {
if changed {
s.audit(acct, app, addr, "email-declare", "declared email with env prefix "+prefix+" from "+from+" (cli)")
}
- if switched && changed {
- // A switched app's From is in every bundle: deliver the new one
- // there, as the switch did (its idempotent re-run), so every
- // instance sends as what is declared.
+ if switched {
+ // A switched app's From is in every bundle: deliver the declared
+ // one there, as the switch did (its idempotent re-run), so every
+ // instance sends as what is declared. Whenever switched, not only
+ // when the declaration changed: a retry after a delivery that
+ // failed changes nothing, and must still deliver (Fable P2-A,
+ // ruled 2026-11-14).
envs, err := s.ownedEnvironmentNames(ctx, acct.Sqid, app)
if err == nil {
_, err = mail.SwitchOn(ctx, s.claimMailStore(), s.cfg.MailProvisioner, acct.Sqid, app, envs, addr, time.Now())
diff --git a/internal/console/applocks.go b/internal/console/applocks.go
index 94c70ab09..7c5e67756 100644
--- a/internal/console/applocks.go
+++ b/internal/console/applocks.go
@@ -12,6 +12,9 @@ import "sync"
type keyedLocks struct {
mu sync.Mutex
m map[string]*keyedLock
+ // released, when set (tests only), is called with each key as its
+ // hold is released, still inside the hold.
+ released func(key string)
}
type keyedLock struct {
@@ -37,6 +40,9 @@ func (l *keyedLocks) lock(key string) func() {
e.mu.Lock()
return func() {
+ if l.released != nil {
+ l.released(key)
+ }
e.mu.Unlock()
l.mu.Lock()
e.refs--
diff --git a/internal/console/lifetimes_create.go b/internal/console/lifetimes_create.go
index 812388642..76c2107d3 100644
--- a/internal/console/lifetimes_create.go
+++ b/internal/console/lifetimes_create.go
@@ -491,6 +491,19 @@ func (s *Server) allocRecordLocked(ctx context.Context, a Allocation, doorMarked
if !doorMarked && allocationDataKind(a) && !s.recoveryMark(ctx, a) {
return nil, errLifetimePending
}
+ if !doorMarked {
+ // A recovery replay judges, as the door did, under the app lock
+ // it holds, before it writes (Task 6 review P3, ruled 2026-11-14):
+ // the switch may have gone on since the door's judgement. A
+ // refused replay stays pending, and is judged again each pass.
+ var rec provision.Record
+ if err := json.Unmarshal(a.Body, &rec); err == nil {
+ if ref := s.judgeServing(ctx, a.Account, a.App, servingChange{record: &rec}); ref != nil {
+ log.Printf("console: lifetimes: allocation %s of %s: %s (pending)", a.OpID, a.Host, ref.Msg)
+ return nil, errLifetimePending
+ }
+ }
+ }
_, seq, err := provision.WriteRecord(provision.WithRecordSequence(ctx), s.cfg.Releases, key, []byte(`{}`), a.Body, "")
if err != nil {
if !errors.Is(err, release.ErrCASConflict) {
diff --git a/internal/console/submission_paths_test.go b/internal/console/submission_paths_test.go
new file mode 100644
index 000000000..357c6ae9c
--- /dev/null
+++ b/internal/console/submission_paths_test.go
@@ -0,0 +1,124 @@
+package console
+
+import (
+ "context"
+ "encoding/json"
+ "net/http"
+ "net/http/httptest"
+ "strings"
+ "testing"
+ "time"
+
+ "github.com/carlosframework/platform/internal/hostops"
+ "github.com/carlosframework/platform/internal/mailwire"
+ "github.com/carlosframework/platform/internal/provision"
+ "github.com/carlosframework/platform/internal/release"
+)
+
+// The create paths the one serving judgement (ruled by Paul, 2026-11-14)
+// guards beyond the plain create the gate world drives (Fable P2-B): the
+// lifetime create, the claim-create door and the claim-create finish. Each
+// test switches the app to email submission and creates onto a channel
+// whose head does not declare --mail submit: the judgement made under the
+// app lock at that path's write refuses it.
+
+// switchSender writes acct/app's sender object switched on, as the agent
+// and the gate read it.
+func switchSender(t *testing.T, st release.Store, acct, app string) {
+ t.Helper()
+ body, _ := json.Marshal(mailwire.SenderView{ID: mailwire.SenderAppID, Submission: &mailwire.Submission{On: true, At: time.Now()}})
+ key := mailwire.SenderKey(acct, app, mailwire.SenderAppID)
+ _, etag, _ := st.Get(context.Background(), key)
+ if _, err := st.Put(context.Background(), key, body, etag); err != nil {
+ t.Fatal(err)
+ }
+}
+
+// shipUndeclared ships version of app, not declaring --mail submit, and
+// points channel at it.
+func shipUndeclared(t *testing.T, fx *consoleFixture, app, channel, version string) {
+ t.Helper()
+ ctx := context.Background()
+ m := release.Manifest{Schema: 1, App: app, Version: version, Kind: "binary", BuiltAt: "2026-11-14T10:00:00Z",
+ Artifacts: map[string]release.Artifact{"linux-amd64": {File: app}}}
+ if err := release.Ship(ctx, fx.rel, fx.sqid, m, map[string][]byte{"linux-amd64": []byte("bin " + version)}); err != nil {
+ t.Fatal(err)
+ }
+ if err := release.Promote(ctx, fx.rel, fx.priv, fx.sqid, app, channel, version); err != nil {
+ t.Fatal(err)
+ }
+}
+
+const undeclaredRefusal = "Switch submission off first"
+
+func TestServingJudgedOnTheLifetimeCreate(t *testing.T) {
+ l := newLtOn(t)
+ shipUndeclared(t, l.fx, ltApp, "stable", "v-undeclared")
+ switchSender(t, l.fx.rel, l.fx.sqid, ltApp)
+ code, body := l.create(t, ltOne)
+ if code != http.StatusConflict || !strings.Contains(body, undeclaredRefusal) {
+ t.Fatalf("lifetime create onto an undeclared head of a switched app: %d %s, want the build refusal", code, body)
+ }
+ if _, _, err := l.fx.rel.Get(context.Background(), recKey(ltApp, ltOne)); err == nil {
+ t.Fatal("the refused lifetime create wrote its record")
+ }
+}
+
+func TestServingJudgedOnTheClaimCreate(t *testing.T) {
+ cx := newClaimCase(t)
+ enableInstances(t, cx.consoleFixture, "titogo", titoManifest())
+ shipUndeclared(t, cx.consoleFixture, "titogo", "canary/undeclared", "v-undeclared")
+ switchSender(t, cx.rel, cx.sqid, "titogo")
+ code, _, body := rawReq(t, http.MethodPost, cx.ts.URL+"/api/cli/apps/bab/titogo/instances", cx.bearer,
+ `{"host":"new.go.tito.io","region":"ie","channel":"canary/undeclared"}`)
+ if code != http.StatusConflict || !strings.Contains(body, undeclaredRefusal) {
+ t.Fatalf("claim create onto an undeclared head of a switched app: %d %s, want the build refusal", code, body)
+ }
+}
+
+func TestServingJudgedOnTheClaimCreateFinish(t *testing.T) {
+ fx, _ := copiesWorld(t)
+ acct, _ := fx.st.AccountBySqid(fx.sqid)
+ switchSender(t, fx.rel, fx.sqid, "shop")
+ r := httptest.NewRequest("POST", "/", nil)
+ fx.srv.captureCopiesAdmission(r, acct, "shop")
+ // The finish re-takes the app lock after the private store's walk,
+ // and judges under it before it publishes: edge's head, v1, does not
+ // declare --mail submit. No authority implementation is installed: a
+ // missed refusal would reach RecordEffects and panic.
+ unlocked := context.WithValue(r.Context(), copiesHeldKey{}, copiesHeld{})
+ rec := provision.Record{Schema: 1, Account: fx.sqid, App: "shop", Host: "new.example.com", Slug: "new", Region: "fleet/pi", Channel: "edge"}
+ body, _ := json.Marshal(rec)
+ q := &claimCreateRequest{Context: unlocked, Record: hostops.Record{Body: body}}
+ w := httptest.NewRecorder()
+ if fx.srv.finishCopiesClaimCreate(w, q, acct, "shop") || w.Code != http.StatusConflict || !strings.Contains(w.Body.String(), undeclaredRefusal) {
+ t.Fatalf("claim finish onto an undeclared head of a switched app: %d %s, want the build refusal", w.Code, w.Body.String())
+ }
+ if fx.srv.appLocks.held(fx.sqid + "/shop") {
+ t.Fatal("the finish leaked the app lock")
+ }
+}
+
+// The declare door holds the app lock the switch door holds (ruled
+// 2026-11-14): a re-declare waits for a switch, and a switch for it.
+func TestDeclareDoorHoldsTheAppLock(t *testing.T) {
+ w := newSubmissionWorld(t, "code-submission-declare-lock")
+ w.switchOn(t)
+ unlock := w.fx.srv.lockApp("bab", "titogo")
+ done := make(chan int, 1)
+ go func() {
+ st, _, _ := rawReq(t, http.MethodPost, w.fx.ts.URL+"/api/cli/apps/bab/titogo/email", w.owner,
+ `{"env_prefix":"TITO_SMTP","from":"hello@titogo.bab.oncarlos.com"}`)
+ done <- st
+ }()
+ select {
+ case st := <-done:
+ unlock()
+ t.Fatalf("the declare door answered %d while the app lock was held elsewhere", st)
+ case <-time.After(400 * time.Millisecond):
+ }
+ unlock()
+ if st := <-done; st != http.StatusOK {
+ t.Fatalf("the declare door, once the lock was free: %d", st)
+ }
+}
diff --git a/internal/console/submission_sim_test.go b/internal/console/submission_sim_test.go
index 41ed42592..bd2898ca7 100644
--- a/internal/console/submission_sim_test.go
+++ b/internal/console/submission_sim_test.go
@@ -10,6 +10,7 @@ import (
"net/http"
"os"
"slices"
+ "strconv"
"strings"
"sync"
"testing"
@@ -70,6 +71,13 @@ func (f *simFaultStore) armMatching(match string, n int) {
f.match, f.reads, f.failAt, f.n = match, false, n, 0
}
+// armReads fails the nth operation, read or write, on a key holding match.
+func (f *simFaultStore) armReads(match string, n int) {
+ f.mu.Lock()
+ defer f.mu.Unlock()
+ f.match, f.reads, f.failAt, f.n = match, true, n, 0
+}
+
// armOps fails the nth operation, read or write.
func (f *simFaultStore) armOps(n int) {
f.mu.Lock()
@@ -723,7 +731,7 @@ func (sim *channelSim) raceSwitchOn(name string, other func() string) string {
}()
select {
case <-done:
- case <-time.After(1500 * time.Millisecond):
+ case <-time.After(simRaceWait):
}
}
defer func() { sim.w.fx.srv.submissionSwitchHook = nil }()
@@ -754,7 +762,7 @@ func (sim *channelSim) createAroundSwitchOn() string {
}()
select {
case <-done:
- case <-time.After(1500 * time.Millisecond):
+ case <-time.After(simRaceWait):
switched = "still waiting"
}
}
@@ -848,6 +856,14 @@ func (sim *channelSim) scripted() {
sim.ready()
sim.do("switch on", false, sim.switchOn)
}
+ // P2-A (ruled 2026-11-14): an adopt whose read of the app sender fails
+ // answers it, never 200 without a From; a re-declare whose delivery
+ // fails, retried unchanged, delivers.
+ sim.faults.armReads("email/senders/app.json", 2)
+ sim.do("adopt, its read of the sender failing", false, sim.adopt)
+ sim.faults.armMatching("config.json", 1)
+ sim.do("re-declare hello@, its delivery failing", false, func() string { return sim.redeclare("hello@titogo.bab.oncarlos.com") })
+ sim.do("re-declare hello@ again", false, func() string { return sim.redeclare("hello@titogo.bab.oncarlos.com") })
// Re-declare and enable while switched: a From the mailer sends, then
// one it does not.
sim.do("re-declare hello@", false, func() string { return sim.redeclare("hello@titogo.bab.oncarlos.com") })
@@ -931,6 +947,9 @@ func (sim *channelSim) random(n int) {
case 14:
sim.do("team config creates an environment", true, sim.teamCreate)
case 15:
+ if len(sim.envs) == 0 {
+ continue // every environment released
+ }
env := sim.pick(sim.envs)
sim.do("release "+env, true, func() string { return sim.release(env) })
case 16:
@@ -950,17 +969,65 @@ func (sim *channelSim) random(n int) {
}
}
+// simRaceWait is how long a raced door is given to land before the door
+// it races resumes. A door the app lock holds back never lands in it; one
+// that is not held back lands in milliseconds.
+const simRaceWait = 400 * time.Millisecond
+
+// simSweep is the seed sweep: SUBMISSION_SIM_SEEDS seeds from
+// SUBMISSION_SIM_FIRST, each SUBMISSION_SIM_STEPS random steps; by default
+// 60 seeds of 150 steps, and seeds 2001, 2007 and 2012 (which once failed
+// at 120 steps) among them. Set the variables for a wider sweep.
+func simSweep(t *testing.T) (seeds []int64, steps int) {
+ t.Helper()
+ num := func(name string, def int) int {
+ v := os.Getenv(name)
+ if v == "" {
+ return def
+ }
+ n, err := strconv.Atoi(v)
+ if err != nil || n <= 0 {
+ t.Fatalf("%s=%q: want a positive number", name, v)
+ }
+ return n
+ }
+ first, n := num("SUBMISSION_SIM_FIRST", 2000), num("SUBMISSION_SIM_SEEDS", 60)
+ for i := 0; i < n; i++ {
+ seeds = append(seeds, int64(first+i))
+ }
+ return seeds, num("SUBMISSION_SIM_STEPS", 150)
+}
+
+// TestSubmissionChannelSimulation runs the scripted interleavings once.
func TestSubmissionChannelSimulation(t *testing.T) {
- for _, seed := range []int64{1, 2, 3, 4, 5, 6} {
+ sim := newChannelSim(t, 1)
+ sim.scripted()
+ sim.random(60)
+ if testing.Verbose() {
+ t.Logf("steps:\n %s", strings.Join(sim.steps, "\n "))
+ }
+}
+
+// The seed sweep, dealt across four top-level tests so the CI gate can run
+// them on separate shards: each runs every fourth seed. The fixture sets
+// environment variables, so a seed's world cannot run in parallel within
+// one test.
+func TestSubmissionChannelSweep0(t *testing.T) { runSimSweep(t, 0) }
+func TestSubmissionChannelSweep1(t *testing.T) { runSimSweep(t, 1) }
+func TestSubmissionChannelSweep2(t *testing.T) { runSimSweep(t, 2) }
+func TestSubmissionChannelSweep3(t *testing.T) { runSimSweep(t, 3) }
+
+func runSimSweep(t *testing.T, part int) {
+ seeds, steps := simSweep(t)
+ for i, seed := range seeds {
+ if i%4 != part {
+ continue
+ }
t.Run(fmt.Sprint("seed ", seed), func(t *testing.T) {
sim := newChannelSim(t, seed)
- if seed == 1 {
- sim.scripted()
- }
- sim.random(70)
- t.Logf("%d steps; switched at the end: %v", len(sim.steps), sim.switched())
+ sim.random(steps)
if testing.Verbose() {
- t.Logf("steps:\n %s", strings.Join(sim.steps, "\n "))
+ t.Logf("%d steps; switched at the end: %v\nsteps:\n %s", len(sim.steps), sim.switched(), strings.Join(sim.steps, "\n "))
}
})
}
diff --git a/internal/console/submissiongate.go b/internal/console/submissiongate.go
index 01ad6f420..51d6dff34 100644
--- a/internal/console/submissiongate.go
+++ b/internal/console/submissiongate.go
@@ -182,6 +182,12 @@ type servingPolicy struct {
// The app lock is the one the switch door holds (beginCopiesMutation), so
// no switch-on can land between this judgement and the write; a caller that
// does not hold it is refused (a programming error, logged), never judged.
+// That assertion is a detector, not a proof: keyedLocks.held sees a hold by
+// any request, not this one's (Go names no goroutine, and the doors take
+// the lock without a context to carry a token), so it catches a caller
+// without the lock whenever no other request holds it. The proof is the
+// guard tests: TestServingJudgedUnderTheLockBeforeEveryWrite requires each
+// door's judgement and write to share one hold.
//
// It answers nil when the switch is off, or when every part of c passes;
// otherwise the 409 that names the remedy, or a 502 when a read it needs
diff --git a/internal/console/submissiongate_test.go b/internal/console/submissiongate_test.go
index ea9c39f82..35e41ecbf 100644
--- a/internal/console/submissiongate_test.go
+++ b/internal/console/submissiongate_test.go
@@ -733,7 +733,7 @@ func (g *servingGuardStore) Delete(ctx context.Context, key string) error {
// judgement (ruled by Paul, 2026-11-14): every listed serve, create and
// rebind door, driven with the switch off (so it writes), writes a record,
// a channel pointer or the instances manifest only after judgeServing ran
-// under the app lock, and while that lock is held. judgeServing refuses a
+// under the app lock, in the same hold: releasing the lock clears the mark. judgeServing refuses a
// caller without the lock, so a door that judged outside it fails here too.
func TestServingJudgedUnderTheLockBeforeEveryWrite(t *testing.T) {
for _, door := range submissionGateDoors {
@@ -752,6 +752,16 @@ func TestServingJudgedUnderTheLockBeforeEveryWrite(t *testing.T) {
g.mu.Unlock()
}
}
+ // The judgement and the write must share one hold: releasing
+ // this server's app lock clears the mark (Fable P2-B,
+ // 2026-11-14).
+ w.srv.appLocks.released = func(key string) {
+ if key == g.acct+"/"+g.app {
+ g.mu.Lock()
+ g.judged = false
+ g.mu.Unlock()
+ }
+ }
out := door.drive(t, w)
g.mu.Lock()
defer g.mu.Unlock()
diff --git a/internal/console/teamcreds.go b/internal/console/teamcreds.go
index 162838b20..23c972b17 100644
--- a/internal/console/teamcreds.go
+++ b/internal/console/teamcreds.go
@@ -83,7 +83,10 @@ func (s *Server) mintOwnedEnvironmentMail(ctx context.Context, acct *Account, ap
}
sn, _, err := mail.GetSender(ctx, s.claimMailStore(), acct.Sqid, app, mail.SenderAppID)
if err != nil {
- return err
+ // Unread, the app may be switched: the door cannot tell, so it
+ // answers this as a From not delivered, never "ready" (Fable
+ // P2-A, ruled 2026-11-14).
+ return &envFromError{acct: acct.Sqid, app: app, env: env, err: err}
}
// A switched app (platform mail submission, decision 10) is checked
// explicitly, before Provisioned, which a switched app may or may not
diff --git a/internal/provision/platform_mail_submission_census_test.go b/internal/provision/platform_mail_submission_census_test.go
index f3a33578d..54803ba0b 100644
--- a/internal/provision/platform_mail_submission_census_test.go
+++ b/internal/provision/platform_mail_submission_census_test.go
@@ -83,6 +83,10 @@ func platformMailSubmissionWriteCensusInventory() []censusEntry {
{"internal/mail/walk_environment.go", "claimUnserializedEnableEnvironment", "reference", "id:Put", "aa676ba9623ffa989da7ed3c7943225d23eae78fe564a9674bd272987f92ed5e"},
{"internal/mail/walk_environment.go", "claimUnserializedReapEnvironment", "reference", "id:Put", "b2d670d8ef9c26a0847fa966559aa51530760f9a0170df3f9d95523994b2f552"},
{"internal/console/apiinstances.go", "Server.handleAPIInstanceUpdate", "record-writer", "key:UpdateRecord", "90385e624ddc76606423fbb6723d000c7675a5f9ec61223bd14df653c61d4803"},
+ // Ruled by Paul, 2026-11-14 (Fable's review of 0655efe67, P3): the
+ // lifetime recovery's replay judges (judgeServing) before its record
+ // write. The same write.
+ {"internal/console/lifetimes_create.go", "Server.allocRecordLocked", "record-writer", "key:RecordKey,key:WriteRecord", "c5b8d1de7f882ec2623bd2b4be97d2f49d0fd0da2fad19fd2ea3f1bf7447be7e"},
// Ruled by Paul, 2026-11-14 (finishing the one-working-channel
// ruling): re-digested, classification and kinds unchanged, the same
// writes. Each door now judges through judgeServing, the one
diff --git a/internal/provision/testdata/plan14-root-reads-platform-mail-submission.tsv b/internal/provision/testdata/plan14-root-reads-platform-mail-submission.tsv
index 0573cff79..03d7ceb78 100644
--- a/internal/provision/testdata/plan14-root-reads-platform-mail-submission.tsv
+++ b/internal/provision/testdata/plan14-root-reads-platform-mail-submission.tsv
@@ -95,7 +95,7 @@ internal/host/agent.go runAgent authority B,C,D,F rev3=census-ruling-self-serve-
@coverage internal/host/units 63a333f0bb4a354fdde9802089f4ec6794cdfbf774c20fbd48cffab805cd022c
@coverage internal/hostenv ba3d0f9a72e3a494116ce3ace34b05ab7218422327c365d57d2c6aabaa252558
@coverage internal/instancectl 811493ad636a21f5f8e7f2336e8e58055fd2a83f53dd71ef689cd90232e7d3df
-@coverage internal/mailer 6837ba5a107c9035fbf946cd7fb490940e69a1a42f77d1f34425d284ded5c2ec
+@coverage internal/mailer 5abe7e693556a59a6e3e2e74dbabc4204a17060f3be02eb0acdb32d90d248146
@coverage internal/mailsubmit 519123e15891e0802427595306d8caca1fd7f4f861ae1a2ec70e1c10f012e263
@coverage internal/mailwire 0242392c670a0f61b875056b0d79576ccb69c2e29f56735cbb191e7d038222a0
@coverage internal/moves 9390702695d308a327f5572f4ff5967718141c5d385dff7671ff1e2c825ef407