12 lines
1.2 KiB
Markdown
12 lines
1.2 KiB
Markdown
## 2026-06-28T21:20:34Z
|
|
You are Explorer 2 for Milestone 2: Backend & DB.
|
|
Your working directory is /home/ti/git/homaroma/.agents/explorer_m2_2.
|
|
Please analyze the codebase and formulate a precise implementation strategy for updating:
|
|
1. Prisma schema (`apps/backend/prisma/schema.prisma`): Add rootImage (String?, optional) to Menu, and columnImage (String?, optional) and hoverImage (String?, optional) to MenuItem. Explain what migration commands are needed.
|
|
2. Shared types (`packages/types/index.ts`): Expose the new fields.
|
|
3. Backend route (`apps/backend/src/routes/menus.ts`): Modify the endpoints (GET, POST, etc.) to handle, validate, save, and return these fields.
|
|
4. MCP Server tools (`apps/mcp-server/menu-tools.ts` and `apps/mcp-server/menu-toolkit.ts`): Check if any MCP tools need updating to support these new fields (both inputs and return values).
|
|
|
|
Read these files, verify their structure, check zod validators or Prisma types, and write your report to /home/ti/git/homaroma/.agents/explorer_m2_2/analysis.md. Summarize your findings, the exact file changes needed (with lines if possible), and any potential risks. Do not implement.
|
|
Once done, send a message back with your findings and the path to your analysis.md.
|