sdtk-spec-kit 0.3.13 → 0.3.14

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 (22) hide show
  1. package/assets/manifest/toolkit-bundle.manifest.json +44 -39
  2. package/assets/manifest/toolkit-bundle.sha256.txt +19 -18
  3. package/assets/toolkit/toolkit/README.md +3 -2
  4. package/assets/toolkit/toolkit/SDTK_TOOLKIT.md +8 -2
  5. package/assets/toolkit/toolkit/scripts/agents/run-claude-task.ps1 +110 -51
  6. package/assets/toolkit/toolkit/scripts/agents/run-codex-task.ps1 +102 -43
  7. package/assets/toolkit/toolkit/scripts/agents/validate-mailbox-formal-artifact.py +87 -0
  8. package/assets/toolkit/toolkit/scripts/generate-code-handoff.ps1 +9 -0
  9. package/assets/toolkit/toolkit/skills/sdtk-ba/SKILL.md +7 -0
  10. package/assets/toolkit/toolkit/skills/sdtk-dev/SKILL.md +1 -0
  11. package/assets/toolkit/toolkit/skills/sdtk-mailbox-dispatch/SKILL.md +5 -4
  12. package/assets/toolkit/toolkit/skills/sdtk-pm/SKILL.md +22 -13
  13. package/assets/toolkit/toolkit/skills-claude/ba/SKILL.md +9 -1
  14. package/assets/toolkit/toolkit/skills-claude/dev/SKILL.md +1 -0
  15. package/assets/toolkit/toolkit/skills-claude/mailbox-dispatch/SKILL.md +5 -4
  16. package/assets/toolkit/toolkit/skills-claude/pm/SKILL.md +9 -0
  17. package/assets/toolkit/toolkit/templates/docs/product/CONDENSED_UPSTREAM_INPUT_TEMPLATE.md +140 -0
  18. package/assets/toolkit/toolkit/templates/handoffs/DEV_TO_SDTK_CODE.md +26 -0
  19. package/assets/toolkit/toolkit/templates/handoffs/PM_TO_BA.md +2 -2
  20. package/assets/toolkit/toolkit/templates/mailbox/AGENT_REPORT_TEMPLATE.md +12 -8
  21. package/assets/toolkit/toolkit/templates/mailbox/AGENT_TASK_TEMPLATE.md +6 -2
  22. package/package.json +48 -48
