Route mail's AttachMail render on the deploy seam so PortRoutable("mail") lifts the P4-S2 gate (sibling frontier of #1418) #1420
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1420
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The feature
Route mail's existing
AttachMailrender on provisioning's deploy seam so the P4-S2 (and founding S11) gate lifts for mail on its own —clan.PortRoutable("mail")flips to true and mail becomes a real, deployable service instead of a gated one.Filed as the follow-up to #1418, which fixed the defect (provisioning committing a phantom clan-core
mailinventory instance that broke the whole gateway node's eval preflight). #1418 added two guards so mail is now honestly refused/skipped rather than phantom-written — but it deliberately left mail gated, because routing the real render is a whole feature, not a one-liner.Why this is not a one-line
portAttachersentryportAttachers(internal/clan/portroute.go:50) is typed for forward-auth ports whose placement is just{Node, Apex}. Mail needs more:MailLiveSetassembly (internal/clan/mail_attach.go:41-70) additionally needsIDPHost,LDAPURL,LDAPBindDN, and four clan-var secret paths (LDAPBindPassFile,DKIMKeyFile,AdminSecretFile,OIDCClientSecretFile,DBPassFile) that provisioning does not assemble today. Expect var-spec generators plus aMailLiveSetassembler ininternal/provision.PortRoutable("mail")flips and the P4-S2 gate lifts on its own.What "done" looks like
clan.PortRoutable("mail")returns true, backed by a realAttachMailrender driven from a provisioning-assembledMailLiveSet(never the phantom #1418 outlawed).internal/provision/assess_test.go(~:523) in the same commit.mail-cohostdrive leg deploys mail end to end (Stalwart + Roundcube units up), the sibling frontier named in #1418.Provenance
Split out of #1418 ("What plugging it needs", item 2 — "The real plug"). Found while fixing the phantom-write defect on drive
20260912T045221Z.mailinstance — gateway eval dies #1418Triage hygiene: adding the missing category label
enhancement(routing mail'sAttachMailrender on the deploy seam soPortRoutable("mail")lifts the P4-S2 gate is a new deployable capability, not a bug fix). The state roleneeds-designis left as-is — the mail routing approach (var-spec generators +MailLiveSetassembler + the mesh-only transport co-host/proxy-loop wiring, ADR 0115) is a whole feature the ticket itself flags as needing design before an agent builds against it.Closed 2026-10-21 (Ben's ruling in the stale sweep): mail is withheld on every community for the foreseeable future (
840b5d1d, 2026-09-27), so routing AttachMail on the deploy seam has no consumer. Reopen when mail's Withheld is cleared.