@hupan56/wlkj 3.1.17 → 3.1.19
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/package.json
CHANGED
|
@@ -28,7 +28,7 @@ R=$(python ~/.qoderwork/repo_root.py 2>/dev/null || python3 ~/.qoderwork/repo_ro
|
|
|
28
28
|
|
|
29
29
|
### Case 1: /wl-init (no arguments)
|
|
30
30
|
```bash
|
|
31
|
-
python "$R/.qoder/scripts/orchestration/wlkj.py" doctor
|
|
31
|
+
python "$R/.qoder/scripts/orchestration/wlkj.py" doctor 2>/dev/null || python3 "$R/.qoder/scripts/orchestration/wlkj.py" doctor
|
|
32
32
|
```
|
|
33
33
|
Report the doctor's findings to the user in friendly language.
|
|
34
34
|
If it found fixable issues, ask: "发现 N 个问题,要我自动修复吗?"
|
|
@@ -36,7 +36,7 @@ then run with --fix.
|
|
|
36
36
|
|
|
37
37
|
### Case 2/3: /wl-init 小王 [pm]
|
|
38
38
|
```bash
|
|
39
|
-
python "$R/.qoder/scripts/orchestration/wlkj.py" doctor --fix 小王 [pm]
|
|
39
|
+
python "$R/.qoder/scripts/orchestration/wlkj.py" doctor 2>/dev/null || python3 "$R/.qoder/scripts/orchestration/wlkj.py" doctor --fix 小王 [pm]
|
|
40
40
|
```
|
|
41
41
|
This single command does ALL of:
|
|
42
42
|
1. 注册/切换开发者 (.qoder/.developer, key=value 格式) + 个人空间目录
|
|
@@ -61,7 +61,7 @@ cap.mcp.call("context_pack", {"keyword": "..."}) <spec里的模块关键词> --p
|
|
|
61
61
|
- 拿真实列名/类型/可空/注释(含枚举定义),避免 Entity 字段和数据库对不上
|
|
62
62
|
- [QAS 测试环境] 结构与生产一致;数据行仅参考格式
|
|
63
63
|
|
|
64
|
-
> 架构/数据字典
|
|
64
|
+
> 架构/数据字典 `data/docs/architecture/`、`data-dictionary.md` 如存在顺手读,不存在跳过。
|
|
65
65
|
> 以上 Spec/PRD/query_schema 三项相互独立 → **同一条消息并发发**,不要逐个等。
|
|
66
66
|
|
|
67
67
|
## Step 3: 按 Spec 实现
|
|
@@ -62,7 +62,7 @@ cap.mcp.call("context_pack", {"keyword": "..."}) <PRD里的模块关键词> --pl
|
|
|
62
62
|
- 先 `cap.mcp.call("list_envs", {})` 问环境,再 `query_schema(table='quality_case', db='fywl_ics_quality')`
|
|
63
63
|
- 拿到真实列名/类型/注释(注释里常含枚举定义,如"0=小时,1=工作日")
|
|
64
64
|
|
|
65
|
-
> 数据字典
|
|
65
|
+
> 数据字典 `data/docs/constitution/` 如存在顺手读,不存在跳过。
|
|
66
66
|
> 以上 PRD/历史Spec/query_schema 三项相互独立 → **同一条消息并发发**,不要逐个等。
|
|
67
67
|
|
|
68
68
|
## Step 3: 分析并生成
|