kuaifan 452af4bd2f fix(ai): address issues from second code review
- Add STATUS_APPLIED and STATUS_DISMISSED constants to model
- Add markApplied() and markDismissed() methods
- Update event status after apply/dismiss actions (prevent duplicate ops)
- Validate related_task_id exists and user has permission
- Filter empty or overly long subtask names before creation

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-01-21 15:30:06 +00:00
..
2025-04-24 08:57:43 +08:00
2025-02-22 11:29:46 +08:00
2024-04-04 08:42:41 +08:00
2024-04-24 19:22:36 +08:00
2024-04-04 08:42:41 +08:00
2026-01-14 20:15:48 +08:00
2024-04-04 08:42:41 +08:00
2024-10-23 16:14:42 +08:00
2024-04-04 10:31:12 +08:00
2026-01-14 20:15:48 +08:00
2024-04-04 08:42:41 +08:00
2024-04-04 08:42:41 +08:00
2025-08-19 20:06:38 +08:00
2024-04-04 08:42:41 +08:00
2024-05-31 18:14:51 +08:00
2025-09-28 06:33:38 +08:00
2024-04-04 08:42:41 +08:00
2024-04-04 08:42:41 +08:00
2024-04-04 08:42:41 +08:00
2025-09-28 06:33:38 +08:00
2025-08-19 20:06:38 +08:00
2025-02-22 11:29:46 +08:00
2024-04-04 08:42:41 +08:00
2025-08-19 20:06:38 +08:00
2026-01-14 20:15:48 +08:00
2026-01-14 20:15:48 +08:00
2024-10-23 16:14:42 +08:00
2025-12-30 05:49:18 +00:00
2024-10-23 16:14:42 +08:00
2024-04-04 08:42:41 +08:00
2026-01-14 20:15:48 +08:00
2026-01-14 20:15:48 +08:00
2026-01-14 20:15:48 +08:00
2025-05-26 23:04:00 +08:00
2024-04-04 08:42:41 +08:00
2025-08-01 12:51:36 +08:00
2025-07-18 16:41:22 +08:00
2024-11-19 11:22:00 +08:00
2025-09-28 06:33:38 +08:00
2025-09-28 06:33:38 +08:00
2026-01-14 20:15:48 +08:00
2026-01-14 20:15:48 +08:00
2025-09-28 06:33:38 +08:00
2025-12-05 02:10:37 +00:00
2025-02-22 11:29:46 +08:00
2026-01-14 20:15:48 +08:00
2024-10-23 16:14:42 +08:00
2025-02-22 11:29:46 +08:00
2024-04-04 08:42:41 +08:00