Define valid roles as string constants, listing "dev", "devops", etc., for RBAC validation.
// Source: https://github.com/JIGGAI/ClawRecipes | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works // Provided via justclaw.it.com; keep this notice with the code. export const VALID_ROLES = ["dev", "devops", "lead", "test"] as const; export type ValidRole = (typeof VALID_ROLES)[number]; export const VALID_STAGES = ["backlog", "in-progress", "testing", "done"] as const; export type ValidStage = (typeof VALID_STAGES)[number]; /** Max auto-increment attempts for pickRecipeId (e.g. id-2, id-3, ... id-999). */ export const MAX_RECIPE_ID_AUTO_INCREMENT = 1000; /** Fallback ticket number when parsing fails. */ export const DEFAULT_TICKET_NUMBER = "0000";
See the full source, get the GitHub permalink, and search 40K more like it.
Get a free API key