Repository navigation
Closed
Description
Summary
Extend the shared HTML formatter foundation to gaze quality, gaze crap, and the combined gaze report output.
This follows the gaze analyze HTML formatter foundation and makes the reports most useful for CI artifacts and stakeholder review by presenting contract-coverage, CRAP, GazeCRAP, quadrant, and remediation data in a portable single-file document.
Why
The analyze formatter establishes shared template and styling infrastructure, but the quality and risk reports contain the metrics most often used to prioritize test improvements. HTML presentation makes those metrics easier to review and share than terminal text while preserving Gaze’s offline, dependency-free CLI model.
Scope
- Add HTML rendering for
gaze quality, including contract coverage, over-specification, assertion mapping, gaps, and skipped-test diagnostics where available. - Add HTML rendering for
gaze crap, including score tables, quadrant distribution, worst offenders, recommended fix strategies, and baseline comparison results where available. - Add HTML rendering for
gaze report, reusing the same self-contained report primitives for the combined pipeline summary. - Provide visual representations using semantic HTML and inline CSS; do not require charting libraries or external assets.
- Maintain the template auto-escaping, deterministic rendering, and no-network-resource guarantees established by the foundation.
- Add formatter and CLI integration tests for each command.
Acceptance Criteria
gaze quality --format=html <package>renders its available summaries, reports, gaps, and diagnostics.gaze crap --format=html <package>renders scores, quadrants, worst offenders, and remediation guidance.gaze report --format=html <package>produces a valid combined HTML report when the report pipeline supports HTML output.- Visual summaries remain understandable without JavaScript or third-party chart libraries.
- Optional or unavailable analysis data is represented accurately and does not cause a rendering failure.
- All output remains self-contained and includes no external
<link>,<script src>, image, font, or stylesheet resources. - Existing text and JSON output behavior remains unchanged.
- Tests cover representative populated, empty, degraded, and optional-data cases for each formatter.
Non-Goals
- Reimplementing the analysis, quality, CRAP, classification, or AI-report pipelines.
- Adding a browser application, live dashboard, hosted report service, or external visualization dependency.
- Altering the existing terminal and JSON output contracts.
- Adding arbitrary client-side scripting; interactivity beyond native HTML should require separate justification.
Dependencies
- Depends on the HTML formatter foundation delivered for
gaze analyze. - Implementation requires the project’s spec-first workflow before code changes.
Split from #8
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Type
Projects
- StatusShow more project fieldsNo status
Activity
fullsend-ai-triage commentedon Sep 15, 2026
🤖 Finished Triage · ✅ Success · Started 8:38 AM UTC · Completed 8:41 AM UTC
Commit:
ec204ea· View workflow run →Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $0.78
fullsend-ai-triage commentedon Sep 15, 2026
This issue depends on the HTML formatter foundation in #260, which is still open with no PR in progress. The shared template infrastructure, inline CSS styling, and rendering patterns established there are prerequisites for extending HTML output to the quality, crap, and report commands.
Once #260 lands, this issue is well-specified and ready for the spec-first workflow. The acceptance criteria, scope boundaries, and non-goals are clear.
Blocked by:
Labels: Feature request for new HTML output capability, consistent with the enhancement label applied to sibling issue #260.
yvonnedevlinrh commentedon Oct 1, 2026
Classified as a valid enhancement. The scope is appropriately bounded: it extends the shared HTML formatter foundation while preserving deterministic, self-contained, offline output and existing text/JSON contracts.
The prerequisite HTML formatter foundation in #260 is now closed. Before implementation, the required spec should define representative HTML fixtures and stable structural assertions for populated, empty, degraded, optional-data, and baseline-absent states. All dynamic values from analyzed code and diagnostics must use contextual HTML escaping.
This triage was performed by the Divisor review panel.