Cms Fix 2

loom-builderpromptmarkdown
Path: loom-builder/prompts/cms-fix-2.mdRelative: prompts/cms-fix-2.mdSubproject: loom-builderCategory: dispatch-prompts
Lines: 40Bytes: 3,440Imports: 0Exports: 0

Content Preview

  1. # ROLE
  2. TypeScript engineer applying a security-reviewed fix list. Write ROLE/GOAL/PLAN checklist first. Surgical changes only — exactly these five fixes, nothing else.
  3. # REPO
  4. `/home/mikes/leverage-cms/leverageai-cms-v2/` — read first: `packages/schema/src/types/validators.ts`, `worker/src/lib/repo.ts` (listSchemas ~line 246), `worker/src/routes/extensions.ts`, `worker/src/lib/schema-codegen.ts`, `worker/test/in-memory-repo.ts`.
  5. # FIXES
  6. ## F1 — Identifier injection (SECURITY, validator level)