trust_would_break_config
Diagnostic `nanook::cli::trust_would_break_config`
Summary
edit would leave `{0}` unparseable
Help
the rest of the config has a pre-existing parse error: {1}. fix the unrelated section first, then re-run trust add
Details
When this fires
The trust edit succeeded at the toml_edit syntax-tree level, but the round-tripped document failed to parse through the regular config loader (facet-toml). nanook refuses to commit the edit so the operator never sees a nanook.toml it can't load.
In practice this means the rest of the file already had a parse error before the edit, and the trust command is the first thing to notice. The signers array itself is fine; the surrounding config is not.
What to check
Run nanook check to see the underlying parse error pointed at the offending line:
Fix that, then re-run the trust command. The original nanook.toml is untouched; nothing was lost.