Files
fermata/tests
g4borg 4b191b5480 fix(fermata): an unknown config field is an error someone sees; a broken layer costs only that layer
deny_unknown_fields on every config struct. [enforcement] mode, EnforcementMode and
mask-entire-file are gone, and on_parse_error defaults to allow. New settings
on_unparsed_read and on_mask_write, default deny, read by later blocks.

SecretsConfig::load stays strict for the channel filter. load_or_default skips only the
layers that fail, so a typo keeps the other layers and the default list. Hooks note the
broken layer and any skipped() secret file beside output that shows text, not beside
every Write (shows_text). Under deny the refusal is unchanged. fermata check exits 2
with the line number.

A non-UTF-8 layer counts as a failed layer; a layer whose bytes cannot be read stays
silent, as pinned.
2026-11-07 00:46:47 +01:00
..