chore(llm-security): v7.7.2 — language consistency pass

~/.claude/CLAUDE.md specifies English for code and documentation,
Norwegian for dialog only. Norwegian had crept into surface text
across v7.5-v7.7. Translated to English in eight surfaces.

No scanner, hook, or behavior changes — purely surface text.

- 18 skill commands: the HTML Report-step now reads "HTML report:
  [Open in browser]" instead of "HTML-rapport: [Åpne i nettleser]"
- scripts/lib/report-renderers.mjs: key-stat labels, lede defaults,
  table headers, maturity-ladder descriptions, action-tier labels,
  clean buckets, dry-run/apply copy, and JS comments. Regex
  alternations /^high|^høy/ and /resolution|løsning/i preserved.
- playground/llm-security-playground.html: same renderer changes
  mirrored bit-identical, plus playground-only UI strings (catalog,
  breadcrumb aria-label, theme toggle, builder-modal hint,
  guide-panel "no projects yet", delete confirmation, alert/copy).
  Demo-state fixture content for dft-komplett-demo preserved
  (intentional Norwegian persona).
- agents/skill-scanner-agent.md + agents/mcp-scanner-agent.md:
  Generaliseringsgrense + Parallell Read-strategi sections translated
  to Generalization boundary + Parallel Read strategy.
- README.md: playground architecture prose + Recent versions table
  (v7.5.0 — v7.7.1).
- CLAUDE.md: v7.7.1 highlights translated, new v7.7.2 highlights
  added.
- ../../README.md: llm-security v7.5.0 — v7.7.1 bullets.
- ../../CLAUDE.md: llm-security catalog entry.
- docs/scanner-reference.md: six runnable-examples table cells.
- docs/version-history.md: new v7.7.2 entry. v7.5-v7.7 narrative
  sections left in original language (deferred per operator).
- Version bumped 7.7.1 → 7.7.2 in package.json,
  .claude-plugin/plugin.json, README badge + Recent versions,
  CLAUDE.md header + state, docs/version-history.md, playground
  renderHome hardcoded string, root README + CLAUDE.md llm-security
  entries.

Tests: 1820/1820 green. CLI smoke-test: 18/18 commandIds produce
>138 KB self-contained HTML. Browser-dogfood verified.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Kjell Tore Guttormsen 2026-05-19 06:47:44 +02:00
commit 03b8885b6e
31 changed files with 467 additions and 359 deletions

View file

@ -6,6 +6,83 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
## [Unreleased]
## [7.7.2] - 2026-05-19
Language consistency pass. Norwegian had crept into surface text across
v7.5-v7.7. Per the `~/.claude/CLAUDE.md` convention (English for code and
documentation, Norwegian for dialog only), surface text was translated to
English. No scanner, hook, or behavior changes — purely surface text.
### Changed
- **18 skill commands `commands/*.md`** — the "HTML Report"-step appended
by each `/security <cmd>` flow now reads
`> **HTML report:** [Open in browser](file:///abs/path.html)` (previously
Norwegian).
- **CLI canonical module `scripts/lib/report-renderers.mjs`** — translated
KEY_STATS_CONFIG labels (`TOTALT``TOTAL`, `KRITISK``CRITICAL`,
`HØY``HIGH`, `FUNN``FINDINGS`, `PROSJEKTER``PROJECTS`,
`MASKINKLASSE``MACHINE GRADE`, `SVAKEST``WEAKEST`,
`NÅ-GRADE``CURRENT GRADE`, `AKSJONER``ACTIONS`, `MODUS``MODE`),
the 5-step maturity ladder descriptions, the suppressed-group desc,
4 table-header sets, the 6 renderer `lede` defaults (plugin-audit,
mcp-audit, harden, diff, watch, clean), the action tier labels
(Umiddelbar/Høy prioritet/Medium prioritet → Immediate/High priority/
Medium priority), the clean buckets, and the dry-run/apply text. JS
comments translated for consistency. Preserved the regex alternations
`/^high|^høy/` and `/resolution|løsning/i` — they intentionally match
Norwegian-language report markdown.
- **Playground `playground/llm-security-playground.html`** — the same
display strings as the canonical module (kept bit-identical), plus
playground-specific UI text: catalog row labels, search placeholder,
breadcrumb aria-label, theme-toggle labels, primary nav aria-label,
builder-modal hints, "no projects yet" guide-panel, delete-project
confirmation, alert/copy-confirm strings, and the field-from-tag
"felles" pill (now "shared"). The hardcoded `Plugin v7.7.1` in
`renderHome` bumped to `Plugin v7.7.2`, and `prosjekter`/`kommandoer`
there became `projects`/`commands`. Demo-state fixture content for the
`dft-komplett-demo` project (intentional Norwegian persona) and regex
tokens were preserved.
- **Agent prompts `agents/skill-scanner-agent.md` +
`agents/mcp-scanner-agent.md`** — translated the `Generaliseringsgrense`
and `Parallell Read-strategi` sections (identical content in both files)
to `Generalization boundary` and `Parallel Read strategy`.
- **`README.md`** — translated the Recent versions table rows for v7.5.0
→ v7.7.1 and the playground architecture prose (L495-553). Version
badge bumped to 7.7.2.
- **`CLAUDE.md`** — translated the v7.7.1 highlights paragraph and added a
new v7.7.2 highlights paragraph. Header and "release notes" sentinel
bumped to v7.7.2.
- **Marketplace root `../../README.md`** — translated the v7.5.0 → v7.7.1
llm-security bullet entries (lines 39-43). Version label in the
header bumped to v7.7.2. The voyage and ms-ai-architect entries on
lines 90-91 / 192-197 were not touched (strict plugin scope).
- **Marketplace root `../../CLAUDE.md`** — translated the llm-security
catalog entry on line 13 and bumped its version to v7.7.2.
- **`docs/scanner-reference.md`** — translated the six runnable-examples
table cells (L114-122) and the surrounding paragraph.
- **`docs/version-history.md`** — added a v7.7.2 entry describing this
pass. The v7.5.0 → v7.7.1 narrative sections retain the Norwegian they
were written in (deferred per operator decision).
- **`package.json` + `.claude-plugin/plugin.json`** — version 7.7.1 →
7.7.2.
### Preserved (intentional Norwegian)
- Demo-state `dft-komplett-demo` JSON `description`, `system_description`,
and parsed-data `"label": "HØY"` / `"label": "NÅ-GRADE"` entries —
intentional Norwegian persona for the public-sector reference scenario.
- Regex alternations `/^high|^høy/` and `/resolution|løsning/i` in both
the canonical renderer and the playground inline copy — they let
reports written in Norwegian still parse and route correctly.
- `knowledge/norwegian-context.md` and other knowledge files — out of
scope.
- The v7.5.0 → v7.7.1 entries in CHANGELOG.md and `docs/version-history.md`
remain in the language they were written in; rewriting historical
release notes was deferred.
- `REMEMBER.md`, `TODO.md`, `ROADMAP.md`, `*.local.md`, commit messages,
test fixtures, and the `playground/A11Y-RAPPORT.md` artifact.
## [7.7.1] - 2026-05-18
Playground UX-strip etter v7.7.0-operatør-feedback. Hjem-overflaten ledet