Expand description
Port for persisting SyndicResponse entities (Story 3.7 โ FR32 INV-23).
All methods return Result<_, AppError> natively โ no legacy String
error debt to migrate later (CRITICAL.md #4 / #555).
The repository also exposes the SLA-escalation tracking primitives
(SyndicResponseRepository::find_overdue_tickets,
SyndicResponseRepository::mark_ticket_escalated) used by the cron job
crate::infrastructure::jobs::sla_escalation_job::SlaEscalationJob.
These primitives are intentionally on this repository (and not on
TicketRepository) because they are part of the SyndicResponse / SLA
bounded responsibility and the existing TicketRepository still carries
the legacy Result<_, String> surface (cluster #555 migration WIP).