harness: the #1373 mail-cohost leg selects mail, which the product GATES out of selection (not routable) — a phantom deploy that reds every drive after renting a box #1419
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
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1419
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 failure
#1373's drive reds at themail-cohostleg, deterministically, after ~20 minutes and a rented droplet:Drive
20260912T045221Z(elitebook, tree9e3345eb): 26 legs green, 1 red, 0 skips. Everything before it passed, includingportal-s1eand the whole founding/files chain.Cause — the leg selects a service the product deliberately refuses to offer
This is GOTCHAS #14: a phantom inventory instance naming a module clan-core does not provide. The product is correct; the harness is not.
renderShippingService("mail")→ true (internal/provision/deploy.go:1706)clan.PortRoutable("mail")→ false (internal/clan/portroute.go— only files/docs-editing and the forward-auth ports route)provisionCannotDeploy("mail")→ true, i.e.CanDeployService("mail") == falseprovisionCannotDeploy's own comment names mail explicitly: "The gateway-colocated ports (mail / code / chat) and the other helper renders (meetings / static-sites) are the sibling frontier: render-shipping but not yet routed, so they stay gated." P4-S2 does not offer mail, under Ben's ADR 0100 ruling that a selectable service which can only deploy as a phantom is a selectable lie.selectMailOnGateway(app/tests/e2e/fixtures/provision.ts, added for #1373) reaches past that gate and selects mail anyway, so it can only ever produce this failure.Why this blocks #1373 rather than being a note on it
portal-memberis ordered aftermail-cohostand never runs. Reordering does not help:assertPortalMemberJourneyasserts the mail claim itself (Mail card NO MAILBOX YET → MAIL-M1 → M2 → becomes webmail), and no community can deploy mail today. AC1 as written is unprovable by drive until mail is routable.Each retry costs a rented droplet and ~20 minutes to rediscover a fact the code states in a comment, so #1373 is blocked on this to stop the leak.
What this needs — Ben's ruling is on #1373
Recommended there: drop
mail-cohostand the mail assertions from the journey and prove what the Portal owns (PT-S1e ✅ already green, the control-panel door ✅ already green, and sign in → PT-S1 with the files door → open → back → Sign out → PT-S0), tracking the mail half behind mail routability.Whichever way it is ruled, this leg must change before #1373 can drive green: as written it selects a gated service.
A cheap guard worth adding either way:
selectMailOnGateway— and any futureselect<X>OnGateway— should assertCanDeployService(slug)(or the P4-S2 offering) before selecting, so a harness can never again select a service the product hides. That is the same class of fix as #1401's claimability preflight: refuse before spending, not after.Closing as a duplicate of #1418 — and correcting my own analysis, which was wrong on the key point.
I filed this as a harness defect, claiming
selectMailOnGateway"reaches past the P4-S2 gate and selects mail anyway". That is false. Reading the fixture:That visibility assertion passed, and so did the selected-state assertion. The drive did not force anything: the select screen offered Mail, and let it be ticked. The red came later, at deploy.
So the gate is not being applied on that screen, and this is a product defect — a selectable lie under ADR 0100 / GOTCHAS #14, which is exactly how #1418 framed it. #1418 is the correct ticket and is already
agent-working.What still holds from this ticket, and is worth carrying into #1418:
CanDeployService("mail") == falseis demonstrable from the code:renderShippingService("mail")→ true (internal/provision/deploy.go:1706),clan.PortRoutable("mail")→ false (internal/clan/portroute.go), soprovisionCannotDeploy("mail")→ true.provisionCannotDeploy's own comment names mail as gated. The predicate is right; something on the offering path is not consulting it. That is the gap to close.select<X>OnGatewayasserting the product's own offering before selecting would have made this red at the select screen in seconds instead of after a rented droplet and 20 minutes.#1373 stays blocked on #1418.