Skip to content

fix(statement): check the eight newer countries against each law's official text - #30

Merged
likeBloodMoon merged 1 commit into
masterfrom
claude/release-roadmap-0-8-0-v79592
Sep 26, 2026
Merged

likeBloodMoon merged 1 commit into
masterfrom
claude/release-roadmap-0-8-0-v79592

Conversation

@likeBloodMoon

Copy link
Copy Markdown
Owner

This PR clears the 1.0 blocker on citations. The eight countries added in 0.8.0 and 0.9.0 were written from secondary sources: BE, CZ, DK, FI, IE, PL, PT and SE. I checked every claim their templates make against the official text of each law:

  • the statute's title and number;
  • the date it applies from;
  • who supervises e-commerce.

docs/citations.md records the official text, version and provision behind each claim. The unverified marker is removed from all eight countries.

Three templates were wrong

Country What the template said What the law says
Denmark (da, en) Finanstilsynet supervises financial services § 45, stk. 2 of lov nr. 801/2022 gives consumer banking to Sikkerhedsstyrelsen, the same authority as e-commerce. Lov nr. 637/2024 doesn't change § 45, and Sikkerhedsstyrelsen's complaints page lists banking. The split is now illustrated with electronic communications (Energistyrelsen).
Czechia (cs, en) ČOI supervises compliance with the whole Act § 19 of 424/2023 Sb. gives telecoms, broadcasting and transport to other bodies. The template now says ČOI supervises e-commerce and that some other services are supervised by other bodies.
Portugal (pt, en) Supervisors report non-compliance to the INR Art. 36.º of DL 82/2022: the INR monitors the regime and forwards complaints sent to it. The template now says that.

The CHANGELOG tells anyone who generated a DK, CZ or PT statement with 0.9.0 to generate it again.

Checked and correct

Country What was confirmed Source
BE Art. 38: in force 28 June 2025. Art. XV.18/5: complaints go to the Economic Inspection. Justel
FI 306/2019 as amended by 104/2023, chapter 3 a. Traficom supervises from 1 January 2025 under 606/2024. Finlex
IE S.I. 636/2023, Reg. 4(2): CCPC for e-commerce, ComReg for communications, Central Bank for banking. Irish Statute Book
PL Dz.U. 2024 poz. 731. PFRON takes reports under arts. 67–68. The digital affairs minister is the market surveillance authority for e-commerce under art. 38. Sejm ELI
SE SFS 2023:254. PTS supervises under 28 § of förordning 2023:676. Riksdagen

One upcoming change: förordning 2026:1769 moves Swedish supervision to Digitaliseringsmyndigheten on 1 January 2027. PTS is correct until then, so ROADMAP records this and nothing changes yet.

Other changes

  • Removed the † markers and the "checked less" paragraph from docs/statement.md, and linked docs/citations.md from there, the README and ROADMAP.
  • eaa-kit countries keeps the unverified mechanism, but its message no longer says "New in 0.8".
  • Added a regression test that keeps Finanstilsynet out of the DK templates.

Testing

  • pnpm lint and pnpm typecheck: clean.
  • pnpm test, with and without FORCE_COLOR: 1405 passed. The only failure is the Playwright suite, which needs a Chromium build this environment doesn't have.
  • pnpm smoke: green.
  • pnpm examples: no drift.
  • Statement snapshots updated for the six changed templates.

🤖 Generated with Claude Code

https://claude.ai/code/session_013BXnvSeRtgZoTXe4j753gM


Generated by Claude Code

…ficial text

The templates for Belgium, Czechia, Denmark, Finland, Ireland, Poland,
Portugal and Sweden were written from secondary sources and shipped with
an unverified marker. Each claim they make (the statute, the date it
applies from, who supervises e-commerce) is now checked against the
official text: Justel, zakonyprolidi.cz, Retsinformation, Finlex open
data, the Irish Statute Book, the Sejm ELI API, the Diário da República
PDF and Riksdagen. docs/citations.md records the text, the version and
the provision behind each claim, and the marker is removed.

Three templates were wrong and are corrected:
- DK: said Finanstilsynet supervises financial services. § 45, stk. 2 of
  lov nr. 801/2022 gives consumer banking to Sikkerhedsstyrelsen, and lov
  nr. 637/2024 does not change that. The split is now illustrated with
  electronic communications (Energistyrelsen), and a test keeps
  Finanstilsynet out.
- CZ: said ČOI supervises the whole Act. § 19 of 424/2023 Sb. gives
  telecoms, broadcasting and transport to other bodies.
- PT: said supervisors report non-compliance to the INR. Art. 36.º of
  DL 82/2022 has the INR monitor the regime and forward complaints.

Sweden is right today, but förordning 2026:1769 moves supervision from
PTS to Digitaliseringsmyndigheten on 1 January 2027. ROADMAP notes it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013BXnvSeRtgZoTXe4j753gM

Copy link
Copy Markdown
Owner Author

github-advanced-security is red, but this PR didn't cause it. GitHub's Copilot code-scanning agent fails with CAPIError: 400 The requested model is not supported before it reads the diff. The same thing happened on #27, #28 and #29. There's nothing to fix in the repository: the model has to be changed or scanning turned off in the repo's code-scanning settings. I can't re-run the check from here.


Generated by Claude Code

@likeBloodMoon
likeBloodMoon marked this pull request as ready for review September 26, 2026 06:33
@likeBloodMoon
likeBloodMoon merged commit 77f32c5 into master Sep 26, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants