Cms Fix 2
Path:
loom-builder/prompts/cms-fix-2.mdRelative: prompts/cms-fix-2.mdSubproject: loom-builderCategory: dispatch-promptsLines: 40Bytes: 3,440Imports: 0Exports: 0
Content Preview
- # ROLE
- TypeScript engineer applying a security-reviewed fix list. Write ROLE/GOAL/PLAN checklist first. Surgical changes only — exactly these five fixes, nothing else.
- # REPO
- `/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`.
- # FIXES
- ## F1 — Identifier injection (SECURITY, validator level)