Skip to main content

promote_sidecar

Function promote_sidecar 

Source
pub fn promote_sidecar(
    store: &Store,
    plugin_id: &str,
    assertions: &Value,
) -> Result<Value>
Expand description

Sidecar promotion (§124 item 36): promote selected sidecar findings into canonical relationships through the NORMAL contribution path (validate + atomic commit) — never a side door. Each assertion needs existing subject/object entity ids (no invented endpoints), a CORE ontology predicate (custom semantics stay plugin:<id>/... via plugins.contribute), and a confidence in [0,1]. Provenance stamps plugin:<id>; RESOLVED only on explicit exact: true (spec §43: a plugin may not label guesses RESOLVED), else INFERRED. Evidence ids supplied by the caller are preserved; the plugin extractor tag is added at commit time by the normal path.