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> |
||
|---|---|---|
| .. | ||
| miroir-core | ||
| miroir-ctl | ||
| miroir-proxy | ||