pub fn plan(
own: &[OwnNode],
store: &[StoreFact],
removed: &BTreeSet<(String, String)>,
node: impl Fn(&str) -> Option<NodeView>,
present: &Present,
) -> Vec<Action>Expand description
The actions that bring the vault in line with the store, in node id order (deterministic).
removed are the (category, key) identities the knowledge journal
records as removed. An empty store withdraws only those: a store that
was reset or could not be read never withdraws everything.