fix(mail): accurate and grammatical new-findings mail #41

Merged
sharang merged 1 commits from fix/findings-mail-wording into main 2026-09-25 22:03:50 +00:00
Owner

Wording from the Prüfwerk session:

  1. Overclaim removed. The mail said "Jeder Befund hat eine KI-Bewertung, einen Beleg im Code und einen Behebungsvorschlag". That isn't true for CVE, manual or pentest findings. It now reads: "Im Befund sehen Sie Fundstelle, Schweregrad und, soweit zugeordnet, die betroffene CRA-Anforderung. Was die automatische Bewertung nicht sicher einordnen konnte, steht auf „Zu prüfen“." The EN version matches, with "Needs review".
  2. Singular: "1 neuer Befund in …" / "1 new finding in …". new_count arrives as float64, so the template compares printf "%v". The test uses float64(1).
  3. Headline: "Neue Befunde in {target}" / "New findings in {target}". Severity rows with 0 are omitted.

Also "Breakpilot GmbH" (the legal name) in the text footer.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB

Wording from the Prüfwerk session: 1. **Overclaim removed.** The mail said "Jeder Befund hat eine KI-Bewertung, einen Beleg im Code und einen Behebungsvorschlag". That isn't true for CVE, manual or pentest findings. It now reads: "Im Befund sehen Sie Fundstelle, Schweregrad und, soweit zugeordnet, die betroffene CRA-Anforderung. Was die automatische Bewertung nicht sicher einordnen konnte, steht auf „Zu prüfen“." The EN version matches, with "Needs review". 2. **Singular:** "1 neuer Befund in …" / "1 new finding in …". `new_count` arrives as float64, so the template compares `printf "%v"`. The test uses `float64(1)`. 3. **Headline:** "Neue Befunde in {target}" / "New findings in {target}". Severity rows with 0 are omitted. Also "Breakpilot GmbH" (the legal name) in the text footer. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
sharang added 1 commit 2026-09-25 21:39:30 +00:00
fix(mail): accurate and grammatical new-findings mail
ci / shared (pull_request) Successful in 13s
ci / test (pull_request) Successful in 23m24s
ci / image (pull_request) Skipped
81a30a5976
The mail promised an AI assessment, code evidence and a fix for every
finding, which is not true for CVE, manual or pentest findings; it now
says what each finding shows and that uncertain ones are marked "Zu
prüfen" / "Needs review". One finding reads in the singular (the
count arrives from JSON as a float, so the template compares its
printed form), the headline names the target, and severity rows with
zero are left out. Wording agreed with the Prüfwerk session.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
sharang merged commit 3aa1a8cb8d into main 2026-09-25 22:03:50 +00:00
Sign in to join this conversation.