diff --git a/.claude/HISTORY.md b/.claude/HISTORY.md index 2f7b22a3..9145ecca 100644 --- a/.claude/HISTORY.md +++ b/.claude/HISTORY.md @@ -4860,3 +4860,31 @@ git checkout HEAD -- index.html - `/etc/init.d/watchdog` - procd service - `/etc/cron.d/watchdog` - Cron backup - `/usr/libexec/rpcd/luci.watchdog` - RPCD backend + +100. **SecuBox Report Generator (2026-03-13)** + - New `secubox-app-reporter` package for automated status reporting + - **Two Report Types**: + - Development Status: health score, HISTORY.md completions, WIP items, roadmap progress + - Services Distribution: Tor hidden services (5), DNS/SSL vhosts (243), mesh services (1) + - **CLI** (`/usr/sbin/secubox-reportctl`): + - `generate ` - Generate report (dev|services|all) + - `send ` - Generate + email report + - `schedule ` - Set cron (daily|weekly|off) + - `status` - Show generator status + - `preview ` - Output to stdout + - `list` - List generated reports + - `clean` - Remove old reports + - **Email Integration**: + - msmtp/sendmail backend + - MIME multipart HTML emails + - UCI config for SMTP credentials + - **HTML Output**: + - KissTheme dark styling + - Responsive card layout + - Stats badges and health indicators + - **Files**: + - `/etc/config/secubox-reporter` - UCI configuration + - `/usr/sbin/secubox-reportctl` - CLI tool + - `/usr/share/secubox-reporter/lib/` - collectors.sh, formatters.sh, mailer.sh + - `/usr/share/secubox-reporter/templates/` - HTML templates + - `/etc/cron.d/secubox-reporter` - Scheduled reports diff --git a/.claude/WIP.md b/.claude/WIP.md index 3998453b..88957684 100644 --- a/.claude/WIP.md +++ b/.claude/WIP.md @@ -1,6 +1,6 @@ # Work In Progress (Claude) -_Last updated: 2026-03-12 (SecuBox Watchdog)_ +_Last updated: 2026-03-13 (SecuBox Report Generator)_ > **Architecture Reference**: SecuBox Fanzine v3 — Les 4 Couches @@ -8,6 +8,19 @@ _Last updated: 2026-03-12 (SecuBox Watchdog)_ ## Recently Completed +### 2026-03-13 + +- **SecuBox Report Generator (Complete)** + - New `secubox-app-reporter` package for automated status reporting + - Two report types: + - Development Status: health score, HISTORY.md completions, WIP items, roadmap + - Services Distribution: Tor services (5), DNS/SSL vhosts (243), mesh services (1) + - CLI: `secubox-reportctl generate|send|schedule|status|preview|list|clean` + - Email delivery via msmtp/sendmail with MIME multipart HTML + - KissTheme dark styling with responsive layout + - UCI config for SMTP and cron scheduling + - Deployed and tested on router: `/www/reports/` + ### 2026-03-12 - **SecuBox Watchdog - Service Health Monitor (Complete)**