pub fn draft_trigger_ticket(
repo_root: &Path,
trigger: &Trigger,
) -> Result<TriggerDraft>Expand description
Write the trigger’s ticket, deduped by slug: an existing ticket file for
the same workflow run / PR is a no-op (TriggerDraft::Duplicate).
Performs no git operations; the ticket enters the normal pipeline at
state New, exactly like a human-authored one.