mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-28 16:58:31 +01:00
Background Patrol investigations previously inherited DefaultPlanTTL (5 minutes), so approval-mode proposals expired to needs_attention before an operator opened Pulse. - Add actionplanner.DefaultPatrolPlanTTL (24h) beside DefaultPlanTTL (5m). - Add PlanOptions.TTL in internal/actionlifecycle so broker-owned callers can override the default 5-minute interactive plan TTL. - Pass DefaultPatrolPlanTTL from patrolActionBroker.submit and NewActionRefreshPlanner so both new Patrol proposals and refreshed legacy Patrol plans remain approvable for 24 hours, aligning with investigation store retention while keeping live freshness, policy, and emergency-stop checks intact at execution time. Contract-Neutral: Set a 24-hour plan TTL on Patrol-originated action proposals and refreshes with no subsystem or API contract changes