@@ -1,7 +1,7 @@
1
1
  {
2
- "version": "0.3.13",
3
- "sourceCommit": "59eeda37fb1a412d1d0b29aa0b72318e5dad52c2",
4
- "fileCount": 106,
2
+ "version": "0.3.14",
3
+ "sourceCommit": "8a1d247cc5e0df2712f9d9e9af99baf765eca503",
4
+ "fileCount": 107,
5
5
  "files": [
6
6
  {
7
7
  "path": "toolkit/AGENTS.md",
@@ -15,8 +15,8 @@
15
15
  },
16
16
  {
17
17
  "path": "toolkit/README.md",
18
- "sha256": "88f5f1e258e5b31e23b81d6f742965441dabdafffddfaf11d722191733928812",
19
- "size": 3272
18
+ "sha256": "1cb0643111e385a1ba606458998a977dc0c066cfdefc4e7069dd485ab2843c4e",
19
+ "size": 3485
20
20
  },
21
21
  {
22
22
  "path": "toolkit/runtimes/claude/CLAUDE_TEMPLATE.md",
@@ -30,18 +30,23 @@
30
30
  },
31
31
  {
32
32
  "path": "toolkit/scripts/agents/run-claude-task.ps1",
33
- "sha256": "a90a3716aa5540b2ae397c41a2a47646806ea0c203dbaec716b0e8a7897fb992",
34
- "size": 2184
33
+ "sha256": "3ed4e1d5c951aa309a64c5940e9f1e69e6748e07c650258017deebb9287c0f2d",
34
+ "size": 4706
35
35
  },
36
36
  {
37
37
  "path": "toolkit/scripts/agents/run-codex-task.ps1",
38
- "sha256": "1ec6c70c88bec22a3dfebd776f8ff5111d21dfa015b709651195283428a717e7",
39
- "size": 1399
38
+ "sha256": "0676c7e5af3ba249efbb55786ba1e052d4db952eea53f11a4586d23a03c65dc7",
39
+ "size": 3974
40
+ },
41
+ {
42
+ "path": "toolkit/scripts/agents/validate-mailbox-formal-artifact.py",
43
+ "sha256": "f726aac97132a74d64cfac238a4ad736391a67291219221bb1abb20ecf81940a",
44
+ "size": 2887
40
45
  },
41
46
  {
42
47
  "path": "toolkit/scripts/generate-code-handoff.ps1",
43
- "sha256": "ecd80db2a870a996b1998eb5ea7a0acf2c1cd5ad40b6fcaee961098564f7584e",
44
- "size": 10670
48
+ "sha256": "48bc3d8b1942e1e3499d8933a97e1c8f9bcb201e7c4d801afa3f04159113bdee",
49
+ "size": 11275
45
50
  },
46
51
  {
47
52
  "path": "toolkit/scripts/init-feature.ps1",
@@ -70,8 +75,8 @@
70
75
  },
71
76
  {
72
77
  "path": "toolkit/SDTK_TOOLKIT.md",
73
- "sha256": "08e32f96a87b1a6fb2ff577238674d04829704f2a111ef10ea1c482ab2fedce2",
74
- "size": 7645
78
+ "sha256": "d912703621cd3233b3af0adf0b3df6876cb20bb9f514276d2a501dd8e1859629",
79
+ "size": 8289
75
80
  },
76
81
  {
77
82
  "path": "toolkit/sdtk-spec.config.json",
@@ -160,8 +165,8 @@
160
165
  },
161
166
  {
162
167
  "path": "toolkit/skills/sdtk-ba/SKILL.md",
163
- "sha256": "4ef4da3d36223c1c9c2dc00d80044147651cdcdac53e6639023de13ebec446e3",
164
- "size": 1866
168
+ "sha256": "ce5af79e5c4902b9c8ceb7e8dae848a6a5a26d5b845eee94ee8aafff88990256",
169
+ "size": 2318
165
170
  },
166
171
  {
167
172
  "path": "toolkit/skills/sdtk-design-layout/scripts/render_design_layout_images.py",
@@ -190,8 +195,8 @@
190
195
  },
191
196
  {
192
197
  "path": "toolkit/skills/sdtk-dev/SKILL.md",
193
- "sha256": "161bc181f360105928167d9fdba0cbaab63f72b87bfc707e4164b8167c564079",
194
- "size": 9186
198
+ "sha256": "1f10d2c1405d0ef80caa0b741197f2fde80659bab4e66291560780413e633313",
199
+ "size": 9542
195
200
  },
196
201
  {
197
202
  "path": "toolkit/skills/sdtk-dev-backend/SKILL.md",
@@ -205,8 +210,8 @@
205
210
  },
206
211
  {
207
212
  "path": "toolkit/skills/sdtk-mailbox-dispatch/SKILL.md",
208
- "sha256": "91b552120b11d0e889cb4b4dddd876c77082acc223b53f1d6f874a141e0f574e",
209
- "size": 4489
213
+ "sha256": "738a48be4a0d6adf5d7f0033b053ca999e00e0e9103702e1bea60d5ecfd7b328",
214
+ "size": 4807
210
215
  },
211
216
  {
212
217
  "path": "toolkit/skills/sdtk-orchestrator/SKILL.md",
@@ -215,8 +220,8 @@
215
220
  },
216
221
  {
217
222
  "path": "toolkit/skills/sdtk-pm/SKILL.md",
218
- "sha256": "af75044d9fcdadcf6bb3eb3ba533305acb198447c004b1117991ba0a7658044d",
219
- "size": 3842
223
+ "sha256": "90d3c9d8bb2bb3b28e81bc10c6b1799236250dfcb2ebed43eb161c78ff00a084",
224
+ "size": 4432
220
225
  },
221
226
  {
222
227
  "path": "toolkit/skills/sdtk-qa/SKILL.md",
@@ -295,8 +300,8 @@
295
300
  },
296
301
  {
297
302
  "path": "toolkit/skills-claude/ba/SKILL.md",
298
- "sha256": "ab69d8c15bad869a5bb94ea056172330ff036e3f0371111ae0193f2be713699a",
299
- "size": 3028
303
+ "sha256": "7f6ed86a7a9cbafbb4b4903546984967dc29e4893e8a628d9725bd19cc4c5626",
304
+ "size": 3572
300
305
  },
301
306
  {
302
307
  "path": "toolkit/skills-claude/design-layout/SKILL.md",
@@ -305,8 +310,8 @@
305
310
  },
306
311
  {
307
312
  "path": "toolkit/skills-claude/dev/SKILL.md",
308
- "sha256": "204fd0d76c2628579f3f85b8cd5e5a25c49d6b362d1f0834899418ccb85e6c2e",
309
- "size": 3618
313
+ "sha256": "7806428b02784daa03785f55c16414f9c40fb5f36481c4bd3973c7be38fdba10",
314
+ "size": 3974
310
315
  },
311
316
  {
312
317
  "path": "toolkit/skills-claude/dev-backend/SKILL.md",
@@ -320,8 +325,8 @@
320
325
  },
321
326
  {
322
327
  "path": "toolkit/skills-claude/mailbox-dispatch/SKILL.md",
323
- "sha256": "71ef1577dd3d0e9cc84bc1b019ab3b6f73d2a6a084ba46a59f32d0ce07318b08",
324
- "size": 4484
328
+ "sha256": "0e45fb26e1a17e0f75a59acf59fe6a4cd8b74a17c32a9eded08c7d6b8b37bf8a",
329
+ "size": 4802
325
330
  },
326
331
  {
327
332
  "path": "toolkit/skills-claude/orchestrator/SKILL.md",
@@ -330,8 +335,8 @@
330
335
  },
331
336
  {
332
337
  "path": "toolkit/skills-claude/pm/SKILL.md",
333
- "sha256": "b2408bf29e93624bf675e01c544fddce89e5e134f6f86c9e68e6ac5264c15a57",
334
- "size": 4360
338
+ "sha256": "e9e346ff0e1fc66236ceabf64a043c9a28926e7ff06296b26dd5836cf045802a",
339
+ "size": 4928
335
340
  },
336
341
  {
337
342
  "path": "toolkit/skills-claude/qa/SKILL.md",
@@ -420,8 +425,8 @@
420
425
  },
421
426
  {
422
427
  "path": "toolkit/templates/docs/product/CONDENSED_UPSTREAM_INPUT_TEMPLATE.md",
423
- "sha256": "beecb0b419e7d2fc2e1811466e4e405619c789dacf59b7b4e46e15cdca674420",
424
- "size": 4040
428
+ "sha256": "dcf18f2793218258d76348be38afa1a3616a24d39c43c4ef9e3e7d14cc581338",
429
+ "size": 11118
425
430
  },
426
431
  {
427
432
  "path": "toolkit/templates/docs/product/PRD_TEMPLATE.md",
@@ -495,13 +500,13 @@
495
500
  },
496
501
  {
497
502
  "path": "toolkit/templates/handoffs/DEV_TO_SDTK_CODE.md",
498
- "sha256": "90326a5b9f5d03a01043757b9f148123a1dbd165dccd2a5282912f339407369a",
499
- "size": 1369
503
+ "sha256": "5d1aec41dd9c51c1dac67ab344dd8acecb9be79717ddadf91d358013eecdcb26",
504
+ "size": 3291
500
505
  },
501
506
  {
502
507
  "path": "toolkit/templates/handoffs/PM_TO_BA.md",
503
- "sha256": "fac21868840d83eb111c7939eca3ec439e5791d7609809fe83e19f81fef4b0fb",
504
- "size": 1091
508
+ "sha256": "f70bd655f2865adb2231976e9861054522e45afd3e13613430b5ebe9176ac80d",
509
+ "size": 1083
505
510
  },
506
511
  {
507
512
  "path": "toolkit/templates/handoffs/QA_RELEASE_DECISION.md",
@@ -510,13 +515,13 @@
510
515
  },
511
516
  {
512
517
  "path": "toolkit/templates/mailbox/AGENT_REPORT_TEMPLATE.md",
513
- "sha256": "95cedcfb5b1e3317f595c8090b0aa62d6b6d1e086ae09cf1c73afbe7639bf04e",
514
- "size": 1213
518
+ "sha256": "d36ae9af62e0f403e588b3ce6608cea335ab1d9af693021bdce2731ff8cb5bc3",
519
+ "size": 1390
515
520
  },
516
521
  {
517
522
  "path": "toolkit/templates/mailbox/AGENT_TASK_TEMPLATE.md",
518
- "sha256": "0e157de37038d4bb5e86e4bba80b880718b1b35db2f9e4132a6bdd092fd58f02",
519
- "size": 1680
523
+ "sha256": "e90b3db979a63b8ff404f7871e2c922301d4918f0ece3b547e6695e275d2889b",
524
+ "size": 2169
520
525
  },
521
526
  {
522
527
  "path": "toolkit/templates/QUALITY_CHECKLIST.md",
@@ -1,17 +1,18 @@
1
1
  2f1769f4220d6c3a2542e098b4c71b84ec887d52a6458cc1859911cdcf61a61c toolkit/AGENTS.md
2
2
  39cabad986469a3ec8f0edf1d58039cd302e2a4b19364fde2653ba130f4d5ccc toolkit/install.ps1
3
- 88f5f1e258e5b31e23b81d6f742965441dabdafffddfaf11d722191733928812 toolkit/README.md
3
+ 1cb0643111e385a1ba606458998a977dc0c066cfdefc4e7069dd485ab2843c4e toolkit/README.md
4
4
  5864881f4f59d634b2570b4f1d69c3bb092fd08dab531c9da470f1560e7d004f toolkit/runtimes/claude/CLAUDE_TEMPLATE.md
5
5
  4453f452a6ac99f123d734f66d608e0c3d931262f3b51ea32307ef327911e938 toolkit/runtimes/codex/CODEX_TEMPLATE.md
6
- a90a3716aa5540b2ae397c41a2a47646806ea0c203dbaec716b0e8a7897fb992 toolkit/scripts/agents/run-claude-task.ps1
7
- 1ec6c70c88bec22a3dfebd776f8ff5111d21dfa015b709651195283428a717e7 toolkit/scripts/agents/run-codex-task.ps1
8
- ecd80db2a870a996b1998eb5ea7a0acf2c1cd5ad40b6fcaee961098564f7584e toolkit/scripts/generate-code-handoff.ps1
6
+ 3ed4e1d5c951aa309a64c5940e9f1e69e6748e07c650258017deebb9287c0f2d toolkit/scripts/agents/run-claude-task.ps1
7
+ 0676c7e5af3ba249efbb55786ba1e052d4db952eea53f11a4586d23a03c65dc7 toolkit/scripts/agents/run-codex-task.ps1
8
+ f726aac97132a74d64cfac238a4ad736391a67291219221bb1abb20ecf81940a toolkit/scripts/agents/validate-mailbox-formal-artifact.py
9
+ 48bc3d8b1942e1e3499d8933a97e1c8f9bcb201e7c4d801afa3f04159113bdee toolkit/scripts/generate-code-handoff.ps1
9
10
  2b456e0e9ebeb948db9bdd1a905195285a8ae44839b09b5f0bbefac597cfd67a toolkit/scripts/init-feature.ps1
10
11
  a84d1bdf3b9e82ee7a974ccde4fef949de9a4d26b68bc6f714f846c28b0e75b3 toolkit/scripts/install-claude-skills.ps1
11
12
  3191823ec5a481c34128ef645e8103e3ee526a74dd108ba2206878edd7b50cda toolkit/scripts/install-codex-skills.ps1
12
13
  f925a58e0cc92addc542762c2bf5f60be2d538dcca88e15de0b628b3a57048b1 toolkit/scripts/uninstall-claude-skills.ps1
13
14
  db0e580a20b43bb0af399ff3e4f7f2d826423d67bd2fa9a8121a384337a47de1 toolkit/scripts/uninstall-codex-skills.ps1
14
- 08e32f96a87b1a6fb2ff577238674d04829704f2a111ef10ea1c482ab2fedce2 toolkit/SDTK_TOOLKIT.md
15
+ d912703621cd3233b3af0adf0b3df6876cb20bb9f514276d2a501dd8e1859629 toolkit/SDTK_TOOLKIT.md
15
16
  95a16a213af96c9df959435f0910462f9a740af227c41925221a5a028460edd1 toolkit/sdtk-spec.config.json
16
17
  68f8cf75ebcd1665db10a3a3b8404c90bde857d2832e3d2429b2b473489f9116 toolkit/sdtk-spec.config.profiles.example.json
17
18
  8f20da871de7feb8534fa18628e18d7b6d6c5b465aeefcd36f11fbe44a353909 toolkit/skills/sdtk-api-design-spec/references/API_DESIGN_CREATION_RULES.md
@@ -29,18 +30,18 @@ bf2a0adedf796ce0f2302b02edbb452db9e09574b08ce7259a5cebef3f74f72f toolkit/skills
29
30
  bf2a0adedf796ce0f2302b02edbb452db9e09574b08ce7259a5cebef3f74f72f toolkit/skills/sdtk-arch/references/FLOWCHART_CREATION_RULES.md
30
31
  1eab7fb79d45a1b8bf130a6da049cbefd735d9f99db96ee73c4a9302d4a05e1a toolkit/skills/sdtk-arch/references/YAML_CREATION_RULES.md
31
32
  7a31baeecef2e71e2cb95cc45f1c4777be6f92ec19e521bb15969fabd6f81bd1 toolkit/skills/sdtk-arch/SKILL.md
32
- 4ef4da3d36223c1c9c2dc00d80044147651cdcdac53e6639023de13ebec446e3 toolkit/skills/sdtk-ba/SKILL.md
33
+ ce5af79e5c4902b9c8ceb7e8dae848a6a5a26d5b845eee94ee8aafff88990256 toolkit/skills/sdtk-ba/SKILL.md
33
34
  736577a6d6ebc6548aef1bade3dce7d9be62c260ac313cc148ab6a10b10d0197 toolkit/skills/sdtk-design-layout/scripts/render_design_layout_images.py
34
35
  d9a39f8ab2c563c6ab3958bc85bd8b0f9dad68653be0da66207df72a05afe134 toolkit/skills/sdtk-design-layout/SKILL.md
35
36
  3296fe9416600105c01680c9bc2f0d17f8c5f657e50949f5c49cb67db7aa0ac9 toolkit/skills/sdtk-dev/prompts/code-quality-reviewer.md
36
37
  6c866b7f8dec193a4c26066e8ac43004ff809f6407ead467a3cb72d90425af52 toolkit/skills/sdtk-dev/prompts/implementer.md
37
38
  55dd53b1ccbedd271ad23ca8df01afc317eced27ee17af3b37f31f0b9176ca8b toolkit/skills/sdtk-dev/prompts/spec-reviewer.md
38
- 161bc181f360105928167d9fdba0cbaab63f72b87bfc707e4164b8167c564079 toolkit/skills/sdtk-dev/SKILL.md
39
+ 1f10d2c1405d0ef80caa0b741197f2fde80659bab4e66291560780413e633313 toolkit/skills/sdtk-dev/SKILL.md
39
40
  217c2c9ecb0f3e0f5d1d301885d8b0ff538e5394f63fcb075a1d8f1bddeffdf4 toolkit/skills/sdtk-dev-backend/SKILL.md
40
41
  d276e72990a2957bc2ac6b0c8d5478f2f039990730cc986bbf516657efd5c73f toolkit/skills/sdtk-dev-frontend/SKILL.md
41
- 91b552120b11d0e889cb4b4dddd876c77082acc223b53f1d6f874a141e0f574e toolkit/skills/sdtk-mailbox-dispatch/SKILL.md
42
+ 738a48be4a0d6adf5d7f0033b053ca999e00e0e9103702e1bea60d5ecfd7b328 toolkit/skills/sdtk-mailbox-dispatch/SKILL.md
42
43
  8597f99d53547b1cf30ffc54bbf19a6c3a502a5560e549d4ec5b9630f5d5b7c1 toolkit/skills/sdtk-orchestrator/SKILL.md
43
- af75044d9fcdadcf6bb3eb3ba533305acb198447c004b1117991ba0a7658044d toolkit/skills/sdtk-pm/SKILL.md
44
+ 90d3c9d8bb2bb3b28e81bc10c6b1799236250dfcb2ebed43eb161c78ff00a084 toolkit/skills/sdtk-pm/SKILL.md
44
45
  9e41a944a73c6960c8aa24d8930e64c1ed699ed8b410a587b042186e2d450e6e toolkit/skills/sdtk-qa/SKILL.md
45
46
  083600e458e63c6e514516a6f304440f7ab28e4bde008c5ac11c58637ea2392a toolkit/skills/sdtk-screen-design-spec/references/excel-image-export.md
46
47
  19e9a61820c0fbc75980647af0d47ad1df694c7f9763949edd83fe828bcd4b39 toolkit/skills/sdtk-screen-design-spec/references/figma-mcp.md
@@ -56,14 +57,14 @@ e3f53fafd73b2f8b5bbc38d4b15dbbb61f2db4311bac469f6574a5f2a38ffcd1 toolkit/skills
56
57
  57e9a6a325852a1d0d0e2709f32c06f94449e16322a5c7d049648345c4e14656 toolkit/skills-claude/api-design-spec/SKILL.md
57
58
  9641d3f18979d39936edc7eb7d86904fae85412bdd3fc51df365401f5023b39d toolkit/skills-claude/api-doc/SKILL.md
58
59
  dce73f126dd5a7c5b84b67c22b18475cdb0a60a0a958746aa73277ab186c9bfe toolkit/skills-claude/arch/SKILL.md
59
- ab69d8c15bad869a5bb94ea056172330ff036e3f0371111ae0193f2be713699a toolkit/skills-claude/ba/SKILL.md
60
+ 7f6ed86a7a9cbafbb4b4903546984967dc29e4893e8a628d9725bd19cc4c5626 toolkit/skills-claude/ba/SKILL.md
60
61
  e12e20ec7d2903d2d208aa762ecec88e0f30b999e2486002d41c352d9a01731e toolkit/skills-claude/design-layout/SKILL.md
61
- 204fd0d76c2628579f3f85b8cd5e5a25c49d6b362d1f0834899418ccb85e6c2e toolkit/skills-claude/dev/SKILL.md
62
+ 7806428b02784daa03785f55c16414f9c40fb5f36481c4bd3973c7be38fdba10 toolkit/skills-claude/dev/SKILL.md
62
63
  f9d46cd0d37a3e500c5dc4927e73282f2006591dc7b9ee0498b1d3b4cf06692a toolkit/skills-claude/dev-backend/SKILL.md
63
64
  2707066e2c2a2b7e4e482eca78eed3680b23eb4400cf1e68626eebe9bd9300f7 toolkit/skills-claude/dev-frontend/SKILL.md
64
- 71ef1577dd3d0e9cc84bc1b019ab3b6f73d2a6a084ba46a59f32d0ce07318b08 toolkit/skills-claude/mailbox-dispatch/SKILL.md
65
+ 0e45fb26e1a17e0f75a59acf59fe6a4cd8b74a17c32a9eded08c7d6b8b37bf8a toolkit/skills-claude/mailbox-dispatch/SKILL.md
65
66
  3dafddf5d218c794c2d2cffce09c982cfc1115bb5221b7315497afca5ff42bdd toolkit/skills-claude/orchestrator/SKILL.md
66
- b2408bf29e93624bf675e01c544fddce89e5e134f6f86c9e68e6ac5264c15a57 toolkit/skills-claude/pm/SKILL.md
67
+ e9e346ff0e1fc66236ceabf64a043c9a28926e7ff06296b26dd5836cf045802a toolkit/skills-claude/pm/SKILL.md
67
68
  a94b06194dd120f959082e3bcded91573e8c7b2ee350ab5bbad63a9c3cc331ab toolkit/skills-claude/qa/SKILL.md
68
69
  5f13d1aec5cdc37ea56bcc3ce5cdb9cf434f4aaa270639cabec2a651db7933ac toolkit/skills-claude/screen-design-spec/SKILL.md
69
70
  9dd187fa89bd1eac2b92e19663e1b99ae65bce2a63328e471e7df0b51a2e64ac toolkit/skills-claude/test-case-spec/SKILL.md
@@ -81,7 +82,7 @@ d7b932d8631297b1ddcb254d516dd69fd2259ffa5c3ff23741cb3cab8bfe0caa toolkit/templa
81
82
  7730b499e42a8c78806116bea4757a0acf2c10b294f1848385c63ec053ab1719 toolkit/templates/docs/dev/FEATURE_IMPL_PLAN_TEMPLATE.md
82
83
  de563da0bc41996540b56a63b6295be5f4810c049f132c472a2a7ee816cd2884 toolkit/templates/docs/dev/OPS_HANDOFF_CREATION_RULES.md
83
84
  d7e176b06b2b31c4c1eff18392eabc8f9af9cb67b2f8d0c97fc6315572fd81c3 toolkit/templates/docs/product/BACKLOG_TEMPLATE.md
84
- beecb0b419e7d2fc2e1811466e4e405619c789dacf59b7b4e46e15cdca674420 toolkit/templates/docs/product/CONDENSED_UPSTREAM_INPUT_TEMPLATE.md
85
+ dcf18f2793218258d76348be38afa1a3616a24d39c43c4ef9e3e7d14cc581338 toolkit/templates/docs/product/CONDENSED_UPSTREAM_INPUT_TEMPLATE.md
85
86
  85bb843e0e8dfcd02a5afe6c120f3e79866a8da6081108ebb73addaf8ee4c35c toolkit/templates/docs/product/PRD_TEMPLATE.md
86
87
  3c029d3174e22c9ae151e4b340c6a30d6f8dd2e0bda7b1013d04cd744e6d18c7 toolkit/templates/docs/product/PROJECT_INITIATION_TEMPLATE.md
87
88
  512520a228a87d24cfa89d7730e63ef08eecaeb0983f3a2af13bef08308ddfe0 toolkit/templates/docs/qa/CONTROLLER_ACCEPTANCE_TEMPLATE.md
@@ -96,11 +97,11 @@ c54d4a178f02e94c00f3b33701eb43315ab2d117af358570d92b93f7b7595730 toolkit/templa
96
97
  067d39f35ba0fcc460999785ef712e79cf09eb6d120aada7b60b37f11175023e toolkit/templates/handoffs/DEV_STAGE1_SPEC_REVIEW.md
97
98
  94f22c0d027e06759c5f390034f7f907eb0e9f447b08a32921b92f0a8f2d8ffa toolkit/templates/handoffs/DEV_STAGE2_CODE_QUALITY_REVIEW.md
98
99
  e65192c4e72d86d27452c89f7be2d3bfe1118af550f71e3eee9db92e20f96cea toolkit/templates/handoffs/DEV_TO_QA.md
99
- 90326a5b9f5d03a01043757b9f148123a1dbd165dccd2a5282912f339407369a toolkit/templates/handoffs/DEV_TO_SDTK_CODE.md
100
- fac21868840d83eb111c7939eca3ec439e5791d7609809fe83e19f81fef4b0fb toolkit/templates/handoffs/PM_TO_BA.md
100
+ 5d1aec41dd9c51c1dac67ab344dd8acecb9be79717ddadf91d358013eecdcb26 toolkit/templates/handoffs/DEV_TO_SDTK_CODE.md
101
+ f70bd655f2865adb2231976e9861054522e45afd3e13613430b5ebe9176ac80d toolkit/templates/handoffs/PM_TO_BA.md
101
102
  6ee91d4307ec0fc6dbdee281f2a3f99efa552de55b535ff46cf498689572f9f7 toolkit/templates/handoffs/QA_RELEASE_DECISION.md
102
- 95cedcfb5b1e3317f595c8090b0aa62d6b6d1e086ae09cf1c73afbe7639bf04e toolkit/templates/mailbox/AGENT_REPORT_TEMPLATE.md
103
- 0e157de37038d4bb5e86e4bba80b880718b1b35db2f9e4132a6bdd092fd58f02 toolkit/templates/mailbox/AGENT_TASK_TEMPLATE.md
103
+ d36ae9af62e0f403e588b3ce6608cea335ab1d9af693021bdce2731ff8cb5bc3 toolkit/templates/mailbox/AGENT_REPORT_TEMPLATE.md
104
+ e90b3db979a63b8ff404f7871e2c922301d4918f0ece3b547e6695e275d2889b toolkit/templates/mailbox/AGENT_TASK_TEMPLATE.md
104
105
  205dafaed01e5841d3c6870a093d08ba4ce58a9bbfc716a506f0951149e2dcf9 toolkit/templates/QUALITY_CHECKLIST.md
105
106
  eb025cb0a3aa822a377f9c4e9bc8f8114540fa0eb555fc0df6fba2992ee7bc6f toolkit/templates/README.md
106
107
  b756c866fe7e76d1f4003871d80abe491d0283e0c95205121e6f91fbd8b02471 toolkit/templates/SHARED_PLANNING.md
@@ -17,7 +17,7 @@ Use the root `README.md` for suite-level framing and `products/sdtk-code/toolkit
17
17
  SDTK-SPEC standardizes feature delivery with a multi-agent SDLC model.
18
18
  The current shipped technical interface remains `sdtk-spec-kit` / `sdtk-spec`.
19
19
  It supports runtime adapters (Codex and Claude Code) while keeping one shared core for templates, skills, and quality gates.
20
- `SDTK-OPS` is not documented here as a runnable product because it is still planned/partial only in the current suite.
20
+ `SDTK-OPS` is a real suite product surface, but the runnable product guidance for SDTK-OPS lives in its own product docs rather than this SDTK-SPEC source folder.
21
21
 
22
22
  ## Highlights
23
23
  - 6-phase SDLC flow: PM -> BA -> ARCH -> DEV planning/handoff -> QA release decision.
@@ -29,7 +29,8 @@ It supports runtime adapters (Codex and Claude Code) while keeping one shared co
29
29
  - Reusable handoff templates under `toolkit/templates/handoffs/` to reduce ambiguity between PM, BA, ARCH, DEV, SDTK-CODE, and QA.
30
30
  - `## Critical Constraints` encoded in every core `SKILL.md` so non-negotiable workflow rules are visible before execution.
31
31
  - Public onboarding examples under `examples/` for common delivery scenarios.
32
- - Runtime readiness audit via `toolkit/scripts/check-runtime-readiness.ps1`.
32
+ - Runtime readiness audit via `toolkit/scripts/check-runtime-readiness.ps1`.
33
+ - Repo source now contains two bounded proof families (`service/request tracker`, `approval/workflow`) expressed as golden samples plus executable acceptance fixtures.
33
34
 
34
35
  ## Quality Contracts
35
36
  DEV phase now ends at planning + readiness gating. The canonical outputs are `FEATURE_IMPL_PLAN` and `CODE_HANDOFF`. See `toolkit/skills/sdtk-dev/SKILL.md` for the exact handoff contract.
@@ -15,8 +15,14 @@ It provides:
15
15
  - specialized skills for each phase,
16
16
  - and explicit quality gates.
17
17
 
18
- This guide does not document `SDTK-OPS` as a runnable product because that surface is still planned/partial only.
19
-
18
+ This guide stays product-specific to SDTK-SPEC. `SDTK-OPS` is a real suite product surface, but its runnable product guidance lives in its own SDTK-OPS docs rather than this SDTK-SPEC guide.
19
+
20
+ ## 1.1 Current Source-Proof Status
21
+ The current repo source is ahead of the latest public `sdtk-spec-kit` package line. In addition to the shipped mailbox-dispatch skill, the source tree now contains two bounded proof families:
22
+ - `service/request tracker` golden samples + executable fixture and acceptance harness
23
+ - `approval/workflow` golden samples + executable fixture and acceptance harness
24
+ These proof surfaces strengthen the lean small-app factory claim in source control. Treat public package claims separately until the next SPEC release is published.
25
+
20
26
  ## 2. SDLC Model
21
27
  Default flow:
22
28
  1. PM initiation
@@ -1,52 +1,111 @@
1
- param(
2
- [Parameter(Mandatory = $true)] [string] $RepoRoot,
3
- [Parameter(Mandatory = $true)] [string] $TaskFile,
4
- [Parameter(Mandatory = $true)] [string] $ReportFile,
5
- [string] $LogFile = '',
6
- [string] $SessionName = '',
7
- [string] $Model = '',
8
- [ValidateSet('default','dontAsk','acceptEdits','auto','bypassPermissions','plan')] [string] $PermissionMode = 'dontAsk',
9
- [ValidateSet('low','medium','high','max')] [string] $Effort = 'medium',
10
- [switch] $DryRun
11
- )
12
-
13
- $ErrorActionPreference = 'Stop'
14
-
15
- if (-not (Test-Path $RepoRoot)) { throw "RepoRoot not found: $RepoRoot" }
16
- if (-not (Test-Path $TaskFile)) { throw "TaskFile not found: $TaskFile" }
17
-
18
- $prompt = [string](Get-Content $TaskFile -Raw -Encoding UTF8)
19
- New-Item -ItemType Directory -Force -Path ([System.IO.Path]::GetDirectoryName($ReportFile)) | Out-Null
20
- if ($LogFile) {
21
- New-Item -ItemType Directory -Force -Path ([System.IO.Path]::GetDirectoryName($LogFile)) | Out-Null
22
- }
23
-
24
- $cliArgs = @('-p', '--output-format', 'text', '--no-session-persistence', '--add-dir', $RepoRoot, '--permission-mode', $PermissionMode, '--effort', $Effort)
25
- if ($SessionName) { $cliArgs += @('--name', $SessionName) }
26
- if ($Model) { $cliArgs += @('--model', $Model) }
27
- $cliArgs += $prompt
28
-
29
- if ($DryRun) {
30
- $safeArgs = @('-p', '--output-format', 'text', '--no-session-persistence', '--add-dir', $RepoRoot, '--permission-mode', $PermissionMode, '--effort', $Effort)
31
- if ($SessionName) { $safeArgs += @('--name', $SessionName) }
32
- if ($Model) { $safeArgs += @('--model', $Model) }
33
- [pscustomobject]@{
34
- Cli = 'claude'
35
- RepoRoot = $RepoRoot
36
- TaskFile = $TaskFile
37
- ReportFile = $ReportFile
38
- LogFile = $LogFile
39
- Args = $safeArgs
40
- PromptLength = $prompt.Length
41
- PromptPreview = if ($prompt.Length -gt 240) { $prompt.Substring(0, 240) } else { $prompt }
42
- } | ConvertTo-Json -Depth 4
43
- exit 0
44
- }
45
-
46
- $output = & claude @cliArgs 2>&1
47
- $outputText = ($output | Out-String)
48
- [System.IO.File]::WriteAllText($ReportFile, $outputText, [System.Text.UTF8Encoding]::new($false))
49
- if ($LogFile) {
50
- [System.IO.File]::WriteAllText($LogFile, $outputText, [System.Text.UTF8Encoding]::new($false))
51
- }
1
+ param(
2
+ [Parameter(Mandatory = $true)] [string] $RepoRoot,
3
+ [Parameter(Mandatory = $true)] [string] $TaskFile,
4
+ [Parameter(Mandatory = $true)] [string] $ReportFile,
5
+ [string] $LogFile = '',
6
+ [string] $SessionName = '',
7
+ [string] $Model = '',
8
+ [ValidateSet('default','dontAsk','acceptEdits','auto','bypassPermissions','plan')] [string] $PermissionMode = 'dontAsk',
9
+ [ValidateSet('low','medium','high','max')] [string] $Effort = 'medium',
10
+ [switch] $DryRun
11
+ )
12
+
13
+ $ErrorActionPreference = 'Stop'
14
+ $Utf8NoBom = [System.Text.UTF8Encoding]::new($false)
15
+ $ReviewPhases = @('controller-dev-review', 'qa-review', 'controller-acceptance')
16
+
17
+ function Get-TaskBulletValue([string[]] $Lines, [string] $Heading) {
18
+ for ($i = 0; $i -lt $Lines.Length; $i++) {
19
+ if ($Lines[$i].Trim() -eq $Heading) {
20
+ for ($j = $i + 1; $j -lt $Lines.Length; $j++) {
21
+ $candidate = $Lines[$j].Trim()
22
+ if (-not $candidate) { continue }
23
+ if ($candidate.StartsWith('- ')) {
24
+ return $candidate.Substring(2).Trim()
25
+ }
26
+ break
27
+ }
28
+ }
29
+ }
30
+ return ''
31
+ }
32
+
33
+ function Resolve-RepoPath([string] $RepoRootPath, [string] $CandidatePath) {
34
+ if ([string]::IsNullOrWhiteSpace($CandidatePath)) { return '' }
35
+ if ([System.IO.Path]::IsPathRooted($CandidatePath)) { return $CandidatePath }
36
+ return Join-Path $RepoRootPath $CandidatePath
37
+ }
38
+
39
+ function Append-FileText([string] $Path, [string] $Text) {
40
+ if ([string]::IsNullOrWhiteSpace($Text)) { return }
41
+ [System.IO.File]::AppendAllText($Path, [Environment]::NewLine + $Text, $Utf8NoBom)
42
+ }
43
+
44
+ function Invoke-PhaseArtifactValidation([string[]] $TaskLines, [string] $RepoRootPath, [string] $ReportPath, [string] $LogPath, [string] $ValidatorPath) {
45
+ $phase = Get-TaskBulletValue $TaskLines 'Phase:'
46
+ if ($ReviewPhases -notcontains $phase) { return }
47
+
48
+ $artifactValue = Get-TaskBulletValue $TaskLines 'Primary Formal Artifact:'
49
+ if ([string]::IsNullOrWhiteSpace($artifactValue)) { return }
50
+ if (-not (Test-Path $ValidatorPath)) { return }
51
+
52
+ $artifactPath = Resolve-RepoPath $RepoRootPath $artifactValue
53
+ if (-not (Test-Path $artifactPath)) {
54
+ $skip = "[MAILBOX PHASE VALIDATION] skipped: primary formal artifact not found at $artifactPath"
55
+ Append-FileText $ReportPath $skip
56
+ if ($LogPath) { Append-FileText $LogPath $skip }
57
+ return
58
+ }
59
+
60
+ $validationOutput = (& python $ValidatorPath --phase $phase --artifact $artifactPath 2>&1 | Out-String).TrimEnd()
61
+ $validationBlock = "[MAILBOX PHASE VALIDATION]`n$validationOutput"
62
+ Append-FileText $ReportPath $validationBlock
63
+ if ($LogPath) { Append-FileText $LogPath $validationBlock }
64
+
65
+ if ($LASTEXITCODE -ne 0) {
66
+ throw "Mailbox phase artifact validation failed for $artifactPath"
67
+ }
68
+ }
69
+
70
+ if (-not (Test-Path $RepoRoot)) { throw "RepoRoot not found: $RepoRoot" }
71
+ if (-not (Test-Path $TaskFile)) { throw "TaskFile not found: $TaskFile" }
72
+
73
+ $taskLines = Get-Content $TaskFile -Encoding UTF8
74
+ $prompt = [string]($taskLines | Out-String)
75
+ New-Item -ItemType Directory -Force -Path ([System.IO.Path]::GetDirectoryName($ReportFile)) | Out-Null
76
+ if ($LogFile) {
77
+ New-Item -ItemType Directory -Force -Path ([System.IO.Path]::GetDirectoryName($LogFile)) | Out-Null
78
+ }
79
+
80
+ $cliArgs = @('-p', '--output-format', 'text', '--no-session-persistence', '--add-dir', $RepoRoot, '--permission-mode', $PermissionMode, '--effort', $Effort)
81
+ if ($SessionName) { $cliArgs += @('--name', $SessionName) }
82
+ if ($Model) { $cliArgs += @('--model', $Model) }
83
+ $cliArgs += $prompt
84
+
85
+ if ($DryRun) {
86
+ $safeArgs = @('-p', '--output-format', 'text', '--no-session-persistence', '--add-dir', $RepoRoot, '--permission-mode', $PermissionMode, '--effort', $Effort)
87
+ if ($SessionName) { $safeArgs += @('--name', $SessionName) }
88
+ if ($Model) { $safeArgs += @('--model', $Model) }
89
+ [pscustomobject]@{
90
+ Cli = 'claude'
91
+ RepoRoot = $RepoRoot
92
+ TaskFile = $TaskFile
93
+ ReportFile = $ReportFile
94
+ LogFile = $LogFile
95
+ Args = $safeArgs
96
+ PromptLength = $prompt.Length
97
+ PromptPreview = if ($prompt.Length -gt 240) { $prompt.Substring(0, 240) } else { $prompt }
98
+ } | ConvertTo-Json -Depth 4
99
+ exit 0
100
+ }
101
+
102
+ $output = & claude @cliArgs 2>&1
103
+ $outputText = ($output | Out-String)
104
+ [System.IO.File]::WriteAllText($ReportFile, $outputText, $Utf8NoBom)
105
+ if ($LogFile) {
106
+ [System.IO.File]::WriteAllText($LogFile, $outputText, $Utf8NoBom)
107
+ }
108
+
109
+ $validatorPath = Join-Path $PSScriptRoot 'validate-mailbox-formal-artifact.py'
110
+ Invoke-PhaseArtifactValidation -TaskLines $taskLines -RepoRootPath $RepoRoot -ReportPath $ReportFile -LogPath $LogFile -ValidatorPath $validatorPath
52
111
  Write-Host "Claude report written to: $ReportFile"
@@ -1,44 +1,103 @@
1
- param(
2
- [Parameter(Mandatory = $true)] [string] $RepoRoot,
3
- [Parameter(Mandatory = $true)] [string] $TaskFile,
4
- [Parameter(Mandatory = $true)] [string] $ReportFile,
5
- [string] $LogFile = '',
6
- [string] $Model = '',
7
- [switch] $FullAuto,
8
- [switch] $DryRun
9
- )
10
-
11
- $ErrorActionPreference = 'Stop'
12
-
13
- if (-not (Test-Path $RepoRoot)) { throw "RepoRoot not found: $RepoRoot" }
14
- if (-not (Test-Path $TaskFile)) { throw "TaskFile not found: $TaskFile" }
15
-
16
- $prompt = [string](Get-Content $TaskFile -Raw -Encoding UTF8)
17
- New-Item -ItemType Directory -Force -Path ([System.IO.Path]::GetDirectoryName($ReportFile)) | Out-Null
18
- if ($LogFile) {
19
- New-Item -ItemType Directory -Force -Path ([System.IO.Path]::GetDirectoryName($LogFile)) | Out-Null
20
- }
21
-
22
- $cliArgs = @('exec', '-c', 'mcp_servers={}', '-c', 'model_reasoning_effort="medium"', '-C', $RepoRoot, '--output-last-message', $ReportFile)
23
- if ($FullAuto) { $cliArgs += '--full-auto' }
24
- if ($Model) { $cliArgs += @('--model', $Model) }
25
- $cliArgs += '-'
26
-
27
- if ($DryRun) {
28
- [pscustomobject]@{
29
- Cli = 'codex'
30
- RepoRoot = $RepoRoot
31
- TaskFile = $TaskFile
32
- ReportFile = $ReportFile
33
- LogFile = $LogFile
34
- Args = $cliArgs
35
- } | ConvertTo-Json -Depth 4
36
- exit 0
37
- }
38
-
39
- if ($LogFile) {
40
- $prompt | & codex @cliArgs 2>&1 | Tee-Object -FilePath $LogFile | Out-Null
41
- } else {
42
- $null = ($prompt | & codex @cliArgs 2>&1)
43
- }
1
+ param(
2
+ [Parameter(Mandatory = $true)] [string] $RepoRoot,
3
+ [Parameter(Mandatory = $true)] [string] $TaskFile,
4
+ [Parameter(Mandatory = $true)] [string] $ReportFile,
5
+ [string] $LogFile = '',
6
+ [string] $Model = '',
7
+ [switch] $FullAuto,
8
+ [switch] $DryRun
9
+ )
10
+
11
+ $ErrorActionPreference = 'Stop'
12
+ $Utf8NoBom = [System.Text.UTF8Encoding]::new($false)
13
+ $ReviewPhases = @('controller-dev-review', 'qa-review', 'controller-acceptance')
14
+
15
+ function Get-TaskBulletValue([string[]] $Lines, [string] $Heading) {
16
+ for ($i = 0; $i -lt $Lines.Length; $i++) {
17
+ if ($Lines[$i].Trim() -eq $Heading) {
18
+ for ($j = $i + 1; $j -lt $Lines.Length; $j++) {
19
+ $candidate = $Lines[$j].Trim()
20
+ if (-not $candidate) { continue }
21
+ if ($candidate.StartsWith('- ')) {
22
+ return $candidate.Substring(2).Trim()
23
+ }
24
+ break
25
+ }
26
+ }
27
+ }
28
+ return ''
29
+ }
30
+
31
+ function Resolve-RepoPath([string] $RepoRootPath, [string] $CandidatePath) {
32
+ if ([string]::IsNullOrWhiteSpace($CandidatePath)) { return '' }
33
+ if ([System.IO.Path]::IsPathRooted($CandidatePath)) { return $CandidatePath }
34
+ return Join-Path $RepoRootPath $CandidatePath
35
+ }
36
+
37
+ function Append-FileText([string] $Path, [string] $Text) {
38
+ if ([string]::IsNullOrWhiteSpace($Text)) { return }
39
+ [System.IO.File]::AppendAllText($Path, [Environment]::NewLine + $Text, $Utf8NoBom)
40
+ }
41
+
42
+ function Invoke-PhaseArtifactValidation([string[]] $TaskLines, [string] $RepoRootPath, [string] $ReportPath, [string] $LogPath, [string] $ValidatorPath) {
43
+ $phase = Get-TaskBulletValue $TaskLines 'Phase:'
44
+ if ($ReviewPhases -notcontains $phase) { return }
45
+
46
+ $artifactValue = Get-TaskBulletValue $TaskLines 'Primary Formal Artifact:'
47
+ if ([string]::IsNullOrWhiteSpace($artifactValue)) { return }
48
+ if (-not (Test-Path $ValidatorPath)) { return }
49
+
50
+ $artifactPath = Resolve-RepoPath $RepoRootPath $artifactValue
51
+ if (-not (Test-Path $artifactPath)) {
52
+ $skip = "[MAILBOX PHASE VALIDATION] skipped: primary formal artifact not found at $artifactPath"
53
+ Append-FileText $ReportPath $skip
54
+ if ($LogPath) { Append-FileText $LogPath $skip }
55
+ return
56
+ }
57
+
58
+ $validationOutput = (& python $ValidatorPath --phase $phase --artifact $artifactPath 2>&1 | Out-String).TrimEnd()
59
+ $validationBlock = "[MAILBOX PHASE VALIDATION]`n$validationOutput"
60
+ Append-FileText $ReportPath $validationBlock
61
+ if ($LogPath) { Append-FileText $LogPath $validationBlock }
62
+
63
+ if ($LASTEXITCODE -ne 0) {
64
+ throw "Mailbox phase artifact validation failed for $artifactPath"
65
+ }
66
+ }
67
+
68
+ if (-not (Test-Path $RepoRoot)) { throw "RepoRoot not found: $RepoRoot" }
69
+ if (-not (Test-Path $TaskFile)) { throw "TaskFile not found: $TaskFile" }
70
+
71
+ $taskLines = Get-Content $TaskFile -Encoding UTF8
72
+ $prompt = [string]($taskLines | Out-String)
73
+ New-Item -ItemType Directory -Force -Path ([System.IO.Path]::GetDirectoryName($ReportFile)) | Out-Null
74
+ if ($LogFile) {
75
+ New-Item -ItemType Directory -Force -Path ([System.IO.Path]::GetDirectoryName($LogFile)) | Out-Null
76
+ }
77
+
78
+ $cliArgs = @('exec', '-c', 'mcp_servers={}', '-c', 'model_reasoning_effort="medium"', '-C', $RepoRoot, '--output-last-message', $ReportFile)
79
+ if ($FullAuto) { $cliArgs += '--full-auto' }
80
+ if ($Model) { $cliArgs += @('--model', $Model) }
81
+ $cliArgs += '-'
82
+
83
+ if ($DryRun) {
84
+ [pscustomobject]@{
85
+ Cli = 'codex'
86
+ RepoRoot = $RepoRoot
87
+ TaskFile = $TaskFile
88
+ ReportFile = $ReportFile
89
+ LogFile = $LogFile
90
+ Args = $cliArgs
91
+ } | ConvertTo-Json -Depth 4
92
+ exit 0
93
+ }
94
+
95
+ if ($LogFile) {
96
+ $prompt | & codex @cliArgs 2>&1 | Tee-Object -FilePath $LogFile | Out-Null
97
+ } else {
98
+ $null = ($prompt | & codex @cliArgs 2>&1)
99
+ }
100
+
101
+ $validatorPath = Join-Path $PSScriptRoot 'validate-mailbox-formal-artifact.py'
102
+ Invoke-PhaseArtifactValidation -TaskLines $taskLines -RepoRootPath $RepoRoot -ReportPath $ReportFile -LogPath $LogFile -ValidatorPath $validatorPath
44
103
  Write-Host "Codex report written to: $ReportFile"