@pmelab/gtd 55.0.0 → 57.0.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/.claude-plugin/plugin.json +1 -1
- package/README.md +72 -80
- package/dist/chunks/{reserved-DHafcW7t.mjs → reserved-X2RkNHin.mjs} +110 -318
- package/dist/chunks/{review-BJGKwlYv.mjs → review-v7sh5GF4.mjs} +30 -125
- package/dist/chunks/{steering-CLhu8C7q.mjs → steering-CCNvngSH.mjs} +256 -65
- package/dist/chunks/{tail-B9Hw2AFB.mjs → tail-S04KEewi.mjs} +144 -56
- package/dist/gtd.bundle.mjs +259 -22
- package/dist/steering.mjs +2 -2
- package/dist/testkit.mjs +6 -6
- package/dist/web/main.css +1 -1
- package/dist/web/main.js +551 -66
- package/dist/workflow-kit.mjs +1 -1
- package/dist/workflows/cleanup.mjs +2 -2
- package/dist/workflows/feature.mjs +63 -175
- package/dist/workflows/fix.mjs +3 -3
- package/dist/workflows/review.mjs +3 -3
- package/dist/workflows/rollout.mjs +1 -1
- package/dist/workflows.mjs +603 -727
- package/package.json +1 -1
- package/skills/authoring/SKILL.md +3 -3
- package/src/cli/Cli.ts +5 -5
- package/src/edge/Edge.test.ts +1 -1
- package/src/steering/FORMATS.md +5 -1
- package/src/steering/SteeringFormats.test.ts +2 -2
- package/src/steering/contract.test.ts +1 -0
- package/src/steering/findings.test.ts +47 -0
- package/src/steering/findings.ts +350 -0
- package/src/steering/fixtures/findings/gate.md +34 -0
- package/src/steering/fixtures/findings/gate.read.json +87 -0
- package/src/steering/index.test.ts +2 -2
- package/src/steering/index.ts +4 -3
- package/src/steering/review.test.ts +1 -75
- package/src/steering/review.ts +1 -74
- package/src/workflow/compile.test.ts +1 -0
- package/src/workflows/feature/criteria-coverage.feature +1 -7
- package/src/workflows/feature/criteria.test.ts +1 -41
- package/src/workflows/feature/criteria.ts +2 -14
- package/src/workflows/feature/fast-path.feature +0 -1
- package/src/workflows/feature/feature.test.ts +1 -1
- package/src/workflows/feature/feature.ts +16 -25
- package/src/workflows/feature/flag-mode.feature +1 -1
- package/src/workflows/feature/lens-models.feature +0 -1
- package/src/workflows/feature/lens-review.feature +323 -172
- package/src/workflows/feature/naive-test.feature +258 -0
- package/src/workflows/feature/one-step-land.feature +0 -1
- package/src/workflows/feature/refactor-absorbs.feature +1 -8
- package/src/workflows/feature/refactor-first.feature +2 -11
- package/src/workflows/feature/refactor-rebuild.feature +4 -25
- package/src/workflows/feature/refactor-review.feature +33 -118
- package/src/workflows/feature/refactor.test.ts +0 -2
- package/src/workflows/feature/refactor.ts +0 -1
- package/src/workflows/feature/review-gate.feature +7 -24
- package/src/workflows/feature/reviewer-walkthrough.feature +16 -104
- package/src/workflows/feature/seam-rejection.feature +0 -1
- package/src/workflows/feature/seam.feature +0 -1
- package/src/workflows/feature/seam.test.ts +1 -2
- package/src/workflows/feature/seam.ts +56 -10
- package/src/workflows/feature/standards.feature +75 -35
- package/src/workflows/fix/fix-lens-origin.feature +20 -7
- package/src/workflows/fix/fix-quality.feature +102 -23
- package/src/workflows/review/review-door.feature +62 -59
- package/src/workflows/shared/learn.test.ts +0 -14
- package/src/workflows/shared/learn.ts +1 -6
- package/src/workflows/shared/lenses.ts +149 -43
- package/src/workflows/shared/options.ts +9 -1
- package/src/workflows/shared/prose.ts +0 -6
- package/src/workflows/shared/review.test.ts +27 -26
- package/src/workflows/shared/review.ts +29 -196
- package/src/workflows/shared/skills.test.ts +0 -4
- package/src/workflows/shared/skills.ts +0 -5
- package/src/workflows/shared/steps.ts +1 -1
- package/src/workflows/shared/tail.ts +18 -9
- package/src/workflows/shared/text.test.ts +125 -329
- package/src/workflows/shared/text.ts +173 -471
- package/src/workflows/shared/vars.ts +2 -3
- package/src/workflows/feature/hands-on-skip.feature +0 -316
- package/src/workflows/feature/prototype-rounds.feature +0 -156
- package/src/workflows/feature/prototype.feature +0 -428
- package/src/workflows/feature/prototype.test.ts +0 -43
- package/src/workflows/feature/prototype.ts +0 -198
- package/src/workflows/feature/review-answers.feature +0 -324
- package/src/workflows/feature/severity-budget.feature +0 -116
- package/src/workflows/feature/severity-sorted-review.feature +0 -198
|
@@ -9,7 +9,6 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
9
9
|
|
|
10
10
|
Background:
|
|
11
11
|
Given the shipped workflows, as gtd install scaffolds them
|
|
12
|
-
And an environment variable "GTD_PROTOTYPEROUNDS" set to "0"
|
|
13
12
|
And an environment variable "GTD_QUALITYREVIEWS" set to ""
|
|
14
13
|
And an environment variable "GTD_FLAG_RISK_TIER" set to "0"
|
|
15
14
|
|
|
@@ -83,10 +82,6 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
83
82
|
"""
|
|
84
83
|
And step "refactor.health.check" changes nothing
|
|
85
84
|
And step "refactor.closing" runs its script
|
|
86
|
-
And judge step "refactor.build.review.ranking" answers:
|
|
87
|
-
"""
|
|
88
|
-
[]
|
|
89
|
-
"""
|
|
90
85
|
And step "refactor.build.review.carrying" runs its script
|
|
91
86
|
And step "refactor.build.review.reviewing" writes ".gtd/REVIEW.md" with:
|
|
92
87
|
"""
|
|
@@ -185,10 +180,6 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
185
180
|
"""
|
|
186
181
|
And step "refactor.health.check" changes nothing
|
|
187
182
|
And step "refactor.closing" runs its script
|
|
188
|
-
And judge step "refactor.build.review.ranking" answers:
|
|
189
|
-
"""
|
|
190
|
-
[]
|
|
191
|
-
"""
|
|
192
183
|
And step "refactor.build.review.carrying" runs its script
|
|
193
184
|
And step "refactor.build.review.reviewing" writes ".gtd/REVIEW.md" with:
|
|
194
185
|
"""
|
|
@@ -211,9 +202,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
211
202
|
"""
|
|
212
203
|
gtd(check): refactor.closing → refactor.build.quality.correctness.reviewing
|
|
213
204
|
gtd(agent): refactor.build.quality.correctness.reviewing → refactor.build.review.reviewing
|
|
214
|
-
gtd(agent): refactor.build.review.reviewing → refactor.build.review.
|
|
215
|
-
gtd(judge): refactor.build.review.ranking → refactor.build.review.carrying
|
|
216
|
-
gtd(check): refactor.build.review.carrying → refactor.build.review.await-review
|
|
205
|
+
gtd(agent): refactor.build.review.reviewing → refactor.build.review.await-review
|
|
217
206
|
"""
|
|
218
207
|
|
|
219
208
|
|
|
@@ -288,10 +277,6 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
288
277
|
"""
|
|
289
278
|
And step "refactor.health.check" changes nothing
|
|
290
279
|
And step "refactor.closing" runs its script
|
|
291
|
-
And judge step "refactor.build.review.ranking" answers:
|
|
292
|
-
"""
|
|
293
|
-
[]
|
|
294
|
-
"""
|
|
295
280
|
And step "refactor.build.review.carrying" runs its script
|
|
296
281
|
And step "refactor.build.review.reviewing" writes ".gtd/REVIEW.md" with:
|
|
297
282
|
"""
|
|
@@ -315,9 +300,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
315
300
|
|
|
316
301
|
<!-- base: 0000000 -->
|
|
317
302
|
|
|
318
|
-
##
|
|
319
|
-
|
|
320
|
-
### calc
|
|
303
|
+
## calc
|
|
321
304
|
|
|
322
305
|
- [ ] ./src/calc.ts#1-2
|
|
323
306
|
add built on the shared op[^why]
|
|
@@ -354,9 +337,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
354
337
|
|
|
355
338
|
<!-- base: 0000000 -->
|
|
356
339
|
|
|
357
|
-
##
|
|
358
|
-
|
|
359
|
-
### calc
|
|
340
|
+
## calc
|
|
360
341
|
|
|
361
342
|
- [ ] ./src/calc.ts#1-2
|
|
362
343
|
add built on the shared op
|
|
@@ -380,9 +361,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
380
361
|
gtd(agent): refactor.building → refactor.health.check
|
|
381
362
|
gtd(check): refactor.health.check → refactor.closing
|
|
382
363
|
gtd(check): refactor.closing → refactor.build.review.reviewing
|
|
383
|
-
gtd(agent): refactor.build.review.reviewing → refactor.build.review.
|
|
384
|
-
gtd(judge): refactor.build.review.ranking → refactor.build.review.carrying
|
|
385
|
-
gtd(check): refactor.build.review.carrying → refactor.build.review.await-review
|
|
364
|
+
gtd(agent): refactor.build.review.reviewing → refactor.build.review.await-review
|
|
386
365
|
"""
|
|
387
366
|
|
|
388
367
|
Scenario: a question answered at the refactor review reaches the re-derived package as ### Answered Questions
|
|
@@ -394,9 +373,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
394
373
|
|
|
395
374
|
<!-- base: 0000000 -->
|
|
396
375
|
|
|
397
|
-
##
|
|
398
|
-
|
|
399
|
-
### calc
|
|
376
|
+
## calc
|
|
400
377
|
|
|
401
378
|
- [ ] ./src/calc.ts#1-1
|
|
402
379
|
why a shared op?
|
|
@@ -473,9 +450,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
473
450
|
gtd(agent): refactor.building → refactor.health.check
|
|
474
451
|
gtd(check): refactor.health.check → refactor.closing
|
|
475
452
|
gtd(check): refactor.closing → refactor.build.review.reviewing
|
|
476
|
-
gtd(agent): refactor.build.review.reviewing → refactor.build.review.
|
|
477
|
-
gtd(judge): refactor.build.review.ranking → refactor.build.review.carrying
|
|
478
|
-
gtd(check): refactor.build.review.carrying → refactor.build.review.await-review
|
|
453
|
+
gtd(agent): refactor.build.review.reviewing → refactor.build.review.await-review
|
|
479
454
|
"""
|
|
480
455
|
|
|
481
456
|
Scenario: an edit note the collecting turn leaves out refuses the landing and never signs off
|
|
@@ -487,9 +462,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
487
462
|
|
|
488
463
|
<!-- base: 0000000 -->
|
|
489
464
|
|
|
490
|
-
##
|
|
491
|
-
|
|
492
|
-
### calc
|
|
465
|
+
## calc
|
|
493
466
|
|
|
494
467
|
- [ ] ./src/calc.ts#1-2
|
|
495
468
|
add built on the shared op — this should change behaviour, not just structure
|
|
@@ -533,9 +506,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
533
506
|
|
|
534
507
|
<!-- base: 0000000 -->
|
|
535
508
|
|
|
536
|
-
##
|
|
537
|
-
|
|
538
|
-
### calc
|
|
509
|
+
## calc
|
|
539
510
|
|
|
540
511
|
- [ ] ./src/calc.ts#1-2 rename the helper
|
|
541
512
|
add built on the shared op
|
|
@@ -562,9 +533,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
562
533
|
|
|
563
534
|
<!-- base: 0000000 -->
|
|
564
535
|
|
|
565
|
-
##
|
|
566
|
-
|
|
567
|
-
### calc
|
|
536
|
+
## calc
|
|
568
537
|
|
|
569
538
|
- [ ] ./src/calc.ts#1-2
|
|
570
539
|
add built on the shared op, lovely work
|
|
@@ -583,9 +552,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
583
552
|
|
|
584
553
|
<!-- base: 0000000 -->
|
|
585
554
|
|
|
586
|
-
##
|
|
587
|
-
|
|
588
|
-
### calc
|
|
555
|
+
## calc
|
|
589
556
|
|
|
590
557
|
- [ ] ./src/calc.ts#1-2
|
|
591
558
|
add built on the shared op[^q]
|
|
@@ -635,9 +602,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
635
602
|
|
|
636
603
|
<!-- base: 0000000 -->
|
|
637
604
|
|
|
638
|
-
##
|
|
639
|
-
|
|
640
|
-
### calc
|
|
605
|
+
## calc
|
|
641
606
|
|
|
642
607
|
- [ ] ./src/calc.ts#1-2
|
|
643
608
|
add built on the shared op[^q]
|
|
@@ -669,9 +634,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
669
634
|
|
|
670
635
|
<!-- base: 0000000 -->
|
|
671
636
|
|
|
672
|
-
##
|
|
673
|
-
|
|
674
|
-
### calc
|
|
637
|
+
## calc
|
|
675
638
|
|
|
676
639
|
- [ ] ./src/calc.ts#1-2
|
|
677
640
|
add built on the shared op[^q]
|
|
@@ -718,9 +681,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
718
681
|
|
|
719
682
|
<!-- base: 0000000 -->
|
|
720
683
|
|
|
721
|
-
##
|
|
722
|
-
|
|
723
|
-
### calc
|
|
684
|
+
## calc
|
|
724
685
|
|
|
725
686
|
- [ ] ./src/calc.ts#1-2
|
|
726
687
|
add built on the shared op[^n1]
|
|
@@ -746,9 +707,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
746
707
|
|
|
747
708
|
<!-- base: 0000000 -->
|
|
748
709
|
|
|
749
|
-
##
|
|
750
|
-
|
|
751
|
-
### calc
|
|
710
|
+
## calc
|
|
752
711
|
|
|
753
712
|
- [ ] ./src/calc.ts#1-2
|
|
754
713
|
add built on the shared op[^n1]
|
|
@@ -775,9 +734,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
775
734
|
|
|
776
735
|
<!-- base: 0000000 -->
|
|
777
736
|
|
|
778
|
-
##
|
|
779
|
-
|
|
780
|
-
### calc
|
|
737
|
+
## calc
|
|
781
738
|
|
|
782
739
|
- [ ] ./src/calc.ts#1-2
|
|
783
740
|
add built on the shared op[^q]
|
|
@@ -809,9 +766,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
809
766
|
|
|
810
767
|
<!-- base: 0000000 -->
|
|
811
768
|
|
|
812
|
-
##
|
|
813
|
-
|
|
814
|
-
### calc
|
|
769
|
+
## calc
|
|
815
770
|
|
|
816
771
|
- [ ] ./src/calc.ts#1-2
|
|
817
772
|
add built on the shared op[^n1]
|
|
@@ -837,9 +792,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
837
792
|
|
|
838
793
|
<!-- base: 0000000 -->
|
|
839
794
|
|
|
840
|
-
##
|
|
841
|
-
|
|
842
|
-
### calc
|
|
795
|
+
## calc
|
|
843
796
|
|
|
844
797
|
- [ ] ./src/calc.ts#1-2
|
|
845
798
|
add built on the shared op - this should change behaviour, not just structure[^q]
|
|
@@ -871,9 +824,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
871
824
|
|
|
872
825
|
<!-- base: 0000000 -->
|
|
873
826
|
|
|
874
|
-
##
|
|
875
|
-
|
|
876
|
-
### calc
|
|
827
|
+
## calc
|
|
877
828
|
|
|
878
829
|
- [ ] ./src/calc.ts#1-2
|
|
879
830
|
add built on the shared op - this should change behaviour, not just structure[^q]
|
|
@@ -918,9 +869,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
918
869
|
|
|
919
870
|
<!-- base: 0000000 -->
|
|
920
871
|
|
|
921
|
-
##
|
|
922
|
-
|
|
923
|
-
### calc
|
|
872
|
+
## calc
|
|
924
873
|
|
|
925
874
|
- [ ] ./src/calc.ts#1-2
|
|
926
875
|
add built on the shared op[^q]
|
|
@@ -952,9 +901,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
952
901
|
|
|
953
902
|
<!-- base: 0000000 -->
|
|
954
903
|
|
|
955
|
-
##
|
|
956
|
-
|
|
957
|
-
### calc
|
|
904
|
+
## calc
|
|
958
905
|
|
|
959
906
|
- [ ] ./src/calc.ts#1-2
|
|
960
907
|
add built on the shared op[^q]
|
|
@@ -1000,9 +947,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
1000
947
|
|
|
1001
948
|
<!-- base: 0000000 -->
|
|
1002
949
|
|
|
1003
|
-
##
|
|
1004
|
-
|
|
1005
|
-
### calc
|
|
950
|
+
## calc
|
|
1006
951
|
|
|
1007
952
|
- [ ] ./src/calc.ts#1-2
|
|
1008
953
|
add built on the shared op, lovely work[^q]
|
|
@@ -1034,9 +979,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
1034
979
|
|
|
1035
980
|
<!-- base: 0000000 -->
|
|
1036
981
|
|
|
1037
|
-
##
|
|
1038
|
-
|
|
1039
|
-
### calc
|
|
982
|
+
## calc
|
|
1040
983
|
|
|
1041
984
|
- [ ] ./src/calc.ts#1-2
|
|
1042
985
|
add built on the shared op, lovely work[^q]
|
|
@@ -1087,9 +1030,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
1087
1030
|
|
|
1088
1031
|
<!-- base: 0000000 -->
|
|
1089
1032
|
|
|
1090
|
-
##
|
|
1091
|
-
|
|
1092
|
-
### calc
|
|
1033
|
+
## calc
|
|
1093
1034
|
|
|
1094
1035
|
- [x] ./src/calc.ts#1-2
|
|
1095
1036
|
add built on the shared op
|
|
@@ -1112,9 +1053,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
1112
1053
|
|
|
1113
1054
|
<!-- base: 0000000 -->
|
|
1114
1055
|
|
|
1115
|
-
##
|
|
1116
|
-
|
|
1117
|
-
### calc
|
|
1056
|
+
## calc
|
|
1118
1057
|
|
|
1119
1058
|
- [ ] ./src/calc.ts#1-2
|
|
1120
1059
|
add built on the shared op — rename `sign` to `direction`
|
|
@@ -1143,9 +1082,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
1143
1082
|
|
|
1144
1083
|
<!-- base: 0000000 -->
|
|
1145
1084
|
|
|
1146
|
-
##
|
|
1147
|
-
|
|
1148
|
-
### calc
|
|
1085
|
+
## calc
|
|
1149
1086
|
|
|
1150
1087
|
- [ ] ./src/calc.ts#1-2
|
|
1151
1088
|
add built on the shared op — rename `sign` to `direction`
|
|
@@ -1166,9 +1103,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
1166
1103
|
And the commit subjects end with:
|
|
1167
1104
|
"""
|
|
1168
1105
|
gtd(check): refactor.closing → refactor.build.review.reviewing
|
|
1169
|
-
gtd(agent): refactor.build.review.reviewing → refactor.build.review.
|
|
1170
|
-
gtd(judge): refactor.build.review.ranking → refactor.build.review.carrying
|
|
1171
|
-
gtd(check): refactor.build.review.carrying → refactor.build.review.await-review
|
|
1106
|
+
gtd(agent): refactor.build.review.reviewing → refactor.build.review.await-review
|
|
1172
1107
|
"""
|
|
1173
1108
|
|
|
1174
1109
|
Scenario: a reviewer walks the human through the whole refactor, every chunk pointing at its code
|
|
@@ -1176,9 +1111,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
1176
1111
|
Then the process rests at "refactor.build.review.await-review"
|
|
1177
1112
|
And ".gtd/REVIEW.md" contains:
|
|
1178
1113
|
"""
|
|
1179
|
-
##
|
|
1180
|
-
|
|
1181
|
-
### calc
|
|
1114
|
+
## calc
|
|
1182
1115
|
|
|
1183
1116
|
- [ ] ./src/calc.ts#1-2
|
|
1184
1117
|
add built on the shared op
|
|
@@ -1206,21 +1139,17 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
1206
1139
|
Then the process rests at "refactor.build.review.await-review"
|
|
1207
1140
|
And ".gtd/REVIEW.md" contains:
|
|
1208
1141
|
"""
|
|
1209
|
-
##
|
|
1210
|
-
|
|
1211
|
-
### calc
|
|
1142
|
+
## calc
|
|
1212
1143
|
|
|
1213
1144
|
- [ ] ./src/calc.ts#1-2 — Risk: still drops the sign
|
|
1214
1145
|
"""
|
|
1215
|
-
And ".gtd/REVIEW.md" contains "##
|
|
1146
|
+
And ".gtd/REVIEW.md" contains "## calc" exactly once
|
|
1216
1147
|
And the commit subjects end with:
|
|
1217
1148
|
"""
|
|
1218
1149
|
gtd(agent): refactor.build.review.reviewing → refactor.build.review.fix.risks.fixing
|
|
1219
1150
|
gtd(agent): refactor.build.review.fix.risks.fixing → refactor.build.health.check
|
|
1220
1151
|
gtd(check): refactor.build.health.check → refactor.build.review.reviewing
|
|
1221
|
-
gtd(agent): refactor.build.review.reviewing → refactor.build.review.
|
|
1222
|
-
gtd(judge): refactor.build.review.ranking → refactor.build.review.carrying
|
|
1223
|
-
gtd(check): refactor.build.review.carrying → refactor.build.review.await-review
|
|
1152
|
+
gtd(agent): refactor.build.review.reviewing → refactor.build.review.await-review
|
|
1224
1153
|
"""
|
|
1225
1154
|
|
|
1226
1155
|
Rule: with a quality lens on both the refactor and the feature
|
|
@@ -1295,10 +1224,6 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
1295
1224
|
"""
|
|
1296
1225
|
And step "refactor.health.check" changes nothing
|
|
1297
1226
|
And step "refactor.closing" runs its script
|
|
1298
|
-
And judge step "refactor.build.review.ranking" answers:
|
|
1299
|
-
"""
|
|
1300
|
-
[]
|
|
1301
|
-
"""
|
|
1302
1227
|
And step "refactor.build.review.carrying" runs its script
|
|
1303
1228
|
And step "refactor.build.review.reviewing" writes ".gtd/REVIEW.md" with:
|
|
1304
1229
|
"""
|
|
@@ -1338,9 +1263,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
1338
1263
|
|
|
1339
1264
|
<!-- base: 0000000 -->
|
|
1340
1265
|
|
|
1341
|
-
##
|
|
1342
|
-
|
|
1343
|
-
### calc
|
|
1266
|
+
## calc
|
|
1344
1267
|
|
|
1345
1268
|
- [x] ./src/calc.ts#1-2
|
|
1346
1269
|
add built on the shared op
|
|
@@ -1509,10 +1432,6 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
1509
1432
|
"""
|
|
1510
1433
|
And step "refactor.health.check" changes nothing
|
|
1511
1434
|
And step "refactor.closing" runs its script
|
|
1512
|
-
And judge step "refactor.build.review.ranking" answers:
|
|
1513
|
-
"""
|
|
1514
|
-
[]
|
|
1515
|
-
"""
|
|
1516
1435
|
And step "refactor.build.review.carrying" runs its script
|
|
1517
1436
|
And step "refactor.build.review.reviewing" writes ".gtd/REVIEW.md" with:
|
|
1518
1437
|
"""
|
|
@@ -1533,9 +1452,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
1533
1452
|
|
|
1534
1453
|
<!-- base: 0000000 -->
|
|
1535
1454
|
|
|
1536
|
-
##
|
|
1537
|
-
|
|
1538
|
-
### calc
|
|
1455
|
+
## calc
|
|
1539
1456
|
|
|
1540
1457
|
- [ ] ./src/calc.ts#1-2
|
|
1541
1458
|
add built on the shared op[^why]
|
|
@@ -1575,9 +1492,7 @@ Feature: the refactor is reviewed on its own before the feature is implemented
|
|
|
1575
1492
|
|
|
1576
1493
|
<!-- base: 0000000 -->
|
|
1577
1494
|
|
|
1578
|
-
##
|
|
1579
|
-
|
|
1580
|
-
### calc
|
|
1495
|
+
## calc
|
|
1581
1496
|
|
|
1582
1497
|
- [ ] ./src/calc.ts#1-2
|
|
1583
1498
|
add built on the shared op
|
|
@@ -930,8 +930,6 @@ describe("reviewedRefactor", () => {
|
|
|
930
930
|
"refactor.build.quality.ponytail-review.reviewing",
|
|
931
931
|
"refactor.build.quality.conventions.reviewing",
|
|
932
932
|
"refactor.build.review.reviewing",
|
|
933
|
-
"refactor.build.review.ranking",
|
|
934
|
-
"refactor.build.review.carrying",
|
|
935
933
|
"refactor.build.review.await-review",
|
|
936
934
|
"refactor.build.review.closing",
|
|
937
935
|
])
|
|
@@ -4,13 +4,12 @@ Feature: a feature process ends at the human review
|
|
|
4
4
|
After the quality lap the process rests at the review gate,
|
|
5
5
|
`.gtd/REVIEW.md`. A sign-off ends the process. A note asking for a change in
|
|
6
6
|
behaviour starts a feedback lap — design, then implement with no new naive
|
|
7
|
-
pass or seam judge, the
|
|
7
|
+
pass or seam judge, the quality lap — and the review
|
|
8
8
|
again. Its design keeps a built criterion's ID and numbers
|
|
9
9
|
new behaviour above every ID handed out.
|
|
10
10
|
|
|
11
11
|
Background:
|
|
12
12
|
Given the shipped workflows, as gtd install scaffolds them
|
|
13
|
-
And an environment variable "GTD_PROTOTYPEROUNDS" set to "0"
|
|
14
13
|
And an environment variable "GTD_QUALITYREVIEWS" set to ""
|
|
15
14
|
And an environment variable "GTD_FLAGMODE" set to "false"
|
|
16
15
|
And a file "src/calc.ts" with:
|
|
@@ -71,10 +70,6 @@ Feature: a feature process ends at the human review
|
|
|
71
70
|
"""
|
|
72
71
|
And step "build.review.closing" runs its script
|
|
73
72
|
And step "build.review.carrying" runs its script
|
|
74
|
-
And judge step "build.review.ranking" answers:
|
|
75
|
-
"""
|
|
76
|
-
[]
|
|
77
|
-
"""
|
|
78
73
|
|
|
79
74
|
Scenario: a feature process ends at the review gate
|
|
80
75
|
When the process is driven
|
|
@@ -85,9 +80,7 @@ Feature: a feature process ends at the human review
|
|
|
85
80
|
"""
|
|
86
81
|
gtd(check): implement.health.check → implement.closing
|
|
87
82
|
gtd(check): implement.closing → build.review.reviewing
|
|
88
|
-
gtd(agent): build.review.reviewing → build.review.
|
|
89
|
-
gtd(judge): build.review.ranking → build.review.carrying
|
|
90
|
-
gtd(check): build.review.carrying → build.review.await-review
|
|
83
|
+
gtd(agent): build.review.reviewing → build.review.await-review
|
|
91
84
|
"""
|
|
92
85
|
|
|
93
86
|
Scenario: a sign-off ends the process at idle
|
|
@@ -99,9 +92,7 @@ Feature: a feature process ends at the human review
|
|
|
99
92
|
|
|
100
93
|
<!-- base: 0000000 -->
|
|
101
94
|
|
|
102
|
-
##
|
|
103
|
-
|
|
104
|
-
### calc
|
|
95
|
+
## calc
|
|
105
96
|
|
|
106
97
|
- [x] ./src/calc.ts#2-2
|
|
107
98
|
new subtract function
|
|
@@ -112,9 +103,7 @@ Feature: a feature process ends at the human review
|
|
|
112
103
|
And ".gtd/REVIEW.md" does not exist
|
|
113
104
|
And the commit subjects end with:
|
|
114
105
|
"""
|
|
115
|
-
gtd(agent): build.review.reviewing → build.review.
|
|
116
|
-
gtd(judge): build.review.ranking → build.review.carrying
|
|
117
|
-
gtd(check): build.review.carrying → build.review.await-review
|
|
106
|
+
gtd(agent): build.review.reviewing → build.review.await-review
|
|
118
107
|
gtd(human): build.review.await-review → build.review.closing
|
|
119
108
|
gtd(check): build.review.closing → idle
|
|
120
109
|
"""
|
|
@@ -156,9 +145,7 @@ Feature: a feature process ends at the human review
|
|
|
156
145
|
|
|
157
146
|
<!-- base: 0000000 -->
|
|
158
147
|
|
|
159
|
-
##
|
|
160
|
-
|
|
161
|
-
### calc
|
|
148
|
+
## calc
|
|
162
149
|
|
|
163
150
|
- [ ] ./src/calc.ts#2-2
|
|
164
151
|
new subtract function[^why]
|
|
@@ -176,9 +163,7 @@ Feature: a feature process ends at the human review
|
|
|
176
163
|
|
|
177
164
|
<!-- base: 0000000 -->
|
|
178
165
|
|
|
179
|
-
##
|
|
180
|
-
|
|
181
|
-
### calc
|
|
166
|
+
## calc
|
|
182
167
|
|
|
183
168
|
- [ ] ./src/calc.ts#2-2
|
|
184
169
|
new subtract function
|
|
@@ -229,9 +214,7 @@ Feature: a feature process ends at the human review
|
|
|
229
214
|
gtd(agent): implement.building → implement.health.check
|
|
230
215
|
gtd(check): implement.health.check → implement.closing
|
|
231
216
|
gtd(check): implement.closing → build.review.reviewing
|
|
232
|
-
gtd(agent): build.review.reviewing → build.review.
|
|
233
|
-
gtd(judge): build.review.ranking → build.review.carrying
|
|
234
|
-
gtd(check): build.review.carrying → build.review.await-review
|
|
217
|
+
gtd(agent): build.review.reviewing → build.review.await-review
|
|
235
218
|
"""
|
|
236
219
|
|
|
237
220
|
Scenario: a design numbering new behaviour at or below an earlier ID is refused
|