harnessed 3.3.1 → 3.4.1

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/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  // package.json
2
2
  var package_default = {
3
- version: "3.3.1"};
3
+ version: "3.4.1"};
4
4
 
5
5
  // src/index.ts
6
6
  var VERSION = package_default.version;
@@ -1 +1 @@
1
- {"version":3,"sources":["../package.json","../src/index.ts"],"names":[],"mappings":";AAAA,IAAA,eAAA,GAAA;AAAA,EAEE,OAAA,EAAW,OA8Fb,CAAA;;;AC3FO,IAAM,UAAU,eAAA,CAAI","file":"index.mjs","sourcesContent":["{\n \"name\": \"harnessed\",\n \"version\": \"3.3.1\",\n \"description\": \"AI coding harness package manager + composition orchestrator\",\n \"type\": \"module\",\n \"license\": \"Apache-2.0\",\n \"author\": \"easyinplay\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/easyinplay/harnessed.git\"\n },\n \"homepage\": \"https://github.com/easyinplay/harnessed#readme\",\n \"bugs\": \"https://github.com/easyinplay/harnessed/issues\",\n \"keywords\": [\n \"claude-code\",\n \"ai-harness\",\n \"package-manager\",\n \"composition\",\n \"skill-pack\",\n \"mcp\",\n \"orchestrator\"\n ],\n \"engines\": {\n \"node\": \">=22.0.0\"\n },\n \"packageManager\": \"pnpm@10.12.0\",\n \"bin\": {\n \"harnessed\": \"./dist/cli.mjs\"\n },\n \"main\": \"./dist/index.mjs\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.mjs\",\n \"default\": \"./dist/index.mjs\"\n },\n \"./schemas\": {\n \"types\": \"./dist/schemas/index.d.ts\",\n \"import\": \"./dist/schemas/index.mjs\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"files\": [\n \"dist\",\n \"manifests\",\n \"workflows\",\n \"routing\",\n \"config-templates\",\n \"schemas\",\n \"README.md\",\n \"LICENSE\",\n \"NOTICE\"\n ],\n \"scripts\": {\n \"dev\": \"tsup --watch\",\n \"build\": \"tsc --noEmit && tsup\",\n \"build:schema\": \"node ./scripts/build-schema.mjs\",\n \"validate:schema\": \"node ./scripts/validate-schema.mjs\",\n \"typecheck\": \"tsc --noEmit\",\n \"test\": \"vitest run --passWithNoTests\",\n \"test:watch\": \"vitest\",\n \"test:coverage\": \"vitest run --coverage --passWithNoTests\",\n \"bench\": \"vitest bench --run\",\n \"lint\": \"biome check .\",\n \"lint:fix\": \"biome check --write .\",\n \"format\": \"biome format --write .\"\n },\n \"dependencies\": {\n \"@anthropic-ai/claude-agent-sdk\": \"0.3.142\",\n \"@clack/prompts\": \"^0.10.1\",\n \"@sinclair/typebox\": \"^0.34.49\",\n \"ajv\": \"^8.20.0\",\n \"ajv-errors\": \"^3.0.0\",\n \"ajv-formats\": \"^3.0.1\",\n \"commander\": \"^13.0.0\",\n \"diff\": \"^9.0.0\",\n \"expr-eval\": \"^2.0.2\",\n \"picocolors\": \"^1.1.1\",\n \"proper-lockfile\": \"^4.1.2\",\n \"yaml\": \"^2.9.0\"\n },\n \"devDependencies\": {\n \"@biomejs/biome\": \"^2.0.0\",\n \"@types/node\": \"^22.10.0\",\n \"@types/proper-lockfile\": \"^4.1.4\",\n \"@vitest/coverage-v8\": \"^4.0.0\",\n \"tsup\": \"^8.3.0\",\n \"typescript\": \"^5.6.0\",\n \"vitest\": \"^4.0.0\"\n },\n \"pnpm\": {\n \"onlyBuiltDependencies\": [\n \"esbuild\"\n ]\n }\n}\n","// Main library entry — re-exports public APIs.\n// phase 1.1 batch 1: skeleton only; schema validator wired in batch 2 (T3+).\n\nimport pkg from '../package.json' with { type: 'json' }\n\nexport const VERSION = pkg.version\n"]}
1
+ {"version":3,"sources":["../package.json","../src/index.ts"],"names":[],"mappings":";AAAA,IAAA,eAAA,GAAA;AAAA,EAEE,OAAA,EAAW,OA8Fb,CAAA;;;AC3FO,IAAM,UAAU,eAAA,CAAI","file":"index.mjs","sourcesContent":["{\n \"name\": \"harnessed\",\n \"version\": \"3.4.1\",\n \"description\": \"AI coding harness package manager + composition orchestrator\",\n \"type\": \"module\",\n \"license\": \"Apache-2.0\",\n \"author\": \"easyinplay\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/easyinplay/harnessed.git\"\n },\n \"homepage\": \"https://github.com/easyinplay/harnessed#readme\",\n \"bugs\": \"https://github.com/easyinplay/harnessed/issues\",\n \"keywords\": [\n \"claude-code\",\n \"ai-harness\",\n \"package-manager\",\n \"composition\",\n \"skill-pack\",\n \"mcp\",\n \"orchestrator\"\n ],\n \"engines\": {\n \"node\": \">=22.0.0\"\n },\n \"packageManager\": \"pnpm@10.12.0\",\n \"bin\": {\n \"harnessed\": \"./dist/cli.mjs\"\n },\n \"main\": \"./dist/index.mjs\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.mjs\",\n \"default\": \"./dist/index.mjs\"\n },\n \"./schemas\": {\n \"types\": \"./dist/schemas/index.d.ts\",\n \"import\": \"./dist/schemas/index.mjs\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"files\": [\n \"dist\",\n \"manifests\",\n \"workflows\",\n \"routing\",\n \"config-templates\",\n \"schemas\",\n \"README.md\",\n \"LICENSE\",\n \"NOTICE\"\n ],\n \"scripts\": {\n \"dev\": \"tsup --watch\",\n \"build\": \"tsc --noEmit && tsup\",\n \"build:schema\": \"node ./scripts/build-schema.mjs\",\n \"validate:schema\": \"node ./scripts/validate-schema.mjs\",\n \"typecheck\": \"tsc --noEmit\",\n \"test\": \"vitest run --passWithNoTests\",\n \"test:watch\": \"vitest\",\n \"test:coverage\": \"vitest run --coverage --passWithNoTests\",\n \"bench\": \"vitest bench --run\",\n \"lint\": \"biome check .\",\n \"lint:fix\": \"biome check --write .\",\n \"format\": \"biome format --write .\"\n },\n \"dependencies\": {\n \"@anthropic-ai/claude-agent-sdk\": \"0.3.142\",\n \"@clack/prompts\": \"^0.10.1\",\n \"@sinclair/typebox\": \"^0.34.49\",\n \"ajv\": \"^8.20.0\",\n \"ajv-errors\": \"^3.0.0\",\n \"ajv-formats\": \"^3.0.1\",\n \"commander\": \"^13.0.0\",\n \"diff\": \"^9.0.0\",\n \"expr-eval\": \"^2.0.2\",\n \"picocolors\": \"^1.1.1\",\n \"proper-lockfile\": \"^4.1.2\",\n \"yaml\": \"^2.9.0\"\n },\n \"devDependencies\": {\n \"@biomejs/biome\": \"^2.0.0\",\n \"@types/node\": \"^22.10.0\",\n \"@types/proper-lockfile\": \"^4.1.4\",\n \"@vitest/coverage-v8\": \"^4.0.0\",\n \"tsup\": \"^8.3.0\",\n \"typescript\": \"^5.6.0\",\n \"vitest\": \"^4.0.0\"\n },\n \"pnpm\": {\n \"onlyBuiltDependencies\": [\n \"esbuild\"\n ]\n }\n}\n","// Main library entry — re-exports public APIs.\n// phase 1.1 batch 1: skeleton only; schema validator wired in batch 2 (T3+).\n\nimport pkg from '../package.json' with { type: 'json' }\n\nexport const VERSION = pkg.version\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "harnessed",
3
- "version": "3.3.1",
3
+ "version": "3.4.1",
4
4
  "description": "AI coding harness package manager + composition orchestrator",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -36,6 +36,7 @@ capabilities:
36
36
 
37
37
  grill-with-docs:
38
38
  impl: mattpocock-skills
39
+ plugin_namespace: mattpocock-skills
39
40
  cmd: /grill-with-docs
40
41
  since: v2.0
41
42
  category: tool-slash-cmd
@@ -45,6 +46,7 @@ capabilities:
45
46
 
46
47
  zoom-out:
47
48
  impl: mattpocock-skills
49
+ plugin_namespace: mattpocock-skills
48
50
  cmd: /zoom-out
49
51
  since: v2.0
50
52
  category: tool-slash-cmd
@@ -54,6 +56,7 @@ capabilities:
54
56
 
55
57
  diagnose:
56
58
  impl: mattpocock-skills
59
+ plugin_namespace: mattpocock-skills
57
60
  cmd: /diagnose
58
61
  since: v2.0
59
62
  category: tool-slash-cmd
@@ -64,6 +67,7 @@ capabilities:
64
67
 
65
68
  caveman:
66
69
  impl: mattpocock-skills
70
+ plugin_namespace: mattpocock-skills
67
71
  cmd: /caveman
68
72
  since: v2.0
69
73
  category: tool-slash-cmd
@@ -73,6 +77,7 @@ capabilities:
73
77
 
74
78
  grill-me:
75
79
  impl: mattpocock-skills
80
+ plugin_namespace: mattpocock-skills
76
81
  cmd: /grill-me
77
82
  since: v2.0
78
83
  category: tool-slash-cmd
@@ -82,6 +87,7 @@ capabilities:
82
87
 
83
88
  to-prd:
84
89
  impl: mattpocock-skills
90
+ plugin_namespace: mattpocock-skills
85
91
  cmd: /to-prd
86
92
  since: v2.0
87
93
  category: tool-slash-cmd
@@ -91,6 +97,7 @@ capabilities:
91
97
 
92
98
  to-issues:
93
99
  impl: mattpocock-skills
100
+ plugin_namespace: mattpocock-skills
94
101
  cmd: /to-issues
95
102
  since: v2.0
96
103
  category: tool-slash-cmd
@@ -100,6 +107,7 @@ capabilities:
100
107
 
101
108
  improve-codebase-architecture:
102
109
  impl: mattpocock-skills
110
+ plugin_namespace: mattpocock-skills
103
111
  cmd: /improve-codebase-architecture
104
112
  since: v2.0
105
113
  category: tool-slash-cmd
@@ -109,6 +117,7 @@ capabilities:
109
117
 
110
118
  code-review:
111
119
  impl: mattpocock-skills
120
+ plugin_namespace: mattpocock-skills
112
121
  cmd: /code-review
113
122
  since: v2.0
114
123
  category: tool-slash-cmd
@@ -118,6 +127,7 @@ capabilities:
118
127
 
119
128
  code-simplifier:
120
129
  impl: mattpocock-skills
130
+ plugin_namespace: mattpocock-skills
121
131
  cmd: /code-simplifier
122
132
  since: v2.0
123
133
  category: tool-slash-cmd
@@ -127,6 +137,7 @@ capabilities:
127
137
 
128
138
  investigate:
129
139
  impl: mattpocock-skills
140
+ plugin_namespace: mattpocock-skills
130
141
  cmd: /investigate
131
142
  since: v2.0
132
143
  category: tool-slash-cmd
@@ -144,6 +155,7 @@ capabilities:
144
155
 
145
156
  ui-ux-pro-max:
146
157
  impl: gstack
158
+ plugin_namespace: gstack
147
159
  cmd: /ui-ux-pro-max
148
160
  since: v2.0
149
161
  category: tool-slash-cmd
@@ -154,6 +166,7 @@ capabilities:
154
166
 
155
167
  frontend-design:
156
168
  impl: gstack
169
+ plugin_namespace: gstack
157
170
  cmd: /frontend-design
158
171
  since: v2.0
159
172
  category: tool-slash-cmd
@@ -181,6 +194,7 @@ capabilities:
181
194
 
182
195
  webapp-testing:
183
196
  impl: gstack
197
+ plugin_namespace: gstack
184
198
  cmd: /webapp-testing
185
199
  since: v2.0
186
200
  category: tool-bundled-skill
@@ -226,6 +240,7 @@ capabilities:
226
240
 
227
241
  gsd-discuss-phase:
228
242
  impl: gsd
243
+ plugin_namespace: gsd
229
244
  cmd: /gsd-discuss-phase
230
245
  since: v2.0
231
246
  category: tool-slash-cmd
@@ -235,6 +250,7 @@ capabilities:
235
250
 
236
251
  gsd-plan-phase:
237
252
  impl: gsd
253
+ plugin_namespace: gsd
238
254
  cmd: /gsd-plan-phase
239
255
  since: v2.0
240
256
  category: tool-slash-cmd
@@ -244,6 +260,7 @@ capabilities:
244
260
 
245
261
  gsd-review:
246
262
  impl: gsd
263
+ plugin_namespace: gsd
247
264
  cmd: /gsd-review
248
265
  since: v2.0
249
266
  category: tool-slash-cmd
@@ -253,6 +270,7 @@ capabilities:
253
270
 
254
271
  gsd-debug:
255
272
  impl: gsd
273
+ plugin_namespace: gsd
256
274
  cmd: /gsd-debug
257
275
  since: v2.0
258
276
  category: tool-slash-cmd
@@ -264,6 +282,7 @@ capabilities:
264
282
 
265
283
  gsd-progress:
266
284
  impl: gsd
285
+ plugin_namespace: gsd
267
286
  cmd: /gsd-progress
268
287
  since: v2.0
269
288
  category: tool-slash-cmd
@@ -273,6 +292,7 @@ capabilities:
273
292
 
274
293
  gsd-verify-work:
275
294
  impl: gsd
295
+ plugin_namespace: gsd
276
296
  cmd: /gsd-verify-work
277
297
  since: v2.0
278
298
  category: tool-slash-cmd
@@ -286,6 +306,7 @@ capabilities:
286
306
 
287
307
  gstack-office-hours:
288
308
  impl: gstack
309
+ plugin_namespace: gstack
289
310
  cmd: /office-hours
290
311
  since: v2.0
291
312
  category: tool-slash-cmd
@@ -295,6 +316,7 @@ capabilities:
295
316
 
296
317
  gstack-plan-ceo-review:
297
318
  impl: gstack
319
+ plugin_namespace: gstack
298
320
  cmd: /plan-ceo-review
299
321
  since: v2.0
300
322
  category: tool-slash-cmd
@@ -304,6 +326,7 @@ capabilities:
304
326
 
305
327
  gstack-review:
306
328
  impl: gstack
329
+ plugin_namespace: gstack
307
330
  cmd: /review
308
331
  since: v2.0
309
332
  category: tool-slash-cmd
@@ -313,6 +336,7 @@ capabilities:
313
336
 
314
337
  gstack-qa:
315
338
  impl: gstack
339
+ plugin_namespace: gstack
316
340
  cmd: /qa
317
341
  since: v2.0
318
342
  category: tool-slash-cmd
@@ -322,6 +346,7 @@ capabilities:
322
346
 
323
347
  gstack-cso:
324
348
  impl: gstack
349
+ plugin_namespace: gstack
325
350
  cmd: /cso
326
351
  since: v2.0
327
352
  category: tool-slash-cmd
@@ -331,6 +356,7 @@ capabilities:
331
356
 
332
357
  gstack-design-review:
333
358
  impl: gstack
359
+ plugin_namespace: gstack
334
360
  cmd: /design-review
335
361
  since: v2.0
336
362
  category: tool-slash-cmd
@@ -363,6 +389,7 @@ capabilities:
363
389
  # cmd `/plan` invocation → plugin 真生成 3 file 持久化, NOT fs.writeFile self-impl。
364
390
  planning-with-files:
365
391
  impl: claude-code-plugin
392
+ plugin_namespace: planning-with-files
366
393
  cmd: /plan
367
394
  since: v2.0
368
395
  category: tool-plugin
@@ -380,6 +407,7 @@ capabilities:
380
407
  # D-10: ralph-loop 真接 SDK wrapper (NOT mock reference; sister Phase 2.2 v0.2.0 ship)
381
408
  ralph-loop:
382
409
  impl: bundled-skill
410
+ plugin_namespace: ralph-loop
383
411
  cmd: ralph-loop
384
412
  since: v2.0
385
413
  category: tool-bundled-skill
@@ -521,6 +549,7 @@ capabilities:
521
549
 
522
550
  autoplan:
523
551
  impl: gstack
552
+ plugin_namespace: gstack
524
553
  cmd: /autoplan
525
554
  since: v3.0
526
555
  category: tool-slash-cmd
@@ -530,6 +559,7 @@ capabilities:
530
559
 
531
560
  codex:
532
561
  impl: gstack
562
+ plugin_namespace: gstack
533
563
  cmd: /codex
534
564
  since: v3.0
535
565
  category: tool-slash-cmd
@@ -539,6 +569,7 @@ capabilities:
539
569
 
540
570
  design-shotgun:
541
571
  impl: gstack
572
+ plugin_namespace: gstack
542
573
  cmd: /design-shotgun
543
574
  since: v3.0
544
575
  category: tool-slash-cmd
@@ -548,6 +579,7 @@ capabilities:
548
579
 
549
580
  design-html:
550
581
  impl: gstack
582
+ plugin_namespace: gstack
551
583
  cmd: /design-html
552
584
  since: v3.0
553
585
  category: tool-slash-cmd
@@ -557,6 +589,7 @@ capabilities:
557
589
 
558
590
  design-consultation:
559
591
  impl: gstack
592
+ plugin_namespace: gstack
560
593
  cmd: /design-consultation
561
594
  since: v3.0
562
595
  category: tool-slash-cmd
@@ -566,6 +599,7 @@ capabilities:
566
599
 
567
600
  plan-design-review:
568
601
  impl: gstack
602
+ plugin_namespace: gstack
569
603
  cmd: /plan-design-review
570
604
  since: v3.0
571
605
  category: tool-slash-cmd
@@ -575,6 +609,7 @@ capabilities:
575
609
 
576
610
  plan-devex-review:
577
611
  impl: gstack
612
+ plugin_namespace: gstack
578
613
  cmd: /plan-devex-review
579
614
  since: v3.0
580
615
  category: tool-slash-cmd
@@ -584,6 +619,7 @@ capabilities:
584
619
 
585
620
  plan-eng-review:
586
621
  impl: gstack
622
+ plugin_namespace: gstack
587
623
  cmd: /plan-eng-review
588
624
  since: v3.0
589
625
  category: tool-slash-cmd
@@ -593,6 +629,7 @@ capabilities:
593
629
 
594
630
  plan-tune:
595
631
  impl: gstack
632
+ plugin_namespace: gstack
596
633
  cmd: /plan-tune
597
634
  since: v3.0
598
635
  category: tool-slash-cmd
@@ -602,6 +639,7 @@ capabilities:
602
639
 
603
640
  context-save:
604
641
  impl: gstack
642
+ plugin_namespace: gstack
605
643
  cmd: /context-save
606
644
  since: v3.0
607
645
  category: tool-slash-cmd
@@ -611,6 +649,7 @@ capabilities:
611
649
 
612
650
  context-restore:
613
651
  impl: gstack
652
+ plugin_namespace: gstack
614
653
  cmd: /context-restore
615
654
  since: v3.0
616
655
  category: tool-slash-cmd
@@ -620,6 +659,7 @@ capabilities:
620
659
 
621
660
  qa-only:
622
661
  impl: gstack
662
+ plugin_namespace: gstack
623
663
  cmd: /qa-only
624
664
  since: v3.0
625
665
  category: tool-slash-cmd
@@ -629,6 +669,7 @@ capabilities:
629
669
 
630
670
  devex-review:
631
671
  impl: gstack
672
+ plugin_namespace: gstack
632
673
  cmd: /devex-review
633
674
  since: v3.0
634
675
  category: tool-slash-cmd
@@ -638,6 +679,7 @@ capabilities:
638
679
 
639
680
  benchmark:
640
681
  impl: gstack
682
+ plugin_namespace: gstack
641
683
  cmd: /benchmark
642
684
  since: v3.0
643
685
  category: tool-slash-cmd
@@ -647,6 +689,7 @@ capabilities:
647
689
 
648
690
  browse:
649
691
  impl: gstack
692
+ plugin_namespace: gstack
650
693
  cmd: /browse
651
694
  since: v3.0
652
695
  category: tool-slash-cmd
@@ -656,6 +699,7 @@ capabilities:
656
699
 
657
700
  open-gstack-browser:
658
701
  impl: gstack
702
+ plugin_namespace: gstack
659
703
  cmd: /open-gstack-browser
660
704
  since: v3.0
661
705
  category: tool-slash-cmd
@@ -665,6 +709,7 @@ capabilities:
665
709
 
666
710
  connect-chrome:
667
711
  impl: gstack
712
+ plugin_namespace: gstack
668
713
  cmd: /connect-chrome
669
714
  since: v3.x
670
715
  category: tool-slash-cmd
@@ -674,6 +719,7 @@ capabilities:
674
719
 
675
720
  setup-browser-cookies:
676
721
  impl: gstack
722
+ plugin_namespace: gstack
677
723
  cmd: /setup-browser-cookies
678
724
  since: v3.0
679
725
  category: tool-slash-cmd
@@ -683,6 +729,7 @@ capabilities:
683
729
 
684
730
  ship:
685
731
  impl: gstack
732
+ plugin_namespace: gstack
686
733
  cmd: /ship
687
734
  since: v3.0
688
735
  category: tool-slash-cmd
@@ -693,6 +740,7 @@ capabilities:
693
740
 
694
741
  land-and-deploy:
695
742
  impl: gstack
743
+ plugin_namespace: gstack
696
744
  cmd: /land-and-deploy
697
745
  since: v3.0
698
746
  category: tool-slash-cmd
@@ -702,6 +750,7 @@ capabilities:
702
750
 
703
751
  setup-deploy:
704
752
  impl: gstack
753
+ plugin_namespace: gstack
705
754
  cmd: /setup-deploy
706
755
  since: v3.0
707
756
  category: tool-slash-cmd
@@ -711,6 +760,7 @@ capabilities:
711
760
 
712
761
  setup-gbrain:
713
762
  impl: gstack
763
+ plugin_namespace: gstack
714
764
  cmd: /setup-gbrain
715
765
  since: v3.0
716
766
  category: tool-slash-cmd
@@ -720,6 +770,7 @@ capabilities:
720
770
 
721
771
  canary:
722
772
  impl: gstack
773
+ plugin_namespace: gstack
723
774
  cmd: /canary
724
775
  since: v3.0
725
776
  category: tool-slash-cmd
@@ -729,6 +780,7 @@ capabilities:
729
780
 
730
781
  document-release:
731
782
  impl: gstack
783
+ plugin_namespace: gstack
732
784
  cmd: /document-release
733
785
  since: v3.0
734
786
  category: tool-slash-cmd
@@ -738,6 +790,7 @@ capabilities:
738
790
 
739
791
  document-generate:
740
792
  impl: gstack
793
+ plugin_namespace: gstack
741
794
  cmd: /document-generate
742
795
  since: v3.0
743
796
  category: tool-slash-cmd
@@ -747,6 +800,7 @@ capabilities:
747
800
 
748
801
  careful:
749
802
  impl: gstack
803
+ plugin_namespace: gstack
750
804
  cmd: /careful
751
805
  since: v3.0
752
806
  category: tool-slash-cmd
@@ -757,6 +811,7 @@ capabilities:
757
811
 
758
812
  guard:
759
813
  impl: gstack
814
+ plugin_namespace: gstack
760
815
  cmd: /guard
761
816
  since: v3.0
762
817
  category: tool-slash-cmd
@@ -766,6 +821,7 @@ capabilities:
766
821
 
767
822
  freeze:
768
823
  impl: gstack
824
+ plugin_namespace: gstack
769
825
  cmd: /freeze
770
826
  since: v3.0
771
827
  category: tool-slash-cmd
@@ -775,6 +831,7 @@ capabilities:
775
831
 
776
832
  unfreeze:
777
833
  impl: gstack
834
+ plugin_namespace: gstack
778
835
  cmd: /unfreeze
779
836
  since: v3.0
780
837
  category: tool-slash-cmd
@@ -784,6 +841,7 @@ capabilities:
784
841
 
785
842
  gstack-upgrade:
786
843
  impl: gstack
844
+ plugin_namespace: gstack
787
845
  cmd: /gstack-upgrade
788
846
  since: v3.0
789
847
  category: tool-slash-cmd
@@ -793,6 +851,7 @@ capabilities:
793
851
 
794
852
  learn:
795
853
  impl: gstack
854
+ plugin_namespace: gstack
796
855
  cmd: /learn
797
856
  since: v3.0
798
857
  category: tool-slash-cmd
@@ -802,6 +861,7 @@ capabilities:
802
861
 
803
862
  health:
804
863
  impl: gstack
864
+ plugin_namespace: gstack
805
865
  cmd: /health
806
866
  since: v3.0
807
867
  category: tool-slash-cmd
@@ -811,6 +871,7 @@ capabilities:
811
871
 
812
872
  make-pdf:
813
873
  impl: gstack
874
+ plugin_namespace: gstack
814
875
  cmd: /make-pdf
815
876
  since: v3.0
816
877
  category: tool-slash-cmd
@@ -821,6 +882,7 @@ capabilities:
821
882
  # 2 alias suffix `-gstack` (避免命名冲突 per Pattern A E.2)
822
883
  retro-gstack:
823
884
  impl: gstack
885
+ plugin_namespace: gstack
824
886
  cmd: /retro
825
887
  since: v3.0
826
888
  category: tool-slash-cmd
@@ -832,6 +894,7 @@ capabilities:
832
894
 
833
895
  investigate-gstack:
834
896
  impl: gstack
897
+ plugin_namespace: gstack
835
898
  cmd: /investigate
836
899
  since: v3.0
837
900
  category: tool-slash-cmd
@@ -872,6 +935,7 @@ capabilities:
872
935
 
873
936
  gsd-research-phase:
874
937
  impl: gsd
938
+ plugin_namespace: gsd
875
939
  cmd: /gsd-research-phase
876
940
  since: v3.0
877
941
  category: tool-slash-cmd
@@ -1,7 +1,7 @@
1
1
  # workflows/disciplines/language.yaml
2
- # 语言与输出规范 — 机器化 ~/.claude/CLAUDE.md 「语言与输出规范」 节
3
- # Phase v3.0-3.3 W0.4 ship per D-09
4
- # Snapshot of CLAUDE.md as of v3.0 ship date (K7 mitigation, verbatim)
2
+ # 语言与输出规范 — universal "follow user conversation language" (v3.4.0 update)
3
+ # Phase v3.0-3.3 W0.4 origin (zh-Hans default); v3.4.0 W1.1 semantic shift to
4
+ # language-agnostic + env.HARNESSED_USER_LANG config consumption (D-04 Part D).
5
5
 
6
6
  schema_version: harnessed.discipline.v1
7
7
  discipline: language
@@ -9,20 +9,26 @@ enforcement_layer: output
9
9
  auto_enforce: true
10
10
 
11
11
  rules:
12
- - id: default-language-zh-hans
13
- description: 默认输出语言简体中文 (zh-Hans);所有解释/分析/计划/总结/提问/状态更新一律中文
14
- enforcement: warn
15
- trigger: user.lang_request == null
16
- check_method: heuristic
17
- # heuristic response 中文 char 占比 > 60% (排除 code block);占比 < 30% → warn
12
+ - id: follow-user-language
13
+ description: |-
14
+ Response language follows env.HARNESSED_USER_LANG (set by `harnessed setup`
15
+ Step D — detected from OS locale or user override). If env not set,
16
+ fallback to the user's current conversation language (Claude Code
17
+ naturally mirrors user input; this discipline codifies the universal
18
+ intent). Output artifacts (findings.md / task_plan.md /
19
+ RETROSPECTIVE.md etc.) honor the same setting so workflow outputs
20
+ stay consistent with CLI tone.
21
+ enforcement: info
22
+ trigger: every Claude response
23
+ check_method: read ~/.claude/settings.json env.HARNESSED_USER_LANG, validate output lang matches
18
24
 
19
25
  - id: preserve-english-categories
20
- description: 8 类强制保留英文原文,不翻译不音译
26
+ description: 8 类强制保留英文原文,不翻译不音译 (语言无关 — 任何 user_lang 都适用)
21
27
  enforcement: warn
22
28
  trigger: always-on
23
29
  check_method: heuristic
24
- # 8 类 (verbatim CLAUDE.md):
25
- # 1. 代码/命令/shell/配置/正则/SQL
30
+ # 8 类 (verbatim CLAUDE.md, language-agnostic):
31
+ # 1. 代码/命令/shell/配置/正则/SQL / code / cmd / shell / config / regex / SQL
26
32
  # 2. 文件/目录/路径名 (src/components/Button.tsx 等)
27
33
  # 3. 工具/框架/库/产品/公司名 (Claude Code / GSD / React 等)
28
34
  # 4. API/函数/类/变量/字段/环境变量/配置键
@@ -31,8 +37,22 @@ rules:
31
37
  # 7. 业内固定缩写与通用术语 (TDD / CRUD / API / MCP / token 等)
32
38
  # 8. 引用原文 verbatim
33
39
 
40
+ - id: cross-cultural-humor
41
+ description: |-
42
+ Cultural adaptation of idioms / wordplay. When translating humorous
43
+ content across language boundaries, prefer culturally-resonant
44
+ analogues over literal translation. Example sister README pattern:
45
+ 中文借「鹦鹉学舌」成语 + 英文借 "parrot on shoulders / pirate trope"
46
+ — same concept, different cultural anchor. Avoid forced calques.
47
+ enforcement: info
48
+ trigger: humor_or_idiom_present
49
+ check_method: heuristic
50
+
34
51
  - id: lang-request-override
35
- description: 用户明确"用英文回答"/"reply in English"/"翻译成 X" → 整段切换目标语言
52
+ description: |-
53
+ User explicit override — "用英文回答" / "reply in English" / "翻译成 X"
54
+ / `--lang en|zh` CLI flag → switch the entire response to the
55
+ target language regardless of env.HARNESSED_USER_LANG.
36
56
  enforcement: info
37
57
  trigger: user.lang_request != null
38
58
  check_method: regex
@@ -52,6 +52,14 @@ Sister `workflows/judgments/phase-gate.yaml`:
52
52
  - < 1 天工作量
53
53
  - bug 修复且已有最小复现
54
54
 
55
+ ## How to invoke
56
+
57
+ Use the SlashCommand tool to run: `{{ capabilities.gsd-discuss-phase.cmd }}`
58
+
59
+ (If the rendered cmd above is the bare `/gsd-discuss-phase` accompanied by a `⚠️ ... not installed`
60
+ warning from `harnessed setup`, install the missing plugin first then re-run
61
+ `harnessed setup` to re-render this SKILL.md with the full namespaced cmd.)
62
+
55
63
  ## References
56
64
 
57
65
  - D-04 Stage ① Discuss 三层 (战略 / phase / 子任务)
@@ -56,6 +56,14 @@ Sister `workflows/judgments/strategic-gate.yaml`:
56
56
  - continuing 已有 phase 的执行
57
57
  - 用户已给明确 ticket / spec
58
58
 
59
+ ## How to invoke
60
+
61
+ Use the SlashCommand tool to run: `{{ capabilities.gstack-office-hours.cmd }}`
62
+
63
+ (If the rendered cmd above is the bare `/gstack-office-hours` accompanied by a `⚠️ ... not installed`
64
+ warning from `harnessed setup`, install the missing plugin first then re-run
65
+ `harnessed setup` to re-render this SKILL.md with the full namespaced cmd.)
66
+
59
67
  ## References
60
68
 
61
69
  - D-04 Stage ① Discuss 三层 (战略 / phase / 子任务)
@@ -57,6 +57,14 @@ Sister `workflows/judgments/subtask-gate.yaml`:
57
57
  - 标准库直接调用
58
58
  - bug 修复且已知根因
59
59
 
60
+ ## How to invoke
61
+
62
+ Use the SlashCommand tool to run: `{{ capabilities.superpowers-brainstorming.cmd }}`
63
+
64
+ (If the rendered cmd above is the bare `/superpowers-brainstorming` accompanied by a `⚠️ ... not installed`
65
+ warning from `harnessed setup`, install the missing plugin first then re-run
66
+ `harnessed setup` to re-render this SKILL.md with the full namespaced cmd.)
67
+
60
68
  ## References
61
69
 
62
70
  - D-04 Stage ① Discuss 三层 (战略 / phase / 子任务)
@@ -53,6 +53,14 @@ trigger `is-complex-architecture` 重构 ref。
53
53
  - 性能 / scaling 关键路径
54
54
  - 引入显著技术债 / migration 风险
55
55
 
56
+ ## How to invoke
57
+
58
+ Use the SlashCommand tool to run: `{{ capabilities.plan-eng-review.cmd }}`
59
+
60
+ (If the rendered cmd above is the bare `/plan-eng-review` accompanied by a `⚠️ ... not installed`
61
+ warning from `harnessed setup`, install the missing plugin first then re-run
62
+ `harnessed setup` to re-render this SKILL.md with the full namespaced cmd.)
63
+
56
64
  ## References
57
65
 
58
66
  - D-04 Stage ② Plan 二层 (架构 / 计划)
@@ -55,6 +55,14 @@ reframe)。
55
55
  - `progress.md` — phase 进度跟踪 + cross-session 恢复
