Governor
The governor's held case as a store writes it: the case id, the protocol that governs it, the case revision, the current revision of every declared artifact, the value of every case input the protocol declares, the independence dimensions the host declared for each evidence producer, every evidence record received with whether it applies, and every explicit decision recorded for it; and the observations kept beside the cases.
loom.governor is one of loom's bounded contexts. All domains.
Types
CompletionRule
loom.governor.CompletionRule is one of ExactlyOne and FirstDeclared.
StoredArtifact
loom.governor.StoredArtifact is a record of two fields:
artifact—Stringrevision—String
StoredCase
loom.governor.StoredCase is a record of eight fields:
id—loom.governor.StoredCaseIdprotocol—Stringrevision—Integerartifacts—List<loom.governor.StoredArtifact>inputs—List<loom.governor.StoredInput>independence—Optional<List<loom.governor.StoredIndependence>>, which may be absent- evidence —
List<loom.governor.StoredEvidence> decisions—Optional<List<loom.evaluation.ExplicitDecision>>, which may be absent
StoredCaseId
loom.governor.StoredCaseId wraps String and is not interchangeable with one: the whole value of naming it separately is the crossings the model then refuses.
StoredEvidence
loom.governor.StoredEvidence is a record of two fields:
data—loom.governor.StoredEvidenceDataapplies—Boolean
StoredEvidenceData
loom.governor.StoredEvidenceData is a record of eight fields:
evidence_id—Uuidcase_id—loom.governor.StoredCaseIdkind—Stringsubject_revision—Integerproducer—Stringobservation_ids—List<Uuid>facts—Jsonprovenance—Json
StoredIndependence
loom.governor.StoredIndependence is a record of two fields:
producer—Stringdimensions—List<String>
StoredInput
loom.governor.StoredInput is a record of two fields:
input—Stringvalue—String
StoredObservation
loom.governor.StoredObservation is a record of five fields:
observation_id—Uuidsource—Stringsubject—Stringobserved_at—Timestamppayload—Json
Three of the types above are reached by nothing else in this system: loom.governor.CompletionRule, loom.governor.StoredCase and loom.governor.StoredObservation. No entity, view, command, event, error or crossing names them, so it is either vocabulary something outside this specification uses or a leftover — and only a person can tell which.
Generated from loom v1 · model digest 687ce3d39bdb34d56d1fe0c221f558534fa9c3e8eda9e34862b5b742d61331e9 · contract digest slice-sha256/2:804de728bf5e61ed21d9cfba05604edf31ad1654d8750d4619eed2a5d69cf023. Do not edit this file; change the specification and regenerate it with task docs-generate.