@haaaiawd/anws 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +217 -48
- package/package.json +1 -1
- package/templates/.agent/workflows/quickstart.md +75 -48
package/README.md
CHANGED
|
@@ -1,96 +1,265 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<img src="assets/logo.png" width="200" alt="Antigravity Workflow System">
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
[](https://github.com/google-deepmind/antigravity)
|
|
7
|
+
[](https://github.com/karpathy/vibe-coding)
|
|
8
|
+
|
|
9
|
+
[English](./README.md) | [中文](./README_CN.md)
|
|
10
|
+
|
|
11
|
+
</div>
|
|
9
12
|
|
|
10
13
|
---
|
|
11
14
|
|
|
12
|
-
##
|
|
15
|
+
## ⚡ What is this?
|
|
13
16
|
|
|
14
|
-
|
|
15
|
-
npm install -g @haaaiawd/anws
|
|
16
|
-
```
|
|
17
|
+
A **structured workflow framework** for Agentic AI assistants, designed to solve the core pain points of the Vibe Coding era.
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
> 💡 **TL;DR**: Stop letting AI write spaghetti code. Force it to think like an architect first.
|
|
19
20
|
|
|
20
|
-
|
|
21
|
+
### 🎯 Problems We Solve
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
| Pain Point | The Problem | Our Solution |
|
|
24
|
+
| ---------------------- | ----------------------------------------------------------- | -------------------------------------------------------------- |
|
|
25
|
+
| **Architecture Drift** | AI generates inconsistent patterns across the same codebase | `/genesis` forces PRD & architecture design first |
|
|
26
|
+
| **Spaghetti Code** | AI lacks project context, writes code that doesn't fit | Tasks include constraints & acceptance criteria |
|
|
27
|
+
| **Context Amnesia** | New session = AI forgets all previous decisions | `.agent/rules/agents.md` + versioned docs as persistent memory |
|
|
28
|
+
| **Lack of Planning** | Vibe Coding skips design, creates tech debt | Mandatory design-first workflow |
|
|
23
29
|
|
|
24
|
-
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 🚀 Quick Start
|
|
25
33
|
|
|
26
|
-
|
|
34
|
+
### Option A — npm CLI (Recommended)
|
|
27
35
|
|
|
28
36
|
```bash
|
|
29
|
-
|
|
37
|
+
npm install -g @haaaiawd/anws
|
|
38
|
+
cd your-project
|
|
30
39
|
anws init
|
|
31
40
|
```
|
|
32
41
|
|
|
33
|
-
|
|
34
|
-
- **检测到冲突**:显示已存在的托管文件数量,询问是否覆盖(默认 **N**)。
|
|
35
|
-
确认后只会覆盖 `anws` 管理的文件,你的自定义文件不受影响。
|
|
36
|
-
- **非 TTY 环境(如 CI)**:检测到冲突时自动跳过,不挂起进程。
|
|
42
|
+
> Requires Node.js ≥ 18.
|
|
37
43
|
|
|
38
|
-
###
|
|
44
|
+
### Option B — GitHub Release
|
|
39
45
|
|
|
40
|
-
|
|
46
|
+
Download the latest `.zip` from [Releases](https://github.com/Haaaiawd/Antigravity-Workflow-System/releases), then copy `.agent/` to your project root.
|
|
47
|
+
|
|
48
|
+
### 📦 Update Existing Installation
|
|
41
49
|
|
|
42
50
|
```bash
|
|
51
|
+
cd your-project
|
|
43
52
|
anws update
|
|
44
53
|
```
|
|
45
54
|
|
|
46
|
-
|
|
47
|
-
|
|
55
|
+
> `anws update` overwrites all managed workflow/skill files to the latest version while **preserving** your `agents.md`.
|
|
56
|
+
> If the `agents.md` template has new content, an `agents.md.new` file will be generated for you to merge manually.
|
|
48
57
|
|
|
49
|
-
###
|
|
58
|
+
### Your First Project 🐣
|
|
50
59
|
|
|
51
|
-
|
|
52
|
-
|------|------|
|
|
53
|
-
| `-v`, `--version` | 打印版本号 |
|
|
54
|
-
| `-h`, `--help` | 显示帮助信息 |
|
|
60
|
+
> **The easiest way to start**: Just run the `/quickstart` command! The AI will automatically analyze your project state and guide you step-by-step through the entire lifecycle (from `/genesis` to `/forge`).
|
|
55
61
|
|
|
56
|
-
|
|
62
|
+
**Looking for inspiration? Alternative prompt**: "I want to build a web-based macOS simulator, including Dock, top bar, and several system apps. Please start this new project from scratch according to the development process."
|
|
57
63
|
|
|
58
|
-
|
|
64
|
+
### 🔁 Built with Itself (Dogfooding)
|
|
59
65
|
|
|
60
|
-
|
|
66
|
+
Fun fact: **This very CLI tool (`anws`) was built using its own workflows!**
|
|
67
|
+
We used the `/genesis` workflow to design the CLI's architecture, and the `/forge` workflow to implement the code. This project serves as a live demonstration of what Antigravity Workflow System can achieve.
|
|
61
68
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
69
|
+
**Deep Thinking & Architecture Design**: The AI will automatically execute the `/genesis` workflow, thinking deeply about project requirements and producing the PRD and architecture design.
|
|
70
|
+
<img src="assets/genesis工作流演示.jpg" width="800" alt="Genesis Workflow">
|
|
71
|
+
|
|
72
|
+
**Interactive Requirement Alignment**: The AI will ask follow-up questions for ambiguous requirements to ensure the design matches your intuition.
|
|
73
|
+
<img src="assets/与人类交互确认细节.jpg" width="800" alt="Human Interaction">
|
|
74
|
+
|
|
75
|
+
**Autonomous Task Breakdown & Execution**: The AI will autonomously call necessary Skills (e.g., `spec-writer`, `task-planner`, etc.) to complete documentation and task decomposition.
|
|
76
|
+
<img src="assets/自主调用skills.jpg" width="800" alt="Skills Execution">
|
|
77
|
+
|
|
78
|
+
---
|
|
65
79
|
|
|
66
|
-
|
|
67
|
-
|
|
80
|
+
## 🗺️ Decision Flowchart
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
┌─────────────────┐
|
|
84
|
+
│ Where are you? │
|
|
85
|
+
└────────┬────────┘
|
|
86
|
+
┌─────────────────┼─────────────────┐
|
|
87
|
+
▼ ▼ ▼
|
|
88
|
+
┌──────────┐ ┌──────────┐ ┌──────────┐
|
|
89
|
+
│ New │ │ Legacy │ │ Existing │
|
|
90
|
+
│ Project │ │ Takeover │ │ Change │
|
|
91
|
+
└────┬─────┘ └────┬─────┘ └────┬─────┘
|
|
92
|
+
│ │ │
|
|
93
|
+
▼ ▼ ▼
|
|
94
|
+
/genesis /scout Tweak existing task?
|
|
95
|
+
│ │ / \
|
|
96
|
+
│ │ / \
|
|
97
|
+
└────────┬────────┘ /change /genesis
|
|
98
|
+
│ (modify only) (new tasks)
|
|
99
|
+
▼ │ │
|
|
100
|
+
/design-system <--------+------------+
|
|
101
|
+
(optional, recommended)
|
|
102
|
+
|
|
|
103
|
+
v
|
|
104
|
+
/challenge
|
|
105
|
+
(design review)
|
|
106
|
+
|
|
|
107
|
+
v
|
|
108
|
+
/blueprint
|
|
109
|
+
|
|
|
110
|
+
v
|
|
111
|
+
/challenge
|
|
112
|
+
(task review)
|
|
113
|
+
|
|
|
114
|
+
v
|
|
115
|
+
/forge
|
|
116
|
+
(code delivery)
|
|
68
117
|
```
|
|
69
118
|
|
|
70
119
|
---
|
|
71
120
|
|
|
72
|
-
##
|
|
121
|
+
## 🔑 Core Principles
|
|
122
|
+
|
|
123
|
+
### 1. Versioned Architecture
|
|
124
|
+
> Don't "fix" architecture docs. **Evolve** them.
|
|
125
|
+
|
|
126
|
+
- `genesis/v1` → `genesis/v2` on major changes
|
|
127
|
+
- Full traceability of decisions
|
|
128
|
+
- No "it was always like this" mystery
|
|
129
|
+
|
|
130
|
+
### 2. Deep Thinking First
|
|
131
|
+
> AI must think before it writes.
|
|
132
|
+
|
|
133
|
+
- Workflows force multi-step reasoning via `sequentialthinking`
|
|
134
|
+
- `[!IMPORTANT]` blocks as guardrails
|
|
135
|
+
- No shallow, scan-and-output responses
|
|
136
|
+
|
|
137
|
+
### 3. Filesystem as Memory
|
|
138
|
+
> Chat is ephemeral. Files are eternal.
|
|
139
|
+
|
|
140
|
+
- `AGENTS.md` = AI's anchor
|
|
141
|
+
- Architecture docs = persistent decisions
|
|
142
|
+
- New session recovery in 30 seconds
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## 📋 Workflows
|
|
147
|
+
|
|
148
|
+
| Command | Purpose | Input | Output |
|
|
149
|
+
| ----------------- | ------------------------------------------------------- | ----------------- | ------------------------------------------ |
|
|
150
|
+
| **`/quickstart`** | **One-command entry: orchestrates the whole lifecycle** | Auto-detected | Full pipeline orchestration |
|
|
151
|
+
| `/genesis` | Start from zero, create PRD & architecture | Vague idea | PRD, Architecture, ADRs |
|
|
152
|
+
| `/scout` | Analyze legacy codebase risks | Existing code | Risk report, Gap analysis |
|
|
153
|
+
| `/design-system` | Detailed design for a system | Architecture | System Design doc |
|
|
154
|
+
| `/challenge` | Review Design & Tasks (intelligent detection) | Full Docs / TASKS | Challenge Report (Graded) |
|
|
155
|
+
| `/blueprint` | Break architecture into tasks | PRD + Arch | TASKS.md (WBS) |
|
|
156
|
+
| `/forge` | Execute tasks — architecture to code | TASKS.md | Working code, verified |
|
|
157
|
+
| `/change` | Tweak existing tasks (no new tasks) | Minor tweak | Updated TASKS + Design files (modify only) |
|
|
158
|
+
| `/explore` | Deep research & brainstorm | Topic/Question | Exploration report |
|
|
159
|
+
| `/craft` | Create workflows/skills/prompts | Creation request | Workflow / Skill / Prompt docs |
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
## 🛠️ Compatibility & Prerequisites
|
|
164
|
+
|
|
165
|
+
> ⚠️ **Important**: This framework requires **Antigravity** environment with `.agent/workflows/` support.
|
|
166
|
+
|
|
167
|
+
| Environment | Status | Notes |
|
|
168
|
+
| --------------- | :--------------------------: | ------------------------------ |
|
|
169
|
+
| **Antigravity** | ✅ Supported | Full workflow + skills support |
|
|
170
|
+
| Claude Code | ❌ No native workflow support | |
|
|
171
|
+
| Cursor | ❌ No workflow support | |
|
|
172
|
+
| GitHub Copilot | ❌ No workflow support | |
|
|
173
|
+
|
|
174
|
+
**What is Antigravity?**
|
|
175
|
+
|
|
176
|
+
Antigravity is an Agentic AI coding environment that natively recognizes `.agent/workflows/` directory and can execute slash commands like `/genesis`, `/blueprint`, etc.
|
|
177
|
+
|
|
178
|
+
### 🔌 Required: Sequential Thinking MCP Server
|
|
179
|
+
|
|
180
|
+
This framework uses `sequentialthinking` for deep reasoning. Install it via MCP Store:
|
|
181
|
+
|
|
182
|
+
1. Open **Antigravity Editor**
|
|
183
|
+
2. Click **"..."** (three dots) in the sidebar → **Additional Options**
|
|
184
|
+
3. Select **MCP Servers**
|
|
185
|
+
4. Open **MCP Store** and search for `sequential-thinking`
|
|
186
|
+
5. Click **Add** to install
|
|
187
|
+
|
|
188
|
+
> 💡 Without this, workflows still work, but deep thinking features will be limited.
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## ⚡ Invoke Workflows
|
|
193
|
+
|
|
194
|
+
Antigravity will automatically recognize the intent and trigger the appropriate workflow. You can use it in two ways:
|
|
73
195
|
|
|
74
|
-
|
|
75
|
-
|
|
196
|
+
#### ⚡ Method A: Slash Protocol (Explicit)
|
|
197
|
+
Directly type the command in the chat or editor to trigger the workflow.
|
|
198
|
+
- `/genesis` - Start project creation
|
|
199
|
+
- `/scout` - Analyze existing codebase
|
|
200
|
+
- `/blueprint` - Break down architecture into tasks
|
|
201
|
+
|
|
202
|
+
#### 🧠 Method B: Intent Protocol (Implicit)
|
|
203
|
+
Just speak naturally. Antigravity will automatically select and run the right workflow.
|
|
204
|
+
- *"I want to start a new project for a todo app"* → Triggers `/genesis`
|
|
205
|
+
- *"Help me understand this legacy code and its risks"* → Triggers `/scout`
|
|
206
|
+
- *"I think there are gaps in this design, challenge it"* → Triggers `/challenge`
|
|
207
|
+
- *"The architecture is ready, let's plan the tasks"* → Triggers `/blueprint`
|
|
208
|
+
- *"Change the error message on the login page"* → Triggers `/change` (tweak existing task)
|
|
209
|
+
- *"I need to add a back-to-top button"* → Triggers `/genesis` (requires new task)
|
|
76
210
|
|
|
77
211
|
---
|
|
78
212
|
|
|
79
|
-
##
|
|
213
|
+
## 📁 Project Structure
|
|
214
|
+
|
|
215
|
+
```
|
|
216
|
+
your-project/
|
|
217
|
+
├── .agent/
|
|
218
|
+
│ ├── rules/
|
|
219
|
+
│ │ └── agents.md # 🧠 AI's anchor point
|
|
220
|
+
│ ├── workflows/ # Workflow definitions
|
|
221
|
+
│ │ ├── genesis.md
|
|
222
|
+
│ │ ├── scout.md
|
|
223
|
+
│ │ ├── design-system.md
|
|
224
|
+
│ │ ├── challenge.md
|
|
225
|
+
│ │ ├── blueprint.md
|
|
226
|
+
│ │ ├── forge.md
|
|
227
|
+
│ │ ├── change.md
|
|
228
|
+
│ │ ├── explore.md
|
|
229
|
+
│ │ └── craft.md
|
|
230
|
+
│ │
|
|
231
|
+
│ └── skills/ # Reusable skills
|
|
232
|
+
│ ├── concept-modeler/
|
|
233
|
+
│ ├── spec-writer/
|
|
234
|
+
│ ├── task-planner/
|
|
235
|
+
│ └── ...
|
|
236
|
+
│
|
|
237
|
+
└── genesis/ # Versioned architecture docs
|
|
238
|
+
├── v1/
|
|
239
|
+
│ ├── 01_PRD.md
|
|
240
|
+
│ ├── 02_ARCHITECTURE.md
|
|
241
|
+
│ ├── 03_ADR/
|
|
242
|
+
│ ├── 05_TASKS.md
|
|
243
|
+
│ └── 07_CHALLENGE_REPORT.md
|
|
244
|
+
└── v2/ # New version on major changes
|
|
245
|
+
```
|
|
80
246
|
|
|
81
|
-
|
|
247
|
+
## 🙌 Contributing
|
|
82
248
|
|
|
83
|
-
|
|
249
|
+
Contributions are welcome! Please read our contributing guidelines before submitting PRs.
|
|
84
250
|
|
|
85
251
|
---
|
|
86
252
|
|
|
87
|
-
##
|
|
253
|
+
## 📜 License
|
|
88
254
|
|
|
89
|
-
|
|
90
|
-
- 无运行时依赖
|
|
255
|
+
[MIT](LICENSE) © 2026
|
|
91
256
|
|
|
92
257
|
---
|
|
93
258
|
|
|
94
|
-
|
|
259
|
+
<div align="center">
|
|
260
|
+
|
|
261
|
+
**Made for architects who code, and AIs who think.**
|
|
262
|
+
|
|
263
|
+
🧠 *"Good architecture isn't written. It's designed."*
|
|
95
264
|
|
|
96
|
-
|
|
265
|
+
</div>
|
package/package.json
CHANGED
|
@@ -33,14 +33,14 @@ description: 一键启动入口。智能检测项目状态,编排 genesis →
|
|
|
33
33
|
│ → 🆕 全新项目 → Jump to Step 1
|
|
34
34
|
│
|
|
35
35
|
├── 有 genesis/v{N}/ 但无 05_TASKS.md
|
|
36
|
-
│ ├── 有 04_SYSTEM_DESIGN/ → 需要 blueprint → Jump to Step 3
|
|
36
|
+
│ ├── 有 04_SYSTEM_DESIGN/ → 需要 blueprint 或设计审查 → Jump to Step 3
|
|
37
37
|
│ └── 无 04_SYSTEM_DESIGN/ → 可能需要 design-system → Jump to Step 2
|
|
38
38
|
│
|
|
39
39
|
├── 有 05_TASKS.md 但无 src/ 代码
|
|
40
|
-
│ →
|
|
40
|
+
│ → 需要任务审查或开始执行 → Jump to Step 5
|
|
41
41
|
│
|
|
42
42
|
└── 有代码 + 有任务
|
|
43
|
-
→ 增量模式 → Jump to Step
|
|
43
|
+
→ 增量模式 → Jump to Step 7
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
### 状态报告
|
|
@@ -80,8 +80,8 @@ description: 一键启动入口。智能检测项目状态,编排 genesis →
|
|
|
80
80
|
- 📄 genesis/v{N}/02_ARCHITECTURE_OVERVIEW.md — {Z} 个系统
|
|
81
81
|
- 📁 genesis/v{N}/03_ADR/ — {W} 个架构决策记录
|
|
82
82
|
|
|
83
|
-
**下一步**: Step 2 — 系统详细设计 (如需要) 或 Step 3 —
|
|
84
|
-
**预估**: Step 2 每个系统约 30-60 分钟; Step 3 约
|
|
83
|
+
**下一步**: Step 2 — 系统详细设计 (如需要) 或 Step 3 — 设计审查 (Challenge)
|
|
84
|
+
**预估**: Step 2 每个系统约 30-60 分钟; Step 3 约 15-30 分钟
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
⏸️ **等待用户确认** → 用户确认后进入 Step 2。
|
|
@@ -96,11 +96,11 @@ description: 一键启动入口。智能检测项目状态,编排 genesis →
|
|
|
96
96
|
|
|
97
97
|
检查 `02_ARCHITECTURE_OVERVIEW.md` 中的系统数量和复杂度:
|
|
98
98
|
|
|
99
|
-
| 条件
|
|
100
|
-
|
|
101
|
-
| 系统数 ≤ 2,且无复杂跨系统交互 | 简单项目
|
|
102
|
-
| 系统数 ≥ 3,或有复杂状态同步
|
|
103
|
-
| 包含 AI/LLM 集成
|
|
99
|
+
| 条件 | 判断 | 建议 |
|
|
100
|
+
| ------------------------------ | ------------ | ------------------------------------- |
|
|
101
|
+
| 系统数 ≤ 2,且无复杂跨系统交互 | 简单项目 | 建议跳过,blueprint 时可按需补充 |
|
|
102
|
+
| 系统数 ≥ 3,或有复杂状态同步 | 复杂项目 | 建议为每个核心系统执行 /design-system |
|
|
103
|
+
| 包含 AI/LLM 集成 | 需要详细设计 | 至少为 AI 相关系统做设计 |
|
|
104
104
|
|
|
105
105
|
### 展示评估结果
|
|
106
106
|
|
|
@@ -109,11 +109,11 @@ description: 一键启动入口。智能检测项目状态,编排 genesis →
|
|
|
109
109
|
|
|
110
110
|
**架构中包含 {N} 个系统**:
|
|
111
111
|
|
|
112
|
-
| 系统
|
|
113
|
-
|
|
114
|
-
| {system-1} |
|
|
115
|
-
| {system-2} |
|
|
116
|
-
| {system-3} |
|
|
112
|
+
| 系统 | 复杂度 | 建议 |
|
|
113
|
+
| ---------- | :----: | ----------------------- |
|
|
114
|
+
| {system-1} | 🔴 高 | 建议执行 /design-system |
|
|
115
|
+
| {system-2} | 🟡 中 | 可选 |
|
|
116
|
+
| {system-3} | 🟢 低 | 可跳过 |
|
|
117
117
|
|
|
118
118
|
**建议**: 为 {system-1} 执行详细设计。其余可在 blueprint 阶段按需补充。
|
|
119
119
|
```
|
|
@@ -122,16 +122,51 @@ description: 一键启动入口。智能检测项目状态,编排 genesis →
|
|
|
122
122
|
|
|
123
123
|
---
|
|
124
124
|
|
|
125
|
-
## Step 3:
|
|
125
|
+
## Step 3: 设计审查 (Challenge Design)
|
|
126
126
|
|
|
127
|
-
**目标**: 执行 `/
|
|
127
|
+
**目标**: 执行 `/challenge`,对当前的 PRD 和架构/系统设计进行系统性审查。
|
|
128
|
+
|
|
129
|
+
> 引导用户执行 `/challenge` 工作流。由于当前无 `05_TASKS.md`,系统会自动进入 `DESIGN` 模式。
|
|
130
|
+
|
|
131
|
+
### 完成后展示
|
|
132
|
+
|
|
133
|
+
```markdown
|
|
134
|
+
## ✅ Step 3 完成: 设计审查
|
|
135
|
+
|
|
136
|
+
**审查结果**:
|
|
137
|
+
| 级别 | 数量 |
|
|
138
|
+
| ---------- | :---: |
|
|
139
|
+
| 🔴 Critical | {X} |
|
|
140
|
+
| 🟠 High | {Y} |
|
|
141
|
+
| 🟡 Medium | {Z} |
|
|
142
|
+
| 🟢 Low | {W} |
|
|
143
|
+
|
|
144
|
+
**详细报告**: genesis/v{N}/07_CHALLENGE_REPORT.md
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### 判断逻辑
|
|
148
|
+
|
|
149
|
+
- **有 CRITICAL 问题**: "⚠️ 发现 {X} 个阻塞设计问题,建议先通过 /change 修复后再进入拆解环节。"
|
|
150
|
+
- **无 CRITICAL**: "✅ 无阻塞问题。可以开始拆解任务。"
|
|
151
|
+
|
|
152
|
+
```markdown
|
|
153
|
+
**下一步**: Step 4 — 任务拆解 (Blueprint)
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
⏸️ **等待用户确认** → 用户确认后进入 Step 4。
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Step 4: 任务拆解 (Blueprint)
|
|
161
|
+
|
|
162
|
+
**目标**: 执行 `/blueprint`,将稳固的架构拆解为可执行的 WBS 任务清单。
|
|
128
163
|
|
|
129
164
|
> 引导用户执行 `/blueprint` 工作流。含 User Story Overlay 交叉验证。
|
|
130
165
|
|
|
131
166
|
### 完成后展示
|
|
132
167
|
|
|
133
168
|
```markdown
|
|
134
|
-
## ✅ Step
|
|
169
|
+
## ✅ Step 4 完成: 任务清单
|
|
135
170
|
|
|
136
171
|
**产出文件**: genesis/v{N}/05_TASKS.md
|
|
137
172
|
|
|
@@ -145,49 +180,41 @@ description: 一键启动入口。智能检测项目状态,编排 genesis →
|
|
|
145
180
|
- {covered}/{total} US 完整覆盖
|
|
146
181
|
- {gaps} 个覆盖 GAP (已在 Overlay 中标注)
|
|
147
182
|
|
|
148
|
-
**下一步**: Step
|
|
183
|
+
**下一步**: Step 5 — 任务审查 (Challenge Tasks,建议执行)
|
|
149
184
|
```
|
|
150
185
|
|
|
151
|
-
⏸️ **等待用户确认** → 用户确认后进入 Step
|
|
186
|
+
⏸️ **等待用户确认** → 用户确认后进入 Step 5。
|
|
152
187
|
|
|
153
188
|
---
|
|
154
189
|
|
|
155
|
-
## Step
|
|
190
|
+
## Step 5: 任务审查 (Challenge Tasks)
|
|
156
191
|
|
|
157
|
-
**目标**:
|
|
192
|
+
**目标**: 再次执行 `/challenge`,这次专注于任务清单的完备性与覆盖率。
|
|
158
193
|
|
|
159
|
-
> 引导用户执行 `/challenge`
|
|
194
|
+
> 引导用户执行 `/challenge` 工作流。由于 `05_TASKS.md` 已存在,它将执行 `task-reviewer` (或 `FULL` 全面审查)。
|
|
160
195
|
|
|
161
196
|
### 完成后展示
|
|
162
197
|
|
|
163
198
|
```markdown
|
|
164
|
-
## ✅ Step
|
|
165
|
-
|
|
166
|
-
**审查结果**:
|
|
167
|
-
| 级别 | 数量 |
|
|
168
|
-
|------|:----:|
|
|
169
|
-
| 🔴 Critical | {X} |
|
|
170
|
-
| 🟠 High | {Y} |
|
|
171
|
-
| 🟡 Medium | {Z} |
|
|
172
|
-
| 🟢 Low | {W} |
|
|
199
|
+
## ✅ Step 5 完成: 任务审查
|
|
173
200
|
|
|
174
|
-
|
|
201
|
+
**审查结果**: (同上表)
|
|
202
|
+
**报告已追加至**: genesis/v{N}/07_CHALLENGE_REPORT.md
|
|
175
203
|
```
|
|
176
204
|
|
|
177
205
|
### 判断逻辑
|
|
178
|
-
|
|
179
|
-
-
|
|
180
|
-
- **无 CRITICAL**: "✅ 无阻塞问题。可以开始执行。"
|
|
206
|
+
- **有任务覆盖 GAP 或缺陷**: "⚠️ 任务清单有漏洞,建议使用 /change 补全。"
|
|
207
|
+
- **无阻塞问题**: "✅ 任务清单坚如磐石。"
|
|
181
208
|
|
|
182
209
|
```markdown
|
|
183
|
-
**下一步**: Step
|
|
210
|
+
**下一步**: Step 6 — 开始编码执行 (Wave 1)
|
|
184
211
|
```
|
|
185
212
|
|
|
186
|
-
⏸️ **等待用户确认** → 用户确认后进入 Step
|
|
213
|
+
⏸️ **等待用户确认** → 用户确认后进入 Step 6。
|
|
187
214
|
|
|
188
215
|
---
|
|
189
216
|
|
|
190
|
-
## Step
|
|
217
|
+
## Step 6: 开始执行 (Forge)
|
|
191
218
|
|
|
192
219
|
**目标**: 引导进入 `/forge` 的第一个波次。
|
|
193
220
|
|
|
@@ -200,10 +227,10 @@ description: 一键启动入口。智能检测项目状态,编排 genesis →
|
|
|
200
227
|
|
|
201
228
|
基于任务清单和依赖关系,建议 Wave 1 包含:
|
|
202
229
|
|
|
203
|
-
| 任务
|
|
204
|
-
|
|
205
|
-
| T{X.Y.Z} | ...
|
|
206
|
-
| T{X.Y.Z} | ...
|
|
230
|
+
| 任务 | 标题 | 估时 |
|
|
231
|
+
| -------- | ---- | :---: |
|
|
232
|
+
| T{X.Y.Z} | ... | Xh |
|
|
233
|
+
| T{X.Y.Z} | ... | Xh |
|
|
207
234
|
|
|
208
235
|
**总估时**: ~{T}h
|
|
209
236
|
|
|
@@ -215,7 +242,7 @@ description: 一键启动入口。智能检测项目状态,编排 genesis →
|
|
|
215
242
|
|
|
216
243
|
---
|
|
217
244
|
|
|
218
|
-
## Step
|
|
245
|
+
## Step 7: 增量模式 (Incremental)
|
|
219
246
|
|
|
220
247
|
**目标**: 项目已有进度时,展示当前状态并建议下一步。
|
|
221
248
|
|
|
@@ -228,10 +255,10 @@ description: 一键启动入口。智能检测项目状态,编排 genesis →
|
|
|
228
255
|
**任务进度**: {completed}/{total} ({percentage}%)
|
|
229
256
|
**当前波次**: Wave {W} ({status})
|
|
230
257
|
|
|
231
|
-
| Sprint | 任务数 | 已完成 | 状态
|
|
232
|
-
|
|
233
|
-
| S1
|
|
234
|
-
| S2
|
|
258
|
+
| Sprint | 任务数 | 已完成 | 状态 |
|
|
259
|
+
| ------ | :----: | :----: | :---: |
|
|
260
|
+
| S1 | {X} | {Y} | ✅/🔶/⬜ |
|
|
261
|
+
| S2 | {X} | {Y} | ✅/🔶/⬜ |
|
|
235
262
|
|
|
236
263
|
**建议下一步**:
|
|
237
264
|
1. `/forge` — 继续执行未完成的任务
|