LawPair.write
property · packages/entity/src/laws.ts:133
readonly write: stringEntity / foldkit-entity/laws
interface · packages/entity/src/laws.ts:132
interface LawPair {
readonly write: string
readonly entity: string
readonly invariant: string
readonly reads: ReadonlyArray<string>
readonly readsBefore: boolean
readonly footprint: Footprint
readonly verdict: LawVerdict
readonly postcondition: boolean
readonly evidence: Option.Option<Evidence>
}One transition against one invariant of its Entity.
LawPair.writeproperty · packages/entity/src/laws.ts:133
readonly write: stringLawPair.entityproperty · packages/entity/src/laws.ts:134
readonly entity: stringLawPair.invariantproperty · packages/entity/src/laws.ts:135
readonly invariant: stringLawPair.readsproperty · packages/entity/src/laws.ts:137
readonly reads: ReadonlyArray<string>The members the invariant reads, before and after, by field key.
LawPair.readsBeforeproperty · packages/entity/src/laws.ts:143
readonly readsBefore: booleanTrue for a transition invariant, which reads the row before: a write that leaves every member it reads alone can still break it, so the graph reads it as reading the whole row.
LawPair.footprintproperty · packages/entity/src/laws.ts:144
readonly footprint: FootprintLawPair.verdictproperty · packages/entity/src/laws.ts:145
readonly verdict: LawVerdictLawPair.postconditionproperty · packages/entity/src/laws.ts:147
readonly postcondition: booleanTrue for a write's own ensures: a law of that write alone, held where it commits.
LawPair.evidenceproperty · packages/entity/src/laws.ts:153
readonly evidence: Option.Option<Evidence>A record for a pair the check kept by reading the declarations:
Bounded for one metakit's checker proved, Enumerated for the rest;
none for an author's word (declared), a refusal, or an undecided pair.