portal: the apex wears IDSS, not the community — the brand read is 404'd by the cutover allowlist (both paths) #1410
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#1410
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?
Brand drift, ruled by Ben 2026-09-11 off the private-path drive's own screenshot.
The Portal at the apex wears the product's name,
IDSS, instead of thecommunity's. The community's accent colour is applied, which is what makes it
read as a styling near-miss rather than the data fault it is.
Symptom
Live evidence: private-path drive
20260912T030805Z(GREEN, 14 legs, onorigin/maind64e3ac5), artifactartifacts/portal/private-pt-s0.png. Thefreshly founded community is "E2E Drive". Its signed-out apex face (PT-S0)
renders the monogram
Iand the nameIDSS— teal accent correct, namewrong.
Cause — a collision between #1365 and #1369, not a hardcoded wordmark
IDSSis not hardcoded into the header. It is the deliberate neutral fallback:dashboard/src/lib/portal.ts:107—export const NEUTRAL_PORTAL_BRAND: PortalBrand = { community: 'IDSS', greeting: '' };documented as "a resting / unreachable control plane — never a fabricated
community name". That is correct behaviour for a fault.
dashboard/src/lib/api/portalClient.ts:33reads the brand fromBRAND_PATH = '/api/v1/settings/brand-kit', and at:150returns{ ...NEUTRAL_PORTAL_BRAND }on!res.ok.internal/clan/frontdoor.go—apexAllowList(ADR 0233 §2) admits exactlynine
/api/v1/*paths at the apex (me,me/doors,healthz,join/*,mail/*,enroll/*,fleet/report)./api/v1/settings/brand-kitis notamong them, and
renderPortalRoutethen emits@api path /api/v1/*→respond @api 404.So the Portal's brand read 404s at the apex on every founded community, falls
back to neutral, and the door stops saying whose it is.
This inverts
PortalBrandHeader.vue's own stated contract — "Even a door sayswhose it is (DDR 0007/0073): … the name and greeting are the brand kit's own
voice" — and the allowlist's own stated intent, which says it carries "the join
doors, and the Portal's own supporting routes". The brand read is one of the
Portal's supporting routes; it was simply never added when the cutover landed.
Scope: BOTH paths, not just private
apexAllowListis shared.renderPortalRouteis called fromrenderCaddy(public,
:412) andrenderPrivateCaddy(private,:865); the only differencebetween the two renders is the
panelRedirectblock. Every community's Portalwears
IDSSat its apex.The accent survives because the compiled brand artifacts render the shell offline
(
renderPortalRoute's closing comment) — only the name and greeting come fromthe API, which is exactly the split the screenshot shows.
Why it survived both test tiers
dashboard/tests/unit/portalEntry.test.ts:153stubs/api/v1/settings/brand-kitwith a 200, so the unit test proves the happy pathand structurally cannot observe the apex 404.
app/tests/e2e/fixtures/cutover.tsasserts the apex does not redirect andthat the operator API is 404 — it never asserts the rendered community name.
Served bits vs. the bits under test, again.
Recommended fix
Prefer a narrow public read over widening the allowlist:
GET /api/v1/portal/brandreturning only{name, greeting}— which isexactly
PortalBrand(portal.ts:98-102), and exactly whatportalClient.ts:155already maps.apexAllowList; re-pointBRAND_PATH.NEUTRAL_PORTAL_BRANDas the fallback for a genuine fault — it is right,it was just being hit unconditionally.
Alternative considered and not recommended: allowlisting
/api/v1/settings/brand-kititself. It is a one-line change, but it hands ananonymous stranger the entire
BrandKitDraft(internal/controlapi/settings.go:69—
logo_data/logo_circle_datablobs andlogo_sourceconfig references), andit puts an operator
/settings/path back on the apex the cutover just cleared.Nothing in the draft is secret, so this is a judgement call rather than a
security hole — if the implementer takes this route, say why in the commit.
Acceptance criteria
not
IDSS, on the public path and the private path.NEUTRAL_PORTAL_BRANDstill renders when the brand read genuinely faults(resting / unreachable control plane) — proven by a test that faults the read.
/api/v1/settings/*path becomesreachable there (or, if the allowlist route is taken, the exposure is stated
and pinned).
this: a
frontdoor_test.gopin that the Portal's brand route is inapexAllowList, and a live assertion of the rendered community name inapp/tests/e2e/fixtures/cutover.tsso a drive catches it next time.docs/GOTCHAS.mdgets the entry in the same commit (ADR 0160): a Portal facethat renders the neutral brand is a 404'd brand read, not a styling bug.
Pointers
says whose it is")
allowlist). This is the seam between them.
bens-mac-04:~/idss/test-results/private-path/20260912T030805Z/artifacts/portal/private-pt-s0.pngswarm-claim host=bens-mac-04 run=22225
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=elitebook-distributed-server-03 run=22235
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=matou-dev-server-01 run=22235
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=bens-mac-04 run=22240
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=bens-mac-04 run=22240
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=bens-mac-04 run=22249
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=matou-dev-server-01 run=22249
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=matou-dev-server-01 run=22260
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=matou-dev-server-01 run=22262
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=matou-dev-server-01 run=22262
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=matou-dev-server-01 run=22280
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=elitebook-distributed-server-03 run=22287
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=matou-dev-server-01 run=22291
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=matou-dev-server-01 run=22297
(automated multi-host claim — lowest live claim id works this ticket)
swarm-claim host=elitebook-distributed-server-03 run=22287
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1410 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope