Documentation
Technical documentation for developers, the operator of the self-hosted machine, and AI agents.
| Document | What it covers |
|---|---|
ARCHITECTURE.md | An overview, the services, and how search and the assistant work. |
architecture/README.md | The 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.md | Installing and running the system on one Linux machine: modes, ghb, settings, backups. |
../deploy/shared/README.md | The Caddy API routes, monitoring files and dump image, payments setup and restoring a dump. |
MULTI_USER_ARCHITECTURE.md | Accounts and the owner, principals (sessions, personal and agent tokens, service credentials), per-account isolation, linking workers, the threat model, upgrading. |
API_REFERENCE.md | The REST and WebSocket endpoints, request and response shapes, error codes. |
AUTH_SETUP.md | GitHub 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.md | Backup worker logins: the GitHub App, the device flow, destination and OpenRouter logins, where they are stored. |
MCP_SERVER_DESIGN.md | The Go MCP server: tools, resources, transports, authentication, limits. |
STREAMING_ARCHITECTURE.md | SSE and WebSocket streams, event shapes, proxy buffering. |
SECRETS.md | fnox.toml: the dev, selfhost and github profiles, the make secrets-* targets, keys, rotating and recovering. |
PRECOMMIT_WORKFLOW.md | The pre-commit and pre-push hooks and their commands. |
DEPENDENCIES.md | The dependency ledger, the weekly check, and the rules for updates and deferrals. |
LOAD_TESTING.md | make load-test: scenarios, profiles, limits and recorded baselines. |
CAPACITY_MODEL.md | Service limits as arithmetic and the worker's run-time model (make estimate). |
ANALYTICS.md, ANALYTICS_PRIVACY.md | What the web apps send to PostHog when built with a key, consent, the event catalogue; the notice for visitors. |
POSTHOG_SETUP.md | The owner's one-time PostHog project setup. |
DESIGN_SYSTEM_RELEASES.md | How the Observatory design system is versioned and upgraded in the apps. |
MULTI_USER_PRODUCT_DESIGN.md | The 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/.