Requirement 001 phase 6, S0: - Speech: the security class shows as "Sécurité" and is spoken as in maritime radio, "say-cure-ee-tay" three times. A hex run of 7 or more characters with a letter and a digit (commit, session, message ids) is spelled in the NATO alphabet; every other digit is spoken on its own in ICAO pronunciation (42305: four two tree zero fife). The spelling runs inside clip() before the length cut, so a phrase still fits SPEECH_LIMIT; the displayed text keeps its digits and hashes. - English: every orchestrator label, tooltip, message, error, script output, document and test string is English (Regeln -> Firewall, Hierarchie -> Hierarchy, Steuerung -> Controls, Ausführen -> Run, ...); the page declares lang="en" and formats dates as en-GB. Task filter ids are English. German stays only in the skill trigger phrases that quote the operator, and as identifiers: the view keys (view=) and the leitstand id. - tests/test_english.py scans every tracked text file for umlauts and German words, with an allowlist of the quoted trigger phrases. BREAKING CHANGE: the Stream search tokens art: and seit: are now kind: and since:; an old art: or seit: token counts as a plain word. Evidence: make test 657 OK, ruff and markdownlint clean (/tmp/s0-make-test-1.log); e2e 17 OK, none skipped (/tmp/s0-e2e-1.log); MEDUSA 86 files, 24 findings on reworded strings accepted after an independent skeptic (21 path:line, 0 rejected, no behaviour change in signing, approving, rules, denying, offices, events), rescan 0 open. 🎯 Fix: 93 % 💥 Break: 4 % 💸 Cost: 100 % ⏱️ Time: – 🛡️ Security: 100 % 🏆 Score: 89 🚦 Gate: ✅ 90/5, cost and time <= 100, security 100 % Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3.7 KiB
name, description
| name | description |
|---|---|
| kvb-check-legal | Check a commit's licences, attribution, copied snippets, GDPR and trademarks. Run AUTOMATICALLY before every requested commit; also on "rechtlich prüfen", "lizenz prüfen". |
The stance is the project's counsel: find what would make the change unlawful
to distribute before it is distributed. This is not legal advice but a reading
of the licence texts, with German and EU law where jurisdiction matters; every
report says so in one line. Leaked secrets belong to kvb-check-security,
engineering principles to kvb-check-principles.
Target
- Before a commit: the staging index (
git diff --cached, plus every added or changed file in full where origin or licence is in question). - A
<ref>or<a>..<b>after the command: that commit or range. - The command alone: the index if it is non-empty, else
HEAD.
Fast exit
The target is in scope only if it adds or changes at least one of: a
dependency manifest or lockfile; a vendored, generated or third-party file; a
LICENSE, NOTICE or COPYING file or a licence header; code with a foreign
origin (a source URL, a foreign copyright line, a block that reads unlike its
surroundings); an external request (CDN, web font, analytics, embed, API);
handling of personal data; a logo, icon or third-party brand name. Nothing in
scope: report advocate: nothing licence-relevant in <target> in one line and
let the commit proceed.
Project licence
Read every declaration: LICENSE/COPYING, the manifest's licence field
(package.json, pyproject.toml, Cargo.toml, composer.json, ...), SPDX
headers, the README's licence section. Declarations that disagree are a
finding. A project without any licence is a finding (all rights reserved),
never a blocker of the commit at hand.
The checks
Only for a target in scope: read checks.md next to this file and apply its
seven checks.
Severity
- Blocker: the commit would distribute what the project may not: an incompatible inbound or dependency licence, or non-trivial code or assets without a licence.
- Finding: fixable while keeping the change: missing attribution, NOTICE or header; a data-protection gap; trademark use; a block of unclear origin.
- Note: worth knowing, no action required.
Blockers stop the commit
Harden every blocker with the kvb-think-dialectic skill before reporting
it. The antithesis tries: the code is trivial or the operator's own; the
dependency is build- or test-only and never distributed; an exception applies
(linking or Classpath exception, dual licensing, a licence grant in the issue
or commit history). A surviving blocker stops the commit: present it with the
options (remove, replace with a compatible alternative, relicense, obtain
permission) and wait. The operator's explicit acceptance lets this one commit
proceed and never carries over. Findings and notes never stop a commit.
Output
One line with the target, the project licence, and "not legal advice" in the operator's language. Then one table, blockers first:
| Severity | Check | Location | What is wrong | Licence or law | Fix | Evidence |
Evidence is proven (licence text, metadata or file read; cite path:line
or the registry URL) or derived (inferred). Close with the verdict (commit
stops or proceeds) and the kvb-check-score block.
Rules
- Never infer a licence from a package's name or reputation; read it. An
unreachable registry makes the row
derived, never clean. - Never invent a licence clause, a statute or a court ruling; cite only what you read.
- Read-only apart from stopping the commit: never edit licence files, add headers or remove dependencies on your own. Propose the fix; the operator decides.