annotateHandoff
annotateHandoff(
state,repoPath,me):GitState
Defined in: src/repo-roles.ts:149
Annotate a GitState with handoff/handoffWho (+ handoffInferred when the
handoff was auto-inferred from the PR’s reviewers rather than configured roles).
Always returns a clean state (any stale handoff is stripped first), so re-running
it after a role change correctly clears a no-longer-applicable waiting state. Only
an open + green PR carries a handoff (the only point the herd consults it);
everything else is returned without one.
Parameters
Section titled “Parameters”repoPath
Section titled “repoPath”string
string | null