- 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) |
||
|---|---|---|
| .. | ||
| extraction-service | ||
| mcp-server | ||
| monitoring | ||
| platform-service | ||