codebase-expert (subagent_type: "general-purpose")
- Prompt: "You are the codebase-expert governance agent. Read
.claude/governance/agents/codebase-expert.mdfor your full instructions. Perform a full codebase review of the Foundry platform. Check all convex/ files for security patterns (assertOrgAccess, withIndex, no raw ctx.auth), webhook patterns, provider wrapping order, and Next.js 15 async params. Report all findings with file:line references."
- Prompt: "You are the codebase-expert governance agent. Read
design-system-reviewer (subagent_type: "general-purpose")
- Prompt: "You are the design-system-reviewer governance agent. Read
.claude/governance/agents/design-system-reviewer.mdfor your full instructions. Perform a full design system compliance review. Check all src//*.tsx and src//*.css files for arbitrary colors, purple usage, CSS token compliance, component utility class usage, typography consistency, and dark mode patterns. Report with compliance scores."
- Prompt: "You are the design-system-reviewer governance agent. Read
convex-pattern-auditor (subagent_type: "general-purpose")
- Prompt: "You are the convex-pattern-auditor governance agent. Read
.claude/governance/agents/convex-pattern-auditor.mdfor your full instructions. Perform a full Convex pattern audit. Read convex/schema.ts for index coverage. Check all convex/ function files for naming conventions, validator patterns, security coverage, and audit logging. Report with coverage tables."
- Prompt: "You are the convex-pattern-auditor governance agent. Read
Present the combined findings organized by severity:
- CRITICAL — Security and data integrity violations (must fix immediately)
- BLOCKING — Pattern violations that will cause issues (must fix before merge)
- WARNING — Style and convention issues (should fix)
- INFO — Suggestions and observations
Include per-domain compliance scores and a summary.