Session and long-term recalls can leak across scopes in some flows.
scope=session=> query withrun_idonlyscope=long-term=> query withuser_idonlyscope=all=> merge session+long-term and de-dup deterministically
- Enforce strict id routing in provider methods (
search,getAll,addwhere applicable). - Add guard rails that reject ambiguous scope+id combinations.
- Add smoke tests:
- write session marker, verify absent from long-term search
- write long-term marker, verify absent from session search
- verify scope=all returns both
- Scope leakage tests pass twice in a row against live R720 API.
- Dashboard scope views align with tool-level scope results.