56
56
  - (`findings.md` 由 discuss-* sub-workflow 产出, 此处不重复)
57
57
 
58
+ ## How to invoke
59
+
60
+ Use the SlashCommand tool to run: `{{ capabilities.gsd-plan-phase.cmd }}`
61
+
62
+ (If the rendered cmd above is the bare `/gsd-plan-phase` accompanied by a `⚠️ ... not installed`
63
+ warning from `harnessed setup`, install the missing plugin first then re-run
64
+ `harnessed setup` to re-render this SKILL.md with the full namespaced cmd.)
65
+
58
66
  ## References
59
67
 
60
68
  - D-04 Stage ② Plan 二层 (架构 / 计划)
@@ -57,6 +57,14 @@ harnessed retro --milestone <name> --dry-run --non-interactive
57
57
  harnessed retro --milestone <name> --apply
58
58
  ```
59
59
 
60
+ ## How to invoke
61
+
62
+ Use the SlashCommand tool to run: `{{ capabilities.retro-gstack.cmd }}`
63
+
64
+ (If the rendered cmd above is the bare `/retro-gstack` accompanied by a `⚠️ ... not installed`
65
+ warning from `harnessed setup`, install the missing plugin first then re-run
66
+ `harnessed setup` to re-render this SKILL.md with the full namespaced cmd.)
67
+
60
68
  ## References
61
69
 
62
70
  - D-04 NEW v3 standalone workflow (research v3 bump + retro NEW)