User workflow
- Open Knowledge in the application sidebar.
- Open My knowledge for your private, curated brain, or create another knowledge base.
- Drop files into the source panel or add pasted text.
- Wait for each source to become Ready.
- Search the source set or attach the knowledge base to a chat or project.
- Open Share to grant viewer or editor access.
Organization administration
Administrators withadministration.access, knowledge.publish, knowledge.share, and roles.read see a Knowledge section in /app/admin. It provides an organization-wide inventory with owner, source, grant, kind, and lifecycle status.
Administrators with roles.manage can create organization knowledge bases and manage access grants. Sharing selectors use the persisted user directory and active authorization groups and roles; operators do not need to copy internal IDs.
Common patterns include:
- Grant viewer access to a student or client group.
- Grant editor access to a teacher, analyst, or subject-matter-expert role.
- Share directly with one user for a temporary collaboration.
Retrieval and citations
Each source is canonical and versioned. Indexing is durable. Search is scoped to enabled sources in the selected knowledge base and combines lexical and semantic retrieval when vector search is configured. Grounded chat receives only authorized source chunks and emits citations that resolve back to the source. Postgres deployments use the configured durable worker and pgvector path. Convex deployments use the equivalent Convex repositories. The browser and API contracts are identical.Authorization requirements
The relevant capabilities are:
Resource grants are additive to capabilities. A user needs both the relevant capability and a sufficient knowledge-base grant. Removing a grant takes effect on the next request.
Release verification
Run the shared release gate:- Private knowledge bases do not appear across accounts.
- Direct, group, and role grants expose only the intended knowledge base.
- Viewer users cannot modify sources or grants.
- Editor users can manage sources but cannot delete or reshare the base.
- Revocation removes API and UI access immediately.
- Administrator inventory lists personal and organization bases without changing their ownership.
- Search and chat citations never include a source outside the selected knowledge base.
- Account and knowledge-base deletion remove memberships, conversations, grants, chunks, and embeddings according to the deployment retention policy.