Files
rengine/reports/sections/executive_summary/section.html
T
Yogesh OjhaandClaude Fable 5.1 0a69f3201c copy: state the fact, delete the explanation
Repo-wide sweep of every user-facing string: frontend components, routes,
config and stores; API details and route docs; shared definitions and
models; stage config help; report prose; MCP, toolbox, interest and
connector text; notification and worker messages.

Descriptions that explained, reassured, justified or restated their title
are deleted. Confirm dialogs name what is removed and stop. Failed actions
read "<Noun> not <verbed>", successes "<Noun> <verbed>". No reader address,
no product-as-subject, no em-dashes or parentheticals in prose.

Mirrors updated on both sides: EPSS band help, compare refusal reasons,
interest labels. Four tests asserting on old wording follow the new text.
The rules are condensed into CLAUDE.md under Writing.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SK5o8xR96cbSnAfjYSTPSe
2026-09-12 11:35:07 +05:30

41 lines
1.6 KiB
HTML

{% import 'macros.html' as m with context %}
{% if preamble %}<div class="md prose block">{{ preamble|md|safe }}</div>{% endif %}
{% if posture and assessed %}
<div class="verdict">
<div class="verdict__dial">{{ dial(posture.score, grade=posture.grade, label='Posture', arc=score_arc, palette=ctx.palette)|safe }}</div>
<div class="verdict__body">
<div class="verdict__headline">{{ headline }}</div>
<div class="verdict__sub">
{{ actionable|num }} actionable {{ actionable|plural('finding') }}{% if kev %} · {{ kev|num }} known exploited{% endif %} · assessed {{ ctx.data.observed_label }}
</div>
{% if severity %}{{ m.severity_tiles(severity, compact=true) }}{% endif %}
</div>
</div>
{% endif %}
{% if kpis %}
<div class="avoid block">
<div class="label block">Surface</div>
{{ m.strip(kpis) }}
</div>
{% endif %}
<div class="prose md">{{ narrative|md|safe }}</div>
{% if ai and disclose %}<p class="ai-note">This summary was written by a language model from the computed findings.</p>{% endif %}
{% if deductions %}
<div class="sub">
<div class="label block">Score deductions</div>
<table class="table table--tight">
<thead><tr><th>Condition</th><th class="num">Observed</th><th class="num">Points</th></tr></thead>
<tbody>
{% for row in deductions %}
<tr><td>{{ row.label }}</td><td class="num">{{ row.count|num }}</td><td class="num">-{{ row.points|round|int }}</td></tr>
{% endfor %}
</tbody>
</table>
<p class="micro faint" style="margin-top:1.4mm">The score starts at 100. Each condition deducts up to a fixed ceiling.</p>
</div>
{% endif %}