Skip to content
Maintainers

Self-hosted reviews

Run the Gittensory review service on your own infrastructure, with your own data store, GitHub App, AI provider, enrichment service, observability, and private repo policy.

Self-hosting is a maintainer surface
Treat the self-host stack like production infrastructure. Keep secrets out of images and public repos, start in advisory or dry-run mode, and only enable write autonomy after you have watched real reviews, logs, metrics, and failure paths.

What this section covers

Self-hosting is a major product path, not a single install command. The service can run as a quiet advisory reviewer, a private maintainer copilot, or a full review operator. The docs are split by operating concern so you can onboard gradually.

Core service
The same review engine as the hosted Worker, served from a Node container with self-host adapters for data, queue, cron, metrics, and webhooks.
Private policy
A mounted GITTENSORY_REPO_CONFIG_DIR lets maintainers keep review thresholds, autonomy, and notes out of public repos.
Optional intelligence
AI, RAG, and REES are additive. Each has its own enablement switch, prerequisites, and fail-safe behavior.
Operator control
Dry-run, advisory, and live modes let you phase in behavior without exposing contributors to unfinished automation.

Recommended reading order

  1. Start with Quickstart to get a local instance healthy.
  2. Read Configuration before enabling repo review features.
  3. Set up GitHub App and Orb so webhooks and installation tokens are correct.
  4. Add AI providers, REES enrichment, the REES analyzer reference, and RAG indexing only after the deterministic path is stable.
  5. Use Operations, Backup and scaling, and Security before exposing the service to production traffic.

Pages

How self-hosting fits with hosted docs

The hosted maintainer workflow still applies: review modes, gate settings, safety rules, and privacy boundaries are the same concepts. Self-hosting adds infrastructure choices, deployment secrets, private config, and local operating responsibility. Use Tuning your reviews for gate semantics and this section for running the service yourself.