Skip to main content
← Back to list
01Issue
FeatureOpenSwamp CLIPublic
AssigneesNone

Relationships

#4879 Serve links: accept and describe workspace selectors in a consented ceiling

Opened by zack · 11/18/2026

Depends on swamp-club#4875 (the workspace kind in serve grants), which lets a serve ceiling name hosted workspaces for read.

Problem

swamp-club's ceiling parser refuses any selector that is not workflow: (lib/domain/serve-link/ceiling.ts, selectorProblem: "resource must be a workflow: selector"), and the consent wording (lib/domain/serve-link/ceiling-wording.ts) describes only workflows. Once serve accepts workspace: selectors in a ceiling, an app that asks for a link including one is refused at link start, so no delegation can carry it. Serve enforces it correctly, but no person can consent to it.

Change

  • The parser accepts workspace:<pattern> beside workflow:<pattern>: a workspace name (lowercase letters, digits and dashes, starting with a letter or digit, at most 63 characters), *, or a name prefix ending in *.
  • Actions on a workspace entry: read only. Any other action on a workspace selector is refused with a reason, matching serve's src/domain/access/ceiling.ts.
  • Canonical form and digest are unchanged: same RFC 8785 rules, entries sorted by the full selector string. A workflow-only ceiling keeps its digest.
  • Consent wording describes a workspace entry, such as "See the hosted workspace data-x and its state" or "Every hosted workspace whose name starts with data-", and "Every hosted workspace, including ones added later" for *.

Done when

  • A link start that asks for read=workspace:data-* is accepted, the consent page describes it, and the digest swamp-club binds matches serve's for the same ceiling.
  • A workspace entry naming run, approve, signal, write or admin is refused.
  • Workflow-only ceilings parse, display and digest exactly as before.
02Bog Flow
◉OPEN○TRIAGED○IN PROGRESS○SHIPPED

Open

11/18/2026, 7:20:49 PM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.