Expand description
Configuration, split by ownership (ADR 0012, amended by ADR 0018-era split):
- Repo-level
.differential.tomlat the target repo’s root — classification hints only. Shared by everyone reviewing the repo. - User-level
~/.config/differential/config.toml(XDG) —[grouping]: which agent CLI to run and its timeout, and[review]: how much context the reviewer shows around a hunk. Both are per-user choices, not properties of the repo, so neither lives in it.
HARD RULE (ADR 0012): config tunes classification hints and tool behaviour. It can never remove a file or hunk from enumeration — enumeration runs before and independently of anything in this module, and nothing here is consulted by the parser or the invariants.
Structs§
- Config
- Grouping
Config [grouping]— pure data; the pipeline turns it into an LLM backend.- Review
Config [review]— how much of a file the terminal reviewer shows around a hunk.- User
Config - Everything
parse_userreads, soloadassigns one value rather than growing a second assignment every time the user file gains a table.
Constants§
Functions§
- user_
config_ path <user config dir>/differential/config.toml.