export async function precondition({read, assert}) {
    const found = await find([{filter}], paths, {read});
    assert(found);
}