|
| 1 | +# LocalVideo Development Workflow |
| 2 | + |
| 3 | +This repository uses a mandatory milestone-based delivery loop for feature work, refactors, and non-trivial fixes. |
| 4 | + |
| 5 | +## Core Rule |
| 6 | + |
| 7 | +Every meaningful task must be executed as a sequence of phases. Each phase must be completed, verified, committed, and pushed to GitHub before the next phase begins. |
| 8 | + |
| 9 | +## Required Loop |
| 10 | + |
| 11 | +1. Split the requested work into milestone-based phases that match product behavior or functional boundaries. |
| 12 | +2. Implement only the current phase. |
| 13 | +3. Run the verification that proves the current phase works. |
| 14 | +4. Create one scoped commit for that phase. |
| 15 | +5. Push the phase commit to GitHub. |
| 16 | +6. Continue into the next phase immediately unless a real blocker appears. |
| 17 | + |
| 18 | +## Constraints |
| 19 | + |
| 20 | +- Do not batch multiple milestones into one commit. |
| 21 | +- Do not leave a phase in a knowingly broken state. |
| 22 | +- Do not stop after planning if the next phase can already be executed safely. |
| 23 | +- Do not rewrite published history unless explicitly requested. |
| 24 | +- Keep `Seedance 2.0` through `kwjm.com` as the primary video path. |
| 25 | +- Keep `Wan2GP` as the local fallback path when the API path is unavailable. |
| 26 | + |
| 27 | +## Verification Standard |
| 28 | + |
| 29 | +- Never mark a phase complete without concrete verification commands. |
| 30 | +- Prefer fast, phase-scoped checks during implementation. |
| 31 | +- Run broader validation before declaring the full request complete when the scope justifies it. |
| 32 | +- If a check cannot be run, record exactly what was skipped and why. |
| 33 | + |
| 34 | +## Completion Standard |
| 35 | + |
| 36 | +The work is only done when all planned phases have been executed, verified, committed, pushed, and the remaining local git state is clean or explicitly explained. |
0 commit comments