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

@@ -210,6 +210,11 @@ endpoint-only case. No new credential-storage policy is needed.
## R06: Propagate structured-output write failures — P2
**Completed:** Both recovery commands now report JSON encoder failures on
standard error and return status 1. Failing-writer regressions passed alongside
ordinary recovery status tests; observed publication state remains unchanged.
The CLI reference records the reporting-failure status.
**Relevant code:** `cmd/releasekit/recovery.go:242` and its two `writeJSON`
call sites.