gatelineAPI reference
  • gateline arm's body: decide()-style flow with { action: 'arm' } (DecisionError → exit 1 with its message — covers already-armed; nonexistent-run comes from findRun's existing refusal), then a best-effort draft-PR ensure (R8) in the source's local clone (workingDirectory, as sync uses) — a skipped note is success, and so is a source with no local clone, which says it ensured nothing.

    Parameters

    • slug: string
    • flags: RepositoryFlags

    Returns Promise<number>