harnessed 3.4.4 → 3.5.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/dist/cli.mjs +38 -3
- package/dist/cli.mjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- 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 +2 -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/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 +4 -3
- 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,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 — 关键发布/大重构 多维度审查 互相质询)
|