harnessed 4.20.0 → 4.22.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.
Files changed (56) hide show
  1. package/bin/harnessed-inject-state.mjs +68 -8
  2. package/dist/cli.mjs +473 -118
  3. package/dist/cli.mjs.map +1 -1
  4. package/dist/index.mjs +1 -1
  5. package/dist/index.mjs.map +1 -1
  6. package/package.json +1 -1
  7. package/workflows/auto/SKILL.md +7 -2
  8. package/workflows/auto/SKILL.zh-Hans.md +7 -2
  9. package/workflows/discuss/auto/SKILL.md +5 -1
  10. package/workflows/discuss/auto/SKILL.zh-Hans.md +5 -1
  11. package/workflows/plan/architecture/SKILL.md +4 -0
  12. package/workflows/plan/architecture/SKILL.zh-Hans.md +4 -0
  13. package/workflows/plan/auto/SKILL.md +4 -0
  14. package/workflows/plan/auto/SKILL.zh-Hans.md +4 -0
  15. package/workflows/plan/phase/SKILL.md +4 -0
  16. package/workflows/plan/phase/SKILL.zh-Hans.md +4 -0
  17. package/workflows/research/SKILL.md +4 -0
  18. package/workflows/research/SKILL.zh-Hans.md +4 -0
  19. package/workflows/retro/SKILL.md +4 -0
  20. package/workflows/retro/SKILL.zh-Hans.md +4 -0
  21. package/workflows/role-prompts.yaml +5 -3
  22. package/workflows/role-prompts.zh-Hans.yaml +5 -3
  23. package/workflows/ship/auto/SKILL.md +4 -0
  24. package/workflows/ship/auto/SKILL.zh-Hans.md +4 -0
  25. package/workflows/ship/preflight/SKILL.md +4 -0
  26. package/workflows/ship/preflight/SKILL.zh-Hans.md +4 -0
  27. package/workflows/task/auto/SKILL.md +4 -0
  28. package/workflows/task/auto/SKILL.zh-Hans.md +4 -0
  29. package/workflows/task/code/SKILL.md +5 -1
  30. package/workflows/task/code/SKILL.zh-Hans.md +5 -1
  31. package/workflows/task/deliver/SKILL.md +4 -0
  32. package/workflows/task/deliver/SKILL.zh-Hans.md +4 -0
  33. package/workflows/task/test/SKILL.md +4 -0
  34. package/workflows/task/test/SKILL.zh-Hans.md +4 -0
  35. package/workflows/verify/auto/SKILL.md +4 -0
  36. package/workflows/verify/auto/SKILL.zh-Hans.md +4 -0
  37. package/workflows/verify/code-review/SKILL.md +4 -0
  38. package/workflows/verify/code-review/SKILL.zh-Hans.md +4 -0
  39. package/workflows/verify/design/SKILL.md +4 -0
  40. package/workflows/verify/design/SKILL.zh-Hans.md +4 -0
  41. package/workflows/verify/eval-review/SKILL.md +4 -0
  42. package/workflows/verify/eval-review/SKILL.zh-Hans.md +4 -0
  43. package/workflows/verify/multispec/SKILL.md +4 -0
  44. package/workflows/verify/multispec/SKILL.zh-Hans.md +4 -0
  45. package/workflows/verify/paranoid/SKILL.md +4 -0
  46. package/workflows/verify/paranoid/SKILL.zh-Hans.md +4 -0
  47. package/workflows/verify/progress/SKILL.md +4 -0
  48. package/workflows/verify/progress/SKILL.zh-Hans.md +4 -0
  49. package/workflows/verify/qa/SKILL.md +4 -0
  50. package/workflows/verify/qa/SKILL.zh-Hans.md +4 -0
  51. package/workflows/verify/security/SKILL.md +4 -0
  52. package/workflows/verify/security/SKILL.zh-Hans.md +4 -0
  53. package/workflows/verify/simplify/SKILL.md +4 -0
  54. package/workflows/verify/simplify/SKILL.zh-Hans.md +4 -0
  55. package/workflows/verify/validate-phase/SKILL.md +4 -0
  56. package/workflows/verify/validate-phase/SKILL.zh-Hans.md +4 -0
