See this recent PR: https://github.com/numtide/treefmt-nix/pull/356 (adding a wrapper for a formatter that doesn't accept multiple files). See our [spec](https://treefmt.com/main/reference/formatter-spec/#1-files-passed-as-arguments). We could also confirm that formatters do not write to files when nothing has changed. See our [spec](https://treefmt.com/main/reference/formatter-spec/#2-write-to-changed-files). I believe the other rules of [the spec](https://treefmt.com/main/reference/formatter-spec/) are hard/impossible to confirm harder to confirm.