setProvenance

open fun setProvenance(propositionId: String, entries: List<ProvenanceEntry>): Proposition?

Authoritatively set a proposition's provenance to exactly entries, removing any not listed.

Backends whose normal save path preserves unloaded provenance must override this operation. It lives on the base store contract so evidence-sensitive callers such as collector undo can ask for it directly, without probing for a richer repository type at runtime.

Return

the updated proposition, or null if no proposition with that id exists.