Skip to content

Commit 17d86eb

Browse files
committed
docs: publish phased development workflow
1 parent 921552d commit 17d86eb

3 files changed

Lines changed: 60 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,18 @@ docker compose --profile gpu up --build
9090

9191
---
9292

93+
## 🧭 开发闭环
94+
95+
本仓库的开发、迭代、重构与修复默认遵循“分阶段完成即提交并推送”的闭环流程。
96+
97+
- 每个需求都要先拆成符合功能逻辑的阶段。
98+
- 每完成一个阶段,都要先验证,再单独提交,再推送到 GitHub,然后继续下一个阶段。
99+
- 不允许把多个里程碑揉成一次总提交,也不允许停留在“只做计划、不继续执行”的半完成状态。
100+
101+
完整规则见:[docs/development-workflow.md](./docs/development-workflow.md)
102+
103+
---
104+
93105
## 🧠 本地模型
94106

95107
LocalVideo 当前的视频主引擎为 **Seedance 2.0**,并通过 **Wan2GP** 提供本地音频、图片与视频回退能力;本地视频最高支持 1080p 分辨率。

‎README_EN.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,18 @@ docker compose --profile gpu up --build
9595

9696
---
9797

98+
## 🧭 Development Loop
99+
100+
This repository follows a mandatory "finish phase -> verify -> commit -> push -> continue" workflow for development, iteration, refactors, and non-trivial fixes.
101+
102+
- Each request should be split into milestone-based phases that match product or functional boundaries.
103+
- After each completed phase, verify it, create one scoped commit, push it to GitHub, and then continue to the next phase.
104+
- Do not collapse multiple milestones into one catch-all commit, and do not stop after planning when the next safe phase is already executable.
105+
106+
Full workflow: [docs/development-workflow.md](./docs/development-workflow.md)
107+
108+
---
109+
98110
## 🧠 Local Models
99111

100112
LocalVideo now uses **Seedance 2.0** as the primary video engine, while **Wan2GP** provides local audio, image, and video fallback capabilities, with local video support up to 1080p output.

‎docs/development-workflow.md‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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

Comments
 (0)