learning_ai_common_plat/services
saravanakumardb1 dd113b96c9 fix(flags): critical partition key bug + audit snapshot integrity + anonymous rollout
- repository.ts: update() and remove() now require productId as partition key
  (was passing 'id' as both params — works with memory provider but fails on Cosmos DB)
- repository.ts: updateSegment() and removeSegment() also fixed
- routes.ts: all repo.update/remove calls updated to pass productId
- routes.ts: audit 'before' snapshots now use JSON deep copy instead of shallow spread
  (prevents nested object mutation from corrupting audit trail)
- routes.ts: kill switch audit now uses repo.update() return value for 'after' snapshot
- evaluator.ts: anonymous users (no userId) with partial percentage (0 < pct < 100)
  now correctly return 'off' instead of falling through to default variation
  (can't deterministically hash without a userId)
2026-03-21 11:50:08 -07:00
..
extraction-service fix(extraction-service): fix QueueJob generic type mismatch in createJob 2026-03-19 18:12:34 -07:00
mcp-server feat(mcp-server): add team provisioning follow-up hooks 2026-03-15 09:59:35 +00:00
monitoring fix(monitoring): update health-check endpoints for consolidated services 2026-02-17 20:53:37 -08:00
platform-service fix(flags): critical partition key bug + audit snapshot integrity + anonymous rollout 2026-03-21 11:50:08 -07:00