First-pass review tooling

Find candidate gaps in a MiCAR white paper draft before legal review.

The linter applies fixed rules for Annexes I, II and III of Regulation (EU) 2023/1114 to a draft and lists what is missing or needs review, each with a citation. The same input always gives the same result. No language model is in the checking path.

Try it in your browserBrowse the rules

What it is

  • A checklist that flags absent or thin disclosures, per Annex Part.
  • A citation and a rule page for every finding.
  • Offline LEI checks: check digits and agreement across sections. No registry is queried.
  • Statuses: Missing Review Pass. Severity: blocker, major, minor.

What it is not

  • Not legal advice, and not a compliance opinion.
  • A pass means a check matched: listed terms appear and the section is long enough. Accuracy and sufficiency need a lawyer.
  • Not an iXBRL validator. The format check never passes; tag completeness needs a taxonomy validator.

Your draft stays with you

  • The playground runs the rules in your browser. Nothing you paste leaves the page, and it is not stored.
  • The CLI and the GitHub Action run where you run them.
  • The CI summary, annotations and SARIF log carry rule IDs, citations and line numbers, never draft text. The job log still prints the full report, including the draft title and quoted figures.

Three ways to run it

SurfaceUse it forStart
PlaygroundA quick look at a JSON or XHTML draftOpen the playground
Command lineReports, review tables, review bundles and SARIFpip install micar-whitepaper-linter, then micar-lint draft.json
GitHub ActionChecks on every push; from the next v1 release also a job summary, line annotations and optional code-scanning uploaduses: sebastianfoerste/micar-whitepaper-linter@v1

Known limits

First-pass screening for review by a qualified lawyer. Use synthetic or public material in the playground.