gatelineAPI reference
  • Deletes dispatch 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 job already reaps its own branch in ensureDispatchCheckout, so this covers the other end: a run that has reached a terminal state and will dispatch nothing further. Both namespaces are covered — the implementer's --task/ and every other role's --job/ (#406).

    Parameters

    • repoDir: string
    • runBranch: string

    Returns Promise<string[]>