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 <[email protected]>
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
30 MiB
Releases
15
mosaic v0.0.31
Latest
Languages
TypeScript
63.3%
Shell
25.6%
Python
8.7%
JavaScript
1.2%
PowerShell
0.8%
Other
0.2%