Upward per-directory search (vfmt.toml preferred, .git stops the walk
after the directory is checked, nearest file wins, no merging), a
~100-line strict TOML-subset parser (std only; unknown keys, bad
values and unsupported TOML are hard errors naming file:line), and
per-setting precedence CLI > config > default with exclude patterns
accumulating. Config errors are fatal before anything is written --
gather() resolves every file's config up front, preserving the frozen
exit-code contract. --no-config skips discovery entirely.
QA verified pre-write fatality under adversarial walk order, CRLF
configs, symlinked inputs, and 10-level chains. Lead fixes on
acceptance: BOM stripped; leading + rejected per the documented
digit+ grammar. 61 vfmt tests.
Dev: Opus agent; QA: Sonnet agent; review in
docs/features/config-discovery/README.md.
Co-Authored-By: Claude Fable 5 <[email protected]>