See [AGENTS.md](AGENTS.md).
It covers driving Ditto without a terminal (never run bare `ditto-cli`; use `--json`), where the config lives, the module layout, the comment and error conventions, and the recipes for adding a subcommand or a tool.
Kept as a pointer rather than a copy so the two cannot drift apart.