From a5ed6636ad668ae2b9c7e02ea7a6d0e809ba316a Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 8 Feb 2026 09:43:38 +0200 Subject: feat: write JSON status report next to HTML Add a JSON report alongside the HTML status page with matching sections and summary counts, plus a last-updated timestamp for remote consumption. Co-authored-by: Cursor --- internal/run.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/run.go') diff --git a/internal/run.go b/internal/run.go index 63ee16f..21b9b6d 100644 --- a/internal/run.go +++ b/internal/run.go @@ -76,6 +76,9 @@ func Run(ctx context.Context, configFile string, renotify, force bool) error { if err := persistHTMLReport(state, subject, conf); err != nil { notifyError(conf, err) } + if err := persistJSONReport(state, subject, conf); err != nil { + notifyError(conf, err) + } } return nil -- cgit v1.2.3