Docs menu

Docs / The format

Levels and proof

Tellscripts come in four levels, from product to file, and three proof levels, from described to proven by a model from another lab.

Levels

Tellscripts are layered like the software itself. The product file holds what is true everywhere; below it sit feature files, contract files and, rarely, file files.

Leveltell: prefixWhat it holdsWrite it
Productproduct/Purpose, users, terms, principlesAlways
Featurefeature/One flow with statements, states and textsAlways
Contractcontract/What other systems use, byte-exactAlways
Filefile/Interface and rules of one code fileOnce the file is proven and others depend on it

Proof levels

The proof key in the front matter says how far a file can be trusted, and which edition got it there. Proof is earned by checks, not declared.

Proof levelReached when
describedWritten from the code or by hand. Useful as a map, not yet a source.
boundEvery statement has a check that fails when it no longer holds.
proven · edition NA model from another lab rebuilt it from the Tellscript alone, in an empty folder, and passed every check, including the hidden ones.