Cms Fix 1

loom-builderpromptmarkdown
Path: loom-builder/prompts/cms-fix-1.mdRelative: prompts/cms-fix-1.mdSubproject: loom-builderCategory: dispatch-prompts
Lines: 30Bytes: 2,011Imports: 0Exports: 0

Content Preview

  1. # ROLE
  2. TypeScript engineer applying a reviewed fix list to an existing codebase. Write ROLE/GOAL/PLAN checklist first. Surgical changes only.
  3. # REPO
  4. `/home/mikes/leverage-cms/leverageai-cms-v2/` — read `worker/src/lib/repo.ts`, `worker/src/routes/sites.ts`, `worker/src/routes/content.ts`, `worker/test/` first.
  5. # FIXES (exactly these three, nothing else)
  6. ## F1 — D1Repo.listContent ordering
  7. `worker/src/lib/repo.ts` (~line 114): Drizzle implementation of listContent has no orderBy; in-memory imp