The problem
An assistant in a shared workspace must respect document access before it generates an answer. It also needs a useful experience when paid model inference is unavailable.
Permissions are part of the query
Document ACLs scope the retrieval candidate set inside the database query, before ranking. Content outside a user’s access boundary is excluded from retrieval. Schema-constrained answers preserve citation provenance. This boundary does not replace other prompt-injection defenses.
A useful free tier
Deterministic summaries, mind-maps, and lexical search run without paid model calls. A server-side entitlement layer gates OpenAI features to paid plans, with per-user limits and checksum-keyed artifact caching.
A simpler deployment boundary
I consolidated an eight-service design into a modular monolith. Real-time co-editing uses Socket.IO with server-enforced roles. GitHub Actions runs 37 unit tests and live MongoDB/Redis smoke tests before the Docker deployment to Cloud Run.
Built with React, Node.js, MongoDB, Socket.IO, Redis, OpenAI, Cloud Run.
