- Add POST /routines/:id/trigger as canonical endpoint for manual routine triggers - Keep POST /routines/:id/run as backward-compatible alias with identical behavior - Remove duplicate recordRun calls from routine route handlers (persistence handled by RoutineRunner.completeRoutineExecution) - Update webhook auth to return 401 instead of 403 for missing/invalid signature headers - Add comprehensive tests for /trigger endpoint and double-persist fix
166 KiB
166 KiB