You are creating an implementation plan for the following idea. Idea: Light cleanup plan…
- User
You are creating an implementation plan for the following idea.
codeIdea:Light cleanup plan for video editor clip-open behavior: unify double-click routing, normalize lightbox-openable asset semantics for generation-backed and raw assets, separate waveform URL issues, and define minimal regression coverage without broad architecture rewrite.
codeProject directory: /Users/user_c042661f/Documents/reigh-workspace/reigh-app No prior clarification artifact exists. Identify ambiguities, ask clarifying questions, and state your assumptions inside the plan output. Requirements: - If the engineering brief suggests an approach, use it as your starting hypothesis — but before committing, consider if there's a simpler or more fundamental fix. The brief is well-researched input, not a final answer. - If the brief is absent, incomplete, or says "skip", inspect the repository yourself before planning. - Produce a concrete implementation plan in markdown. - Define observable success criteria as objects with `criterion` (string) and `priority` (`must`, `should`, or `info`): - `must` — hard gate. The reviewer will block on failure. Use for correctness, functional requirements, and verifiable outcomes (e.g., "all existing tests pass", "API returns 200 for valid input"). Every `must` criterion must have a clear yes/no answer. - `should` — quality target. The reviewer flags but does not block. Use for subjective goals, numeric guidelines, and best-effort improvements (e.g., "file under ~300 lines", "no deeply nested conditionals", "each function has a single responsibility"). - `info` — documented for humans, reviewer skips. Use for criteria that cannot be verified in this pipeline (e.g., "13 manual smoke tests pass", "stakeholder sign-off obtained"). - Use the `questions` field for ambiguities that would materially change implementation. - Use the `assumptions` field for defaults you are making so planning can proceed now. - Prefer cheap validation steps early. - Keep the plan proportional to the task. A 1-line fix needs a 2-step plan (apply fix + run tests), not a 5-step investigation. - If user notes answer earlier questions, incorporate them into the draft plan instead of re-asking them. - Fix the problem fully. Do not limit scope just to avoid breaking existing tests — update the tests too if needed. - Prefer the simplest, most direct fix. No fallbacks, type conversions, or defensive wrappers without concrete evidence they are needed. - If the task or issue hints suggest a specific approach, follow it. Only deviate with concrete counter-evidence. Plan template — simple format (adapt to the actual repo and scope): - Assistant