Matthew Raymer
de6331aabd
feat(android): implement Phase 1.2 TTL-at-fire enforcement
- Add DailyNotificationTTLEnforcer with freshness validation logic
- Add TTL validation to scheduling path before arming notifications
- Implement skip rule: if (T - fetchedAt) > ttlSeconds → skip arming
- Add TTL violation logging with TTL_VIOLATION code
- Add comprehensive unit tests for TTL enforcement
- Add TTL enforcer integration to DailyNotificationPlugin
- Add phase1-2-ttl-enforcement.ts usage examples
This implements the critical Phase 1.2 gate for content freshness:
- Notifications with stale content are automatically skipped
- TTL violations are logged and tracked for analytics
- Freshness validation prevents delivery of outdated content
- Configurable TTL settings support different use cases
- Integration with existing scheduling infrastructure
Files: 5 changed, 878 insertions(+)
2025-09-08 09:58:15 +00:00
..
2025-03-25 13:13:55 +00:00
2025-03-25 13:13:55 +00:00
2025-09-08 09:58:15 +00:00
2025-09-08 09:49:08 +00:00
2025-03-25 13:13:55 +00:00