@@ -66,6 +66,10 @@ Phase-level `on` clause (critical-release 升级触发):
66
66
 
67
67
  ## How to invoke
68
68
 
69
+ !`harnessed checkpoint intent verify-multispec`
70
+
71
+ > The banner above (when present) means this invocation is REGISTERED with the engine (an intent marker) — not yet compliant: the steps below (prompt → spawn → checkpoint complete) resolve it, and a per-turn `<workflow-intent>` reminder persists until they run.
72
+
69
73
  The numbered sequence below **is** the state machine — execute it with Bash. Do NOT improvise
70
74
  an equivalent flow from the Overview above: freelancing bypasses the engine (no ledger, no
71
75
  evidence guard). harnessed gives you the spawn-ready prompt; YOU spawn the subagent with a
@@ -66,6 +66,10 @@ Phase 级 `on` 子句(critical-release 升级触发):
66
66
 
67
67
  ## 如何调用
68
68
 
69
+ !`harnessed checkpoint intent verify-multispec`
70
+
71
+ > 上方 banner(如出现)表示本次调用已在引擎**登记**(intent 标记)——尚未合规:按下方步骤(prompt → spawn → checkpoint complete)完成即解除;在此之前每 turn 会持续注入 `<workflow-intent>` 提醒。
72
+
69
73
  下面这套编号序列**就是** state machine —— 用 Bash 执行。**不要**从上方 Overview 自行演绎等价流程:
70
74
  freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 spawn-ready prompt;**你**用
71
75
  CC-native Task / Agent 工具 spawn subagent(保持 session 响应 + 让澄清 round-trip 能回到用户)。
@@ -52,6 +52,10 @@ Sister `workflows/judgments/stage-routing.yaml`:
52
52
 
53
53
  ## How to invoke
54
54
 
55
+ !`harnessed checkpoint intent verify-paranoid`
56
+
57
+ > The banner above (when present) means this invocation is REGISTERED with the engine (an intent marker) — not yet compliant: the steps below (prompt → spawn → checkpoint complete) resolve it, and a per-turn `<workflow-intent>` reminder persists until they run.
58
+
55
59
  The numbered sequence below **is** the state machine — execute it with Bash. Do NOT improvise
56
60
  an equivalent flow from the Overview above: freelancing bypasses the engine (no ledger, no
57
61
  evidence guard). harnessed gives you the spawn-ready prompt; YOU spawn the subagent with a
@@ -52,6 +52,10 @@ Sister `workflows/judgments/stage-routing.yaml`:
52
52
 
53
53
  ## 如何调用
54
54
 
55
+ !`harnessed checkpoint intent verify-paranoid`
56
+
57
+ > 上方 banner(如出现)表示本次调用已在引擎**登记**(intent 标记)——尚未合规:按下方步骤(prompt → spawn → checkpoint complete)完成即解除;在此之前每 turn 会持续注入 `<workflow-intent>` 提醒。
58
+
55
59
  下面这套编号序列**就是** state machine —— 用 Bash 执行。**不要**从上方 Overview 自行演绎等价流程:
56
60
  freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 spawn-ready prompt;**你**用
57
61
  CC-native Task / Agent 工具 spawn subagent(保持 session 响应 + 让澄清 round-trip 能回到用户)。
@@ -48,6 +48,10 @@ verify-progress-always trigger)。无 skip 条件 — verify-work 起点必跑
48
48
 
49
49
  ## How to invoke
50
50
 
51
+ !`harnessed checkpoint intent verify-progress`
52
+
53
+ > The banner above (when present) means this invocation is REGISTERED with the engine (an intent marker) — not yet compliant: the steps below (prompt → spawn → checkpoint complete) resolve it, and a per-turn `<workflow-intent>` reminder persists until they run.
54
+
51
55
  The numbered sequence below **is** the state machine — execute it with Bash. Do NOT improvise
