Report JSON output failures from recovery commands

This commit is contained in:
2026-11-02 22:23:15 +00:00
parent 648c87bb8a
commit 19a14bfeb6
4 changed files with 57 additions and 5 deletions

View File

@@ -188,6 +188,11 @@ using current supported transport settings for its recorded remote name.
| Discovery completes without record diagnostics, including an existing empty store | 0 |
| Discovery is incomplete or fails, including cancellation | 1 |
| Discovery argument or usage error | 2 |
| Either command cannot write its JSON output | 1 |
A JSON write failure reports a local output diagnostic on standard error. This
status describes reporting failure and leaves the observed publication state
unchanged.
The CLI JSON schema and safe evidence fields are documented in the
[publication record format](integrations/publication-records.md). Recovery