Part of lexifina/global-law, one git history for every country's law: this is Romania's national law, which global-law reads at romania/national/acts/.
The aim: every source a Romanian lawyer or citizen needs, in one git history. Laws and their full histories, case law, secondary legislation, local acts and more: the plan lists every part, with its progress.
Scope
- Rebuilt Romanian law from the official texts as one git history: the Constitution, the codes and tens of thousands of laws, ordinances and Government decisions, with secondary legislation, local acts, treaties and EU law.
- Linked Constitutional Court and High Court rulings to the articles they concern, with the ECHR's judgments against Romania and the EU Court of Justice's decisions concerning Romania.
Use
- The official portal shows one version of an act at a time. Here, how a provision changed, or what it said on a given date, is one
git logorgit blame. - Everything can be searched, compared and reused: the texts are official, and our work is public domain (CC0).
romania-mcp-short.mp4
An AI assistant answering a question about Romanian law through the MCP: the answer cites the exact article and version in this repository, with the official links.
One of thirty charts drawn from this repository; see visualisations/ for the rest.
| Where | What |
|---|---|
constitutie/1991/, lege/, oug/, og/, hg/ |
the Constitution, laws (with the codes: Codul civil is lege/2009/287/), ordinances and Government decisions, by year and number |
ordin/, norma/, regulament/… |
ministerial orders and authority norms |
local/ |
local council decisions, by council and year |
ue/, tratat/, anexa/, profesii/ |
EU law in Romanian, treaties, official annexes, the legal professions' rules |
jurisprudenta/ |
court decisions: ccr/, iccj/, cedo/, cjue/ |
proiect/ |
drafts and bills, not law: draft acts put to public consultation and bills in Parliament, by initiator and year |
<act>/art-NNN.md · <act>/README.md |
one article per file (one paragraph per line) · the act's versions and notes |
ACTS.md · data/ · tools/ |
the act list · tables and indexes (DATA.md) · the tools below |
AGENTS.md explains how a program or an AI agent should query the repository.
| Question | Command |
|---|---|
| What did art. 1112 of the Codul civil say on 18 October 2014? | python tools/on.py 2014-10-18 lege/2009/287 1112 |
| Which act wrote each paragraph of art. 336 of the Codul penal? | git blame lege/2009/286/art-336.md |
| Every change to an article, word by word | git log --follow -p --word-diff lege/2009/286/art-297.md |
| Everything one act changed | git show law/legea-200-2023 |
| Is the Codul civil here current? | python tools/freshness.py codul-civil |
Read dates with the tools, not git rev-list --before: they pick each version by its In-force: trailer.
- Tables: act lists and indexes, links between acts, the bills behind each law, EU transposition, and practical tables (which court covers each locality, court fees, deadlines, legal aid, minimum wage, legal interest). All are listed in DATA.md.
- Case law: Constitutional Court and High Court (RIL and HP) decisions as published in the Monitorul Oficial, ECHR judgments against Romania, and EU Court of Justice decisions concerning Romania (operative part). Each decision is one commit; a Constitutional Court finding that struck a text is a separate commit in that act's history.
- Sources: the Ministry of Justice's legislative portal, archived copies of it, Parliament, the EU Publications Office and the issuing authorities (DATA.md).
Every version names the official page it was read from, so every act can be checked against its source.
Checked against the official sources: 2026-11-08; 88% of acts verified in the last 7 days, 88% in the last 30 (data/freshness.json).
python tools/freshness.py <act> gives an act's status, its last check and the official link. The pipeline is monitored around the clock, and data/status.json (hourly) says whether updates are running and which official sources are answering. Statuses and fields: DATA.md.
- Each commit is dated on the day the change took effect; the author is 73DD the act that made it, the committer Lexifina.
- Drafts and bills in
proiect/are not law and were never in force unless and until adopted. Their commits are labelledKind: draft, carry noIn-force:trailer and are dated on the day each stage was published; the author is the initiator (a ministry, the Government, or the members of Parliament as a body).tools/on.pynever returns them, and each draft's README links the act it became. - An act's latest version is the newest consolidated form held, so later amendments may be missing; acts marked
amended, not consolidatedhold the act as published and name the amending acts. - Only the Monitorul Oficial, Part I is authoritative (for EU acts, the Official Journal of the EU).
- Not included: chapter and section headings, the portal's editorial notes, and annexes printed as facsimiles.
- Every version is read back from git on its in-force day and must match the source; results are in
REPRODUCE.md.
Official acts are republished as the Monitorul Oficial printed them, including the names of the persons they concern. CNPs, home addresses and dates of birth are removed, and decisions about criminal matters are metadata only. Anyone named can ask for a correction or removal via lexifina.com.
The legal texts are official texts of Romanian normative acts (Sursa: Portalul legislativ al Ministerului Justiției, https://legislatie.just.ro), excluded from copyright by Legea nr. 8/1996, art. 9 lit. b. The EU texts are © European Union, reused under Commission Decision 2011/833/EU. Lexifina's arrangement, tables, commit messages and tools are in the public domain (CC0), as set out in LICENSE. This repository is not legal advice and not an official publication.
Istoria dreptului românesc în git: un fișier pentru fiecare articol și un commit pentru fiecare modificare, datat în ziua intrării ei în vigoare și semnat de actul care a făcut-o. Lista actelor este în ACTS.md; textul în vigoare la o dată: python tools/on.py 2014-10-18 lege/2009/287 1112. Sursa: Portalul legislativ al Ministerului Justiției (legislatie.just.ro). Niciun model de inteligență artificială nu a scris text juridic.