Skip to content

feat: add vajra report command with built-in HTML report generation#38

Merged
copyleftdev merged 1 commit into
mainfrom
feat/report-generation
Apr 10, 2026
Merged

feat: add vajra report command with built-in HTML report generation#38
copyleftdev merged 1 commit into
mainfrom
feat/report-generation

Conversation

@copyleftdev

Copy link
Copy Markdown
Owner

Summary

  • New vajra-report crate with full HTML/CSS design system
  • New vajra report DIR --title X --output report.html command
  • Reads pre-computed analysis files (stats, anomalies, governance, score, temporal, cascade)
  • Generates complete HTML report with cover page, executive summary, author distribution, governance, anomalies, methodology
  • CSS extracted from the Effect-TS report design system — print-ready with @page rules
  • Gracefully handles missing files (informational callouts)
  • 6 tests

Closes #11

🤖 Generated with Claude Code

Implements the `vajra report` CLI command which reads pre-computed analysis
JSON files (stats, anomalies, governance, score, temporal, cascade) from a
directory and generates a self-contained HTML report with all CSS inlined.
Users who need PDF output can render via `weasyprint report.html report.pdf`.

The report includes cover page, executive summary, author distribution,
governance metrics, anomalies, and methodology sections. CSS design system
is extracted from the effect-report reference implementation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@copyleftdev copyleftdev merged commit 1ae1458 into main Apr 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WeasyPrint report generation: vajra report command

1 participant