miroir/crates
jedarden 92a36612e0 feat(search-ui): add Idempotency-Key header for query coalescing (plan §13.10, §13.21)
- Add canonicalJson() helper to sort object keys recursively
- Add generateIdempotencyKey() to create per-query idempotency keys
  from index + canonicalized request body (hash-based)
- Send Idempotency-Key header on search requests for server-side coalescing
- Add unit test (test_idempotency_key.js) verifying:
  - Same parameters produce same key
  - Different parameters produce different keys
  - Key format is correct (search-{hex})
  - Canonical JSON ensures consistency across key orderings

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-31 11:51:21 -04:00
..
miroir-core feat(rebalancer): implement RF restoration scheduling on node failure 2026-05-26 23:22:11 -04:00
miroir-ctl feat(explain): display IncompleteIntegration warnings in CLI 2026-05-26 21:03:36 -04:00
miroir-proxy feat(search-ui): add Idempotency-Key header for query coalescing (plan §13.10, §13.21) 2026-05-31 11:51:21 -04:00