/** Configuration for the email checklist feature. */ export const checklistConfig = { hmacSecret: process.env.RTASKS_HMAC_SECRET || "", apiKey: process.env.RTASKS_API_KEY || "", baseUrl: process.env.SITE_URL || "https://rspace.online", tokenExpiryDays: parseInt(process.env.RTASKS_TOKEN_EXPIRY_DAYS || "7", 10), repoBase: process.env.RTASKS_REPO_BASE || "/repos", } as const; export function repoPath(repo: string): string { const safe = repo.replace(/[^a-zA-Z0-9_-]/g, ""); return `${checklistConfig.repoBase}/${safe}`; }