miroir/docs
jedarden e7721f962f test(search-ui): add HTTP endpoint tests and scoped key rotation documentation
Added comprehensive tests for the POST /_miroir/ui/search/{index}/rotate-scoped-key
endpoint and verified old key rejection after rotation. Also added documentation
for the scoped key rotation procedure.

New tests:
- test_http_endpoint_rotate_scoped_key_with_admin_auth: Verifies HTTP endpoint
  triggers rotation with admin authentication
- test_http_endpoint_force_rotation_bypasses_timing: Verifies force=true
  bypasses the timing gate
- test_old_scoped_key_rejected_after_rotation: Verifies old scoped keys are
  cleared from Redis after rotation completes

Documentation:
- docs/runbooks/scoped-key-rotation.md: Complete runbook for scoped key rotation
  covering automatic rotation flow, manual rotation via API/UI, timing and cadence,
  monitoring, troubleshooting, and verification steps.

All acceptance criteria for bead bf-5dy9k are now satisfied:
1.  Comprehensive tests for rotate-scoped-key endpoint
2.  Leader-coordinated rotation before expiry (timing gate) - existing tests
3.  Force=true bypasses timing gate - existing tests
4.  Revocation safety gate confirmed - existing tests
5.  Old scoped keys rejected after rotation - new test
6.  Rotation procedure and timing documented
7.  Integration tests for full rotation lifecycle - existing tests

Closes: bf-5dy9k
2026-05-26 18:29:11 -04:00
..
benchmarks miroir-zc2.3: Validate 2× transient load caveat for online resharding (P12.OP3) 2026-05-20 07:24:22 -04:00
ctl docs(miroir-ctl): add subcommand runbooks and help text (P11.4, miroir-uyx.4) 2026-05-24 11:47:36 -04:00
dump-import miroir-zc2.5: Fix dump import compatibility matrix enhancement bead refs 2026-05-20 07:16:06 -04:00
horizontal-scaling P6.11: Add single-pod oversized mode support (§14.10 vertical scaling escape valve) 2026-05-20 07:29:39 -04:00
migrations docs(migrations): add re-index and live cutover migration guides (P11.3) 2026-05-24 14:39:58 -04:00
notes docs(helm): add Helm chart publication CI documentation 2026-05-24 14:23:32 -04:00
onboarding docs: add troubleshooting cross-links to production and examples guides 2026-05-25 02:55:06 -04:00
operations P3.3.d: Fix compilation - add missing local_search_ui_rate_limiter field 2026-04-26 11:18:02 -04:00
plan feat(logging): add structured JSON logging tests and docs (plan §10, P7.5) 2026-05-24 10:00:21 -04:00
research Merge remote-tracking branch 'origin/master' 2026-05-24 05:21:32 -04:00
runbooks test(search-ui): add HTTP endpoint tests and scoped key rotation documentation 2026-05-26 18:29:11 -04:00
troubleshooting docs(troubleshooting): add common issues guide and diagnostic playbook (P11.5) 2026-05-24 14:02:13 -04:00
arm64-support.md OP#6: Add ARM64 (aarch64-unknown-linux-musl) target support 2026-05-08 15:25:12 -04:00
benchmarks.md feat(bench): add performance benchmarks and regression gate (P9.5) 2026-05-25 00:44:33 -04:00
chaos_testing_report.md P12.OP1: Shard migration write safety - chaos testing 2026-05-08 15:29:48 -04:00
migration_runbook.md docs(troubleshooting): add common issues guide and diagnostic playbook (P11.5) 2026-05-24 14:02:13 -04:00
redis-memory-accounting.md Phase 3 (miroir-r3j): Task Registry + Persistence — Complete 2026-05-09 02:29:38 -04:00
redis-memory.md P3: Complete Phase 3 — Task Registry + Persistence (SQLite + Redis) 2026-05-02 16:52:25 -04:00
search_ui_analytics_beacon.md feat(search-ui): add analytics beacon CDC integration tests and docs 2026-05-26 18:23:52 -04:00
TESTING.md fix(tests): allow docker-compose integration tests to skip gracefully when Docker unavailable 2026-05-26 13:56:25 -04:00
trade-offs.md OP#3: Document S-change (resharding) vs N-change (node scaling) trade-offs 2026-05-08 15:25:53 -04:00
troubleshooting.md docs(troubleshooting): add common issues guide and diagnostic playbook (P11.5) 2026-05-24 14:02:13 -04:00
versioning-policy.md bf-35t4: Commit current main state before merge 2026-05-19 22:52:18 -04:00