caelum0x 47a934db62 feat(phase2): add services/ tree — read-only control-bot, edge gateway, report-publisher
- services/control-bot: read-only Telegram/Discord bot (/status /regime /journal /verify /skills); dry-run default; never signs.

- services/gateway: stdlib edge proxy (per-IP rate limit + CORS + GET cache) fronting the read-only API; --check offline-safe.

- services/report-publisher: renders the python-lab HTML report bundle to a published dir.

All stdlib, offline-safe, secrets via env only.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 16:32:42 +03:00

20 lines
692 B
Markdown

# Guardrail Report Publisher
Renders the python-lab HTML report bundle (dossier · journal · ensemble) into a
published directory and writes an index, so a daily signed report set can be
served statically. Read-only over the event log + run report — it never trades.
It reuses the existing analytics (`guardrail_lab.report_bundle`, falling back to
`python3 python-lab/analyze.py bundle`) rather than re-implementing them.
## Run
```bash
# print the plan, write nothing (default)
python3 services/report-publisher/publisher.py --dry-run
# render the bundle to reports/published/
python3 services/report-publisher/publisher.py --write --out reports/published
```
Standard library only.