The law of the ledger
Nothing is ever deleted
World's ledger is its record of every movement of money or goods. A wrong line in it is never erased or overwritten. It is corrected by new lines, and the old ones stay. The database enforces this in every world, every day. The rules are Dimitar Hrisafov's: he wrote them on 17 August 2026, before World existed, as commands for QL68, a Sinclair QL emulator he built.
The public demo is a copy that starts again from its template every night: the whole copy is replaced, and no line inside a ledger is deleted.
A storno, not an eraser
A wrong figure is never overwritten. It is corrected by writing its exact opposite, a storno, and then the right figure (storno is the bookkeepers' word). All three lines stay on the file, so anyone can see what was wrong, who corrected it, and when.
Negate what adds up
Quantities and amounts get their exact opposite, so every total stays right at every moment.
Leave what identifies
The order, the customer, the product and the actor stay as they were. A storno says which line it cancels by being its mirror.
Re-derive what maximizes
A "last changed" or a "highest" is never stamped and overwritten. It is worked out again from the events - which also stopped writers of one order from blocking each other (see Tested).
A sale is corrected by two people
A sale is an agreement with a customer, so one person may not correct it alone. One person claims a correction; a second proves it, with evidence; no actor can prove its own claim. Only then may it be applied - as a storno and a new line.
Corrections cannot pile up into long chains, either: a storno can never itself be reversed, and a line can be reversed only once. If the corrected line is wrong too, it gets its own storno and a newer line - the file stays flat, never a reversal of a reversal.
A wrong reading is withdrawn, never erased
The same law reached the hospital ward's readings on 27 and 28 November 2026. A sensor that reports a wrong value - say 85.0 °C, the value a room sensor sends when it powers on - is not erased or written over.
Withdraw it
The engineer withdraws the reading. It stays on the file, marked; the reading "now" falls back to the one before.
Or substitute it
A substitute names the line it replaces and how the new value was found - one of
four ways, the four his QL68 command TSUBST names: a control meter, a
computation, an estimate, or the building's control system (SCADA).
A press is an act
A call button's press is not a measurement. It stands as it was pressed. And while a value stays out of its limits, it raises one alarm, not one every quarter hour.
Once a day the ward's simulated sensors send that 85.0 °C on purpose, so a visitor always has one wrong reading to correct.
Every line sealed
An administrator of a database cannot be stopped - that is what an administrator is. World does not prevent it; it detects it. A rewritten line no longer matches its fingerprint. The fingerprints are themselves kept in a SQL Server ledger table whose digest leaves the machine every night, so rewriting them too would not match either. And the audit records every statement, with its text, of one who switches a guard off - switching the audit itself off is recorded too.