The postDraft lifecycle hook runs just after your pattern is drafted.
postDraft
null hook(Pattern pattern)
pattern.on('postDraft', pattern => { // Mutate the pattern object here }
The postDraft hook is rarely used, but it’s there if you need it.