52
56
  an equivalent flow from the Overview above: freelancing bypasses the engine (no ledger, no
53
57
  evidence guard). harnessed gives you the spawn-ready prompt; YOU spawn the subagent with a
@@ -47,6 +47,10 @@ verify-progress-always trigger)。无 skip 条件 — verify-work 起点必跑
47
47
 
48
48
  ## 如何调用
49
49
 
50
+ !`harnessed checkpoint intent verify-progress`
51
+
52
+ > 上方 banner(如出现)表示本次调用已在引擎**登记**(intent 标记)——尚未合规:按下方步骤(prompt → spawn → checkpoint complete)完成即解除;在此之前每 turn 会持续注入 `<workflow-intent>` 提醒。
53
+
50
54
  下面这套编号序列**就是** state machine —— 用 Bash 执行。**不要**从上方 Overview 自行演绎等价流程:
51
55
  freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 spawn-ready prompt;**你**用
52
56
  CC-native Task / Agent 工具 spawn subagent(保持 session 响应 + 让澄清 round-trip 能回到用户)。
@@ -54,6 +54,10 @@ Sister `workflows/judgments/stage-routing.yaml`:
54
54
 
55
55
  ## How to invoke
56
56
 
57
+ !`harnessed checkpoint intent verify-qa`
58
+
59
+ > The banner above (when present) means this invocation is REGISTERED with the engine (an intent marker) — not yet compliant: the steps below (prompt → spawn → checkpoint complete) resolve it, and a per-turn `<workflow-intent>` reminder persists until they run.
60
+
57
61
  The numbered sequence below **is** the state machine — execute it with Bash. Do NOT improvise
58
62
  an equivalent flow from the Overview above: freelancing bypasses the engine (no ledger, no
59
63
  evidence guard). harnessed gives you the spawn-ready prompt; YOU spawn the subagent with a
@@ -54,6 +54,10 @@ Sister `workflows/judgments/stage-routing.yaml`:
54
54
 
55
55
  ## 如何调用
56
56
 
57
+ !`harnessed checkpoint intent verify-qa`
58
+
59
+ > 上方 banner(如出现)表示本次调用已在引擎**登记**(intent 标记)——尚未合规:按下方步骤(prompt → spawn → checkpoint complete)完成即解除;在此之前每 turn 会持续注入 `<workflow-intent>` 提醒。
60
+
57
61
  下面这套编号序列**就是** state machine —— 用 Bash 执行。**不要**从上方 Overview 自行演绎等价流程:
58
62
  freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 spawn-ready prompt;**你**用
59
63
  CC-native Task / Agent 工具 spawn subagent(保持 session 响应 + 让澄清 round-trip 能回到用户)。
@@ -49,6 +49,10 @@ Sister `workflows/judgments/stage-routing.yaml`:
49
49
 
50
50
  ## How to invoke
51
51
 
52
+ !`harnessed checkpoint intent verify-security`
53
+
54
+ > The banner above (when present) means this invocation is REGISTERED with the engine (an intent marker) — not yet compliant: the steps below (prompt → spawn → checkpoint complete) resolve it, and a per-turn `<workflow-intent>` reminder persists until they run.
55
+
52
56
  The numbered sequence below **is** the state machine — execute it with Bash. Do NOT improvise
53
57
  an equivalent flow from the Overview above: freelancing bypasses the engine (no ledger, no
54
58
  evidence guard). harnessed gives you the spawn-ready prompt; YOU spawn the subagent with a
@@ -49,6 +49,10 @@ Sister `workflows/judgments/stage-routing.yaml`:
49
49
 
50
50
  ## 如何调用
51
51
 
