Saltar al contenido principal

MnemoLaw

The laws of your country, in your memory.

Pick a country, then a code, a law or a city. MnemoLaw downloads the texts on your computer and writes each article into memory. Then you ask your questions in the chat. MnemoLaw quotes texts. It does not give legal advice.

The cartridge id is @mnemosyne-plugins/mnemo-law. Its code lives at Mnemosyne-OS/MnemoLaw.

The countries​

CountryWhat it holdsSource
United StatesCity and county ordinancesLOCUS v1, UC Berkeley, CC BY-NC-4.0
FranceNational codesLEGI (Légifrance data), Licence Ouverte 2.0
United KingdomActs of Parliament in forcelegislation.gov.uk
CanadaFederal Acts, in English and in FrenchJustice Laws Website, Open Government Licence (Canada)
European UnionRegulations in force, in EnglishEUR-Lex
InternationalTreaties: UN, human rights, Geneva Conventions, EU treatiesOfficial treaty texts, copied by MnemoLaw
Colombia, Spain, Argentina, PortugalConstitution, codes and main national lawsThe official journals, through Legalize
ItalyConstitution and national codesNormattiva
MaltaGaming laws first, then the Constitution, codes and main Actslegislation.mt, copied by MnemoLaw

Each copy is not an official text. Every article names its source and where to check the text in force.

The US licence​

The US ordinances come from LOCUS v1 under the CC BY-NC-4.0 licence, which allows non-commercial use only. Before the first US download, MnemoLaw shows Before the first download. Press I have read the licence to go on.

Switzerland​

Arrives in the next build

Switzerland was added after Mnemosyne OS 2.2.0. It is not in the released app yet.

Swiss federal law comes from Fedlex: the Federal Constitution, the codes and the main federal laws, in French, German and Italian. MnemoLaw reads each law when you import it and takes the version in force that day. Cantonal laws are not included.

Put a law in memory​

  1. On the countries' screen, click a country tile.
  2. Press its load button, for example Load the list of French codes or Load the list of laws. A short list of the laws people ask about most shows first.
  3. Type in the filter to find any other law, then press Import.
  4. The progress shows the download, then Writing to memory. Stop stops it. What reached memory stays.

Some countries also offer Load everything: every law in force of one kind, straight into memory. It runs while the window is open. Resume continues where it stopped. This path keeps no copy in your folder.

Search and ask​

The search box finds articles that contain your words, on your computer. To ask a question in your own words, open the chat and tick the country under Knowledge in its scope.

Ask for your country​

Add my country opens Ask for my country. Pick your country, read What will be sent, then press Send the request. The request is signed by your wallet, like a review. Nothing about your computer is attached. The team reads the requests to choose the next country.

Where your data goes​

  • Each imported code, law or place is a JSON file in your knowledge folder, with an ATTRIBUTION.md beside it. On the first import, MnemoLaw asks you to choose that folder. Open the folder shows it.
  • Each substantive article becomes one memory entry in MnemoLaw's own vault, one memory pack per country. The chat reads it once you tick the country in its scope.
  • Long articles are written in several parts. Tables of contents and empty definitions are left out.

For agents​

ActionEffectWhat it does
statusreadThe country on screen, the download running, the laws in memory
countriesreadCountries with a source, and what each holds in memory
showHomewriteThe countries' screen
showRequestwriteThe screen to ask for another country
openFolderwriteOpens the laws' folder in the file manager
openCountrywriteOne country's screen
loadPlaceswriteLoads a country's list
findPlacesreadFinds laws or places in a loaded list
importPlacewritePuts one law or place into memory by its name
stopwriteStops the list or import running

importPlace answers started. Read the outcome with status. Several matches are refused with their names (AMBIGUOUS). The US licence is never accepted by an agent: LICENSE_NOT_ACCEPTED means show the United States screen and let the person read it.

Voice examples: "open France", "add the Civil Code", "stop the download", "open the folder of laws".