Evaluating Codumentor
This page is for people deciding whether to run Codumentor in their
organization: security reviewers, platform teams, and whoever signs off on a
deployment. It summarises what the product is, how it isolates what the model
does, and what a deployment looks like, and points to the pages with the
detail.
What it is
Codumentor is an AI assistant for understanding, documenting and changing code
and the files around it. Users reach it through a web UI, a terminal UI, a
one-shot command line, or an optional OpenAI-compatible HTTP API. It indexes
Git repositories and plain folders, reads Markdown, PDF, Word, Excel and
PowerPoint files, and gives the assistant tools to read, write and search
files, run shell commands, and delegate to subagents.
It is built in two editions. The Enterprise edition is the one made for an
organization: shared instances, many users, and an operator who runs it for
them. See Community vs Enterprise for what each
edition contains.
Security and isolation
The full design reference is Security Architecture;
the hardening checklist is Security. In short:
- One server process, trusted code only. The HTTP API, agent engine, plugins, job queue and scheduler run in a single process. Only Codumentor's own code and operator-enabled plugins execute there; model output is data — stored, streamed and displayed, never evaluated.
- Execution is sandboxed. Wherever model-generated or external content could run as code — agent shell commands, external coding-agent CLIs, parsing of uploaded Office documents, repository setup scripts — it runs in a separate bubblewrap sandbox: a per-conversation copy-on-write view of the repositories, a synthetic home, no network by default, its own PID namespace, a cleared environment, and a seccomp system-call filter.
- Two independent layers. Every shell command, write and outbound call can require user approval first, under an operator policy users cannot override (
permissions). Once approved, a command still runs inside the sandbox: approval limits what runs, the sandbox limits what it can reach. - Fail-closed. When isolation is enabled but cannot be provided, the affected tools are disabled with a clear error; nothing silently falls back to running on the host.
- Users are separated at the authentication and data layer. Every request is authenticated; every conversation is owned by a user and checked on access. Access profiles can narrow a group of users to some repositories, a chat-only tier, or questions reviewed before they run.
- Data stays local. Conversations, jobs and plugin state live in SQLite databases and a local vector store on the host. Per-user secrets, model profiles and OAuth tokens are encrypted at rest.
Deployment shape
- A single executable or container image, run as a dedicated service account on a Linux host. The sandbox needs Linux with bubblewrap and overlay support — see Plugins → Workspace isolation prerequisites.
- Behind a reverse proxy with TLS, the API kept on loopback, under a process supervisor such as systemd — see Deployment.
- Your own sign-in. Local accounts, LDAP, or Gitea — see Authentication.
- Your choice of model endpoint, configured per instance — see Configuration →
models. - Monitoring and logs for operations — see Monitoring.
The Self-Hosting Walkthrough takes an instance
from nothing to a multi-user, workspace-isolated deployment behind a proxy, end
to end.