browse-catalogue: Browse tab renders zero catalogue categories on the private-path portal #1236
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.
Reference
Matou/idss#1236
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
Drive
20260905T055639Z, targetarchive(the #1203 P4 catalogue drive), commitd6e7ef870d1c. Fromartifacts/verdict.json:Legs 1–2 green (
founding-prefix783.9 s,gateway-change0.5 s); leg 3 red after the 30 s ceiling. Fromartifacts/legs.json:This is not the KNOWN frontier.
legs.jsoncarries"skip": 0and no skip reasons at all — the own-VPS pairing carrier issue is named nowhere in this drive's own records, and the red leg isbrowse-catalogue, not a pairing leg. Pairing was never reached. This is a fresh red.The evidence
1. The tab switch worked — the pane is simply empty. The two assertions before the failing one passed (the Browse tab went
data-status="tab-active",[data-field="browse-catalogue-tab"]rendered); the throw is at the Heritage-category assert. The page snapshot captured at failure (artifacts/provision-archive.live-…/error-context.md) is the whole Browse pane:Chrome, lede, Glyphs/Logos toggle, Suggest card — and not one
[data-field="category"], not one[data-field="catalogue-card"].test-failed-1.pngshows the same visually: BROWSE CATALOGUE active, a single "Suggest something else" tile, nothing else.So this is not "Heritage is missing" or "the archive port never reached the catalogue" — the entire catalogue read comes back empty. The archive port does exist in this build;
logs/guest-control-plane.log:125:2. The same emptiness leaks into the gaps line. Same screenshot, YOUR COMMUNITY NEEDS:
Your community has no gaps right now — nothing needs filling.A catalogue that reads as zero services can report no gaps.3. The panel is being driven at the raw control-plane port, not through Caddy.
logs/founding-state.log:257and the S12 screen (artifacts/legs/browse-catalogue-w1.png):helper-opened-urlsis exactlyhttp://127.0.0.1:33001. Perlogs/guest-unit-file.logthe forwards are:and
logs/guest-control-plane.log:143puts the control plane ataddr=:8080 … composition_whole=true. So :33001 lands on the control plane's own API port; Caddy's :443 is the other forward (:37679), andlogs/guest-caddy.logshows Caddy started clean. The app labels that portal in its own words on S12: "your portal, live now (brand + service links only)". Meanwhile the session gate is wired and live —logs/guest-control-plane.log:140:4. Infra is clean.
logs/guest-failed-units.log:0 loaded units listed.Caddy up. Every other panel read on this origin rendered — fleet, resources, change-assessment. Not a sick box.5. What I could NOT verify myself.
logs/healer-claude.out(a healer pass that already read this run) reports thattrace.zip's network log carriesGET /api/v1/cataloguereturning 401 twice, body{"code":"unauthenticated","message":"sign in at the community front door to browse the catalogue"}, with every other read on the origin 200. That is consistent with everything above, but I could not opentrace.zipunder this session's permissions (extraction refused), so I am relaying that line, not confirming it. The catalogue traffic appears in no plain-text log:guest-control-plane.loglogs no requests, andartifacts/ceremony/window-diagnostics.logcovers only the Kanidm credential-reset window on :44381.Suspected layer
Product, at the auth/routing boundary — not harness, not infra.
The operator panel on the private path is entered at the control plane's raw loopback port, bypassing the
admin.<apex>front-door route that is the only thing that mints the community SSO session. Ungated reads answer 200; the session-gated catalogue read does not, so the browse card list is empty and no category element is ever emitted. The harness is faithfully driving the address the app itself handed it, and asserts exactly what P4-S2b / DDR 0220 promise — the assertion is right, the surface is wrong.A second, separable product defect sits on top, and this one is unambiguous: a failed catalogue read renders as a silent empty tab. The pane shows the lede "Everything your community can host today, and what could be added next" above zero cards, with no error and no retry — an operator cannot distinguish a refused read from an empty catalogue. The same app already knows how to do this properly: the Overview panel in
artifacts/legs/browse-catalogue-w2.pngrenders its own failed read asno such endpointwith aTRY AGAINbutton.What plugging it needs
admin.<apex>on the forwarded :443 — which changes the established private-path entry contract for every private-path drive, including the currently-green nextcloud drive that shares the sameportalAddressand only stays green because it never reads a gated route — or redefine the catalogue read's gating for the off-ingress portal, which moves an authentication boundary. Neither is a swarm agent's call.no such endpoint/TRY AGAINtreatment. However (1) is ruled, painting zero cards under "Everything your community can host today" is a false-comfort surface.Absences
logs/droplet-journal.txt— not present. This drive ran the local-guest QEMU world (logs/guest-*.log, the ADR 0056 VM-mode unit), not a droplet; the droplet-journal named in the brief does not exist in this run directory.logs/guest-unit.logshows the guest was stillactive (running)(13 min uptime) at harvest, but I was given no access line for it and did not touch it.logs/state-logs.log:ERROR: no state logs directory at …/state/logs.logs/helper.logandlogs/healer-claude.errare zero bytes.artifacts/verdict.jsonrecords only 3 legs — the archive drive's remaining legs (tick under headroom → review impact → deploy → archive healthy → Omeka door) were never recorded at all, not even as skips.artifacts/host.jsonreportsqemu: exit ENOENT: spawn qemu-system-x86_64 ENOENT— a host-PATH probe miss only; the unit ran the payload's own qemu and the guest booted. Red herring.artifacts/journey.jsonis present and agrees withlegs.jsonrow-for-row.Confidence
The diagnosis is solid down to "the whole catalogue read fails on the private-path portal origin and the tab paints nothing", corroborated from plain-text logs I read directly. The 401 mechanism is relayed from
healer-claude.out, not independently confirmed. But the fix for the red is a design ruling on where the operator panel lives and what the catalogue read gates on — only item (2), the honesty gap, is actionable without a human.drive
20260905T055639Zred atbrowse-catalogue:the Browse catalogue has no Heritage category section (P4-S2b, DDR 0220) expect(locator).toBeVisible() failed Locator: locator('[data-field="browse-catalogue-tab"]').locator('[data-field="category"]')evidence:
/home/swarm/swarm/Matou/idss/test-results/private-path/20260905T055639Zon matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was capturedRULED — Ben, 2026-09-05: the front door. The operator panel on the private path lives at
admin.<apex>behind the community door, exactly as on every droplet world.This is DDR 0172 (#511) applied to the private path, not new design:
internal/clan/frontdoor.gorenderAdminRoutealready puts the control panel behindadmin.<apex>, andfrontdoor_private_test.goalready pins that the PRIVATE path renders it ("the private path must gate the control panel at admin."). The drift is on the seat:internal/founding/seat.go:82setsvm.DashboardURL = http://127.0.0.1:<api>— the guest's loopback API forward — so S12's OPEN YOUR DASHBOARD and[data-field="portal-address"]hand the operator a panel with no door and no session, and every session-gated read (catalogue, mail, logs, roster) is dead there. Rejected: loopback trust (widens what any unauthenticated process on the box can read, on every world) and a harness-only sign-in (hides the defect from real private-path operators).What to build (ready-for-agent — two-way under ADR 0174, revertible, DDR 0172-backed)
DashboardURLis the door's admin address —https://admin.<apex>on the guest's forwarded :443 (the same forwarded-port mechanism the S5 doors already ride;app/tests/e2e/fixtures/evidence.ts guestWebPortreads it off the unit) — neverhttp://127.0.0.1:<api>. The hand-off screen's portal address follows. Red-first Go pin: a private-path seat never hands out a loopback dashboard URL.provision-archive.live.spec.ts(andprovision-nextcloud.live.spec.ts, which sharesportalAddressand MUST stay green) reach the panel through the door with the existinghostResolverRules()(MAP *.<apex> 127.0.0.1) +ignoreHTTPSErrors, and sign the founder in at the door before any gated read — reuse IDIP'soperator-sessionleg shape (establishOperatorSession, journey.idip.spec.ts ~806) as a recorded leg, not skippable.browse-catalogueassertion (Heritage / installable archive / Mukurtucandidateis the only thing that leg proves — #1203, #1185, DDR 0220). #1237 (the honest failed-read state) is already on main.Close = the archive drive #1235 passes
browse-catalogueon the re-fire AND the nextcloud provision drive's dry-run/offline fixtures stay green (pnpm --filter app exec vitest run tests/e2e/fixtures/).swarm-claim host=matou-dev-server-01 run=18464
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1236 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope