Client portal
A client link is a read-only, branded view of one project, made for a person outside the workspace: a client, an auditor, a contractor. It needs no account, no sign-in and no invite. Nothing about it touches agents: there is no MCP tool, no context_* verb, and it is never counted against an agent's grants.
Creating a link
From a project's row in the sidebar, an owner or admin picks the link icon, which opens Client links for that project. Creating one needs a fresh step-up (the same re-confirm as changing a workspace setting), because a link, once copied, is a standing door into the project until someone revokes it.
A link is:
- Scoped to the whole project or to the folders chosen at creation. Whichever is picked, only pages at the Open or Team lock are ever shown; Restricted and Secret pages are left out even if they sit inside a chosen folder, and this is checked again on every view, not only when the link was made.
- Branded with the workspace's name and, optionally, a logo and an accent colour.
- Expiring: 7, 30 or 90 days, or a chosen date. There is no "never expires" link.
- Optionally passcoded: a short code the recipient enters once per visit, sent to them separately from the link itself.
- Labelled for your own records ("Acme Corp"), never shown to the recipient as a title.
- Revocable at any time; a revoked link stops working on its very next request, even mid-visit.
The link's token is shown exactly once, at creation. It is not stored anywhere in the clear: only its hash is kept, the same way an agent key is kept.
What the recipient sees
Opening the link shows the workspace's name and branding, a passcode box if one was set, and then the list of pages in scope. Opening a page shows its text, with links to other pages in scope kept as links; a link to anything outside the shared set (another project, a Restricted page, a page that was moved out of the shared folder since the link was made) renders as plain text, never as a title that would otherwise confirm the page exists.
There is no search across the workspace, no Ask, no agents and no comments. It is a page viewer, nothing more.
An ended link (expired or revoked) shows one line: "This link has ended. Ask <workspace> for a new one." Nothing about what the link used to show is kept on that screen, not even whether it existed at all for an unrecognised token.
Audit
Every page view is recorded (portal.view), with the link's label, the page viewed, the time, and a hash of the visitor's IP address, never the address itself. Owners and admins see a per-link view log from the Client links screen. Creating or revoking a link is recorded too (client_link.create, client_link.revoke).
Operational notes
Portal routes (/portal/:token*) carry X-Robots-Tag: noindex and are never cached (Cache-Control: no-store), same as the rest of the API. They sit behind the same strict content-security policy as the rest of the app. Requests are rate-limited per link and per IP address, including repeated wrong passcodes, which lock out after a handful of tries for 15 minutes.