Interface: FactorContext
@kortexya/reasoninglayer / FactorContext
Interface: FactorContext
Section titled “Interface: FactorContext”Defined in: src/types/sorts.ts:2700
Versioned replay evidence for a factoring run.
Remarks
Section titled “Remarks”It holds the original native sort declarations and parents, and the checked incidence snapshot. It is evidence for replay. It is never permission to adopt a proposal.
Properties
Section titled “Properties”incidence
Section titled “incidence”incidence:
FactorIncidenceSnapshot
Defined in: src/types/sorts.ts:2715
The checked incidence snapshot.
policySha256
Section titled “policySha256”policySha256:
string
Defined in: src/types/sorts.ts:2706
Digest of the authorization context the read ran under.
sorts:
JsonValue[]
Defined in: src/types/sorts.ts:2713
Original whole sorts, with declarations and parent identities.
The engine serializes each sort as an arbitrary JSON value, so the SDK keeps it as JsonValue.
tenant
Section titled “tenant”tenant:
string
Defined in: src/types/sorts.ts:2704
The tenant the context was read from.
version
Section titled “version”version:
string
Defined in: src/types/sorts.ts:2702
Version of the native context projection.