01
The version travels with the agreement
v3 is published. v1 and v2 are superseded — but the agreements built on them stay where they are.
avtal/uppdrag · slug + version
Product
An agreement in Legarch is not a document with text in it. It is a template with a version number, clauses with pre-approved variants, and variables with a type. That is why you can ask the system what the agreement says without anyone opening it.
01
A template's identity is its slug plus its version number. Publishing a new version never alters the previous one.
01
v3 is published. v1 and v2 are superseded — but the agreements built on them stay where they are.
avtal/uppdrag · slug + version
02
A template is an ordered list of clauses. Each clause owns one or more pre-approved variants.
02
Per clause: which variants exist, and who may choose between them.
03
Every variable in a template is registered with a type, a source and a validation.
03
Key, type and source for every variable. The query below runs against the register, not a PDF.
agreements where uppsagningstid > 3 and andel >= 10
04
The counterparty gets a single-use link to a form — not a file.
04
The form on the left, the destination on the right. The greyed field appears only in one case.
form → destination
05
Anyone with access can initiate an agreement. Only a registered signatory can conclude one.
05
Signatory → power of attorney → the agreement that granted it.
06
What each side undertook is registered separately from the agreement text and carries its own state.
06
The system never moves an obligation to fulfilled on its own.
Asserted by
actor=oskar.lindqvist · origin=app · 2026-04-18 09:12