Originally created by: fu351
doberman status is the most-run inspection command, and the only reporting command without --json (scan, doctor, log, and policy-history all have it). Its human output is also one unbroken dump of ~9 blocks (role, mode, prefs, policy, 2FA, password, elevations, taint, hooks, recent decisions).
Task:
--json emitting the same redacted data as a single JSON object (mirror scan --json's style; redaction rules unchanged - the JSON must contain nothing the text view doesn't).Suggested tests: --json parses and contains the expected top-level keys; a synthetic secret seeded into state never appears in either view.
Done when: both views ship with tests and CI is green.
Ticket changed by: fu351