miroir/crates
jedarden 7fec5f4583 test(canary): implement §13.18 canary acceptance tests
Added 12 acceptance tests for synthetic canary queries with golden
assertions (plan §13.18):

**Test Coverage:**
- ac1: Canary can be created and stored
- ac2: Canary run history accumulates over time
- ac3: Assertion failure includes actual observed values
- ac4: Capture flow records production queries (10 queries)
- ac5: Captured queries can be promoted to canaries
- ac6: Canary run history is bounded (configurable limit)
- ac7: Canary enable/disable functionality
- ac8: Canary list retrieval
- ac9: Canary deletion
- ac10: Canary update (name, interval, assertions)
- ac11: All assertion types serialize correctly
- ac12: Complex query capture with filters/sorts

**Acceptance Criteria Met:**
- Create canary → stored and retrievable
- Pass/fail history accumulates with assertion details
- Capture flow: record N queries → promote to canaries
- Run history bounded by `run_history_per_canary` (default 100)

Closes: miroir-uhj.18

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-24 21:53:20 -04:00
..
miroir-core test(canary): implement §13.18 canary acceptance tests 2026-05-24 21:53:20 -04:00
miroir-ctl feat(reshard): implement full six-phase orchestrator with admin API integration 2026-05-24 18:59:36 -04:00
miroir-proxy fix(admin-api): return 202 Accepted with miroir_task_id for topology ops 2026-05-24 20:56:32 -04:00