strikethroo 3.21.3 → 3.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.
- package/README.md +10 -0
- package/dist/cli.js +19 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +50 -15
- package/dist/index.js.map +1 -1
- package/dist/resolve-init-harnesses.d.ts +30 -0
- package/dist/resolve-init-harnesses.d.ts.map +1 -0
- package/dist/resolve-init-harnesses.js +44 -0
- package/dist/resolve-init-harnesses.js.map +1 -0
- package/dist/types.d.ts +32 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/update.d.ts +28 -0
- package/dist/update.d.ts.map +1 -0
- package/dist/update.js +198 -0
- package/dist/update.js.map +1 -0
- package/dist-web/assets/{arc-8Mxnwqfp.js → arc-CguPlWfb.js} +1 -1
- package/dist-web/assets/{architectureDiagram-3BPJPVTR-CjR6ApxR.js → architectureDiagram-3BPJPVTR-D65RMVqJ.js} +1 -1
- package/dist-web/assets/{blockDiagram-GPEHLZMM-DhGYH8V9.js → blockDiagram-GPEHLZMM-CNIwP_yH.js} +1 -1
- package/dist-web/assets/{c4Diagram-AAUBKEIU-BpUJqbui.js → c4Diagram-AAUBKEIU-CuZ4SoKV.js} +1 -1
- package/dist-web/assets/channel-BL14r_5w.js +1 -0
- package/dist-web/assets/{chunk-2J33WTMH-BX8NM2bi.js → chunk-2J33WTMH-DM4ZcjVq.js} +1 -1
- package/dist-web/assets/{chunk-4BX2VUAB-ChNDzlNh.js → chunk-4BX2VUAB-DI3-zGiF.js} +1 -1
- package/dist-web/assets/{chunk-55IACEB6-62ChSXXQ.js → chunk-55IACEB6-DBdh-eer.js} +1 -1
- package/dist-web/assets/{chunk-727SXJPM-DM_m3yWL.js → chunk-727SXJPM-B0HDPh0I.js} +1 -1
- package/dist-web/assets/{chunk-AQP2D5EJ-DZcEQaCW.js → chunk-AQP2D5EJ-C0MnLmRm.js} +1 -1
- package/dist-web/assets/{chunk-FMBD7UC4-jITTRsf2.js → chunk-FMBD7UC4-CmggDcp1.js} +1 -1
- package/dist-web/assets/{chunk-ND2GUHAM-D73huh8-.js → chunk-ND2GUHAM-BSIdB1y0.js} +1 -1
- package/dist-web/assets/{chunk-QZHKN3VN-DqdeIFoN.js → chunk-QZHKN3VN-BTHsXhgb.js} +1 -1
- package/dist-web/assets/classDiagram-4FO5ZUOK-DBkbEi_3.js +1 -0
- package/dist-web/assets/classDiagram-v2-Q7XG4LA2-DBkbEi_3.js +1 -0
- package/dist-web/assets/{cose-bilkent-S5V4N54A-B6y8LQMc.js → cose-bilkent-S5V4N54A-IXUMXU5h.js} +1 -1
- package/dist-web/assets/{dagre-BM42HDAG-CEudzPZe.js → dagre-BM42HDAG-CtwBET_X.js} +1 -1
- package/dist-web/assets/{diagram-2AECGRRQ-ADCpFrWI.js → diagram-2AECGRRQ-DRe1AFa_.js} +1 -1
- package/dist-web/assets/{diagram-5GNKFQAL-BQcNfKgC.js → diagram-5GNKFQAL-D9IRdgWX.js} +1 -1
- package/dist-web/assets/{diagram-KO2AKTUF-2Y25ZUgl.js → diagram-KO2AKTUF-CQi7gmRS.js} +1 -1
- package/dist-web/assets/{diagram-LMA3HP47-qiLQPz0R.js → diagram-LMA3HP47-B0fp5jh8.js} +1 -1
- package/dist-web/assets/{diagram-OG6HWLK6-5tV6wHg0.js → diagram-OG6HWLK6-B2ujFhv2.js} +1 -1
- package/dist-web/assets/{erDiagram-TEJ5UH35-C9KwzSBJ.js → erDiagram-TEJ5UH35-DcxHh3A8.js} +1 -1
- package/dist-web/assets/{flowDiagram-I6XJVG4X-DWFT6yjl.js → flowDiagram-I6XJVG4X-Btsglt1O.js} +1 -1
- package/dist-web/assets/{ganttDiagram-6RSMTGT7-CwOaaOj-.js → ganttDiagram-6RSMTGT7-BRaGl6R4.js} +1 -1
- package/dist-web/assets/{gitGraphDiagram-PVQCEYII-D9GwiRiE.js → gitGraphDiagram-PVQCEYII-Cl1DR87j.js} +1 -1
- package/dist-web/assets/{index-CJtNiGoR.js → index-CxXoZ0_J.js} +1 -1
- package/dist-web/assets/{index-R-j45X6T.js → index-DXt7jz3h.js} +4 -4
- package/dist-web/assets/{index-CXzu9Ojw.js → index-DZ4QtqqW.js} +1 -1
- package/dist-web/assets/{infoDiagram-5YYISTIA-8s7z_vpg.js → infoDiagram-5YYISTIA-GMZDkbDI.js} +1 -1
- package/dist-web/assets/{ishikawaDiagram-YF4QCWOH-mkZLBAJy.js → ishikawaDiagram-YF4QCWOH-DC8HBMwN.js} +1 -1
- package/dist-web/assets/{journeyDiagram-JHISSGLW-CrSmLI8k.js → journeyDiagram-JHISSGLW-4KT1uAXJ.js} +1 -1
- package/dist-web/assets/{kanban-definition-UN3LZRKU-jB_Pkb2G.js → kanban-definition-UN3LZRKU-bBpM_7W0.js} +1 -1
- package/dist-web/assets/{linear-BmZe-JSe.js → linear-BzW5Mi4V.js} +1 -1
- package/dist-web/assets/{mermaid.core-kJp9v7BU.js → mermaid.core-BZXehlCp.js} +4 -4
- package/dist-web/assets/{mindmap-definition-RKZ34NQL-BygLhP5m.js → mindmap-definition-RKZ34NQL-B8RhYsaN.js} +1 -1
- package/dist-web/assets/{pieDiagram-4H26LBE5-CERgWyaB.js → pieDiagram-4H26LBE5-DV749i9Y.js} +1 -1
- package/dist-web/assets/{quadrantDiagram-W4KKPZXB-BA_bITko.js → quadrantDiagram-W4KKPZXB-Cduffe8j.js} +1 -1
- package/dist-web/assets/{requirementDiagram-4Y6WPE33-BkZUv4kJ.js → requirementDiagram-4Y6WPE33-C7KngwZn.js} +1 -1
- package/dist-web/assets/{sankeyDiagram-5OEKKPKP-DpAA7Nm0.js → sankeyDiagram-5OEKKPKP-CJjwUGG3.js} +1 -1
- package/dist-web/assets/{sequenceDiagram-3UESZ5HK-D1A1wk57.js → sequenceDiagram-3UESZ5HK-BARiZOtJ.js} +1 -1
- package/dist-web/assets/{stateDiagram-AJRCARHV-GNvrUmkz.js → stateDiagram-AJRCARHV-DA1dHBGx.js} +1 -1
- package/dist-web/assets/stateDiagram-v2-BHNVJYJU-D4ioaqC3.js +1 -0
- package/dist-web/assets/{timeline-definition-PNZ67QCA-GEOSAbn6.js → timeline-definition-PNZ67QCA-ClE6cvJF.js} +1 -1
- package/dist-web/assets/{vennDiagram-CIIHVFJN-D_IwvMPq.js → vennDiagram-CIIHVFJN-BLR57Itf.js} +1 -1
- package/dist-web/assets/{wardley-L42UT6IY-CpNQq-PK.js → wardley-L42UT6IY-EA8x1UUF.js} +1 -1
- package/dist-web/assets/{wardleyDiagram-YWT4CUSO-DjyTS7lS.js → wardleyDiagram-YWT4CUSO-DHktlei-.js} +1 -1
- package/dist-web/assets/{xychartDiagram-2RQKCTM6-Bi0kYEuJ.js → xychartDiagram-2RQKCTM6-DOxQD_Ha.js} +1 -1
- package/dist-web/index.html +1 -1
- package/package.json +4 -1
- package/templates/harness/skills/st-create-plan/SKILL.md +12 -1
- package/templates/harness/skills/st-create-plan/scripts/check-for-updates.cjs +2502 -0
- package/templates/harness/skills/st-execute-blueprint/SKILL.md +13 -2
- package/templates/harness/skills/st-execute-blueprint/scripts/check-for-updates.cjs +2502 -0
- package/templates/harness/skills/st-execute-blueprint/scripts/dispatch-task-execution.cjs +1 -0
- package/templates/harness/skills/st-execute-task/SKILL.md +16 -0
- package/templates/harness/skills/st-execute-task/scripts/check-for-updates.cjs +2502 -0
- package/templates/harness/skills/st-execute-task/scripts/dispatch-task-execution.cjs +1 -0
- package/templates/harness/skills/st-full-workflow/SKILL.md +20 -3
- package/templates/harness/skills/st-full-workflow/scripts/check-for-updates.cjs +2502 -0
- package/templates/harness/skills/st-full-workflow/scripts/dispatch-task-execution.cjs +1 -0
- package/templates/harness/skills/st-generate-tasks/SKILL.md +11 -0
- package/templates/harness/skills/st-generate-tasks/scripts/check-for-updates.cjs +2502 -0
- package/templates/harness/skills/st-refine-plan/SKILL.md +11 -0
- package/templates/harness/skills/st-refine-plan/scripts/check-for-updates.cjs +2502 -0
- package/templates/strikethroo/config/templates/UPDATE_NOTICE_TEMPLATE.md +1 -0
- package/dist-web/assets/channel-BJWsQ6W2.js +0 -1
- package/dist-web/assets/classDiagram-4FO5ZUOK-yCIjCNKh.js +0 -1
- package/dist-web/assets/classDiagram-v2-Q7XG4LA2-yCIjCNKh.js +0 -1
- package/dist-web/assets/stateDiagram-v2-BHNVJYJU-DkJ7czmr.js +0 -1
|
@@ -3642,6 +3642,7 @@ var import_child_process2 = require("child_process");
|
|
|
3642
3642
|
var taskPrompt = (request) => `Strikethroo external task dispatch \u2014 Plan ${request.planId}, Task ${request.taskId}.
|
|
3643
3643
|
Workspace: ${request.workspace}
|
|
3644
3644
|
Task file: ${request.taskFile}
|
|
3645
|
+
You are a delegated execution worker. Do not run check-for-updates.cjs or emit update notices.
|
|
3645
3646
|
Before implementation, read and execute ${path2.join(
|
|
3646
3647
|
request.workspace,
|
|
3647
3648
|
".ai/strikethroo/config/hooks/PRE_TASK_EXECUTION.md"
|
|
@@ -24,6 +24,13 @@ it exits non-zero, stop and ask the user to run `npx strikethroo init`.
|
|
|
24
24
|
|
|
25
25
|
Treat the path it prints as `<root>` for every subsequent step.
|
|
26
26
|
|
|
27
|
+
Delegated execution workers skip this step and do not emit update notices.
|
|
28
|
+
|
|
29
|
+
Run `scripts/check-for-updates.cjs "<root>"` as a separate command using this
|
|
30
|
+
skill's script path. Keep the user's working directory. Read the one JSON line
|
|
31
|
+
on stdout. When `notice` is present, retain its exact text for the final
|
|
32
|
+
user-facing response. Never pause for permission and never run an update.
|
|
33
|
+
|
|
27
34
|
#### 2. Load project context
|
|
28
35
|
|
|
29
36
|
Read `<root>/config/STRIKETHROO.md` for this project's directory conventions.
|
|
@@ -84,7 +91,7 @@ Execute `<root>/config/hooks/POST_PLAN.md`.
|
|
|
84
91
|
|
|
85
92
|
#### 8. Emit the Step 1 structured summary
|
|
86
93
|
|
|
87
|
-
Conclude Step 1 with exactly this block:
|
|
94
|
+
Conclude Step 1 with exactly this block (a retained update notice, when present, follows after the workflow's final summary):
|
|
88
95
|
|
|
89
96
|
```
|
|
90
97
|
---
|
|
@@ -96,10 +103,14 @@ Plan Summary:
|
|
|
96
103
|
|
|
97
104
|
Parse the `Plan ID` value from this output and pass it to Step 2.
|
|
98
105
|
|
|
106
|
+
|
|
107
|
+
|
|
99
108
|
### Step 2: Task Generation
|
|
100
109
|
|
|
101
110
|
Using the plan ID from Step 1:
|
|
102
111
|
|
|
112
|
+
|
|
113
|
+
|
|
103
114
|
#### 1. Resolve the plan
|
|
104
115
|
|
|
105
116
|
Run `scripts/validate-plan-blueprint.cjs <plan-id> planFile` for the plan
|
|
@@ -285,6 +296,8 @@ reported routing off.
|
|
|
285
296
|
|
|
286
297
|
Using the plan ID from Step 1:
|
|
287
298
|
|
|
299
|
+
|
|
300
|
+
|
|
288
301
|
#### 1. Resolve the plan
|
|
289
302
|
|
|
290
303
|
Run `scripts/validate-plan-blueprint.cjs <plan-id> planFile` for the plan
|
|
@@ -374,7 +387,7 @@ Handoff rules:
|
|
|
374
387
|
- Pass the exact opaque `handoff` string the resolver returned for that task. Never reconstruct one.
|
|
375
388
|
- Never reuse a handoff for another task, and never rerun resolution after launches begin.
|
|
376
389
|
|
|
377
|
-
Deploy all remaining native sub-agents simultaneously. Each sub-agent must read and execute `<root>/config/hooks/PRE_TASK_EXECUTION.md` before any implementation work, then execute the task and update its status.
|
|
390
|
+
Deploy all remaining native sub-agents simultaneously. Each sub-agent must read and execute `<root>/config/hooks/PRE_TASK_EXECUTION.md` before any implementation work, then execute the task and update its status. Do not run `scripts/check-for-updates.cjs`; delegated workers do not consume update notices.
|
|
378
391
|
|
|
379
392
|
##### 6c. Phase completion verification
|
|
380
393
|
Ensure every task in the phase has status `completed` and collect its outputs. Do not accept a subagent's report of success as proof. Apply the evidence gate in `<root>/config/shared/verification-gate.md` before marking the phase complete.
|
|
@@ -439,7 +452,7 @@ Move the completed plan directory from `<root>/plans/<plan-folder>` to `<root>/a
|
|
|
439
452
|
|
|
440
453
|
## Execution Summary
|
|
441
454
|
|
|
442
|
-
Conclude with exactly this block
|
|
455
|
+
Conclude with exactly this block (a retained update notice, when present, follows separately):
|
|
443
456
|
|
|
444
457
|
```
|
|
445
458
|
---
|
|
@@ -451,3 +464,7 @@ Execution Summary:
|
|
|
451
464
|
```
|
|
452
465
|
|
|
453
466
|
The summary is consumed by downstream automation; keep the format exact.
|
|
467
|
+
|
|
468
|
+
When the retained update `notice` is present, append that exact sentence after
|
|
469
|
+
the structured summary block, or after your final response when this skill emits
|
|
470
|
+
no summary block. Nothing may follow the notice.
|