Files
rengine/reports/sections/surface_overview/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

35 lines
1.8 KiB
HTML

{% import 'macros.html' as m with context %}
{% if narrative %}<div class="md prose block">{{ narrative|md|safe }}</div>{% endif %}
<table class="table block">
<thead><tr><th>Dimension</th><th class="num">Observed</th><th class="num">Change</th><th>Trend</th><th>As of</th></tr></thead>
<tbody>
{% for row in rows %}
<tr>
<td>{{ row.label }}</td>
<td class="num">{% if row.covered %}{{ row.count|num }}{% else %}<span class="faint">Not scanned</span>{% endif %}</td>
<td class="num">
{% if row.delta is not none and row.delta != 0 %}{{ '+' if row.delta > 0 }}{{ row.delta|num }}
{% elif row.covered and row.previous is not none %}<span class="faint">0</span>
{% else %}<span class="faint">—</span>{% endif %}
</td>
<td>{% if row.trend|length > 1 %}<span style="display:inline-block;width:26mm">{{ sparkline(row.trend, width=110, height=18, palette=ctx.palette)|safe }}</span>{% endif %}</td>
<td class="small faint nowrap">{{ row.observed|date('%d %b %Y') if row.observed else '—' }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% if status %}
<div class="sub">
<div class="label block">HTTP status</div>
{% set items = [] %}
{% for row in status %}{% set _ = items.append(Slice(row.name, row.count, ctx.hue(loop.index0))) %}{% endfor %}
{{ stack_bar(items)|safe }}
<div class="chips" style="margin-top:1.6mm">
{% for row in status %}<span class="chip"><span style="display:inline-block;width:6px;height:6px;border-radius:2px;background:{{ ctx.hue(loop.index0) }}"></span>&nbsp;{{ row.name }} {{ row.count|num }}</span>{% endfor %}
</div>
{% if no_response %}<p class="micro faint" style="margin-top:1.4mm">{{ no_response|num }} web assets did not answer HTTP.</p>{% endif %}
</div>
{% endif %}