Close audit follow-ups B + E + F (Annex I split, art. 50(4) §2, art. 50(5))#5
Closed
abk1969 wants to merge 4 commits into
Closed
Close audit follow-ups B + E + F (Annex I split, art. 50(4) §2, art. 50(5))#5abk1969 wants to merge 4 commits into
abk1969 wants to merge 4 commits into
Conversation
…party CA tests art. 6(1) requires BOTH (i) Annex I harmonisation coverage AND (ii) third-party conformity assessment obligation. The single annexI yes/no allowed false-positive HAUT_RISQUE_ANNEXE_I when only (i) was true. Replace with two cumulative answer fields and a Step 4 two-part question. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ated text When the user declares the AI-generated public-interest text is under human review / editorial control (art. 50(4) second subparagraph), the genai_text trigger no longer contributes to RISQUE_LIMITE. Other art. 50 triggers (chatbot, biocat_emotion, genai_media) remain active. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…MITE checklist art. 50(5) imposes that transparency information be clear, distinguishable, provided at the latest at the first interaction/exposure, and accessible to persons with disabilities. Add the corresponding compliance-deliverable entry. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- Item B: reset annexI3rdPartyCA when coverage flips to 'oui' (avoid stale answer carrying over from a previous 'non' click on coverage) - Item E: add orphan-claim test (art50TextHumanEdit='oui' without genai_text selected is a graceful no-op) - Item F: replace speculative 'WCAG-level accessibility' citation in the art. 50(5) checklist line with the regulation's actual reference (Directive 2019/882/EU European Accessibility Act) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
4 tasks
abk1969
added a commit
that referenced
this pull request
May 16, 2026
…t tests Closes a TDD gap identified in the audit retrospective: the CHECKLIST and QUICKWINS data structures lived inline in the 2700-line ai-act-compass.jsx and were untested. Items shipped to those structures (notably art. 50(5) accessibility in PR #5) had no regression guard. Changes: - New module src/lib/deliverables.js exports QUICKWINS, CHECKLIST, isFriaItem - ai-act-compass.jsx imports them instead of declaring inline - New test file src/lib/deliverables.test.js with 27 characterization tests: * art. 50(5) entry exists in RISQUE_LIMITE Transparency pillar with EAA cite * Every tier has at least one checklist pillar and one quickwin * All bilingual {en, fr} text shapes are non-empty * art. 4 AI literacy is present in tier-specific checklists for the tiers where personnel-facing training is the primary deliverable * art. 27 FRIA quickwin exists exactly once and ONLY in HAUT_RISQUE_ANNEXE_III * isFriaItem predicate semantics (exact match on 'art. 27', not substrings) Tests: 82 → 109 (+27 in new file). Build: green, no bundle size change (data only relocated). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Owner
Author
|
Merged into main via rebase fast-forward (commits applied via stack rebase, see main's history). Branch deleted. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacks on top of #4. Closes the 3 remaining audit follow-ups not addressed in #3 or #4.
Item B — Annex I split (art. 6(1) cumulative test)
art. 6(1) requires BOTH (i) Annex I harmonisation coverage AND (ii) third-party conformity assessment under that regime. The previous single `annexI: 'oui' | 'non'` allowed false-positive `HAUT_RISQUE_ANNEXE_I` when only (i) was true.
Item E — art. 50(4) §2 human-edit exemption
art. 50(4) second subparagraph exempts AI-generated public-interest text from the labelling obligation when the content is under human review / editorial responsibility. The audit flagged that the previous UI gave no path to declare this — any `'genai_text'` selection auto-triggered RISQUE_LIMITE.
Item F — art. 50(5) accessibility caveat
art. 50(5) requires transparency information to be clear, distinguishable, provided at the latest at first interaction/exposure, and compliant with accessibility requirements under Directive 2019/882/EU (European Accessibility Act).
Tests
Stacking note
Targets `feat/annex-iii-5-subitems` (#4) as base. When #3 and #4 merge, GitHub will auto-rebase this PR onto main.
Test plan
🤖 Generated with Claude Code