harnessed 3.4.4 → 3.6.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/THIRD-PARTY-NOTICES.md +34 -0
- package/dist/cli.mjs +259 -27
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -2
- package/workflows/capabilities.yaml +17 -18
- package/workflows/disciplines/karpathy.yaml +1 -1
- package/workflows/disciplines/language.yaml +1 -1
- package/workflows/disciplines/operational.yaml +20 -2
- package/workflows/disciplines/output-style.yaml +1 -1
- package/workflows/disciplines/priority.yaml +1 -1
- package/workflows/disciplines/protocols.yaml +1 -1
- package/workflows/discuss/auto/SKILL.md +1 -2
- package/workflows/discuss/auto/workflow.yaml +1 -2
- package/workflows/discuss/phase/SKILL.md +0 -1
- package/workflows/discuss/phase/workflow.yaml +1 -1
- package/workflows/discuss/strategic/SKILL.md +1 -2
- package/workflows/discuss/strategic/workflow.yaml +2 -3
- package/workflows/discuss/subtask/SKILL.md +0 -1
- package/workflows/discuss/subtask/workflow.yaml +1 -1
- package/workflows/judgments/fallback.yaml +1 -1
- package/workflows/judgments/parallelism-gate.yaml +4 -3
- package/workflows/judgments/phase-gate.yaml +2 -2
- package/workflows/judgments/strategic-gate.yaml +2 -2
- package/workflows/judgments/subtask-gate.yaml +2 -2
- package/workflows/judgments/tdd-gate.yaml +2 -2
- package/workflows/judgments/user-overrides.yaml +82 -0
- package/workflows/judgments/web-design-routing.yaml +1 -1
- package/workflows/judgments/web-search-routing.yaml +1 -1
- package/workflows/judgments/web-testing-routing.yaml +1 -1
- package/workflows/plan/architecture/SKILL.md +2 -3
- package/workflows/plan/architecture/workflow.yaml +2 -2
- package/workflows/plan/auto/SKILL.md +1 -2
- package/workflows/plan/auto/workflow.yaml +1 -2
- package/workflows/plan/phase/SKILL.md +3 -4
- package/workflows/plan/phase/workflow.yaml +3 -3
- package/workflows/plan-feature/SKILL.md +4 -4
- package/workflows/research/SKILL.md +5 -5
- package/workflows/research/workflow.yaml +4 -4
- package/workflows/retro/SKILL.md +2 -3
- package/workflows/retro/workflow.yaml +1 -2
- package/workflows/role-prompts.yaml +51 -5
- package/workflows/task/auto/SKILL.md +2 -3
- package/workflows/task/auto/workflow.yaml +2 -3
- package/workflows/task/clarify/SKILL.md +0 -1
- package/workflows/task/code/SKILL.md +3 -4
- package/workflows/task/code/workflow.yaml +0 -1
- package/workflows/task/deliver/SKILL.md +3 -6
- package/workflows/task/deliver/workflow.yaml +7 -6
- package/workflows/task/test/SKILL.md +0 -1
- package/workflows/task/test/workflow.yaml +1 -2
- package/workflows/verify/auto/SKILL.md +5 -6
- package/workflows/verify/auto/workflow.yaml +4 -5
- package/workflows/verify/code-review/SKILL.md +3 -5
- package/workflows/verify/code-review/workflow.yaml +1 -3
- package/workflows/verify/design/SKILL.md +3 -5
- package/workflows/verify/design/workflow.yaml +4 -5
- package/workflows/verify/multispec/SKILL.md +6 -8
- package/workflows/verify/multispec/workflow.yaml +5 -8
- package/workflows/verify/paranoid/SKILL.md +2 -3
- package/workflows/verify/paranoid/workflow.yaml +1 -2
- package/workflows/verify/progress/SKILL.md +2 -3
- package/workflows/verify/progress/workflow.yaml +0 -1
- package/workflows/verify/qa/SKILL.md +4 -5
- package/workflows/verify/qa/workflow.yaml +1 -2
- package/workflows/verify/security/SKILL.md +1 -2
- package/workflows/verify/security/workflow.yaml +1 -2
- package/workflows/verify/simplify/SKILL.md +2 -3
- package/workflows/verify/simplify/workflow.yaml +1 -2
- package/workflows/verify-work/SKILL.md +5 -7
- package/workflows/verify-work/workflow.yaml +5 -7
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
# workflows/verify/design/workflow.yaml — Phase v3.0-3.4 W0 T3.4.W0.13c
|
|
2
2
|
#
|
|
3
3
|
# Stage ④.f verify sub-workflow — gstack /design-review 设计系统一致性 + AI 审美问题
|
|
4
|
-
# (has_design_changes 触发, 可选 conditional
|
|
4
|
+
# (has_design_changes 触发, 可选 conditional; bundled verify-stage optional /design-review step).
|
|
5
5
|
#
|
|
6
6
|
# Sister refs:
|
|
7
|
-
# -
|
|
8
|
-
# - ~/.claude/rules/web-design.md — ui-ux-pro-max 默认 + frontend-design 补充
|
|
7
|
+
# - workflows/judgments/web-design-routing.yaml — ui-ux-pro-max 默认 + frontend-design 补充
|
|
9
8
|
# - workflows/judgments/stage-routing.yaml verify-design-changes trigger (has_design_changes)
|
|
10
9
|
# - workflows/capabilities.yaml — gstack-design-review / ui-ux-pro-max / frontend-design
|
|
11
10
|
# - workflows/verify-work/workflow.yaml v2 SHIPPED phase 07-design-review-conditional sister pattern
|
|
@@ -17,8 +16,8 @@ description: |
|
|
|
17
16
|
Stage ④.f gstack /design-review 设计系统一致性 + AI 审美问题识别 (has_design_changes 触发,
|
|
18
17
|
可选 conditional)。Gate: judgments.stage-routing.verify-design-changes.fires
|
|
19
18
|
(phase.has_design_changes == true) — UI module fire only; 后端 / docs PR skip。
|
|
20
|
-
tools_available 含 ui-ux-pro-max (默认主方案) + frontend-design (创意补充)
|
|
21
|
-
|
|
19
|
+
tools_available 含 ui-ux-pro-max (默认主方案) + frontend-design (创意补充) per bundled
|
|
20
|
+
web-design routing (workflows/judgments/web-design-routing.yaml).
|
|
22
21
|
|
|
23
22
|
disciplines_applied: [karpathy, output-style, language, operational, priority, protocols]
|
|
24
23
|
tools_available: [gstack-design-review, ui-ux-pro-max, frontend-design]
|
|
@@ -3,8 +3,8 @@ name: verify-multispec
|
|
|
3
3
|
description: |
|
|
4
4
|
Stage ④.h verify sub-workflow — 4-specialist Agent Team Pattern C 多维度审查 (关键发布 /
|
|
5
5
|
大重构 PR 升级, code-review + gstack-review + gstack-cso + gstack-qa 4 teammate 互相
|
|
6
|
-
SendMessage 质询, NOT fire-and-forget subagent fan-out
|
|
7
|
-
|
|
6
|
+
SendMessage 质询, NOT fire-and-forget subagent fan-out; bundled Agent Teams Pattern C
|
|
7
|
+
routing). Cleanup mandatory: shutdown_request + TeamDelete (bundled cleanup discipline).
|
|
8
8
|
schema_version: harnessed.workflow.v3 with disciplines_applied (6 default) + tools_available
|
|
9
9
|
(agent-teams 3 + 4 specialist capability) + 2 phase (01-team-create on critical-release
|
|
10
10
|
invoke / 02-team-cleanup mandatory shutdown)。
|
|
@@ -34,7 +34,7 @@ D-11 Agent Teams + Pattern A sub-workflow ship)。
|
|
|
34
34
|
Per-phase config loads from `workflows/verify/multispec/workflow.yaml`; phase 01 creates 4
|
|
35
35
|
teammate (code-review + gstack-review + gstack-cso + gstack-qa) via TeamCreate, teammates 互相
|
|
36
36
|
SendMessage 质询 findings 是否真问题 (NOT fire-and-forget); phase 02 mandatory shutdown_request
|
|
37
|
-
+ TeamDelete (
|
|
37
|
+
+ TeamDelete (bundled Agent Teams cleanup discipline)。
|
|
38
38
|
|
|
39
39
|
## Capability refs
|
|
40
40
|
|
|
@@ -57,12 +57,12 @@ Phase-level `on` clause (critical-release 升级触发):
|
|
|
57
57
|
- `if: phase.is_major_release == true or phase.is_large_refactor == true` → `action: invoke`
|
|
58
58
|
- else → `action: skip`
|
|
59
59
|
|
|
60
|
-
## Routing rules (
|
|
60
|
+
## Routing rules (bundled Agent Teams routing — `workflows/judgments/parallelism-gate.yaml`)
|
|
61
61
|
|
|
62
62
|
- ✅ **触发**: 关键发布 / 大重构 PR (≥3 specialist 需互相质询而非 fire-and-forget)
|
|
63
63
|
- ❌ **跳过**: 常规 PR / 单点任务 (sister verify-code-review fan-out + verify-paranoid 已够用且省 token)
|
|
64
|
-
- **Token 估算 prereq**: `team_cost < 2 × subagent_cost` (engine-level check
|
|
65
|
-
- **Cleanup mandatory**: phase 02-team-cleanup `agent-teams-shutdown` 必跑 (
|
|
64
|
+
- **Token 估算 prereq**: `team_cost < 2 × subagent_cost` (engine-level check; bundled cost guideline)
|
|
65
|
+
- **Cleanup mandatory**: phase 02-team-cleanup `agent-teams-shutdown` 必跑 (bundled cleanup discipline)
|
|
66
66
|
|
|
67
67
|
## How to invoke
|
|
68
68
|
|
|
@@ -82,8 +82,6 @@ After completion, the Bash output prints a `Next:` hint on stderr suggesting the
|
|
|
82
82
|
|
|
83
83
|
- D-04 Stage ④ Verify 7 sub 分解
|
|
84
84
|
- D-11 Agent Teams 4-specialist Pattern C upgrade
|
|
85
|
-
- ~/.claude/CLAUDE.md "Verify 阶段 — 关键发布 / 大重构 PR 升级 Agent Team Pattern C" verbatim
|
|
86
|
-
- ~/.claude/rules/agent-teams.md Pattern C 多维度审查 + 防呆清单 + 完整生命周期
|
|
87
85
|
- workflows/capabilities.yaml — agent-teams-{create,send-message,shutdown} + 4 specialist
|
|
88
86
|
- workflows/judgments/stage-routing.yaml — verify-multispec-critical-release trigger
|
|
89
87
|
- workflows/judgments/parallelism-gate.yaml — agent-teams-upgrade.fires (5 OR-chain)
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
# workflows/verify/multispec/workflow.yaml — Phase v3.0-3.4 W0 T3.4.W0.13e
|
|
2
2
|
#
|
|
3
3
|
# Stage ④.h verify sub-workflow — 4-specialist Agent Team Pattern C 多维度审查 critical-release upgrade
|
|
4
|
-
# (
|
|
5
|
-
# ~/.claude/rules/agent-teams.md L42-L52 Pattern C 多维度审查 ≥3 specialist 互相质询 NOT fire-and-forget)。
|
|
4
|
+
# (bundled verify-stage Pattern C escalation: ≥3 specialist 互相 SendMessage 质询, NOT fire-and-forget).
|
|
6
5
|
#
|
|
7
6
|
# Sister refs:
|
|
8
|
-
# - ~/.claude/CLAUDE.md "Verify 阶段 — 关键发布 / 大重构 PR 升级 Agent Team Pattern C" verbatim
|
|
9
|
-
# - ~/.claude/rules/agent-teams.md Pattern C 多维度审查 (≥3 specialist lead 委派 + 互相质询)
|
|
10
7
|
# - workflows/judgments/stage-routing.yaml verify-multispec-critical-release trigger
|
|
11
8
|
# - workflows/judgments/parallelism-gate.yaml agent-teams-upgrade.fires (5 OR-chain)
|
|
12
9
|
# - workflows/capabilities.yaml — agent-teams-create / agent-teams-send-message / agent-teams-shutdown
|
|
@@ -14,9 +11,9 @@
|
|
|
14
11
|
# - workflows/verify-work/workflow.yaml v2 SHIPPED phase 09-agent-team-multispecialist sister pattern
|
|
15
12
|
# - .planning/phase-v3.0-3.2/RESEARCH-workflows.md § Area 2 verify/multispec example verbatim
|
|
16
13
|
#
|
|
17
|
-
# Cleanup mandatory
|
|
18
|
-
# TeamDelete
|
|
19
|
-
# Token estimate prereq
|
|
14
|
+
# Cleanup mandatory (bundled Agent Teams discipline): SendMessage shutdown_request +
|
|
15
|
+
# TeamDelete — engine-level wiring (phase 02-team-cleanup capability agent-teams-shutdown).
|
|
16
|
+
# Token estimate prereq: team_cost < 2 × subagent_cost (bundled cost guideline; engine-level check).
|
|
20
17
|
|
|
21
18
|
schema_version: harnessed.workflow.v3
|
|
22
19
|
workflow: verify-multispec
|
|
@@ -24,7 +21,7 @@ description: |
|
|
|
24
21
|
Stage ④.h 4-specialist Agent Team Pattern C 多维度审查 (关键发布 / 大重构 PR 升级,
|
|
25
22
|
code-review + gstack-review + gstack-cso + gstack-qa 4 teammate 互相 SendMessage 质询,
|
|
26
23
|
NOT fire-and-forget subagent fan-out)。Cleanup mandatory: shutdown_request + TeamDelete
|
|
27
|
-
(
|
|
24
|
+
(bundled Agent Teams cleanup discipline)。
|
|
28
25
|
|
|
29
26
|
disciplines_applied: [karpathy, output-style, language, operational, priority, protocols]
|
|
30
27
|
tools_available:
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
name: verify-paranoid
|
|
3
3
|
description: |
|
|
4
4
|
Stage ④.c verify sub-workflow — gstack /review Paranoid Staff Engineer 关键模块 PR 前强制
|
|
5
|
-
(
|
|
5
|
+
(bundled gstack governance gate — mandatory before critical-module PR)。Gate:
|
|
6
6
|
judgments.stage-routing.verify-paranoid-critical.fires (phase.is_critical_module == true) —
|
|
7
|
-
默认 critical fire only; 非关键模块 skip
|
|
7
|
+
默认 critical fire only; 非关键模块 skip。
|
|
8
8
|
schema_version: harnessed.workflow.v3 with disciplines_applied (6 default) + tools_available
|
|
9
9
|
(gstack-review) + 1 phase (gate ref is_critical_module conditional)。
|
|
10
10
|
Triggered by slash command
|
|
@@ -68,7 +68,6 @@ After completion, the Bash output prints a `Next:` hint on stderr suggesting the
|
|
|
68
68
|
|
|
69
69
|
- D-04 Stage ④ Verify 7 sub 分解
|
|
70
70
|
- D-12 gstack 治理关卡强制
|
|
71
|
-
- ~/.claude/CLAUDE.md "gstack 治理关卡 🔒 关键模块 PR 前强制" verbatim
|
|
72
71
|
- workflows/capabilities.yaml — gstack-review
|
|
73
72
|
- workflows/judgments/stage-routing.yaml — verify-paranoid-critical trigger
|
|
74
73
|
- workflows/defaults.yaml — ralph_max_iterations.verify-paranoid.* values (W2.2 backfill)
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
# workflows/verify/paranoid/workflow.yaml — Phase v3.0-3.4 W0 T3.4.W0.12
|
|
2
2
|
#
|
|
3
3
|
# Stage ④.c verify sub-workflow — gstack /review Paranoid Staff Engineer 关键模块 PR 前强制
|
|
4
|
-
# (
|
|
4
|
+
# (bundled gstack governance gate — mandatory before critical-module PR).
|
|
5
5
|
#
|
|
6
6
|
# Sister refs:
|
|
7
|
-
# - ~/.claude/CLAUDE.md "gstack 治理关卡 🔒 关键模块 PR 前强制" verbatim
|
|
8
7
|
# - workflows/judgments/stage-routing.yaml verify-paranoid-critical trigger (phase.is_critical_module)
|
|
9
8
|
# - workflows/capabilities.yaml — gstack-review (Bucket 3 治理关卡, impl: gstack, cmd: /review)
|
|
10
9
|
# - workflows/verify-work/workflow.yaml v2 SHIPPED phase 04-gstack-review-conditional sister pattern
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
name: verify-progress
|
|
3
3
|
description: |
|
|
4
4
|
Stage ④.a verify sub-workflow — gsd-verify-work + gsd-progress 必跑串行 (verify-work 起点)
|
|
5
|
-
+ planning-with-files progress.md 持久化 (
|
|
6
|
-
|
|
5
|
+
+ planning-with-files progress.md 持久化 (bundled verify-stage cadence — mandatory serial:
|
|
6
|
+
gsd-verify-work UAT-driven acceptance + gsd-progress 状态同步 顺序不可调换)。
|
|
7
7
|
schema_version: harnessed.workflow.v3 with disciplines_applied (6 default) + tools_available
|
|
8
8
|
(gsd-verify-work + gsd-progress + planning-with-files) + 3 phases (serial 01→02 + persist
|
|
9
9
|
progress.md sink)。Triggered by harnessed CLI `harnessed verify-progress --phase <num>` or
|
|
@@ -64,7 +64,6 @@ After completion, the Bash output prints a `Next:` hint on stderr suggesting the
|
|
|
64
64
|
|
|
65
65
|
- D-04 Stage ④ Verify 7 sub 分解
|
|
66
66
|
- D-12 gstack 治理关卡 ref (verify-paranoid 后续 sub)
|
|
67
|
-
- ~/.claude/CLAUDE.md "Verify 阶段 — gsd-verify-work + gsd-progress 必跑串行" verbatim
|
|
68
67
|
- workflows/capabilities.yaml — gsd-verify-work / gsd-progress / planning-with-files
|
|
69
68
|
- workflows/judgments/stage-routing.yaml — verify-progress-always trigger
|
|
70
69
|
- workflows/defaults.yaml — ralph_max_iterations.verify-progress.* values (W2.2 backfill)
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
# + planning-with-files persist (progress.md sink, sister CLAUDE.md "Verify 阶段" verbatim)。
|
|
5
5
|
#
|
|
6
6
|
# Sister refs:
|
|
7
|
-
# - ~/.claude/CLAUDE.md "Verify 阶段" 章节 verbatim (gsd-verify-work + gsd-progress 必跑串行)
|
|
8
7
|
# - workflows/judgments/stage-routing.yaml verify-progress-always trigger (总 fire 当 stage=='verify')
|
|
9
8
|
# - workflows/capabilities.yaml — gsd-verify-work / gsd-progress / planning-with-files
|
|
10
9
|
# - workflows/verify-work/workflow.yaml v2 SHIPPED phase 01-02 verbatim pattern
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: verify-qa
|
|
3
3
|
description: |
|
|
4
|
-
Stage ④.d verify sub-workflow — gstack /qa 端到端 QA 验收 (has_ui_changes 触发, 可选 conditional
|
|
5
|
-
|
|
4
|
+
Stage ④.d verify sub-workflow — gstack /qa 端到端 QA 验收 (has_ui_changes 触发, 可选 conditional;
|
|
5
|
+
bundled verify-stage optional /qa step).
|
|
6
6
|
schema_version: harnessed.workflow.v3 with disciplines_applied (6 default) + tools_available
|
|
7
7
|
(gstack-qa + playwright-cli + playwright-test + webapp-testing) + 1 phase (gate ref
|
|
8
8
|
has_ui_changes conditional)。
|
|
@@ -45,7 +45,7 @@ Sister `workflows/capabilities.yaml` entries:
|
|
|
45
45
|
Sister `workflows/judgments/stage-routing.yaml`:
|
|
46
46
|
- `verify-qa-ui.fires` — `phase.stage == 'verify' and phase.has_ui_changes == true`
|
|
47
47
|
|
|
48
|
-
## Routing rules (
|
|
48
|
+
## Routing rules (bundled web-testing routing — `workflows/judgments/web-testing-routing.yaml`)
|
|
49
49
|
|
|
50
50
|
- 写测试 提交 repo / CI 跑 → `@playwright/test` (默认 frontend/e2e/*.spec.ts)
|
|
51
51
|
- 探查 / 调试 / 一次性确认 → `playwright-cli` (token 最省)
|
|
@@ -70,8 +70,7 @@ After completion, the Bash output prints a `Next:` hint on stderr suggesting the
|
|
|
70
70
|
|
|
71
71
|
- D-04 Stage ④ Verify 7 sub 分解
|
|
72
72
|
- D-12 gstack 治理关卡可选
|
|
73
|
-
-
|
|
74
|
-
- ~/.claude/rules/web-testing.md — 三层职责矩阵 (脑 / 手 / 筋骨)
|
|
73
|
+
- workflows/judgments/web-testing-routing.yaml — 三层职责矩阵 (脑 / 手 / 筋骨)
|
|
75
74
|
- workflows/capabilities.yaml — gstack-qa / playwright-cli / playwright-test / webapp-testing
|
|
76
75
|
- workflows/judgments/stage-routing.yaml — verify-qa-ui trigger
|
|
77
76
|
- workflows/verify-work/workflow.yaml v2 SHIPPED phase 05-qa-conditional sister verbatim
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
# workflows/verify/qa/workflow.yaml — Phase v3.0-3.4 W0 T3.4.W0.13a
|
|
2
2
|
#
|
|
3
3
|
# Stage ④.d verify sub-workflow — gstack /qa 端到端 QA 验收 (has_ui_changes 触发, 可选 conditional)
|
|
4
|
-
# (
|
|
4
|
+
# (bundled verify-stage optional /qa step).
|
|
5
5
|
#
|
|
6
6
|
# Sister refs:
|
|
7
|
-
# - ~/.claude/CLAUDE.md "Verify 阶段 — 可选 /qa" 章节
|
|
8
7
|
# - workflows/judgments/stage-routing.yaml verify-qa-ui trigger (has_ui_changes)
|
|
9
8
|
# - workflows/capabilities.yaml — gstack-qa (Bucket 3 治理关卡, impl: gstack, cmd: /qa)
|
|
10
9
|
# - workflows/verify-work/workflow.yaml v2 SHIPPED phase 05-qa-conditional sister pattern
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: verify-security
|
|
3
3
|
description: |
|
|
4
4
|
Stage ④.e verify sub-workflow — gstack /cso 安全审查 OWASP/auth/secrets (has_auth_or_secrets
|
|
5
|
-
触发, 可选 conditional
|
|
5
|
+
触发, 可选 conditional; bundled verify-stage optional /cso step).
|
|
6
6
|
schema_version: harnessed.workflow.v3 with disciplines_applied (6 default) + tools_available
|
|
7
7
|
(gstack-cso) + 1 phase (gate ref has_auth_or_secrets conditional)。
|
|
8
8
|
Triggered by slash command
|
|
@@ -65,7 +65,6 @@ After completion, the Bash output prints a `Next:` hint on stderr suggesting the
|
|
|
65
65
|
|
|
66
66
|
- D-04 Stage ④ Verify 7 sub 分解
|
|
67
67
|
- D-12 gstack 治理关卡可选
|
|
68
|
-
- ~/.claude/CLAUDE.md "Verify 阶段 — 可选 /cso" verbatim
|
|
69
68
|
- workflows/capabilities.yaml — gstack-cso
|
|
70
69
|
- workflows/judgments/stage-routing.yaml — verify-security-secrets trigger
|
|
71
70
|
- workflows/verify-work/workflow.yaml v2 SHIPPED phase 06-cso-conditional sister verbatim
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
# workflows/verify/security/workflow.yaml — Phase v3.0-3.4 W0 T3.4.W0.13b
|
|
2
2
|
#
|
|
3
3
|
# Stage ④.e verify sub-workflow — gstack /cso 安全审查 OWASP/auth/secrets
|
|
4
|
-
# (has_auth_or_secrets 触发, 可选 conditional
|
|
4
|
+
# (has_auth_or_secrets 触发, 可选 conditional; bundled verify-stage optional /cso step).
|
|
5
5
|
#
|
|
6
6
|
# Sister refs:
|
|
7
|
-
# - ~/.claude/CLAUDE.md "Verify 阶段 — 可选 /cso" 章节
|
|
8
7
|
# - workflows/judgments/stage-routing.yaml verify-security-secrets trigger (has_auth_or_secrets)
|
|
9
8
|
# - workflows/capabilities.yaml — gstack-cso (Bucket 3 治理关卡, impl: gstack, cmd: /cso)
|
|
10
9
|
# - workflows/verify-work/workflow.yaml v2 SHIPPED phase 06-cso-conditional sister pattern
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: verify-simplify
|
|
3
3
|
description: |
|
|
4
|
-
Stage ④.g verify sub-workflow — code-simplifier 末尾串行 (移除重复 /
|
|
5
|
-
|
|
4
|
+
Stage ④.g verify sub-workflow — code-simplifier 末尾串行 (移除重复 / 多余逻辑;
|
|
5
|
+
bundled verify-stage cadence — tail-step code-simplifier).
|
|
6
6
|
schema_version: harnessed.workflow.v3 with disciplines_applied (6 default) + tools_available
|
|
7
7
|
(code-simplifier) + 1 phase (gate ref is_final_step 末尾串行)。
|
|
8
8
|
Triggered by slash command
|
|
@@ -64,7 +64,6 @@ After completion, the Bash output prints a `Next:` hint on stderr suggesting the
|
|
|
64
64
|
## References
|
|
65
65
|
|
|
66
66
|
- D-04 Stage ④ Verify 7 sub 分解
|
|
67
|
-
- ~/.claude/CLAUDE.md "Verify 阶段 — 末尾 code-simplifier" verbatim
|
|
68
67
|
- workflows/capabilities.yaml — code-simplifier
|
|
69
68
|
- workflows/judgments/stage-routing.yaml — verify-simplify-tail trigger
|
|
70
69
|
- workflows/defaults.yaml — ralph_max_iterations.verify-simplify.* values (W2.2 backfill)
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
# workflows/verify/simplify/workflow.yaml — Phase v3.0-3.4 W0 T3.4.W0.13d
|
|
2
2
|
#
|
|
3
3
|
# Stage ④.g verify sub-workflow — code-simplifier 末尾串行 (移除重复 / 多余逻辑)
|
|
4
|
-
# (
|
|
4
|
+
# (bundled verify-stage cadence — tail-step code-simplifier).
|
|
5
5
|
#
|
|
6
6
|
# Sister refs:
|
|
7
|
-
# - ~/.claude/CLAUDE.md "Verify 阶段 — code-simplifier 末尾串行" 章节
|
|
8
7
|
# - workflows/judgments/stage-routing.yaml verify-simplify-tail trigger (is_final_step)
|
|
9
8
|
# - workflows/capabilities.yaml — code-simplifier (Bucket 1 mattpocock, fires_when stage=='verify' AND is_final_step)
|
|
10
9
|
# - workflows/verify-work/workflow.yaml v2 SHIPPED phase 08-code-simplifier sister pattern
|
|
@@ -40,13 +40,13 @@ spawns each phase as a sub-agent via `@anthropic-ai/claude-agent-sdk` 0.3.142+.
|
|
|
40
40
|
|
|
41
41
|
## Phase 9 Pattern C 4-specialist Agent Team (D-11 + R20.11)
|
|
42
42
|
|
|
43
|
-
The Agent Team upgrade phase (`09-agent-team-multispecialist`) follows
|
|
44
|
-
|
|
43
|
+
The Agent Team upgrade phase (`09-agent-team-multispecialist`) follows the
|
|
44
|
+
bundled Agent Teams Pattern C 多维度审查 — 4 teammate
|
|
45
45
|
(code-review + gstack-review + gstack-cso + gstack-qa) 互相 SendMessage 质询
|
|
46
46
|
findings 是否真问题 (NOT fire-and-forget subagent fan-out)。Token estimate
|
|
47
|
-
`team_cost < 2 × subagent_cost` is a prereq
|
|
47
|
+
`team_cost < 2 × subagent_cost` is a prereq (bundled cost guideline; engine-level
|
|
48
48
|
check, NOT yaml schema scope). Cleanup mandatory: `SendMessage shutdown_request`
|
|
49
|
-
+ `TeamDelete` after round-trip complete (
|
|
49
|
+
+ `TeamDelete` after round-trip complete (bundled cleanup discipline).
|
|
50
50
|
|
|
51
51
|
Trigger condition: `phase.is_major_release == true OR phase.is_large_refactor
|
|
52
52
|
== true`. 常规 PR / 单点任务**不触发** Pattern C — code-review fan-out (phase 3)
|
|
@@ -73,7 +73,7 @@ harnessed verify-work --phase <num> --apply
|
|
|
73
73
|
## Forward-looking note
|
|
74
74
|
|
|
75
75
|
The `trigger_phrases:` frontmatter is active after `harnessed setup` copies this
|
|
76
|
-
SKILL.md to
|
|
76
|
+
SKILL.md to `<claude-home>/skills/verify-work/` — Claude Code then loads the slash
|
|
77
77
|
command `/verify-work` automatically (Gap B fix — v1.0.2 sister mechanism).
|
|
78
78
|
|
|
79
79
|
## References
|
|
@@ -84,8 +84,6 @@ command `/verify-work` automatically (Gap B fix — v1.0.2 sister mechanism).
|
|
|
84
84
|
- R20.14 — special-purpose /qa /cso /design-review conditional
|
|
85
85
|
- R20.7 — D-08 verify-work NEW 2 之一
|
|
86
86
|
- R20.16 — fallback 3 铁律 chain_isolation
|
|
87
|
-
- ~/.claude/CLAUDE.md "Verify 阶段" 7-step verbatim
|
|
88
|
-
- ~/.claude/rules/agent-teams.md Pattern C 多维度审查
|
|
89
87
|
- `workflows/capabilities.yaml` — gsd-verify-work / gsd-progress / code-review / gstack-{review,qa,cso,design-review} / code-simplifier / agent-teams-create entries
|
|
90
88
|
- `workflows/judgments/parallelism-gate.yaml` — subagent-default + agent-teams-upgrade.fires
|
|
91
89
|
- `workflows/defaults.yaml` — ralph_max_iterations.verify-work.* values
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
# 必跑串行 (01-02) → 并行 fan-out (03) → 强制 conditional (04) → 可选 conditional (05-07) → 末尾串行 (08) → Agent Team 升级 (09)
|
|
5
5
|
#
|
|
6
6
|
# Sister refs:
|
|
7
|
-
# - ~/.claude/CLAUDE.md "Verify 阶段" 章节 verbatim 7-step 列表 (gsd-verify-work + gsd-progress + code-review 多 agent + 关键模块 gstack /review 强制 + 可选 /qa /cso /design-review + code-simplifier + 4-specialist Agent Team 升级)
|
|
8
|
-
# - ~/.claude/rules/agent-teams.md Pattern C 多维度审查 (4-specialist 互相质询, NOT fire-and-forget; lead 委派 + cleanup mandatory)
|
|
9
7
|
# - workflows/capabilities.yaml — gsd-verify-work / gsd-progress / code-review / gstack-review / gstack-qa / gstack-cso / gstack-design-review / code-simplifier / agent-teams-create 9 entry (Phase 2.3 W0.1 SHIPPED)
|
|
10
8
|
# - workflows/judgments/parallelism-gate.yaml — subagent-default.fires (default fan-out) + agent-teams-upgrade.fires (5 触发 OR-chain; Phase 2.3 W0.2 SHIPPED)
|
|
11
9
|
# - workflows/defaults.yaml — ralph_max_iterations.verify-work.{01-gsd-verify-work=3, 02-code-review=5, 03-gstack-review=3, 04-code-simplifier=5} (Phase 2.3 W1.2 SHIPPED)
|
|
@@ -26,8 +24,8 @@ description: |
|
|
|
26
24
|
→ gstack /review Paranoid Staff Eng 关键模块强制 → 可选 /qa /cso /design-review conditional
|
|
27
25
|
→ code-simplifier 末尾串行 → 关键发布/大重构 PR 升级 4-specialist Agent Team Pattern C
|
|
28
26
|
多维度审查 (code-review + gstack-review + gstack-cso + gstack-qa 互相质询, NOT fire-and-forget)。
|
|
29
|
-
Cleanup mandatory
|
|
30
|
-
TeamDelete
|
|
27
|
+
Cleanup mandatory (bundled Agent Teams discipline): SendMessage shutdown_request +
|
|
28
|
+
TeamDelete — engine-level wiring, NOT yaml v2 schema scope.
|
|
31
29
|
|
|
32
30
|
phases:
|
|
33
31
|
# ============================================================================
|
|
@@ -125,9 +123,9 @@ phases:
|
|
|
125
123
|
# ============================================================================
|
|
126
124
|
# Agent Team 升级 (1 phase) — 关键发布 / 大重构 PR 4-specialist Pattern C
|
|
127
125
|
# ============================================================================
|
|
128
|
-
#
|
|
129
|
-
#
|
|
130
|
-
# team_cost < 2 × subagent_cost 估算前置 (开 team
|
|
126
|
+
# Bundled Agent Teams Pattern C — 多维度审查 (≥3 specialist 需要互相质询而非
|
|
127
|
+
# fire-and-forget): code-review + gstack-review + gstack-cso + gstack-qa
|
|
128
|
+
# team_cost < 2 × subagent_cost 估算前置 (开 team 前必估算; bundled cost guideline)
|
|
131
129
|
# cleanup mandatory: SendMessage shutdown_request + TeamDelete (engine-level wiring)
|
|
132
130
|
- id: 09-agent-team-multispecialist
|
|
133
131
|
name: agent-team-upgrade (4-specialist Pattern C — 关键发布/大重构 多维度审查 互相质询)
|