0x0LearnReferenceLibraries0x0.jmp0x1b.com

Contract Integrity

Contract integrity means every public or release-relevant use of the word

contract is a checked guarantee, not a promise about future work.

For beginners, read a contract as a guarantee with proof. A checked boundary is

the line where 0x0 proves that guarantee through source, tests, diagnostics,

documentation, release evidence, and an owner. If a page does not need that

formal meaning, it should use a simpler word such as guarantee, schema,

policy, profile, or boundary.

Formal Meaning

The formal taxonomy is docs/contract-taxonomy.tsv. A production contract must

be one of these kinds:

Every non-test contract must point to:

Test fixture contracts are allowed only under test-scoped paths and cannot be

used as production evidence.

Evidence Files

The repository-wide evidence is:

Specialized evidence is owned by the surface being proved:

release/abi-contract-evidence.tsv;

release/api-contract-evidence.tsv;

release/package-contract-evidence.tsv;

release/runtime-contract-evidence.tsv;

tooling/contract-inventory.tsv, and

release/source-tooling-contract-evidence.tsv;

release/library-contract-rename-ledger.tsv,

libs/symbol-aliases.tsv, and libs/symbol-deprecations.tsv.

Gate

Run the bounded gate:


make contract-integrity-check

The gate validates taxonomy kinds, inventory rows, ownership, fixture scope,

generated inventory drift, rename ledger coverage, release artifact reports,

compatibility notes, and staged ADR/RFC plus documentation-impact requirements

for new contract terminology.

It does not run heavy compiler builds, self-hosting, release packaging, remote

deployment, external services, or hardware probes.

Writing Rule

Use contract in reference documentation only when the page links to

docs/contract-taxonomy.tsv or to this page. In beginner documentation, explain

the guarantee first, then introduce contract only when the formal term helps.

Do not use contract for:

descriptor, layout, or boundary.

Related References