readRepoRoles
readRepoRoles(
repoPath):RepoRoles
Defined in: src/repo-roles.ts:123
Read the COMMITTED roles file from the same ref the write path pushes to
(origin/<default>, falling back to the local default branch) — NOT the
working-tree checkout, which usually sits on an unrelated feature branch and
would never see just-set roles. Missing file / bad JSON → no roles. Cached
with a short TTL so the per-session poll doesn’t shell git every tick.
Parameters
Section titled “Parameters”repoPath
Section titled “repoPath”string