Implements the 14-table task-store schema from plan §4 and a Redis mirror of the same keyspace so the system can survive pod restarts and run multi-replica HPA. ## Changes - TaskStore trait defines all 14 table operations - SqliteTaskStore implements full persistence with WAL mode - RedisTaskStore implements HA-compatible backend with _index sets - Schema migration system with version tracking - TaskRegistryImpl supports runtime-selected backend - Helm values.schema.json enforces redis+replicas>1 constraint - Comprehensive property tests (proptest) and integration tests - Phase 3 DoD integration tests verify all criteria met ## 14 Tables 1. tasks - Miroir task registry 2. node_settings_version - per-(index, node) settings freshness 3. aliases - single-target + multi-target aliases 4. sessions - read-your-writes session pins 5. idempotency_cache - write dedup 6. jobs - work-queued background jobs 7. leader_lease - singleton-coordinator lease 8. canaries - canary definitions 9. canary_runs - canary run history 10. cdc_cursors - per-(sink, index) CDC cursor 11. tenant_map - API-key → tenant mapping 12. rollover_policies - ILM rollover policies 13. search_ui_config - per-index search-UI config 14. admin_sessions - Admin UI session registry Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| miroir-core | ||
| miroir-ctl | ||
| miroir-proxy | ||