0044481b4c1eca9234cef139b7904209bc3385d5
M2-003: Audited PreferencesRepo — all five functions (findByUser, findByUserAndKey, findByUserAndCategory, upsert, remove) already enforce userId filtering at the DB WHERE clause level. No gaps found. M2-004: Fixed agent memory tools (memory_search, memory_save_preference, memory_save_insight, memory_get_preferences) — removed userId from all tool parameter schemas so the LLM cannot inject an arbitrary user ID. The userId is now bound from the authenticated session at tool-creation time via the new sessionUserId parameter on createMemoryTools(). buildToolsForSandbox() and the doCreateSession() call site are updated to thread the session userId through. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Merge pull request 'feat(gateway): add Anthropic, OpenAI, Z.ai LLM providers (P8-002)' (#212) from feat/p8-002-llm-providers into main
Description
Self-hosted multi-user AI agent platform — web dashboard, TUI, remote control, shared memory, mission orchestration
Releases
11
mosaic v0.0.29
Latest
Languages
TypeScript
74.5%
Shell
19.7%
PowerShell
3%
JavaScript
1.4%
Python
1%
Other
0.4%