Skip to content

armgit / pibot

Public Imported from GitHub
0

Open-source, local-first AI agent team for your desktop: multi-agent group chats, computer use, browser, MCP, routines and approvals. macOS, Windows, Linux + Android. Built on pi.

647 B
Raw Blame
export const VERDICT_ROLE_IDS: readonly string[] = ["qa-engineer", "code-reviewer"];
export function isVerdictRole(roleId: string | undefined): boolean {
  return roleId !== undefined && VERDICT_ROLE_IDS.includes(roleId);
}

/** Built-in engineering category, excluding the verification roles; Bot rows retain only role ids. */
export const IMPLEMENTATION_ROLE_IDS: readonly string[] = [
  "devops",
  "backend-dev",
  "plugin-builder",
  "frontend-dev",
  "tech-writer",
  "fullstack-dev",
];
export function isImplementationRole(roleId: string | undefined): boolean {
  return roleId !== undefined && IMPLEMENTATION_ROLE_IDS.includes(roleId);
}