52
+ !`harnessed checkpoint intent verify-security`
53
+
54
+ > 上方 banner(如出现)表示本次调用已在引擎**登记**(intent 标记)——尚未合规:按下方步骤(prompt → spawn → checkpoint complete)完成即解除;在此之前每 turn 会持续注入 `<workflow-intent>` 提醒。
55
+
52
56
  下面这套编号序列**就是** state machine —— 用 Bash 执行。**不要**从上方 Overview 自行演绎等价流程:
53
57
  freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 spawn-ready prompt;**你**用
54
58
  CC-native Task / Agent 工具 spawn subagent(保持 session 响应 + 让澄清 round-trip 能回到用户)。
@@ -49,6 +49,10 @@ Sister `workflows/judgments/stage-routing.yaml`:
49
49
 
50
50
  ## How to invoke
51
51
 
52
+ !`harnessed checkpoint intent verify-simplify`
53
+
54
+ > The banner above (when present) means this invocation is REGISTERED with the engine (an intent marker) — not yet compliant: the steps below (prompt → spawn → checkpoint complete) resolve it, and a per-turn `<workflow-intent>` reminder persists until they run.
55
+
52
56
  The numbered sequence below **is** the state machine — execute it with Bash. Do NOT improvise
53
57
  an equivalent flow from the Overview above: freelancing bypasses the engine (no ledger, no
54
58
  evidence guard). harnessed gives you the spawn-ready prompt; YOU spawn the subagent with a
@@ -49,6 +49,10 @@ Sister `workflows/judgments/stage-routing.yaml`:
49
49
 
50
50
  ## 如何调用
51
51
 
52
+ !`harnessed checkpoint intent verify-simplify`
53
+
54
+ > 上方 banner(如出现)表示本次调用已在引擎**登记**(intent 标记)——尚未合规:按下方步骤(prompt → spawn → checkpoint complete)完成即解除;在此之前每 turn 会持续注入 `<workflow-intent>` 提醒。
55
+
52
56
  下面这套编号序列**就是** state machine —— 用 Bash 执行。**不要**从上方 Overview 自行演绎等价流程:
53
57
  freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 spawn-ready prompt;**你**用
54
58
  CC-native Task / Agent 工具 spawn subagent(保持 session 响应 + 让澄清 round-trip 能回到用户)。
@@ -44,6 +44,10 @@ Sister `workflows/judgments/stage-routing.yaml`:
44
44
 
45
45
  ## How to invoke
46
46
 
47
+ !`harnessed checkpoint intent verify-validate-phase`
48
+
49
+ > The banner above (when present) means this invocation is REGISTERED with the engine (an intent marker) — not yet compliant: the steps below (prompt → spawn → checkpoint complete) resolve it, and a per-turn `<workflow-intent>` reminder persists until they run.
50
+
47
51
  The numbered sequence below **is** the state machine — execute it with Bash. Do NOT improvise
48
52
  an equivalent flow from the Overview above: freelancing bypasses the engine (no ledger, no
49
53
  evidence guard). harnessed gives you the spawn-ready prompt; YOU spawn the subagent with a
@@ -44,6 +44,10 @@ Sister `workflows/judgments/stage-routing.yaml`:
44
44
 
45
45
  ## 如何调用
46
46
 
47
+ !`harnessed checkpoint intent verify-validate-phase`
48
+
49
+ > 上方 banner(如出现)表示本次调用已在引擎**登记**(intent 标记)——尚未合规:按下方步骤(prompt → spawn → checkpoint complete)完成即解除;在此之前每 turn 会持续注入 `<workflow-intent>` 提醒。
50
+
47
51
  下面这套编号序列**就是** state machine —— 用 Bash 执行。**不要**从上方 Overview 自行演绎等价流程:
48
52
  freestyle 会旁路引擎(无 ledger、无 evidence guard)。harnessed 给你 spawn-ready prompt;**你**用
49
53
  CC-native Task / Agent 工具 spawn subagent(保持 session 响应 + 让澄清 round-trip 能回到用户)。