• feat(provider): validate scope_filter against the v0.5 4-axis lattice

    vh released this 2026-06-16 01:24:01 -07:00

    bifrost 0.7.0 (wire v0.5) makes agent_self canonical: the scope lattice is
    now {end_user, group, tenant, agent_self}. Our store was MORE permissive than
    bifrost's reference (no _validate_scope_filter), which silently 0-zeroed the
    #295 cold recall instead of a loud 400. Now matched: search rejects an
    out-of-lattice axis with InvalidFilter (-> memory.invalid_filter 400), agent_self
    admitted. Purely additive — everything that validated before still validates.

    Closes the parity gap our own foot-gun flag opened (bifrost-dev shipped the
    lattice add #10 off it). Pin bumped bifrost>=0.6.1 -> >=0.7.0. Contract
    search PRE-003 + lattice_axes test; 2 new store tests; full suite 429 green.

    Downloads