MODELS_WRITE_METHOD].
A write failure (e.g. a permission error on a root-owned
/etc/devin/models.json) is returned as a JSON-RPC error whose message
carries the underlying I/O error; validation failures return written: false with the diagnostics instead.

