harnessed 3.1.0 → 3.2.0

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 CHANGED
@@ -48,9 +48,12 @@ npm install -g harnessed && harnessed setup
48
48
 
49
49
  ```
50
50
  /auto "需求 X"
51
+
52
+ # 大需求可显式分阶段 (一般 AI 自动判断;若自认大需求可强制):
53
+ /auto "需求 X" --staged
51
54
  ```
52
55
 
53
- > 不想动脑子或者刚入门 — 一切交给 harnessed。自动跑完 4 stage (discuss → plan → task → verify),中间不停。失败 fail-fast,`harnessed resume` 续。
56
+ > 不想动脑子或者刚入门 — 一切交给 harnessed。自动跑完 6 stage (research conditional → discuss → plan → task → verify → retro mandatory),中间不停。v3.2.0 NEW:AI 1-shot 自动判断需求复杂度,大需求建议切 `--staged` 模式 (每 stage 完停 review);开始前 prompt "对需求清晰认知吗?" n → 自动加跑 `/research` 多源调研;末尾 `/retro` 强制总结。失败 fail-fast,`harnessed resume` 续。`--pause-between-stages` 保留为 backward-compat alias。
54
57
 
55
58
  ### 📂 分类自动 (推荐熟手 / 想 review 中间结果)
56
59
 
@@ -127,11 +130,11 @@ graph TD
127
130
 
128
131
  | Slash cmd | Stage | Type | Capability / Upstream | Brief |
129
132
  |-----------|-------|------|----------------------|-------|
130
- | `/auto` | All | **Super-master** | masterOrchestrator (跨 4 stage) | 一键自动跑 discuss → plan → task → verify (`--pause-between-stages` opt-in) |
133
+ | `/auto` | All | **Super-master** | masterOrchestrator (跨 6 stage) | 一键自动跑 6 stage (research conditional → discuss → plan → task → verify → retro mandatory); v3.2.0 NEW:AI 复杂度 1-shot judge + 理解度 check + retro mandatory; `--staged` (primary, alias `--pause-between-stages` backward-compat) opt-in |
131
134
  | `/discuss` | ① Discuss | Master | masterOrchestrator | 3 sub 并行 gate-eval (chain-isolation 铁律) |
132
- | `/discuss-strategic` | ① Discuss | Sub | gstack `/office-hours` + `/plan-ceo-review` | 战略层 — 新功能 / 新 milestone / 产品方向强制治理 |
133
- | `/discuss-phase` | ① Discuss | Sub | GSD `/gsd-discuss-phase` | Phase 层 — ≥2 open decisions / 灰色地带澄清 |
134
- | `/discuss-subtask` | ① Discuss | Sub | superpowers brainstorming + `/grill-with-docs` | 子任务层 — ≥2 approach / 核心算法 / API contract |
135
+ | `/discuss-strategic` | ① Discuss | Sub | gstack `/office-hours` + `/plan-ceo-review` + planning-with-files | 战略层 — 新功能 / 新 milestone / 产品方向强制治理 (findings.md 持久化) |
136
+ | `/discuss-phase` | ① Discuss | Sub | GSD `/gsd-discuss-phase` + planning-with-files | Phase 层 — ≥2 open decisions / 灰色地带澄清 (findings.md + knowledge.md 持久化) |
137
+ | `/discuss-subtask` | ① Discuss | Sub | superpowers brainstorming + `/grill-with-docs` | 子任务层 — ≥2 approach / 核心算法 / API contract (ephemeral 短讨论, 不持久化) |
135
138
  | `/plan` | ② Plan | Master | masterOrchestrator | 串行 invoke 2 sub (architecture conditional → phase always) |
136
139
  | `/plan-architecture` | ② Plan | Sub | gstack `/plan-eng-review` | 架构层 — 复杂架构强制治理关卡 |
137
140
  | `/plan-phase` | ② Plan | Sub | GSD `/gsd-plan-phase` + planning-with-files `/plan` | 计划层 — 持久化 `task_plan.md` + `progress.md` |
@@ -336,6 +339,8 @@ planning-with-files /plan (cross-cutting tool) → write artifacts to .planning/
336
339
  | 关键模块 PR | gstack /review |
337
340
  | 大重构 PR 多维度审查 | 4-specialist Agent Team Pattern C |
338
341
  | 跨 session hand-off | discipline.protocols self-contained design doc |
342
+ | `/auto` 复杂度大需求 | AI 1-shot judge → 自动建议 `--staged` (v3.2.0 NEW;n abort 建议手动 `/discuss`) |
343
+ | `/auto` 需求理解度 | 开始前 prompt → n 自动加 `/research` 多源调研 (v3.2.0 NEW) |
339
344
 
340
345
  ---
341
346
 
package/dist/cli.mjs CHANGED
@@ -847,7 +847,7 @@ var init_resume = __esm({
847
847
 
848
848
  // package.json
849
849
  var package_default = {
850
- version: "3.1.0"};
850
+ version: "3.2.0"};
851
851
 
852
852
  // src/manifest/errors.ts
853
853
  function instancePathToKeyPath(instancePath) {