pub struct Provenance {
pub parent: String,
pub parent_type: String,
}Expand description
Tranche-1 seam-freeze G2 provenance pointer.
Surfaces the parent CloudEvent that caused the event carrying this
provenance block, so downstream auditors (taudit, tencrypt) can walk
artifact → compliance.summary → spec → derivation token without
operator-supplied joins. See docs/seam-freeze-v1.md §3 G2.
Today the supervisor populates this on:
dev.cellos.events.cell.identity.v1.revoked— revoke is caused by the cell that materialized the identity, soparentis thecell.lifecycle.v1.startedevent ID andparentTypeis the started event’s CloudEvent type URN.dev.cellos.events.cell.export.v2.completedanddev.cellos.events.cell.export.v2.failed— exports are caused by the originating cell run, soparentis the started event ID with the matchingparentType.
The struct is additive: producers omit it on legacy emissions, and the schemas tolerate its absence so v1/v2 consumers keep parsing legacy events unchanged.
parent is the producing tool’s CloudEvent envelope id — a stable URN
is preferred (urn:cellos:event:<uuid>) but a raw UUID is accepted in
v1. parent_type carries the parent event’s CloudEvent type so a
consumer can route without resolving the parent first.
Fields§
§parent: StringCloudEvent id (or URN) of the parent event that caused this event.
parent_type: StringCloudEvent type of the parent event (e.g.
dev.cellos.events.cell.lifecycle.v1.started). Lets consumers
dispatch on the parent class without dereferencing it.
Trait Implementations§
Source§impl Clone for Provenance
impl Clone for Provenance
Source§fn clone(&self) -> Provenance
fn clone(&self) -> Provenance
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Provenance
impl Debug for Provenance
Source§impl PartialEq for Provenance
impl PartialEq for Provenance
Source§fn eq(&self, other: &Provenance) -> bool
fn eq(&self, other: &Provenance) -> bool
self and other values to be equal, and is used by ==.