gatelineAPI reference
  • Deletes task branches left behind by failed folds for a finished run (#225). Retention buys the escalated human a diff to inspect; it must not accrue local refs forever. A re-dispatch of the same task already reaps its own branch in ensureTaskCheckout, so this covers the other end: a run that has reached a terminal state and will dispatch nothing further.

    Parameters

    • repoDir: string
    • runBranch: string

    Returns Promise<string[]>