README.md | end user (not developer) | Get a user installed, configured, and connected to their AI tool with minimum friction. Quick start, install (including extras), upgrade path, AI-tool setup, capability list (one line per tool), troubleshooting, architecture overview. | Detailed schema reference, per-tool reference detail, internal mechanics, contributor workflows. |
docs/CONFIGURATION.md | operator | Configuration files and directories — schema, fields, defaults, templating syntax. | Install options (uv extras, pip), security narrative, developer workflows, the v1→v2 migration procedure (lives in MIGRATION.md). |
docs/MIGRATION.md | end user upgrading from v1 (not developer) | One-time v1→v2 configuration conversion, end-user friendly: running the converter, its CLI options, where it writes, and how to act on warnings. | Steady-state config schema/fields/defaults (lives in CONFIGURATION.md); package/tool upgrade commands (live in README's "Quick Upgrade"); templating syntax. |
docs/ENV.md | operator | The canonical inventory of every environment variable any binary reads — both servers and the dhcli CLI. One entry per variable: which binary reads it, accepted values, precedence, and the cli.json / server.json field it corresponds to. | Templating syntax (lives in CONFIGURATION.md), uv. |
docs/SECURITY.md | operator deploying the server | Short, self-contained guide. A reader must be able to stand up a secure deployment without leaving the page. Trust model, hardening checklist, authentication, transport security, secret handling, rotation. | Anything that requires bouncing to DEVELOPER_GUIDE.md to act on. |
docs/UV.md | developer new to uv | Generic uv crash course. | Project-specific commands, project env vars, project tests, project install lines. |
docs/CLI.md | operator + AI agent using the local dhcli CLI | Full dhcli reference: command surface (noun-verb tree), global flags, env-var bindings, exit codes, error_code registry, output modes (human / json / json-pretty / yaml), examples, shell completion, dhcli agents self-discovery (the --agents flag and summary tree). | Server-side configuration (lives in CONFIGURATION.md); developer/contributor mechanics (lives in DEVELOPER_GUIDE.md); the env-var inventory (ENV.md owns it). CLI.md documents each CLI env binding — which flag maps to which variable — and links to ENV.md for the entry. |
docs/DEVELOPER_GUIDE.md | contributor | Everything a developer working on the project needs. Catch-all. | Per-tool reference (parameters, returns, examples) — see Tool reference is owned by code. |
docs/STANDALONE_BINARIES.md | anyone building, installing, or deploying the standalone binaries (not just contributors) | Self-contained, end-to-end: installing a prebuilt binary (download, extract, point an AI tool at it) and building/releasing them (prerequisites including the Rust/PyApp setup needed to build, build commands, output artifacts, supported platforms, the CI release workflow). README's install section is a one-line pointer here, not a parallel copy. | Project-maintainer minutiae (e.g. bumping pinned-version source constants); server configuration schema (lives in CONFIGURATION.md, linked); per-tool reference (lives in code docstrings). |
docs/design/*.md | contributor / architect | Design rationale for a subsystem — the why behind a structural decision (trade-offs weighed, chosen approach, invariants). One file per subsystem; e.g. docs/design/CLI_TOOL_WRAPPING.md. | Per-command / per-API reference (lives in docs/CLI.md or the code); step-by-step contributor workflow (lives in DEVELOPER_GUIDE.md). |
CONTRIBUTING.md | prospective contributor | How to submit work: getting the source, opening a pull request (web and gh CLI), and the CLA requirement. | Build, test, and code-quality mechanics (live in DEVELOPER_GUIDE.md); coding standards (owned by ref-python-coding-practices). |
AGENTS.md | AI agent | Agent process rules. Not human documentation; no TOC. | Anything intended for humans. |
CLAUDE.md | Claude Code (agent) | A wiring shim only: an @AGENTS.md import so Claude Code loads the same rules. Keep it to that one line. | Any rule content — it belongs in AGENTS.md. The cross-agent wiring contract is owned by ref-skill-authoring-standards Cross-agent portability. |
CODE_OF_CONDUCT.md | community participant | Upstream Contributor Covenant boilerplate, adopted unmodified. | Everything — do not edit this file to suit a project need; it is not a project-authored document. |