pub struct ProvenanceReport {
pub inline: Vec<String>,
pub proposal_backed: Vec<String>,
pub remnant: Vec<String>,
pub actors: usize,
pub proposals: usize,
}Expand description
v0.701: per-finding provenance classification for the event-sourcing
migration. Where verify_replay proves the materialized findings are
reducible, this reports why each one is reducible — exactly which
on-disk derived view still pins a finding to git — so a migration can
target the gap and a decommit can be justified one bucket at a time.
Each finding lands in exactly one bucket (inline takes precedence, so a finding asserted-by-proposal then superseded-inline counts as inline — its current body is in the log):
inline: an assert/supersede event carries the full body in its payload; reducible fromevents/alone.proposal_backed: an assert event exists but hydrates its body from the signed proposal store; still needsproposals/.remnant: no assert/supersede event targets it; seeded straight from thefindings/cache. Predates the event-first discipline.
A frontier is fully event-sourced iff proposal_backed and remnant
are both empty: then events/ reduces to its whole finding set and the
derived views are pure caches, safe to decommit. This is the explanatory
companion to verify_replay, not a trust gate — verify_replay remains
the exact, byte-parity invariant.
Fields§
§inline: Vec<String>§proposal_backed: Vec<String>§remnant: Vec<String>§actors: usize§proposals: usizeImplementations§
Source§impl ProvenanceReport
impl ProvenanceReport
Sourcepub fn fully_event_sourced(&self) -> bool
pub fn fully_event_sourced(&self) -> bool
True when every materialized finding is reducible from the event log alone (no proposal-backed bodies, no pre-event remnants).
Trait Implementations§
Source§impl Clone for ProvenanceReport
impl Clone for ProvenanceReport
Source§fn clone(&self) -> ProvenanceReport
fn clone(&self) -> ProvenanceReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more