docs: revise PRD and CLAUDE.md after tech-stack audit#6
Merged
Conversation
Collaborator
thaimtl
commented
May 30, 2026
- Gemini: gemini-2.0-flash (text-only) -> gemini-3.1-flash-image-preview (Nano Banana 2); note no free tier, billing required, preview rate limits
- Video pipeline: 3-keyframe assumption was unsupported (verified Higgsfield, Kling, Luma all cap at 2). Now start=real photo, end=final redesign; motion prompt creates the chaos. Chaos frame is storyboard-only.
- generate-video API contract: frame1/2/3Base64 -> startFrameBase64 + endFrameBase64
- Expo API routes need a running dev server (laptop up, same LAN for demo)
- New scope: on-device persistence (expo-file-system + AsyncStorage) + /gallery screen + save-to-camera-roll (expo-media-library); RoomContext stays ephemeral, durable state in lib/storage.ts
- Stack bumps: Expo SDK 51 -> 54/55, NativeWind v4
- Clarify NativeWind = Tailwind compiled to RN styles (vanilla Tailwind is web-only)
- Add Revision Notes / Key Technical Decisions blocks documenting the why
- Gemini: gemini-2.0-flash (text-only) -> gemini-3.1-flash-image-preview (Nano Banana 2); note no free tier, billing required, preview rate limits - Video pipeline: 3-keyframe assumption was unsupported (verified Higgsfield, Kling, Luma all cap at 2). Now start=real photo, end=final redesign; motion prompt creates the chaos. Chaos frame is storyboard-only. - generate-video API contract: frame1/2/3Base64 -> startFrameBase64 + endFrameBase64 - Expo API routes need a running dev server (laptop up, same LAN for demo) - New scope: on-device persistence (expo-file-system + AsyncStorage) + /gallery screen + save-to-camera-roll (expo-media-library); RoomContext stays ephemeral, durable state in lib/storage.ts - Stack bumps: Expo SDK 51 -> 54/55, NativeWind v4 - Clarify NativeWind = Tailwind compiled to RN styles (vanilla Tailwind is web-only) - Add Revision Notes / Key Technical Decisions blocks documenting the why Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ion-and-gallery # Conflicts: # documents/reroom_PRD_only.md # workflows/CLAUDE.md
…ty gallery Sponsor-prize-driven scope change. Replaces the on-device-only storage with a cloud architecture that uses MongoDB for what it's good at (queryable documents) and Cloudinary for files (no GridFS / blobs-in-Mongo anti-pattern): - Files (3 frames + 7s video) -> Cloudinary; returns CDN URLs - Metadata + URLs -> MongoDB Atlas (redesigns collection) - /gallery becomes a PUBLIC community feed (find().sort(createdAt desc)); no auth - New API routes: POST /api/save-redesign (upload + insert), GET /api/gallery (feed) - New lib modules: lib/mongo.ts, lib/cloudinary.ts (server/API-route only) - New env vars: MONGODB_URI, CLOUDINARY_CLOUD_NAME/_API_KEY/_API_SECRET - New server deps: mongodb, cloudinary - On-device AsyncStorage demoted to optional session cache (not source of truth) - Save-to-camera-roll (expo-media-library) retained on result screen - Renamed useHiggsfield -> useVideoJob; cleaned stale "Higgsfield" refs to reflect Kling 3.0 via eachlabs Cloud-save is non-blocking: if it fails, the user still sees their video. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
ParseDotEXE
reviewed
May 30, 2026
| **Core idea:** User scans their room → Gemini generates a chaos frame and a final redesign frame → all 3 frames are passed to Higgsfield → cinematic transition video of the room transforming. | ||
| **Name:** ReRoom | ||
| **Tagline:** *Point. Redesign. Watch it happen.* | ||
| **Core idea:** User scans their room → Gemini generates a chaos frame and a final redesign frame → |
Collaborator
There was a problem hiding this comment.
could work, need to see how good the video looks with only 2 frames
- Trim Gemini model decision to one concise line; remove gemini-2.0-flash - Restore 3-frame storyboard (chaos frame kept for storyboard, not video keyframe) - Fix Key Technical Decision #2 to reflect chaos frame is storyboard-only - Update Kling 3.0 motion prompt to carry full transformation weight without a middle keyframe Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.