d52f733f14b442e96f5cd41e3eacd5e1411485dc
DIWAN_DIR: where diwan itself is installed (was TOOL_ROOT / DIWAN_TOOL_ROOT). DIWAN_NOTES_DIR: the content repo diwan is invoked against (was CONTENT_ROOT); now also has its own env var override, not just git rev-parse --show-toplevel discovery, for cron/systemd use where cwd may not be the content repo. The content repo's own runtime-bookkeeping directory (state.json, .lock) is renamed STATE_DIR internally to avoid colliding with the new DIWAN_DIR name; its on-disk path is unchanged (still a .diwan/ subdirectory of the content repo).
Languages
Nix
100%