Dense-Mem

Authenticate and scope a request

Trace a request from ingress through storage and an authorized response.

Open the interactive lesson

Ingress · Step 1

Route to the correct surface

Authenticate and scope a request
Ingress Route to the correct surface
Actor Fix the actor and its allowed spaces
Output Return scoped Evidence or a bounded error
MCP, browser, and operator surfaces have distinct authentication paths.

The request arrives through the relevant listener and supplies the credential expected by that surface. The protected request boundary validates the input.

Inspect this step

MCP can use the supported API-key or OAuth bearer route. Browser sessions and state-changing portal calls also follow the configured session and CSRF contract.

Actor · Step 2

Fix the actor and its allowed spaces

Authenticate and scope a request
Ingress Route to the correct surface
Actor Fix the actor and its allowed spaces
Output Return scoped Evidence or a bounded error
The actor’s team, owner, grants, and scope come from authentication.

Dense-Mem fixes the actor context before application policy runs. That context determines the eligible private and shared spaces and permitted mutations.

Inspect this step

Team and profile isolation is applied in storage through transaction-local context. Hydration and mutations check authorization again at their boundary.

Output · Step 3

Return scoped Evidence or a bounded error

Authenticate and scope a request
Ingress Route to the correct surface
Actor Fix the actor and its allowed spaces
Output Return scoped Evidence or a bounded error
The result reflects the actor’s actual grants.

A permitted call returns eligible results and documented diagnostic summaries. A disallowed call stops at its scope or ownership boundary.

Inspect this step

When diagnosing credential issues, check the selected team and active scopes in the portal. Treat authentication material and restricted operational diagnostics as protected.

Walkthrough steps