Skip to main content

Documentation

Technical documentation for developers, the operator of the self-hosted machine, and AI agents.

DocumentWhat it covers
ARCHITECTURE.mdAn overview, the services, and how search and the assistant work.
architecture/README.mdThe system as built (current/01-08: context, containers and deployment, data ownership, runtime flows, the worker contract, operations, security, observability), the approved target, ADRs, and inventories generated from the code.
../deploy/selfhost/README.mdInstalling and running the system on one Linux machine: modes, ghb, settings, backups.
../deploy/shared/README.mdThe Caddy API routes, monitoring files and dump image, payments setup and restoring a dump.
MULTI_USER_ARCHITECTURE.mdAccounts and the owner, principals (sessions, personal and agent tokens, service credentials), per-account isolation, linking workers, the threat model, upgrading.
API_REFERENCE.mdThe REST and WebSocket endpoints, request and response shapes, error codes.
AUTH_SETUP.mdGitHub App or OAuth App setup, who may sign up (SIGNUP_MODE), personal access tokens, linking agents, session cookies, the login gate, and each service's variables.
CLI_AUTH_SETUP.mdBackup worker logins: the GitHub App, the device flow, destination and OpenRouter logins, where they are stored.
MCP_SERVER_DESIGN.mdThe Go MCP server: tools, resources, transports, authentication, limits.
STREAMING_ARCHITECTURE.mdSSE and WebSocket streams, event shapes, proxy buffering.
SECRETS.mdfnox.toml: the dev, selfhost and github profiles, the make secrets-* targets, keys, rotating and recovering.
PRECOMMIT_WORKFLOW.mdThe pre-commit and pre-push hooks and their commands.
DEPENDENCIES.mdThe dependency ledger, the weekly check, and the rules for updates and deferrals.
LOAD_TESTING.mdmake load-test: scenarios, profiles, limits and recorded baselines.
CAPACITY_MODEL.mdService limits as arithmetic and the worker's run-time model (make estimate).
ANALYTICS.md, ANALYTICS_PRIVACY.mdWhat the web apps send to PostHog when built with a key, consent, the event catalogue; the notice for visitors.
POSTHOG_SETUP.mdThe owner's one-time PostHog project setup.
DESIGN_SYSTEM_RELEASES.mdHow the Observatory design system is versioned and upgraded in the apps.
MULTI_USER_PRODUCT_DESIGN.mdThe product plan behind the multi-user work: phases, plans and billing, open decisions.
POSTMAN_SETUP.md, postman/The Postman collection and environment.

Repository guides: README, CONTRIBUTING (branches, commits, pull requests), AGENTS.md (rules for AI agents) and the agent skills in .agents/skills/.