feat(wechat): add Intent Transaction Layer with unified task schema
Introduce Draft → Confirm → Commit flow for WeChat schedule intents behind feature flags, plus h5_tasks dual-write/read aggregation and rollout scripts so reminders and automations get explicit user confirmation before persisting. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -145,7 +145,7 @@ export function createScheduledTaskService(pool, { defaultTimezone = DEFAULT_TIM
|
||||
`SELECT *
|
||||
FROM h5_scheduled_tasks
|
||||
WHERE user_id = ?
|
||||
AND status = 'active'
|
||||
AND status IN ('active', 'locked')
|
||||
AND recurrence = ?
|
||||
AND hour <=> ?
|
||||
AND minute = ?
|
||||
|
||||
Reference in New Issue
Block a user