How Prima Veritas Works
A deterministic event record built from canonical envelopes, hash-linked sequencing, and reproducible state export.
Event envelope structure
Source events are normalized into a canonical envelope format. Each envelope contains timestamp, origin identifier, version metadata, payload schema reference, and deterministic ordering fields.
The envelope format is stable and versioned. Schema evolution does not invalidate historical events. Every record remains interpretable in context.
Hash chaining
Each event is cryptographically hashed. The hash of the previous event is included in the next record, forming an append-only chain.
Reordering, mutation, or deletion changes the chain state and invalidates subsequent hashes. Integrity is intrinsic to the structure.
Deterministic export
At any point in time, the full chain can be exported as a deterministic bundle. The bundle includes state reconstruction rules and event history.
Given the same input chain, the export process produces identical output. No hidden execution paths or nondeterministic transforms are permitted.
Verification model
Any exported bundle can be independently validated against its originating chain. Verification confirms structural integrity, ordering, and hash continuity.
Validation does not require access to the original operational system. The record is self-sufficient.
Projection layer
The event chain can be projected into domain-specific views without mutating underlying history. Read models are derived, not stored.
Multiple projections may coexist. All are reproducible from the same canonical chain.