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.
Blocks
Depends on
Reference
Matou/idss#1372
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?
Parent
Spec #1361 (the Portal); program map #1336; design contract DDR 0232 / ADR 0233, flow
docs/ux/flows/portal.mermaid, wireframesdocs/ux/wireframes/portal/. Slicemail-rehomeindocs/slices/portal.yaml.What to build
The member mail routes are wired with the gate's COOKIE resolver (#1344 — dead at the apex today); /mail becomes a route inside the portal entry wearing the Portal shell (a way back home; the seam's screens and DDR 0117 refusal copy unchanged); the Mail card is shaped by claim state (no-mailbox-yet → address-that-would-be-yours + Claim → MAIL-M1; claimed → webmail URL + Open). NOT mounted on the IDIP tier (stated limit). Handler test: cookie-bearing request with no identity header reaches MAIL-M1; entry seam test for the route.
Acceptance criteria
Blocked by
Task manifest
swarm-claim host=matou-dev-server-01 run=21068
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1372 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
close-report for #1372 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope
Follow-up landed on main
fb8368af(Ben's session, 2026-09-10) — the home offered a MAIL door to a mail service that was never deployed.Ben's eyeballed #1369 droplet frame (
pt-home-signed-in.png, run20260910T080640Z) showed the founding operator's home with a Mail card reading OPEN +https://mail.<apex>on a community with no mail module. Not a wrong claim state — a lie composed from three honest layers (GOTCHAS #221):*.<apex>A at the gateway, somail.<apex>lands on the ONE Caddy wildcard site; every directive there is a host-matchedhandle, and Caddy's default for a request no handle matches is 200 with an empty body;mailsvc.Port.requestonly unmarshalled a non-empty body → the empty 200 read as a zero mailbox →Dataok=true →Status=claimed+ webmail URL;wholeMailPortalwired the member mail portal wherevermail.<apex>was derivable (ADR 0113), never consulting the deployed-module set (#875's lesson, learned by the offboard catalogue but not by this surface).Fix, all three layers, byte-pinned:
internal/clan: both front-door renders end with a matcher-lesshandle { respond 404 }(renderUnservedHostFallthrough) — an unserved wildcard host reads as ABSENT; the founding door probe accepts any HTTP answer, so it still counts as "answered over TLS".internal/mailsvc: an empty 200 is a fault (TestPort_EmptyOKIsNotAMailbox);MemberPortal.WithOffered(func() bool)→ErrNotOfferedon Status/Claim, management API untouched, read per call.internal/controlapi:ErrNotOffered→ 404mail_not_offeredon both routes.control-plane:wholeMailPortalgates onmailOffered(deployedServiceSet(deps)).dashboard:/mailis not-here onmail_not_offered(the home already drew no card on a failed read); two new portalEntry tests.Tests:
go test ./internal/mailsvc/ ./internal/controlapi/ ./internal/clan/ ./internal/founding/ ./control-plane/cmd/control-plane/green;vitest portalEntry+mailEntry32/32;vue-tsc+ eslint clean. AC2/AC3 of this ticket are unchanged for a community that HAS mail; on one that does not, the honest answer is no card and no/mail. Ticket stays closed; #1369's private leg re-verifies the home with no Mail card.