coverage: drop the rendered report section

The ledger stays a machine-written artifact (coverage.json and the SARIF
non-failing results); the executive report goes back to being the agent's
document.
This commit is contained in:
Ahmed Allam
2026-08-09 22:58:08 +00:00
parent 970e8ed395
commit 30f8d5fa29
7 changed files with 9 additions and 139 deletions
-11
View File
@@ -45,17 +45,6 @@ def test_coverage_is_written_beside_the_other_artifacts(state: ReportState) -> N
assert document["summary"]["surfaces_reviewed"] == 1
def test_report_carries_a_coverage_section_from_the_ledger(state: ReportState) -> None:
_record_a_cleared_surface()
state.final_scan_result = "Scan complete."
state._save_artifacts()
report = (state.get_run_dir() / "penetration_test_report.md").read_text(encoding="utf-8")
assert "# Coverage" in report
assert "POST /api/orders/{id}" in report
def test_cleared_surfaces_reach_sarif(state: ReportState) -> None:
_record_a_cleared_surface()