Skip to main content

mem_predates_binding

Function mem_predates_binding 

Source
pub fn mem_predates_binding(engine: &Engine, resolved: &ResolvedIngest) -> bool
Expand description

Whether the destination mem predates its binding — the adopt / onboarding signal (E1). True when the mem carries no anchors and the binding has no recorded #synced baseline for any facet: there is nothing to diff against and nothing anchored yet, so 0% anchored is expected (a first sync), not drift. A genuinely-fresh mem legitimately gets the same first-sync framing — the signal is deliberately generic.

The single canonical adopt predicate: the sync brief (render_sync_brief_for), the tier-1 fidelity report (super::report::compute_fidelity_report), and the status rollup (super::status::projection_rollup) all read it, so onboarding framing and the no-red-verdict-from-pre-binding-history refusal stay in lockstep across every surface.