front door: audit every co-host's PUBLIC paths (LimeSurvey surveys, Paperless share links, Omeka) — links a service offers must not be refused at the gate #1722
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#1722
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?
Follow-up to Ben's #1720 ruling (exempt Nextcloud's public-share paths). The same defect shape exists for every co-host that hands a person a public link: the service offers it, the ADR 0074 browser gate bounces it to community sign-in. Audit, per service, which anonymous paths the product exists to serve, and exempt them with the #1720 reasoning (service-governed by its own token/permission), or turn the feature off in the service so the UI never offers it.
Order: LimeSurvey first (public surveys are the whole point — check on Whakatōhea Demo when Surveys is installed: an anonymous
https://surveys.<apex>/<survey-id>must open), then Paperless-ngx share links (/share/<slug>), Omeka S (public site is public by design — confirm it actually is behind this gate), Listmonk public subscription/unsubscribe/archive pages (already exempted? — check), PeerTube public videos when it returns.Each service: seam test on the rendered exempt list + a drive leg fetching the link session-less. Ruling on the SET of paths per service posts to Ben before landing (trust surface), default = the paths the product documents as public.
Front-door PUBLIC-path audit (per co-host) — blocked on Ben's ruling
Desk audit complete. Every landing here is a security-posture widening (loosening an auth requirement — explicitly on ADR 0174's one-way-door list) and the ticket requires "Ruling on the SET of paths per service posts to Ben before landing (trust surface)". Asked Ben 2026-09-22 (ask-human thread
zom3cafa8bfx8qagyg68howa8h); no reply in the 20-min window. Parking with the audit as the durable record so a late reply resumes the same thread.Seam: the rendered front-door exempt matcher (
internal/clan/*ExemptPaths→portServe→RenderFrontDoor, the seam #1720 landed at). Exempt sets read atinternal/clan/portroute.go:220.Findings & proposed default sets
1. LimeSurvey (
surveys) —internal/clan/surveys.go:186. Exempts/index.php/*,/index.php. The public survey RUN url is covered (default LimeSurvey urlManager keepsindex.php; the title's bare/<survey-id>is shorthand). Gap: the public survey page's static assets are served OUTSIDEindex.phpand would be gated → survey renders unstyled. Proposed ADD:/tmp/*(Yii-published theme assets),/themes/*(stock survey themes),/upload/*(brand logo + uploaded media),/assets/*. Surveys is gated out of selection today (P4-S2) — seam-proven only, live drive owed when Surveys installs.2. Paperless (
document-archive) —internal/clan/portroute.go:222carries noExemptPaths. So/share/<slug>share links are bounced 302 to community sign-in — the documented public feature is broken at the door. Proposed ADD:/share/*(Paperless-ngx owner-minted share slug, service-governed like Nextcloud's/s/<token>); consider/static/*if the share preview needs Django assets.3. Omeka S (
archive) —internal/clan/archive.go:246. Exempts only/api/*(the health check's REST loop). The entire public digital-heritage site (/s/<site-slug>/*,/files/*media,/themes/*,/application/asset/*,/modules/*) is gated → the public archive is unreachable anonymously, contradicting "public site is public by design". Needs your design call: world-public (exempt the public-site + media + asset paths, keep/admin/*and/logingated) vs member-only-behind-the-gate (leave as is; Omeka's own visibility model then governs only what a signed-in member sees).4. Listmonk (
newsletters) —internal/clan/newsletters.go:141. Exempts/subscription/*,/link/*,/api/public/*,/uploads/*but NOT the public campaign archive. Proposed ADD:/archive,/archive/*.5. PeerTube (
video) —internal/clan/video.go. Exempts/videos/*,/w/*,/api/*,/static/*,/lazy-static/*,/.well-known/*. Video is deferred ("when it returns"); current set looks complete. Defer to the follow-up when video returns, or add/client/*,/plugins/*,/download/*now.To re-arm
Ben rules on the SET per service (approve the defaults or edit each). A late reply on the ask thread resumes it. Then an agent lands the approved sets seam-first in one commit (per-service seam test on the rendered exempt matcher + the exempt-list addition + ADR 0074 amendment note), with live drive legs owed per service the same way #1720 owed the member-files drive.
Why human
One-way door (ADR 0174 §3): each exempt-path addition is a security-posture widening — a formerly-authed path made anonymous-reachable across the whole internet — and a member-/public-facing trust surface. Not agent-rulable; the ticket itself routes the ruling to Ben.
Ruled (Ben, 2026-09-22): the exempt SET per service
Each exempt entry below is service-governed, on the #1720 reasoning. The reasoning is written beside each set in code, with a seam test on the rendered exempt matcher, one commit, and an ADR 0074 amendment note.
surveys): ADD/tmp/*(Yii-published theme assets),/themes/*,/assets/*,/upload/themes/*. NOT/upload/*:upload/surveys/<sid>/files/holds RESPONDENT-uploaded answer files, which must stay behind the gate. Add a seam test asserting/upload/surveys/1/files/xis still gated. A live drive leg is owed when Surveys installs.document-archive): ADD/share/*(owner-minted, expirable share slug). Add/static/*only if the share page needs it (prove it against the pinned version).newsletters): ADD/archive,/archive/*. These list only campaigns the sender published to the archive.archive): UNCHANGED, members-only behind the gate (only/api/*for the health check). The community's cultural archive is never world-visible by default. Making a site public is a deliberate per-community choice, and that will be its own design ticket, never a blanket gate exemption. Add a seam test asserting/s/<slug>/and/files/*stay gated.video): deferred until video returns, and then re-asked.Posture widenings are approved exactly as listed. Anything beyond this set goes back to Ben.
swarm-claim host=matou-dev-server-01 run=30221
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1722 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope