@kitman-sh/software-engineering 0.11.0-rc.5 → 0.11.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.
@@ -3,7 +3,7 @@
3
3
  {
4
4
  "id": "build",
5
5
  "title": "Build",
6
- "version": "2.6.0",
6
+ "version": "2.7.0",
7
7
  "input": {
8
8
  "type": "object",
9
9
  "properties": {
@@ -194,6 +194,102 @@
194
194
  "type": "null"
195
195
  }
196
196
  ]
197
+ },
198
+ "deliveryTarget": {
199
+ "anyOf": [
200
+ {
201
+ "type": "string",
202
+ "enum": [
203
+ "default_branch",
204
+ "epic_branch"
205
+ ]
206
+ },
207
+ {
208
+ "type": "null"
209
+ }
210
+ ]
211
+ },
212
+ "deliversTo": {
213
+ "anyOf": [
214
+ {
215
+ "type": "object",
216
+ "properties": {
217
+ "target": {
218
+ "type": "string",
219
+ "enum": [
220
+ "default_branch",
221
+ "epic_branch"
222
+ ]
223
+ },
224
+ "layer": {
225
+ "type": "string",
226
+ "enum": [
227
+ "run",
228
+ "project",
229
+ "team",
230
+ "workspace"
231
+ ]
232
+ }
233
+ },
234
+ "required": [
235
+ "target",
236
+ "layer"
237
+ ],
238
+ "additionalProperties": true
239
+ },
240
+ {
241
+ "type": "null"
242
+ }
243
+ ]
244
+ },
245
+ "epic": {
246
+ "anyOf": [
247
+ {
248
+ "type": "object",
249
+ "properties": {
250
+ "taskId": {
251
+ "type": "string"
252
+ },
253
+ "key": {
254
+ "type": "string"
255
+ },
256
+ "branch": {
257
+ "type": "string"
258
+ },
259
+ "defaultBranch": {
260
+ "type": "string"
261
+ },
262
+ "subTasksDone": {
263
+ "type": "boolean"
264
+ },
265
+ "done": {
266
+ "type": "boolean"
267
+ },
268
+ "own": {
269
+ "anyOf": [
270
+ {
271
+ "type": "boolean"
272
+ },
273
+ {
274
+ "type": "null"
275
+ }
276
+ ]
277
+ }
278
+ },
279
+ "required": [
280
+ "taskId",
281
+ "key",
282
+ "branch",
283
+ "defaultBranch",
284
+ "subTasksDone",
285
+ "done"
286
+ ],
287
+ "additionalProperties": true
288
+ },
289
+ {
290
+ "type": "null"
291
+ }
292
+ ]
197
293
  }
198
294
  },
199
295
  "additionalProperties": true,
@@ -446,6 +542,62 @@
446
542
  }
447
543
  ]
448
544
  },
545
+ "deliversTo": {
546
+ "anyOf": [
547
+ {
548
+ "type": "object",
549
+ "properties": {
550
+ "target": {
551
+ "type": "string",
552
+ "enum": [
553
+ "default_branch",
554
+ "epic_branch"
555
+ ]
556
+ },
557
+ "layer": {
558
+ "type": "string",
559
+ "enum": [
560
+ "run",
561
+ "project",
562
+ "team",
563
+ "workspace"
564
+ ]
565
+ }
566
+ },
567
+ "required": [
568
+ "target",
569
+ "layer"
570
+ ],
571
+ "additionalProperties": true
572
+ },
573
+ {
574
+ "type": "null"
575
+ }
576
+ ]
577
+ },
578
+ "epicLanding": {
579
+ "anyOf": [
580
+ {
581
+ "type": "object",
582
+ "properties": {
583
+ "status": {
584
+ "type": "string"
585
+ },
586
+ "reason": {
587
+ "type": "string"
588
+ }
589
+ },
590
+ "required": [
591
+ "status",
592
+ "reason"
593
+ ],
594
+ "additionalProperties": true
595
+ },
596
+ {
597
+ "type": "null"
598
+ }
599
+ ]
600
+ },
449
601
  "handBack": {
450
602
  "anyOf": [
451
603
  {
@@ -514,6 +666,39 @@
514
666
  "changeRequestId"
515
667
  ],
516
668
  "additionalProperties": true
669
+ },
670
+ "deliversTo": {
671
+ "anyOf": [
672
+ {
673
+ "type": "object",
674
+ "properties": {
675
+ "target": {
676
+ "type": "string",
677
+ "enum": [
678
+ "default_branch",
679
+ "epic_branch"
680
+ ]
681
+ },
682
+ "layer": {
683
+ "type": "string",
684
+ "enum": [
685
+ "run",
686
+ "project",
687
+ "team",
688
+ "workspace"
689
+ ]
690
+ }
691
+ },
692
+ "required": [
693
+ "target",
694
+ "layer"
695
+ ],
696
+ "additionalProperties": true
697
+ },
698
+ {
699
+ "type": "null"
700
+ }
701
+ ]
517
702
  }
518
703
  },
519
704
  "required": [
@@ -1629,7 +1814,7 @@
1629
1814
  {
1630
1815
  "id": "release",
1631
1816
  "title": "Release",
1632
- "version": "2.2.0",
1817
+ "version": "2.4.0",
1633
1818
  "input": {
1634
1819
  "type": "object",
1635
1820
  "properties": {
@@ -1653,6 +1838,18 @@
1653
1838
  }
1654
1839
  ]
1655
1840
  },
1841
+ "review": {
1842
+ "anyOf": [
1843
+ {
1844
+ "type": "string",
1845
+ "minLength": 1,
1846
+ "maxLength": 240
1847
+ },
1848
+ {
1849
+ "type": "null"
1850
+ }
1851
+ ]
1852
+ },
1656
1853
  "changeRequestId": {
1657
1854
  "anyOf": [
1658
1855
  {
@@ -1663,6 +1860,16 @@
1663
1860
  }
1664
1861
  ]
1665
1862
  },
1863
+ "taskId": {
1864
+ "anyOf": [
1865
+ {
1866
+ "type": "string"
1867
+ },
1868
+ {
1869
+ "type": "null"
1870
+ }
1871
+ ]
1872
+ },
1666
1873
  "deployTarget": {
1667
1874
  "anyOf": [
1668
1875
  {
@@ -1813,44 +2020,8 @@
1813
2020
  "type": "null"
1814
2021
  }
1815
2022
  ]
1816
- }
1817
- },
1818
- "additionalProperties": true,
1819
- "$defs": {}
1820
- },
1821
- "output": {
1822
- "type": "object",
1823
- "properties": {
1824
- "status": {
1825
- "type": "string",
1826
- "enum": [
1827
- "gate_failed",
1828
- "not_mergeable",
1829
- "rejected",
1830
- "deployed",
1831
- "rolled_back",
1832
- "deploy_failed",
1833
- "rollback_failed",
1834
- "timed_out",
1835
- "not_due",
1836
- "no_version",
1837
- "nothing_to_release"
1838
- ]
1839
- },
1840
- "reason": {
1841
- "type": "string"
1842
- },
1843
- "tag": {
1844
- "anyOf": [
1845
- {
1846
- "type": "string"
1847
- },
1848
- {
1849
- "type": "null"
1850
- }
1851
- ]
1852
2023
  },
1853
- "notesArtifactId": {
2024
+ "version": {
1854
2025
  "anyOf": [
1855
2026
  {
1856
2027
  "type": "string"
@@ -1860,37 +2031,40 @@
1860
2031
  }
1861
2032
  ]
1862
2033
  },
1863
- "revision": {
2034
+ "candidate": {
1864
2035
  "anyOf": [
1865
2036
  {
1866
- "type": "string"
2037
+ "type": "boolean"
1867
2038
  },
1868
2039
  {
1869
2040
  "type": "null"
1870
2041
  }
1871
2042
  ]
1872
2043
  },
1873
- "url": {
2044
+ "deliveryTarget": {
1874
2045
  "anyOf": [
1875
2046
  {
1876
- "type": "string"
2047
+ "type": "string",
2048
+ "enum": [
2049
+ "default_branch",
2050
+ "epic_branch"
2051
+ ]
1877
2052
  },
1878
2053
  {
1879
2054
  "type": "null"
1880
2055
  }
1881
2056
  ]
1882
2057
  },
1883
- "releaseWhen": {
2058
+ "deliversTo": {
1884
2059
  "anyOf": [
1885
2060
  {
1886
2061
  "type": "object",
1887
2062
  "properties": {
1888
- "trigger": {
2063
+ "target": {
1889
2064
  "type": "string",
1890
2065
  "enum": [
1891
- "merge",
1892
- "milestone",
1893
- "project"
2066
+ "default_branch",
2067
+ "epic_branch"
1894
2068
  ]
1895
2069
  },
1896
2070
  "layer": {
@@ -1904,7 +2078,7 @@
1904
2078
  }
1905
2079
  },
1906
2080
  "required": [
1907
- "trigger",
2081
+ "target",
1908
2082
  "layer"
1909
2083
  ],
1910
2084
  "additionalProperties": true
@@ -1914,35 +2088,227 @@
1914
2088
  }
1915
2089
  ]
1916
2090
  },
1917
- "shipped": {
2091
+ "epic": {
1918
2092
  "anyOf": [
1919
2093
  {
1920
2094
  "type": "object",
1921
2095
  "properties": {
1922
- "kind": {
1923
- "type": "string",
1924
- "enum": [
1925
- "milestone",
1926
- "project"
1927
- ]
2096
+ "taskId": {
2097
+ "type": "string"
1928
2098
  },
1929
- "projectId": {
2099
+ "key": {
1930
2100
  "type": "string"
1931
2101
  },
1932
- "milestoneId": {
2102
+ "branch": {
1933
2103
  "type": "string"
1934
2104
  },
1935
- "taskIds": {
1936
- "type": "array",
1937
- "items": {
1938
- "type": "string"
1939
- }
2105
+ "defaultBranch": {
2106
+ "type": "string"
2107
+ },
2108
+ "subTasksDone": {
2109
+ "type": "boolean"
2110
+ },
2111
+ "done": {
2112
+ "type": "boolean"
2113
+ },
2114
+ "own": {
2115
+ "anyOf": [
2116
+ {
2117
+ "type": "boolean"
2118
+ },
2119
+ {
2120
+ "type": "null"
2121
+ }
2122
+ ]
1940
2123
  }
1941
2124
  },
1942
2125
  "required": [
1943
- "kind",
1944
- "projectId",
1945
- "taskIds"
2126
+ "taskId",
2127
+ "key",
2128
+ "branch",
2129
+ "defaultBranch",
2130
+ "subTasksDone",
2131
+ "done"
2132
+ ],
2133
+ "additionalProperties": true
2134
+ },
2135
+ {
2136
+ "type": "null"
2137
+ }
2138
+ ]
2139
+ }
2140
+ },
2141
+ "additionalProperties": true,
2142
+ "$defs": {}
2143
+ },
2144
+ "output": {
2145
+ "type": "object",
2146
+ "properties": {
2147
+ "status": {
2148
+ "type": "string",
2149
+ "enum": [
2150
+ "gate_failed",
2151
+ "not_mergeable",
2152
+ "rejected",
2153
+ "deployed",
2154
+ "rolled_back",
2155
+ "deploy_failed",
2156
+ "rollback_failed",
2157
+ "timed_out",
2158
+ "not_due",
2159
+ "no_version",
2160
+ "nothing_to_release"
2161
+ ]
2162
+ },
2163
+ "reason": {
2164
+ "type": "string"
2165
+ },
2166
+ "tag": {
2167
+ "anyOf": [
2168
+ {
2169
+ "type": "string"
2170
+ },
2171
+ {
2172
+ "type": "null"
2173
+ }
2174
+ ]
2175
+ },
2176
+ "notesArtifactId": {
2177
+ "anyOf": [
2178
+ {
2179
+ "type": "string"
2180
+ },
2181
+ {
2182
+ "type": "null"
2183
+ }
2184
+ ]
2185
+ },
2186
+ "leftUndeployed": {
2187
+ "anyOf": [
2188
+ {
2189
+ "type": "boolean"
2190
+ },
2191
+ {
2192
+ "type": "null"
2193
+ }
2194
+ ]
2195
+ },
2196
+ "revision": {
2197
+ "anyOf": [
2198
+ {
2199
+ "type": "string"
2200
+ },
2201
+ {
2202
+ "type": "null"
2203
+ }
2204
+ ]
2205
+ },
2206
+ "url": {
2207
+ "anyOf": [
2208
+ {
2209
+ "type": "string"
2210
+ },
2211
+ {
2212
+ "type": "null"
2213
+ }
2214
+ ]
2215
+ },
2216
+ "releaseWhen": {
2217
+ "anyOf": [
2218
+ {
2219
+ "type": "object",
2220
+ "properties": {
2221
+ "trigger": {
2222
+ "type": "string",
2223
+ "enum": [
2224
+ "merge",
2225
+ "milestone",
2226
+ "project"
2227
+ ]
2228
+ },
2229
+ "layer": {
2230
+ "type": "string",
2231
+ "enum": [
2232
+ "run",
2233
+ "project",
2234
+ "team",
2235
+ "workspace"
2236
+ ]
2237
+ }
2238
+ },
2239
+ "required": [
2240
+ "trigger",
2241
+ "layer"
2242
+ ],
2243
+ "additionalProperties": true
2244
+ },
2245
+ {
2246
+ "type": "null"
2247
+ }
2248
+ ]
2249
+ },
2250
+ "deliversTo": {
2251
+ "anyOf": [
2252
+ {
2253
+ "type": "object",
2254
+ "properties": {
2255
+ "target": {
2256
+ "type": "string",
2257
+ "enum": [
2258
+ "default_branch",
2259
+ "epic_branch"
2260
+ ]
2261
+ },
2262
+ "layer": {
2263
+ "type": "string",
2264
+ "enum": [
2265
+ "run",
2266
+ "project",
2267
+ "team",
2268
+ "workspace"
2269
+ ]
2270
+ }
2271
+ },
2272
+ "required": [
2273
+ "target",
2274
+ "layer"
2275
+ ],
2276
+ "additionalProperties": true
2277
+ },
2278
+ {
2279
+ "type": "null"
2280
+ }
2281
+ ]
2282
+ },
2283
+ "shipped": {
2284
+ "anyOf": [
2285
+ {
2286
+ "type": "object",
2287
+ "properties": {
2288
+ "kind": {
2289
+ "type": "string",
2290
+ "enum": [
2291
+ "milestone",
2292
+ "project"
2293
+ ]
2294
+ },
2295
+ "projectId": {
2296
+ "type": "string"
2297
+ },
2298
+ "milestoneId": {
2299
+ "type": "string"
2300
+ },
2301
+ "taskIds": {
2302
+ "type": "array",
2303
+ "items": {
2304
+ "type": "string"
2305
+ }
2306
+ }
2307
+ },
2308
+ "required": [
2309
+ "kind",
2310
+ "projectId",
2311
+ "taskIds"
1946
2312
  ],
1947
2313
  "additionalProperties": true
1948
2314
  },
@@ -1960,19 +2326,31 @@
1960
2326
  "$defs": {}
1961
2327
  },
1962
2328
  "agents": {
1963
- "releaser": "releaser",
1964
- "deployer": "deployer"
2329
+ "releaser": "releaser"
1965
2330
  },
1966
2331
  "checkout": "read",
1967
2332
  "when": [
1968
2333
  {
1969
2334
  "event": "release.due",
1970
2335
  "input": {
1971
- "tag": "tag",
2336
+ "version": "version",
2337
+ "candidate": "candidate",
1972
2338
  "releaseScope": "releaseScope",
1973
2339
  "releaseWhen": "releaseWhen",
1974
2340
  "repoBindingId": "repoBindingId"
1975
2341
  }
2342
+ },
2343
+ {
2344
+ "event": "change_request.ready",
2345
+ "filter": {
2346
+ "busy": false
2347
+ },
2348
+ "input": {
2349
+ "changeRequestId": "changeRequestId",
2350
+ "taskId": "taskId"
2351
+ },
2352
+ "optIn": true,
2353
+ "description": "Releases a ChangeRequest delivering a Task once it is approved and green and no Run works it, only under a merge release trigger; under a Milestone or Project trigger each such Run ends not_due."
1976
2354
  }
1977
2355
  ],
1978
2356
  "offers": [],
@@ -2410,10 +2788,556 @@
2410
2788
  "timezone": "UTC"
2411
2789
  }
2412
2790
  },
2791
+ {
2792
+ "id": "land-epic",
2793
+ "title": "Land epic",
2794
+ "version": "1.0.0",
2795
+ "input": {
2796
+ "type": "object",
2797
+ "properties": {
2798
+ "taskId": {
2799
+ "type": "string"
2800
+ },
2801
+ "landsEpic": {
2802
+ "anyOf": [
2803
+ {
2804
+ "type": "boolean"
2805
+ },
2806
+ {
2807
+ "type": "null"
2808
+ }
2809
+ ]
2810
+ },
2811
+ "merge": {
2812
+ "anyOf": [
2813
+ {
2814
+ "type": "boolean"
2815
+ },
2816
+ {
2817
+ "type": "null"
2818
+ }
2819
+ ]
2820
+ },
2821
+ "continuing": {
2822
+ "anyOf": [
2823
+ {
2824
+ "type": "object",
2825
+ "properties": {
2826
+ "changeRequestId": {
2827
+ "type": "string"
2828
+ },
2829
+ "number": {
2830
+ "type": "string"
2831
+ },
2832
+ "url": {
2833
+ "type": "string"
2834
+ },
2835
+ "branch": {
2836
+ "type": "string"
2837
+ },
2838
+ "targetBranch": {
2839
+ "type": "string"
2840
+ },
2841
+ "revision": {
2842
+ "anyOf": [
2843
+ {
2844
+ "type": "string"
2845
+ },
2846
+ {
2847
+ "type": "null"
2848
+ }
2849
+ ]
2850
+ },
2851
+ "lastRunId": {
2852
+ "anyOf": [
2853
+ {
2854
+ "type": "string"
2855
+ },
2856
+ {
2857
+ "type": "null"
2858
+ }
2859
+ ]
2860
+ },
2861
+ "lastRunStatus": {
2862
+ "anyOf": [
2863
+ {
2864
+ "type": "string"
2865
+ },
2866
+ {
2867
+ "type": "null"
2868
+ }
2869
+ ]
2870
+ },
2871
+ "lastRunSummary": {
2872
+ "anyOf": [
2873
+ {
2874
+ "type": "string"
2875
+ },
2876
+ {
2877
+ "type": "null"
2878
+ }
2879
+ ]
2880
+ }
2881
+ },
2882
+ "required": [
2883
+ "changeRequestId",
2884
+ "number",
2885
+ "url",
2886
+ "branch",
2887
+ "targetBranch"
2888
+ ],
2889
+ "additionalProperties": true
2890
+ },
2891
+ {
2892
+ "type": "null"
2893
+ }
2894
+ ]
2895
+ },
2896
+ "deliveryTarget": {
2897
+ "anyOf": [
2898
+ {
2899
+ "type": "string",
2900
+ "enum": [
2901
+ "default_branch",
2902
+ "epic_branch"
2903
+ ]
2904
+ },
2905
+ {
2906
+ "type": "null"
2907
+ }
2908
+ ]
2909
+ },
2910
+ "deliversTo": {
2911
+ "anyOf": [
2912
+ {
2913
+ "type": "object",
2914
+ "properties": {
2915
+ "target": {
2916
+ "type": "string",
2917
+ "enum": [
2918
+ "default_branch",
2919
+ "epic_branch"
2920
+ ]
2921
+ },
2922
+ "layer": {
2923
+ "type": "string",
2924
+ "enum": [
2925
+ "run",
2926
+ "project",
2927
+ "team",
2928
+ "workspace"
2929
+ ]
2930
+ }
2931
+ },
2932
+ "required": [
2933
+ "target",
2934
+ "layer"
2935
+ ],
2936
+ "additionalProperties": true
2937
+ },
2938
+ {
2939
+ "type": "null"
2940
+ }
2941
+ ]
2942
+ },
2943
+ "epic": {
2944
+ "anyOf": [
2945
+ {
2946
+ "type": "object",
2947
+ "properties": {
2948
+ "taskId": {
2949
+ "type": "string"
2950
+ },
2951
+ "key": {
2952
+ "type": "string"
2953
+ },
2954
+ "branch": {
2955
+ "type": "string"
2956
+ },
2957
+ "defaultBranch": {
2958
+ "type": "string"
2959
+ },
2960
+ "subTasksDone": {
2961
+ "type": "boolean"
2962
+ },
2963
+ "done": {
2964
+ "type": "boolean"
2965
+ },
2966
+ "own": {
2967
+ "anyOf": [
2968
+ {
2969
+ "type": "boolean"
2970
+ },
2971
+ {
2972
+ "type": "null"
2973
+ }
2974
+ ]
2975
+ }
2976
+ },
2977
+ "required": [
2978
+ "taskId",
2979
+ "key",
2980
+ "branch",
2981
+ "defaultBranch",
2982
+ "subTasksDone",
2983
+ "done"
2984
+ ],
2985
+ "additionalProperties": true
2986
+ },
2987
+ {
2988
+ "type": "null"
2989
+ }
2990
+ ]
2991
+ }
2992
+ },
2993
+ "required": [
2994
+ "taskId"
2995
+ ],
2996
+ "additionalProperties": true,
2997
+ "$defs": {}
2998
+ },
2999
+ "output": {
3000
+ "type": "object",
3001
+ "properties": {
3002
+ "status": {
3003
+ "type": "string",
3004
+ "enum": [
3005
+ "not_epic",
3006
+ "synced",
3007
+ "landed",
3008
+ "conflict",
3009
+ "opened"
3010
+ ]
3011
+ },
3012
+ "reason": {
3013
+ "type": "string"
3014
+ },
3015
+ "changeRequest": {
3016
+ "anyOf": [
3017
+ {
3018
+ "type": "object",
3019
+ "properties": {
3020
+ "id": {
3021
+ "type": "string"
3022
+ },
3023
+ "number": {
3024
+ "type": "string"
3025
+ },
3026
+ "url": {
3027
+ "type": "string"
3028
+ }
3029
+ },
3030
+ "required": [
3031
+ "id",
3032
+ "number",
3033
+ "url"
3034
+ ],
3035
+ "additionalProperties": true
3036
+ },
3037
+ {
3038
+ "type": "null"
3039
+ }
3040
+ ]
3041
+ },
3042
+ "landed": {
3043
+ "anyOf": [
3044
+ {
3045
+ "type": "object",
3046
+ "properties": {
3047
+ "status": {
3048
+ "type": "string",
3049
+ "enum": [
3050
+ "merged",
3051
+ "ready",
3052
+ "needs_you",
3053
+ "handed_back"
3054
+ ]
3055
+ },
3056
+ "reason": {
3057
+ "type": "string"
3058
+ },
3059
+ "fixRounds": {
3060
+ "type": "integer",
3061
+ "minimum": -9007199254740991,
3062
+ "maximum": 9007199254740991
3063
+ },
3064
+ "replies": {
3065
+ "type": "integer",
3066
+ "minimum": -9007199254740991,
3067
+ "maximum": 9007199254740991
3068
+ },
3069
+ "unsettled": {
3070
+ "anyOf": [
3071
+ {
3072
+ "type": "array",
3073
+ "items": {
3074
+ "type": "string"
3075
+ }
3076
+ },
3077
+ {
3078
+ "type": "null"
3079
+ }
3080
+ ]
3081
+ },
3082
+ "release": {
3083
+ "anyOf": [
3084
+ {
3085
+ "type": "object",
3086
+ "properties": {
3087
+ "runStatus": {
3088
+ "type": "string"
3089
+ },
3090
+ "reason": {
3091
+ "type": "string"
3092
+ },
3093
+ "tag": {
3094
+ "anyOf": [
3095
+ {
3096
+ "type": "string"
3097
+ },
3098
+ {
3099
+ "type": "null"
3100
+ }
3101
+ ]
3102
+ }
3103
+ },
3104
+ "required": [
3105
+ "runStatus",
3106
+ "reason"
3107
+ ],
3108
+ "additionalProperties": true
3109
+ },
3110
+ {
3111
+ "type": "null"
3112
+ }
3113
+ ]
3114
+ },
3115
+ "releaseWhen": {
3116
+ "anyOf": [
3117
+ {
3118
+ "type": "object",
3119
+ "properties": {
3120
+ "trigger": {
3121
+ "type": "string",
3122
+ "enum": [
3123
+ "merge",
3124
+ "milestone",
3125
+ "project"
3126
+ ]
3127
+ },
3128
+ "layer": {
3129
+ "type": "string",
3130
+ "enum": [
3131
+ "run",
3132
+ "project",
3133
+ "team",
3134
+ "workspace"
3135
+ ]
3136
+ }
3137
+ },
3138
+ "required": [
3139
+ "trigger",
3140
+ "layer"
3141
+ ],
3142
+ "additionalProperties": true
3143
+ },
3144
+ {
3145
+ "type": "null"
3146
+ }
3147
+ ]
3148
+ },
3149
+ "deliversTo": {
3150
+ "anyOf": [
3151
+ {
3152
+ "type": "object",
3153
+ "properties": {
3154
+ "target": {
3155
+ "type": "string",
3156
+ "enum": [
3157
+ "default_branch",
3158
+ "epic_branch"
3159
+ ]
3160
+ },
3161
+ "layer": {
3162
+ "type": "string",
3163
+ "enum": [
3164
+ "run",
3165
+ "project",
3166
+ "team",
3167
+ "workspace"
3168
+ ]
3169
+ }
3170
+ },
3171
+ "required": [
3172
+ "target",
3173
+ "layer"
3174
+ ],
3175
+ "additionalProperties": true
3176
+ },
3177
+ {
3178
+ "type": "null"
3179
+ }
3180
+ ]
3181
+ },
3182
+ "epicLanding": {
3183
+ "anyOf": [
3184
+ {
3185
+ "type": "object",
3186
+ "properties": {
3187
+ "status": {
3188
+ "type": "string"
3189
+ },
3190
+ "reason": {
3191
+ "type": "string"
3192
+ }
3193
+ },
3194
+ "required": [
3195
+ "status",
3196
+ "reason"
3197
+ ],
3198
+ "additionalProperties": true
3199
+ },
3200
+ {
3201
+ "type": "null"
3202
+ }
3203
+ ]
3204
+ },
3205
+ "handBack": {
3206
+ "anyOf": [
3207
+ {
3208
+ "type": "object",
3209
+ "properties": {
3210
+ "changeRequestId": {
3211
+ "type": "string"
3212
+ },
3213
+ "words": {
3214
+ "type": "string"
3215
+ },
3216
+ "taskId": {
3217
+ "anyOf": [
3218
+ {
3219
+ "type": "string"
3220
+ },
3221
+ {
3222
+ "type": "null"
3223
+ }
3224
+ ]
3225
+ },
3226
+ "branch": {
3227
+ "anyOf": [
3228
+ {
3229
+ "type": "string"
3230
+ },
3231
+ {
3232
+ "type": "null"
3233
+ }
3234
+ ]
3235
+ }
3236
+ },
3237
+ "required": [
3238
+ "changeRequestId",
3239
+ "words"
3240
+ ],
3241
+ "additionalProperties": true
3242
+ },
3243
+ {
3244
+ "type": "null"
3245
+ }
3246
+ ]
3247
+ }
3248
+ },
3249
+ "required": [
3250
+ "status",
3251
+ "reason",
3252
+ "fixRounds",
3253
+ "replies"
3254
+ ],
3255
+ "additionalProperties": true
3256
+ },
3257
+ {
3258
+ "type": "null"
3259
+ }
3260
+ ]
3261
+ },
3262
+ "deliversTo": {
3263
+ "anyOf": [
3264
+ {
3265
+ "type": "object",
3266
+ "properties": {
3267
+ "target": {
3268
+ "type": "string",
3269
+ "enum": [
3270
+ "default_branch",
3271
+ "epic_branch"
3272
+ ]
3273
+ },
3274
+ "layer": {
3275
+ "type": "string",
3276
+ "enum": [
3277
+ "run",
3278
+ "project",
3279
+ "team",
3280
+ "workspace"
3281
+ ]
3282
+ }
3283
+ },
3284
+ "required": [
3285
+ "target",
3286
+ "layer"
3287
+ ],
3288
+ "additionalProperties": true
3289
+ },
3290
+ {
3291
+ "type": "null"
3292
+ }
3293
+ ]
3294
+ }
3295
+ },
3296
+ "required": [
3297
+ "status",
3298
+ "reason"
3299
+ ],
3300
+ "additionalProperties": true,
3301
+ "$defs": {}
3302
+ },
3303
+ "agents": {
3304
+ "implementer": "implementer"
3305
+ },
3306
+ "checkout": "write",
3307
+ "when": [
3308
+ {
3309
+ "event": "epic.ready",
3310
+ "input": {
3311
+ "taskId": "taskId"
3312
+ }
3313
+ }
3314
+ ],
3315
+ "offers": [],
3316
+ "capabilities": [
3317
+ "agent_work",
3318
+ "change_request",
3319
+ "write_back",
3320
+ "call",
3321
+ "read_change_request",
3322
+ "post_comment",
3323
+ "merge_change_request",
3324
+ "approve_change_request",
3325
+ "ask",
3326
+ "verify",
3327
+ "claim",
3328
+ "publish_release"
3329
+ ],
3330
+ "ownCapabilities": [
3331
+ "agent_work",
3332
+ "change_request",
3333
+ "write_back",
3334
+ "call"
3335
+ ]
3336
+ },
2413
3337
  {
2414
3338
  "id": "review",
2415
3339
  "title": "Review",
2416
- "version": "3.7.0",
3340
+ "version": "3.8.0",
2417
3341
  "input": {
2418
3342
  "type": "object",
2419
3343
  "properties": {
@@ -2631,6 +3555,102 @@
2631
3555
  "type": "null"
2632
3556
  }
2633
3557
  ]
3558
+ },
3559
+ "deliveryTarget": {
3560
+ "anyOf": [
3561
+ {
3562
+ "type": "string",
3563
+ "enum": [
3564
+ "default_branch",
3565
+ "epic_branch"
3566
+ ]
3567
+ },
3568
+ {
3569
+ "type": "null"
3570
+ }
3571
+ ]
3572
+ },
3573
+ "deliversTo": {
3574
+ "anyOf": [
3575
+ {
3576
+ "type": "object",
3577
+ "properties": {
3578
+ "target": {
3579
+ "type": "string",
3580
+ "enum": [
3581
+ "default_branch",
3582
+ "epic_branch"
3583
+ ]
3584
+ },
3585
+ "layer": {
3586
+ "type": "string",
3587
+ "enum": [
3588
+ "run",
3589
+ "project",
3590
+ "team",
3591
+ "workspace"
3592
+ ]
3593
+ }
3594
+ },
3595
+ "required": [
3596
+ "target",
3597
+ "layer"
3598
+ ],
3599
+ "additionalProperties": true
3600
+ },
3601
+ {
3602
+ "type": "null"
3603
+ }
3604
+ ]
3605
+ },
3606
+ "epic": {
3607
+ "anyOf": [
3608
+ {
3609
+ "type": "object",
3610
+ "properties": {
3611
+ "taskId": {
3612
+ "type": "string"
3613
+ },
3614
+ "key": {
3615
+ "type": "string"
3616
+ },
3617
+ "branch": {
3618
+ "type": "string"
3619
+ },
3620
+ "defaultBranch": {
3621
+ "type": "string"
3622
+ },
3623
+ "subTasksDone": {
3624
+ "type": "boolean"
3625
+ },
3626
+ "done": {
3627
+ "type": "boolean"
3628
+ },
3629
+ "own": {
3630
+ "anyOf": [
3631
+ {
3632
+ "type": "boolean"
3633
+ },
3634
+ {
3635
+ "type": "null"
3636
+ }
3637
+ ]
3638
+ }
3639
+ },
3640
+ "required": [
3641
+ "taskId",
3642
+ "key",
3643
+ "branch",
3644
+ "defaultBranch",
3645
+ "subTasksDone",
3646
+ "done"
3647
+ ],
3648
+ "additionalProperties": true
3649
+ },
3650
+ {
3651
+ "type": "null"
3652
+ }
3653
+ ]
2634
3654
  }
2635
3655
  },
2636
3656
  "additionalProperties": true,
@@ -2881,6 +3901,39 @@
2881
3901
  "type": "null"
2882
3902
  }
2883
3903
  ]
3904
+ },
3905
+ "deliversTo": {
3906
+ "anyOf": [
3907
+ {
3908
+ "type": "object",
3909
+ "properties": {
3910
+ "target": {
3911
+ "type": "string",
3912
+ "enum": [
3913
+ "default_branch",
3914
+ "epic_branch"
3915
+ ]
3916
+ },
3917
+ "layer": {
3918
+ "type": "string",
3919
+ "enum": [
3920
+ "run",
3921
+ "project",
3922
+ "team",
3923
+ "workspace"
3924
+ ]
3925
+ }
3926
+ },
3927
+ "required": [
3928
+ "target",
3929
+ "layer"
3930
+ ],
3931
+ "additionalProperties": true
3932
+ },
3933
+ {
3934
+ "type": "null"
3935
+ }
3936
+ ]
2884
3937
  }
2885
3938
  },
2886
3939
  "required": [
@@ -2942,7 +3995,7 @@
2942
3995
  {
2943
3996
  "id": "shepherd",
2944
3997
  "title": "Shepherd",
2945
- "version": "1.6.0",
3998
+ "version": "1.8.0",
2946
3999
  "input": {
2947
4000
  "type": "object",
2948
4001
  "properties": {
@@ -3127,6 +4180,102 @@
3127
4180
  "type": "null"
3128
4181
  }
3129
4182
  ]
4183
+ },
4184
+ "deliveryTarget": {
4185
+ "anyOf": [
4186
+ {
4187
+ "type": "string",
4188
+ "enum": [
4189
+ "default_branch",
4190
+ "epic_branch"
4191
+ ]
4192
+ },
4193
+ {
4194
+ "type": "null"
4195
+ }
4196
+ ]
4197
+ },
4198
+ "deliversTo": {
4199
+ "anyOf": [
4200
+ {
4201
+ "type": "object",
4202
+ "properties": {
4203
+ "target": {
4204
+ "type": "string",
4205
+ "enum": [
4206
+ "default_branch",
4207
+ "epic_branch"
4208
+ ]
4209
+ },
4210
+ "layer": {
4211
+ "type": "string",
4212
+ "enum": [
4213
+ "run",
4214
+ "project",
4215
+ "team",
4216
+ "workspace"
4217
+ ]
4218
+ }
4219
+ },
4220
+ "required": [
4221
+ "target",
4222
+ "layer"
4223
+ ],
4224
+ "additionalProperties": true
4225
+ },
4226
+ {
4227
+ "type": "null"
4228
+ }
4229
+ ]
4230
+ },
4231
+ "epic": {
4232
+ "anyOf": [
4233
+ {
4234
+ "type": "object",
4235
+ "properties": {
4236
+ "taskId": {
4237
+ "type": "string"
4238
+ },
4239
+ "key": {
4240
+ "type": "string"
4241
+ },
4242
+ "branch": {
4243
+ "type": "string"
4244
+ },
4245
+ "defaultBranch": {
4246
+ "type": "string"
4247
+ },
4248
+ "subTasksDone": {
4249
+ "type": "boolean"
4250
+ },
4251
+ "done": {
4252
+ "type": "boolean"
4253
+ },
4254
+ "own": {
4255
+ "anyOf": [
4256
+ {
4257
+ "type": "boolean"
4258
+ },
4259
+ {
4260
+ "type": "null"
4261
+ }
4262
+ ]
4263
+ }
4264
+ },
4265
+ "required": [
4266
+ "taskId",
4267
+ "key",
4268
+ "branch",
4269
+ "defaultBranch",
4270
+ "subTasksDone",
4271
+ "done"
4272
+ ],
4273
+ "additionalProperties": true
4274
+ },
4275
+ {
4276
+ "type": "null"
4277
+ }
4278
+ ]
3130
4279
  }
3131
4280
  },
3132
4281
  "required": [
@@ -3240,6 +4389,62 @@
3240
4389
  }
3241
4390
  ]
3242
4391
  },
4392
+ "deliversTo": {
4393
+ "anyOf": [
4394
+ {
4395
+ "type": "object",
4396
+ "properties": {
4397
+ "target": {
4398
+ "type": "string",
4399
+ "enum": [
4400
+ "default_branch",
4401
+ "epic_branch"
4402
+ ]
4403
+ },
4404
+ "layer": {
4405
+ "type": "string",
4406
+ "enum": [
4407
+ "run",
4408
+ "project",
4409
+ "team",
4410
+ "workspace"
4411
+ ]
4412
+ }
4413
+ },
4414
+ "required": [
4415
+ "target",
4416
+ "layer"
4417
+ ],
4418
+ "additionalProperties": true
4419
+ },
4420
+ {
4421
+ "type": "null"
4422
+ }
4423
+ ]
4424
+ },
4425
+ "epicLanding": {
4426
+ "anyOf": [
4427
+ {
4428
+ "type": "object",
4429
+ "properties": {
4430
+ "status": {
4431
+ "type": "string"
4432
+ },
4433
+ "reason": {
4434
+ "type": "string"
4435
+ }
4436
+ },
4437
+ "required": [
4438
+ "status",
4439
+ "reason"
4440
+ ],
4441
+ "additionalProperties": true
4442
+ },
4443
+ {
4444
+ "type": "null"
4445
+ }
4446
+ ]
4447
+ },
3243
4448
  "handBack": {
3244
4449
  "anyOf": [
3245
4450
  {
@@ -3297,7 +4502,21 @@
3297
4502
  "implementer": "implementer"
3298
4503
  },
3299
4504
  "checkout": "write",
3300
- "when": [],
4505
+ "when": [
4506
+ {
4507
+ "event": "change_request.pipeline",
4508
+ "filter": {
4509
+ "status": "failed",
4510
+ "source": "forge",
4511
+ "linked": true
4512
+ },
4513
+ "input": {
4514
+ "changeRequestId": "changeRequestId",
4515
+ "taskId": "taskId"
4516
+ },
4517
+ "optIn": true
4518
+ }
4519
+ ],
3301
4520
  "offers": [
3302
4521
  {
3303
4522
  "id": "build",
@@ -3336,7 +4555,7 @@
3336
4555
  {
3337
4556
  "id": "sweep",
3338
4557
  "title": "Sweep",
3339
- "version": "1.1.0",
4558
+ "version": "1.2.0",
3340
4559
  "input": {
3341
4560
  "type": "object",
3342
4561
  "properties": {
@@ -3781,15 +5000,6 @@
3781
5000
  "shipping-and-launch"
3782
5001
  ]
3783
5002
  },
3784
- "deployer": {
3785
- "instructions": "You are a deployer. Release has tagged a version, and you run the repository's own deploy script for it, once.\n\n## Boundaries\n\n- Run only the command your brief names. Do not edit files, commit, push, tag, merge or retry it: the script backs up, publishes, deploys, verifies and rolls back by itself.\n- It runs for a long time. Start it once in the background with its output in a log file, and wait for it to exit.\n- Never print, copy or summarise the variables, tokens or secrets it pulls, or the production host's address.\n\n## Output\n\nSubmit your Output with the Kitman MCP `submit_output` tool, in the shape the brief's Output schema gives.",
3786
- "effort": "low",
3787
- "fallbacks": [
3788
- {
3789
- "harness": "pi"
3790
- }
3791
- ]
3792
- },
3793
5003
  "investigator": {
3794
5004
  "instructions": "You are an investigator. You find out why something happened and report a conclusion you can support.\n\n## Investigation\n\n- Start from the evidence you are given: the alert, its logs, metrics and traces, and the code that produced them.\n- You have web tools: read an upstream issue, a changelog or the documentation of a dependency when the evidence points outside the repository.\n- Form a hypothesis, then look for what would prove it wrong. Report what the evidence shows, not what you expected.\n- Every conclusion cites its sources: the log line, the query, the commit or the file and line it rests on.\n- Separate what you established from what you suspect, and say how sure you are.\n- When the cause points to a code change, describe the fix precisely enough that a Build can make it, but do not make it yourself.\n\n## Boundaries\n\n- Change nothing: do not edit files, commit, push or merge. The Run owns the branch.\n- Never `git stash`: the stash stack is shared with every other worktree of the repository. To look at another revision, make a throwaway checkout with `git worktree add` and remove it after.\n- A finding written in your Output is a claim. Say what you ran and what it returned.\n\n## Output\n\nSubmit your Output with the Kitman MCP `submit_output` tool, in the shape the brief's Output schema gives. An answer with no fix is a real outcome.",
3795
5005
  "effort": "high",
@@ -3848,7 +5058,7 @@
3848
5058
  "carried": [
3849
5059
  {
3850
5060
  "name": "@kitman-sh/software-engineering",
3851
- "version": "0.11.0-rc.5",
5061
+ "version": "0.11.0",
3852
5062
  "setup": "2a237548a69b0cd53ec3be7f687cfa8c2128335b3a655d34e185f2abce6a3c37",
3853
5063
  "loops": [
3854
5064
  "build",
@@ -3861,6 +5071,7 @@
3861
5071
  "release",
3862
5072
  "research",
3863
5073
  "hindsight",
5074
+ "land-epic",
3864
5075
  "review",
3865
5076
  "shepherd",
3866
5077
  "sweep",
@@ -3873,7 +5084,6 @@
3873
5084
  "quality-reviewer",
3874
5085
  "planner",
3875
5086
  "releaser",
3876
- "deployer",
3877
5087
  "investigator",
3878
5088
  "climber",
3879
5089
  "surveyor",