orchestrata_governance.factory.enforcement

Reference › components › governance › orchestrata_governance › factory › enforcement

Write enforcement and attestation in the factory. enforce (168 lines) checks governed writes against the writer_registry of known writer_identity entries, recorded as governed_write_record in the event_ledger. Attestations are attestation, signed_attestation and attestation_store (locked-file storage), signed through signer, hmac_signer and signing, with in_toto_link and slsa_provenance as the provenance formats. bootstrap sets the enforcement up; delta_classification, delta_violation and verdict describe the outcomes.

20 modules, 1,206 lines of code.

Modules

Module Summary LOC Lifted from
__locked_file 79
__locked_jsonl_file__attestation_store 58
attestation Residue-only lift of frozen factory.enforcement.attestation (ADR-0103 P2-F). 88 lifted from orchestrata_ultimate.factory.enforcement.attestation
attestation_store 164 lifted from orchestrata_ultimate.factory.enforcement.attestation_store
bootstrap Residue-only lift of frozen factory.enforcement.bootstrap (ADR-0103 P2-F). 130 lifted from orchestrata_ultimate.factory.enforcement.bootstrap
delta_classification 17
delta_violation 16
enforce Residue-only lift of frozen factory.enforcement.enforce (ADR-0103 P2-F). 168 lifted from orchestrata_ultimate.factory.enforcement.enforce
event_ledger 115
governed_write_record 63
hmac_signer 39
in_toto_link 26
models Residue-only lift of frozen factory.enforcement.models (ADR-0103 P2-F). 7 lifted from orchestrata_ultimate.factory.enforcement.models
signed_attestation 21
signer 27
signing Residue-only lift of frozen factory.enforcement.signing (ADR-0103 P2-F). 24 lifted from orchestrata_ultimate.factory.enforcement.signing
slsa_provenance 30
verdict 16
writer_identity 24
writer_registry 94

Dependency diagram

Package dependency diagram orchestrata_governance.factory.enforcement