b5d600e39bd6f3ab2e4e3ea8f2a770ec25cd9485
Security audit findings and fixes: M2-001 — searchByEmbedding: confirmed already user-scoped via WHERE user_id M2-002 — findByUser: confirmed already user-scoped M2-002 — decayOldInsights: was global (no userId filter); now requires userId param and scopes UPDATE to eq(insights.userId, userId). Added decayAllInsights as a separate system-only method for cron tier management. Additional unscoped operations fixed: - findById: added userId param + AND eq(userId) to prevent cross-user read - update: added userId param + AND eq(userId) to prevent cross-user write - remove: added userId param + AND eq(userId) to prevent cross-user delete - memory.controller getInsight/removeInsight: now pass user.id for ownership - summarization.service: switched tier-management cron to decayAllInsights 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%