harnessed 4.6.0 → 4.8.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 +37 -3
- package/dist/cli.mjs +682 -433
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/manifests/optional/codegraph.yaml +6 -4
- package/manifests/optional/ecc.ee5-answers.json +13 -0
- package/manifests/optional/ecc.yaml +64 -0
- package/messages/en.json +4 -1
- package/messages/zh-Hans.json +20 -3
- package/package.json +1 -1
- package/workflows/auto/SKILL.zh-Hans.md +129 -0
- package/workflows/capabilities.yaml +120 -0
- package/workflows/disciplines/doc-discipline.zh-Hans.yaml +49 -0
- package/workflows/disciplines/karpathy.yaml +5 -5
- package/workflows/disciplines/karpathy.zh-Hans.yaml +47 -0
- package/workflows/disciplines/operational.yaml +6 -6
- package/workflows/disciplines/operational.zh-Hans.yaml +79 -0
- package/workflows/disciplines/output-style.yaml +7 -7
- package/workflows/disciplines/output-style.zh-Hans.yaml +62 -0
- package/workflows/disciplines/priority.yaml +2 -2
- package/workflows/disciplines/priority.zh-Hans.yaml +28 -0
- package/workflows/discuss/auto/SKILL.zh-Hans.md +75 -0
- package/workflows/discuss/phase/SKILL.zh-Hans.md +73 -0
- package/workflows/discuss/strategic/SKILL.zh-Hans.md +78 -0
- package/workflows/discuss/subtask/SKILL.zh-Hans.md +79 -0
- package/workflows/plan/architecture/SKILL.zh-Hans.md +74 -0
- package/workflows/plan/auto/SKILL.zh-Hans.md +75 -0
- package/workflows/plan/phase/SKILL.zh-Hans.md +76 -0
- package/workflows/research/SKILL.zh-Hans.md +81 -0
- package/workflows/retro/SKILL.zh-Hans.md +71 -0
- package/workflows/role-prompts.zh-Hans.yaml +501 -0
- package/workflows/ship/auto/SKILL.zh-Hans.md +46 -0
- package/workflows/ship/preflight/SKILL.zh-Hans.md +38 -0
- package/workflows/task/auto/SKILL.zh-Hans.md +80 -0
- package/workflows/task/clarify/SKILL.zh-Hans.md +79 -0
- package/workflows/task/code/SKILL.zh-Hans.md +85 -0
- package/workflows/task/deliver/SKILL.zh-Hans.md +113 -0
- package/workflows/task/test/SKILL.zh-Hans.md +90 -0
- package/workflows/verify/auto/SKILL.zh-Hans.md +89 -0
- package/workflows/verify/code-review/SKILL.zh-Hans.md +71 -0
- package/workflows/verify/design/SKILL.zh-Hans.md +74 -0
- package/workflows/verify/multispec/SKILL.zh-Hans.md +88 -0
- package/workflows/verify/paranoid/SKILL.zh-Hans.md +74 -0
- package/workflows/verify/progress/SKILL.zh-Hans.md +69 -0
- package/workflows/verify/qa/SKILL.zh-Hans.md +76 -0
- package/workflows/verify/security/SKILL.zh-Hans.md +70 -0
- package/workflows/verify/simplify/SKILL.zh-Hans.md +70 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: plan
|
|
3
|
+
description: |
|
|
4
|
+
Stage ② Plan 主控编排器 — 串行 invoke 2 个子工作流(architecture 条件触发 → phase 始终触发)。
|
|
5
|
+
复杂架构 gstack /plan-eng-review 锁定架构后再 GSD /gsd-plan-phase + planning-with-files 持久化
|
|
6
|
+
task_plan.md。schema_version: harnessed.workflow.v3 with delegates_to (2 sub: architecture
|
|
7
|
+
serial order 1 + phase serial order 2) + disciplines_applied (6 default) + tools_available
|
|
8
|
+
(planning-with-files + plan-eng-review + gsd-plan-phase)。
|
|
9
|
+
Triggered by slash command `/plan`
|
|
10
|
+
(bare per ADR 0030 namespace policy D-02 LOCK) after `harnessed setup`.
|
|
11
|
+
trigger_phrases:
|
|
12
|
+
- "plan"
|
|
13
|
+
- "计划阶段"
|
|
14
|
+
- "stage 2 plan"
|
|
15
|
+
- "持久化计划"
|
|
16
|
+
- "task_plan"
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# plan 主控编排器 (v3)
|
|
20
|
+
|
|
21
|
+
## 概述
|
|
22
|
+
|
|
23
|
+
4-stage cadence Stage ② 主控编排器,委派给 2 个串行子工作流
|
|
24
|
+
(打包的 Plan 阶段节奏 + D-06 planning-with-files 横切工具):
|
|
25
|
+
|
|
26
|
+
| order | sub | gate ref | mode | when fires |
|
|
27
|
+
| ----- | --- | -------- | ---- | ---------- |
|
|
28
|
+
| 1 | `architecture` | `judgments.stage-routing.plan-architecture-delegate.fires` | serial | phase.is_complex_architecture == true |
|
|
29
|
+
| 2 | `phase` | (unconditional — plan-phase always fires when stage=='plan') | serial | always |
|
|
30
|
+
|
|
31
|
+
引擎运行时通过 `runMasterOrchestrator` 按 T3.5.W0.1 顺序派发 2 个子工作流阶段:
|
|
32
|
+
order 1(architecture 条件触发)必须完成后,order 2 才启动
|
|
33
|
+
(phase 无条件,GSD plan-phase + planning-with-files `/plan` task_plan.md 持久化)。
|
|
34
|
+
K9 invariant 强制:每个 serial mode 委派必须携带显式 `order`。
|
|
35
|
+
|
|
36
|
+
## 能力引用
|
|
37
|
+
|
|
38
|
+
Sister `workflows/capabilities.yaml`:
|
|
39
|
+
- `planning-with-files` — Bucket 4 核心 capability (impl: claude-code-plugin, cmd: /plan)
|
|
40
|
+
- `plan-eng-review` — Bucket 7 gstack 33 optional (impl: gstack, cmd: /plan-eng-review)
|
|
41
|
+
- `gsd-plan-phase` — Bucket 2 special-purpose (impl: gsd, cmd: /gsd-plan-phase)
|
|
42
|
+
- sub `architecture` upstream → `plan-eng-review`
|
|
43
|
+
- sub `phase` upstream → `gsd-plan-phase` + `planning-with-files`
|
|
44
|
+
|
|
45
|
+
## 路由规则(sister CLAUDE.md "Plan 阶段")
|
|
46
|
+
|
|
47
|
+
- **复杂架构必须先跑** `/plan-eng-review` 锁定架构后再进入 plan-phase (sister CLAUDE.md "⚠️")
|
|
48
|
+
- 普通 phase 跳过 architecture sub(gate `phase.is_complex_architecture == false`)
|
|
49
|
+
- **禁止在规划阶段直接使用** `superpowers:writing-plans` 输出大文档(除非用户明确要求)
|
|
50
|
+
|
|
51
|
+
## 调用方式
|
|
52
|
+
|
|
53
|
+
- Slash command:`/plan <text>`(bare per ADR 0030 namespace policy D-02 LOCK,`harnessed setup` 后生效)
|
|
54
|
+
|
|
55
|
+
## 如何调用
|
|
56
|
+
|
|
57
|
+
使用 Bash 工具运行:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
echo "$ARGUMENTS" | harnessed run plan --task-stdin
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
若 `$ARGUMENTS` 为空,运行 `harnessed run plan`(不带 stdin pipe)。
|
|
64
|
+
|
|
65
|
+
完成后,Bash 输出会在 stderr 打印 `Next:` 提示,建议下一阶段。是否调用由对话上下文决定——该提示仅供参考,非强制指令。
|
|
66
|
+
|
|
67
|
+
<!-- harnessed-generated:v3.4.4 -->
|
|
68
|
+
|
|
69
|
+
## 参考文档
|
|
70
|
+
|
|
71
|
+
- D-01 主控编排器委派模式
|
|
72
|
+
- D-02 bare slash cmd 约定(ADR 0030 namespace policy LOCK)
|
|
73
|
+
- D-06 planning-with-files 横切工具(NOT 独立 sub-workflow)
|
|
74
|
+
- workflows/judgments/stage-routing.yaml — plan-{architecture,phase}-delegate triggers
|
|
75
|
+
- workflows/plan/{architecture,phase}/workflow.yaml — 2 sub-workflow Phase 3.4 SHIPPED
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: plan-phase
|
|
3
|
+
description: |
|
|
4
|
+
Stage ②.b 计划层 plan 子工作流 — GSD /gsd-plan-phase Wave A research + Wave B planner +
|
|
5
|
+
Wave C plan-checker + planning-with-files Claude Code plugin /plan 持久化 task_plan.md +
|
|
6
|
+
progress.md(打包的 Plan-stage 节奏:GSD + planning-with-files)。Stage ② 铁律:
|
|
7
|
+
dual capability (GSD orchestration + planning-with-files plugin)。schema_version:
|
|
8
|
+
harnessed.workflow.v3 with disciplines_applied (6 default) + tools_available [gsd-plan-phase,
|
|
9
|
+
planning-with-files] + 2 phases (01-gsd-plan + 02-persist)。Triggered by harnessed CLI
|
|
10
|
+
`harnessed plan-phase --phase <num>` or slash command `/plan-phase` after `harnessed setup`.
|
|
11
|
+
trigger_phrases:
|
|
12
|
+
- "plan phase"
|
|
13
|
+
- "计划层 phase"
|
|
14
|
+
- "gsd plan phase"
|
|
15
|
+
- "持久化计划"
|
|
16
|
+
- "跑 plan-phase"
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
# plan-phase 工作流 (v3)
|
|
20
|
+
|
|
21
|
+
## 概述
|
|
22
|
+
|
|
23
|
+
2 阶段子工作流,将 CLAUDE.md "Plan 阶段 — GSD + planning-with-files" 映射到 harnessed
|
|
24
|
+
运行时(Phase v3.0-3.4 W0.5 — D-04 Stage ② Plan 二层 + D-15 planning-with-files
|
|
25
|
+
claude-code-plugin /plan + Pattern A sub-workflow ship)。
|
|
26
|
+
|
|
27
|
+
| phase | id | upstream | model | capability / invokes | artifacts |
|
|
28
|
+
| ----- | -- | -------- | ----- | -------------------- | --------- |
|
|
29
|
+
| 1 | `01-gsd-plan` | gsd | sonnet | `{{ capabilities.gsd-plan-phase.cmd }}` | (Wave A research + Wave B planner + Wave C plan-checker) |
|
|
30
|
+
| 2 | `02-persist` | planning-with-files | haiku | `{{ capabilities.planning-with-files.cmd }}` + `invokes: /plan` | `artifacts_expected: [task_plan.md, progress.md]` |
|
|
31
|
+
|
|
32
|
+
## 能力引用
|
|
33
|
+
|
|
34
|
+
Sister `workflows/capabilities.yaml` 条目:
|
|
35
|
+
- `gsd-plan-phase` — Bucket 2 (impl: gsd, cmd: /gsd-plan-phase)
|
|
36
|
+
- `planning-with-files` — Bucket 4 (impl: claude-code-plugin, cmd: /plan;
|
|
37
|
+
需要通过 Claude Code plugin marketplace 安装 `planning-with-files` Claude Code 插件;
|
|
38
|
+
输出:task_plan.md + progress.md + findings.md)
|
|
39
|
+
|
|
40
|
+
## Stage ② 铁律 — dual capability
|
|
41
|
+
|
|
42
|
+
GSD `/gsd-plan-phase` 编排(Wave A research → Wave B planner → Wave C
|
|
43
|
+
plan-checker)→ planning-with-files `/plan` 持久化(插件真生成 task_plan.md +
|
|
44
|
+
progress.md,NOT fs.writeFile self-impl per D-15 Q-AUDIT-5a claude-code-plugin
|
|
45
|
+
reframe)。
|
|
46
|
+
|
|
47
|
+
## 调用方式
|
|
48
|
+
|
|
49
|
+
- Slash command:`/plan-phase <num>`(`harnessed setup` 后生效)
|
|
50
|
+
|
|
51
|
+
## 输出产物
|
|
52
|
+
|
|
53
|
+
- `task_plan.md` — 主任务清单 + 文件路径 + 依赖 + 验收标准
|
|
54
|
+
- `progress.md` — phase 进度跟踪 + cross-session 恢复
|
|
55
|
+
- (`findings.md` 由 discuss-* 子工作流产出,此处不重复)
|
|
56
|
+
|
|
57
|
+
## 如何调用
|
|
58
|
+
|
|
59
|
+
使用 Bash 工具运行:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
echo "$ARGUMENTS" | harnessed run plan-phase --task-stdin
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
若 `$ARGUMENTS` 为空,运行 `harnessed run plan-phase`(不带 stdin pipe)。
|
|
66
|
+
|
|
67
|
+
完成后,Bash 输出会在 stderr 打印 `Next:` 提示,建议下一阶段。是否调用由对话上下文决定——该提示仅供参考,非强制指令。
|
|
68
|
+
|
|
69
|
+
<!-- harnessed-generated:v3.4.4 -->
|
|
70
|
+
|
|
71
|
+
## 参考文档
|
|
72
|
+
|
|
73
|
+
- D-04 Stage ② Plan 二层(架构 / 计划)
|
|
74
|
+
- D-15 Q-AUDIT-5a planning-with-files claude-code-plugin reframe (NOT npm-sdk)
|
|
75
|
+
- workflows/capabilities.yaml — gsd-plan-phase / planning-with-files (Bucket 4)
|
|
76
|
+
- workflows/defaults.yaml — ralph_max_iterations.plan-phase.* values (W2.2 backfill)
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: research
|
|
3
|
+
description: 多源调研工作流 — Tavily/Exa/ctx7 多源 fan-out + GSD discuss synth aggregate; harnessed v2.0 新增 per R20.7 (Stage ① Discuss 独立调用); schema bumped to harnessed.workflow.v3 in Phase v3.0-3.4 W1.1 (T3.4.W1.1) with disciplines_applied [6] + tools_available [tavily-mcp, exa-mcp, ctx7, gsd-discuss-phase], phases reuse v2 verbatim. Triggered by slash command `/research` after `harnessed setup`.
|
|
4
|
+
preamble-tier: 2
|
|
5
|
+
schema_version: harnessed.workflow.v3
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# research 工作流
|
|
9
|
+
|
|
10
|
+
harnessed v2.0 随附的多源调研工作流(Stage ① Discuss);
|
|
11
|
+
`workflow.yaml` schema 在 Phase v3.0-3.4 W1.1 中 bump 至 `harnessed.workflow.v3`
|
|
12
|
+
(T3.4.W1.1 — D-09 L0 Discipline Substrate + D-05 tools_available 交叉验证);
|
|
13
|
+
phases 内容(01-fan-out + 02-synth)原样沿用 v2 SHIPPED,未做更改。
|
|
14
|
+
|
|
15
|
+
## 阶段 (2)
|
|
16
|
+
|
|
17
|
+
| # | Phase | Upstream | Capability | Model | Description |
|
|
18
|
+
|---|-------|----------|-----------|-------|-------------|
|
|
19
|
+
| 01 | `01-fan-out` | web-search | (route-by-subtask) | sonnet | 3 路并发调研 (Tavily MCP / Exa MCP / ctx7 CLI,遵循内置 web-search + context7 路由规则) |
|
|
20
|
+
| 02 | `02-synth` | gsd | `gsd-discuss-phase` | opus | GSD discuss-phase 聚合 + 去重 + 对账 |
|
|
21
|
+
|
|
22
|
+
## Capability refs
|
|
23
|
+
|
|
24
|
+
Sister `workflows/capabilities.yaml` 条目:
|
|
25
|
+
- `tavily-mcp` (impl: mcp-server,默认关键词搜索)
|
|
26
|
+
- `exa-mcp` (impl: mcp-server,描述式 / 学术搜索)
|
|
27
|
+
- `ctx7` (impl: cli-tool,库 API 文档)
|
|
28
|
+
- `gsd-discuss-phase` (synth aggregate)
|
|
29
|
+
|
|
30
|
+
## 调用方式
|
|
31
|
+
- Slash command: `/research <topic>`(`harnessed setup` 后可用)
|
|
32
|
+
|
|
33
|
+
## 路由规则(内置 web-search 路由 — `workflows/judgments/web-search-routing.yaml`)
|
|
34
|
+
- 描述式查询("找一篇对比 X 和 Y 的博客")→ Exa MCP
|
|
35
|
+
- 学术 / 论文 → Exa MCP
|
|
36
|
+
- 库 / API 文档 → ctx7 CLI
|
|
37
|
+
- 关键词 / 时效内容 → Tavily MCP(默认)
|
|
38
|
+
- 抓整站 / 站点结构 → Tavily crawl/map
|
|
39
|
+
|
|
40
|
+
## 如何调用
|
|
41
|
+
|
|
42
|
+
**优先路径**(master orchestrator):按当前 stage 规定的顺序依次调用各子工作流的 slash command。每个子命令安装在 `<claude-home>/commands/<sub-name>.md`(由 `harnessed setup` 安装),自带双路径兜底。
|
|
43
|
+
|
|
44
|
+
**兜底路径**(当上游未安装或无返回结果时):使用 Task 工具 spawn 一个通用 subagent,prompt 如下:
|
|
45
|
+
|
|
46
|
+
> You are a **Research analyst**.
|
|
47
|
+
>
|
|
48
|
+
> **Mission**: Multi-source investigation (docs / web search / codebase grep / library probe) producing a `findings.md` with citations, NOT speculation. Use `ctx7` for library docs, `tavily-mcp` / `exa-mcp` for web, `gh` CLI for GitHub artifacts, and codebase `Grep` for internal references.
|
|
49
|
+
>
|
|
50
|
+
> **Default-suspect mode**: assume the change is broken / risky / incomplete until proven otherwise. Cite `file:line` for every finding; do not generalize.
|
|
51
|
+
>
|
|
52
|
+
> **Review checklist**:
|
|
53
|
+
> 1. Resolve each unknown claim to a citable source (URL, file:line, or `ctx7` doc id)
|
|
54
|
+
>
|
|
55
|
+
> 2. Cite version explicitly when discussing library / framework APIs (training cutoff may be stale)
|
|
56
|
+
>
|
|
57
|
+
> 3. Capture conflicting sources side-by-side; do not silently pick one
|
|
58
|
+
>
|
|
59
|
+
> 4. Flag `OPEN: <question>` for items the user must decide; never paper over
|
|
60
|
+
>
|
|
61
|
+
> 5. Persist results to `.planning/<phase>/findings.md` for cross-session handoff
|
|
62
|
+
>
|
|
63
|
+
> **Output format**: structured report with severity-classified findings (verified / unverified / conflicting / open). One finding per line: `[severity] file:line — problem (one sentence); fix: suggested change`. If no findings, say so explicitly. No preamble, no end-of-report summary.
|
|
64
|
+
|
|
65
|
+
(Role prompt 自包含 — 即使上游 `specialist` user-skill / plugin 未安装也可正常运行。)
|
|
66
|
+
|
|
67
|
+
(`harnessed setup` 同时会在 `<claude-home>/commands/research.md` 安装一个 `research` Claude Code slash command,使 `/research` 成为真正的平台 slash command — 两个文件携带相同的双路径指令。之前 v3.4.x 中 `harnessed research --apply` CLI 的相关说明已移除;该子命令从未被实现。)
|
|
68
|
+
|
|
69
|
+
## 如何调用
|
|
70
|
+
|
|
71
|
+
使用 Bash 工具运行:
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
echo "$ARGUMENTS" | harnessed run research --task-stdin
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
如果 `$ARGUMENTS` 为空,运行 `harnessed run research`(不带 stdin pipe)。
|
|
78
|
+
|
|
79
|
+
完成后,Bash 输出会在 stderr 打印 `Next:` 提示,建议下一个阶段。根据对话上下文决定是否调用 — 该提示仅供参考,不作强制指引。
|
|
80
|
+
|
|
81
|
+
<!-- harnessed-generated:v3.4.4 -->
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: retro
|
|
3
|
+
description: |
|
|
4
|
+
独立的 post-④ Verify 回顾工作流 — gstack /retro 经验教训 / 决策 / lessons
|
|
5
|
+
系统总结 (项目 / 里程碑结束可选, bundled milestone-close retrospective cadence)
|
|
6
|
+
+ planning-with-files RETROSPECTIVE.md 持久化 (sister Phase
|
|
7
|
+
v2.0-2.5 RETROSPECTIVE pattern)。Capability ref retro-gstack alias suffix per Pattern A
|
|
8
|
+
E.2 LOCK (NOT bare retro 避免 standalone workflow / capability namespace 冲突)。
|
|
9
|
+
schema_version: harnessed.workflow.v3 with disciplines_applied (6 default) + tools_available
|
|
10
|
+
(retro-gstack + planning-with-files) + 2 phase (01-retro gstack invoke + 02-persist
|
|
11
|
+
RETROSPECTIVE.md sink)。Triggered by harnessed CLI `harnessed retro --milestone <name>` or
|
|
12
|
+
slash command `/retro` after `harnessed setup`.
|
|
13
|
+
trigger_phrases:
|
|
14
|
+
- "项目总结"
|
|
15
|
+
- "里程碑结束"
|
|
16
|
+
- "经验教训"
|
|
17
|
+
- "retro"
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# retro 工作流 (v3 新增 standalone)
|
|
21
|
+
|
|
22
|
+
## 概述
|
|
23
|
+
|
|
24
|
+
2 阶段 standalone 工作流,将 CLAUDE.md 中"项目 / 里程碑结束: 可选跑 /retro 总结"映射到
|
|
25
|
+
harnessed 运行时(Phase v3.0-3.4 W1.2 — D-04 新增 v3 standalone 工作流 + Pattern A E.2
|
|
26
|
+
retro-gstack alias suffix LOCK)。
|
|
27
|
+
|
|
28
|
+
| phase | id | upstream | model | capability / invokes | artifacts |
|
|
29
|
+
| ----- | -- | -------- | ----- | -------------------- | --------- |
|
|
30
|
+
| 1 | `01-retro` | gstack | opus | `{{ capabilities.retro-gstack.cmd }}` | gstack /retro 经验教训系统总结 |
|
|
31
|
+
| 2 | `02-persist` | planning-with-files | haiku | `{{ capabilities.planning-with-files.cmd }}` + `invokes: /plan` | `artifacts_expected: [RETROSPECTIVE.md]` |
|
|
32
|
+
|
|
33
|
+
每阶段配置从 `workflows/retro/workflow.yaml` 加载;引擎 spawn 阶段 01 gstack
|
|
34
|
+
`/retro`(alias 解析到 capabilities.yaml 中的 retro-gstack 载体),阶段 02
|
|
35
|
+
planning-with-files `/plan` invoke 持久化 RETROSPECTIVE.md sink。
|
|
36
|
+
|
|
37
|
+
## Capability refs (Pattern A E.2 LOCK)
|
|
38
|
+
|
|
39
|
+
Sister `workflows/capabilities.yaml` 条目:
|
|
40
|
+
- `retro-gstack` — Bucket 7 gstack optional **alias suffix** per Pattern A E.2 LOCK
|
|
41
|
+
(impl: gstack, cmd: /retro, aliases to harnessed-bundled /retro, fires_when: is_milestone_close)
|
|
42
|
+
— 解决 namespace 冲突 (NOT bare `retro` capability 因 standalone workflow 已占 retro 名)
|
|
43
|
+
- `planning-with-files` — Bucket 4 核心能力 (impl: claude-code-plugin, cmd: /plan)
|
|
44
|
+
|
|
45
|
+
## 路由规则(sister CLAUDE.md"项目 / 里程碑结束")
|
|
46
|
+
|
|
47
|
+
- ✅ **触发**: 项目结束 / 里程碑结束 / 用户明示"复盘 / retro / lessons learned"
|
|
48
|
+
- ❌ **跳过**: 日常 PR / 单阶段完成(常规 verify-progress 已够用)
|
|
49
|
+
|
|
50
|
+
## 如何调用
|
|
51
|
+
|
|
52
|
+
使用 Bash 工具运行:
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
echo "$ARGUMENTS" | harnessed run retro --task-stdin
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
如果 `$ARGUMENTS` 为空,运行 `harnessed run retro`(不带 stdin pipe)。
|
|
59
|
+
|
|
60
|
+
完成后,Bash 输出会在 stderr 打印 `Next:` 提示,建议下一个阶段。根据对话上下文决定是否调用 — 该提示仅供参考,不作强制指引。
|
|
61
|
+
|
|
62
|
+
<!-- harnessed-generated:v3.4.4 -->
|
|
63
|
+
|
|
64
|
+
## 参考文档
|
|
65
|
+
|
|
66
|
+
- D-04 新增 v3 standalone 工作流 (research v3 bump + retro 新增)
|
|
67
|
+
- Pattern A E.2 LOCK — 2 个 alias suffix `-gstack` 解决 namespace 冲突 (retro-gstack + investigate-gstack)
|
|
68
|
+
- Pattern A reconcile D.2 — gstack 30 optional naming bare 例外
|
|
69
|
+
- workflows/capabilities.yaml — retro-gstack (alias suffix) + planning-with-files
|
|
70
|
+
- workflows/defaults.yaml — ralph_max_iterations.retro.* values (W2.2 backfill)
|
|
71
|
+
- sister Phase v2.0-2.5 RETROSPECTIVE.md sink pattern
|