ex-workflow 1.1.1 → 1.2.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.
Files changed (181) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +64 -31
  3. package/dist/adapters/index.cjs +1 -1
  4. package/dist/adapters/index.d.cts +1 -1
  5. package/dist/adapters/index.d.ts +1 -1
  6. package/dist/adapters/index.mjs +1 -1
  7. package/dist/{budget-CezCinPF.d.cts → budget-Bm839Qw0.d.cts} +8 -7
  8. package/dist/{budget-Bd8KpGIr.d.ts → budget-Gckmqj74.d.ts} +8 -7
  9. package/dist/chunk-32NVJV5C.mjs +2 -0
  10. package/dist/chunk-32NVJV5C.mjs.map +1 -0
  11. package/dist/chunk-3GKYL6VB.mjs +6 -0
  12. package/dist/chunk-3GKYL6VB.mjs.map +1 -0
  13. package/dist/chunk-3O5MPAJT.cjs +2 -0
  14. package/dist/chunk-3O5MPAJT.cjs.map +1 -0
  15. package/dist/{chunk-C2IYMWE6.cjs → chunk-43GLYYA2.cjs} +3 -3
  16. package/dist/chunk-43GLYYA2.cjs.map +1 -0
  17. package/dist/chunk-4HG6A3SF.mjs +2 -0
  18. package/dist/chunk-4HG6A3SF.mjs.map +1 -0
  19. package/dist/chunk-6D6FL3XK.mjs +2 -0
  20. package/dist/chunk-6D6FL3XK.mjs.map +1 -0
  21. package/dist/chunk-7EF47R2J.mjs +2 -0
  22. package/dist/chunk-7EF47R2J.mjs.map +1 -0
  23. package/dist/chunk-BBI7AKJK.cjs +2 -0
  24. package/dist/chunk-BBI7AKJK.cjs.map +1 -0
  25. package/dist/{chunk-KLWZEXZU.mjs → chunk-BD76VFI4.mjs} +3 -3
  26. package/dist/chunk-BD76VFI4.mjs.map +1 -0
  27. package/dist/chunk-BHAEPYRJ.cjs +2 -0
  28. package/dist/chunk-BHAEPYRJ.cjs.map +1 -0
  29. package/dist/chunk-BYPFTO7P.mjs +2 -0
  30. package/dist/chunk-BYPFTO7P.mjs.map +1 -0
  31. package/dist/chunk-C4ISBUZR.mjs +2 -0
  32. package/dist/chunk-C4ISBUZR.mjs.map +1 -0
  33. package/dist/chunk-FDZB73PH.mjs +2 -0
  34. package/dist/chunk-FDZB73PH.mjs.map +1 -0
  35. package/dist/chunk-GKN5M4B7.cjs +2 -0
  36. package/dist/chunk-GKN5M4B7.cjs.map +1 -0
  37. package/dist/chunk-IDZ435YZ.mjs +2 -0
  38. package/dist/{chunk-KIQOUUEZ.mjs.map → chunk-IDZ435YZ.mjs.map} +1 -1
  39. package/dist/chunk-IIEKK2S3.cjs +2 -0
  40. package/dist/chunk-IIEKK2S3.cjs.map +1 -0
  41. package/dist/chunk-JNLWI4JM.mjs +2 -0
  42. package/dist/chunk-JNLWI4JM.mjs.map +1 -0
  43. package/dist/chunk-K4VSMIJZ.cjs +2 -0
  44. package/dist/chunk-K4VSMIJZ.cjs.map +1 -0
  45. package/dist/chunk-LCN4UNYK.cjs +2 -0
  46. package/dist/chunk-LCN4UNYK.cjs.map +1 -0
  47. package/dist/chunk-LIATP6LY.mjs +2 -0
  48. package/dist/chunk-LIATP6LY.mjs.map +1 -0
  49. package/dist/chunk-MB465DI4.mjs +2 -0
  50. package/dist/chunk-MB465DI4.mjs.map +1 -0
  51. package/dist/chunk-OSHBJIYD.cjs +2 -0
  52. package/dist/chunk-OSHBJIYD.cjs.map +1 -0
  53. package/dist/chunk-OVR5CK3R.cjs +2 -0
  54. package/dist/chunk-OVR5CK3R.cjs.map +1 -0
  55. package/dist/chunk-OZAYOPLB.mjs +2 -0
  56. package/dist/chunk-OZAYOPLB.mjs.map +1 -0
  57. package/dist/chunk-PNWRA4JU.cjs +2 -0
  58. package/dist/{chunk-PO2SPQJP.cjs.map → chunk-PNWRA4JU.cjs.map} +1 -1
  59. package/dist/chunk-QAENYYU6.cjs +2 -0
  60. package/dist/chunk-QAENYYU6.cjs.map +1 -0
  61. package/dist/chunk-RXY434DX.cjs +6 -0
  62. package/dist/chunk-RXY434DX.cjs.map +1 -0
  63. package/dist/chunk-SFYUJQYW.cjs +2 -0
  64. package/dist/chunk-SFYUJQYW.cjs.map +1 -0
  65. package/dist/chunk-TQR3VFZU.mjs +2 -0
  66. package/dist/chunk-TQR3VFZU.mjs.map +1 -0
  67. package/dist/chunk-U3RU5LOF.cjs +2 -0
  68. package/dist/chunk-U3RU5LOF.cjs.map +1 -0
  69. package/dist/chunk-UUWDQVIJ.mjs +2 -0
  70. package/dist/chunk-UUWDQVIJ.mjs.map +1 -0
  71. package/dist/chunk-VXOZIP77.cjs +2 -0
  72. package/dist/chunk-VXOZIP77.cjs.map +1 -0
  73. package/dist/chunk-W2P27645.cjs +2 -0
  74. package/dist/chunk-W2P27645.cjs.map +1 -0
  75. package/dist/chunk-WPVL27G4.mjs +2 -0
  76. package/dist/chunk-WPVL27G4.mjs.map +1 -0
  77. package/dist/chunk-YS6CXERQ.mjs +2 -0
  78. package/dist/chunk-YS6CXERQ.mjs.map +1 -0
  79. package/dist/chunk-Z43GUETW.cjs +2 -0
  80. package/dist/chunk-Z43GUETW.cjs.map +1 -0
  81. package/dist/cli/bin.cjs +1 -1
  82. package/dist/cli/bin.cjs.map +1 -1
  83. package/dist/cli/bin.mjs +1 -1
  84. package/dist/cli/bin.mjs.map +1 -1
  85. package/dist/cli/index.cjs +1 -1
  86. package/dist/cli/index.mjs +1 -1
  87. package/dist/experimentation/index.cjs +1 -1
  88. package/dist/experimentation/index.d.cts +2 -2
  89. package/dist/experimentation/index.d.ts +2 -2
  90. package/dist/experimentation/index.mjs +1 -1
  91. package/dist/index.cjs +1 -1
  92. package/dist/index.cjs.map +1 -1
  93. package/dist/index.d.cts +143 -15
  94. package/dist/index.d.ts +143 -15
  95. package/dist/index.mjs +1 -1
  96. package/dist/index.mjs.map +1 -1
  97. package/dist/investigation/index.cjs +1 -1
  98. package/dist/investigation/index.d.cts +2 -2
  99. package/dist/investigation/index.d.ts +2 -2
  100. package/dist/investigation/index.mjs +1 -1
  101. package/dist/kanban/index.cjs +1 -1
  102. package/dist/kanban/index.d.cts +2 -1
  103. package/dist/kanban/index.d.ts +2 -1
  104. package/dist/kanban/index.mjs +1 -1
  105. package/dist/registry/index.cjs +2 -0
  106. package/dist/registry/index.cjs.map +1 -0
  107. package/dist/registry/index.d.cts +25 -0
  108. package/dist/registry/index.d.ts +25 -0
  109. package/dist/registry/index.mjs +2 -0
  110. package/dist/registry/index.mjs.map +1 -0
  111. package/dist/schema/index.cjs +1 -1
  112. package/dist/schema/index.d.cts +2 -0
  113. package/dist/schema/index.d.ts +2 -0
  114. package/dist/schema/index.mjs +1 -1
  115. package/dist/scrum/index.cjs +1 -1
  116. package/dist/scrum/index.d.cts +3 -3
  117. package/dist/scrum/index.d.ts +3 -3
  118. package/dist/scrum/index.mjs +1 -1
  119. package/dist/{types-BScHXlRx.d.ts → types-DjePDfms.d.cts} +61 -22
  120. package/dist/{types-BScHXlRx.d.cts → types-DjePDfms.d.ts} +61 -22
  121. package/dist/types.cjs +1 -1
  122. package/dist/types.d.cts +1 -1
  123. package/dist/types.d.ts +1 -1
  124. package/dist/types.mjs +1 -1
  125. package/dist/waterfall/index.cjs +1 -1
  126. package/dist/waterfall/index.d.cts +1 -1
  127. package/dist/waterfall/index.d.ts +1 -1
  128. package/dist/waterfall/index.mjs +1 -1
  129. package/package.json +17 -3
  130. package/dist/chunk-2FRRD6A3.mjs +0 -2
  131. package/dist/chunk-2FRRD6A3.mjs.map +0 -1
  132. package/dist/chunk-6P3OKXSK.mjs +0 -2
  133. package/dist/chunk-6P3OKXSK.mjs.map +0 -1
  134. package/dist/chunk-7FS6KWTG.cjs +0 -2
  135. package/dist/chunk-7FS6KWTG.cjs.map +0 -1
  136. package/dist/chunk-7QQY4KJ2.mjs +0 -2
  137. package/dist/chunk-7QQY4KJ2.mjs.map +0 -1
  138. package/dist/chunk-AD4Z3JBL.cjs +0 -2
  139. package/dist/chunk-AD4Z3JBL.cjs.map +0 -1
  140. package/dist/chunk-ATCJ4IHP.mjs +0 -2
  141. package/dist/chunk-ATCJ4IHP.mjs.map +0 -1
  142. package/dist/chunk-C2IYMWE6.cjs.map +0 -1
  143. package/dist/chunk-EACZBAP3.cjs +0 -2
  144. package/dist/chunk-EACZBAP3.cjs.map +0 -1
  145. package/dist/chunk-EFCUM6DK.mjs +0 -2
  146. package/dist/chunk-EFCUM6DK.mjs.map +0 -1
  147. package/dist/chunk-EHBQBXWA.cjs +0 -2
  148. package/dist/chunk-EHBQBXWA.cjs.map +0 -1
  149. package/dist/chunk-FTS75UIU.mjs +0 -2
  150. package/dist/chunk-FTS75UIU.mjs.map +0 -1
  151. package/dist/chunk-HCRVWMG4.cjs +0 -2
  152. package/dist/chunk-HCRVWMG4.cjs.map +0 -1
  153. package/dist/chunk-KIQOUUEZ.mjs +0 -2
  154. package/dist/chunk-KLWZEXZU.mjs.map +0 -1
  155. package/dist/chunk-NDCQTRIV.mjs +0 -2
  156. package/dist/chunk-NDCQTRIV.mjs.map +0 -1
  157. package/dist/chunk-PMUGU5UJ.cjs +0 -2
  158. package/dist/chunk-PMUGU5UJ.cjs.map +0 -1
  159. package/dist/chunk-PO2SPQJP.cjs +0 -2
  160. package/dist/chunk-QZ6HD6DE.mjs +0 -6
  161. package/dist/chunk-QZ6HD6DE.mjs.map +0 -1
  162. package/dist/chunk-RL27372B.cjs +0 -2
  163. package/dist/chunk-RL27372B.cjs.map +0 -1
  164. package/dist/chunk-S3BXVHO7.cjs +0 -2
  165. package/dist/chunk-S3BXVHO7.cjs.map +0 -1
  166. package/dist/chunk-SP5MC7RR.mjs +0 -2
  167. package/dist/chunk-SP5MC7RR.mjs.map +0 -1
  168. package/dist/chunk-SVGTSPZF.cjs +0 -2
  169. package/dist/chunk-SVGTSPZF.cjs.map +0 -1
  170. package/dist/chunk-SYLO7FUL.mjs +0 -2
  171. package/dist/chunk-SYLO7FUL.mjs.map +0 -1
  172. package/dist/chunk-T3V5UE34.mjs +0 -2
  173. package/dist/chunk-T3V5UE34.mjs.map +0 -1
  174. package/dist/chunk-TS66RAJR.cjs +0 -2
  175. package/dist/chunk-TS66RAJR.cjs.map +0 -1
  176. package/dist/chunk-U23FUYPD.cjs +0 -6
  177. package/dist/chunk-U23FUYPD.cjs.map +0 -1
  178. package/dist/chunk-U6GHFKKE.mjs +0 -2
  179. package/dist/chunk-U6GHFKKE.mjs.map +0 -1
  180. package/dist/chunk-YJQ5YJ7S.cjs +0 -2
  181. package/dist/chunk-YJQ5YJ7S.cjs.map +0 -1
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkYJQ5YJ7S_cjs=require('../chunk-YJQ5YJ7S.cjs');require('../chunk-EHBQBXWA.cjs'),require('../chunk-HCRVWMG4.cjs'),require('../chunk-EACZBAP3.cjs'),require('../chunk-S3BXVHO7.cjs');Object.defineProperty(exports,"ACTIVE",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.a}});Object.defineProperty(exports,"CADENCE_EVENT",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.s}});Object.defineProperty(exports,"CLASSES",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.k}});Object.defineProperty(exports,"DAY_MS",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.l}});Object.defineProperty(exports,"DEFAULT_COLUMNS",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.n}});Object.defineProperty(exports,"KANBAN_CADENCES",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.j}});Object.defineProperty(exports,"KANBAN_VOCABULARY",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.F}});Object.defineProperty(exports,"OPEN",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.b}});Object.defineProperty(exports,"activeExpedites",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.h}});Object.defineProperty(exports,"addedAt",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.p}});Object.defineProperty(exports,"board",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.r}});Object.defineProperty(exports,"byClassThenAge",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.H}});Object.defineProperty(exports,"cadencesDue",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.t}});Object.defineProperty(exports,"cardAge",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.q}});Object.defineProperty(exports,"columnIndex",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.f}});Object.defineProperty(exports,"columnStays",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.w}});Object.defineProperty(exports,"commitmentColumn",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.d}});Object.defineProperty(exports,"configOf",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.m}});Object.defineProperty(exports,"deliveryColumn",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.e}});Object.defineProperty(exports,"enteredStageAt",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.i}});Object.defineProperty(exports,"kanban",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.I}});Object.defineProperty(exports,"kanbanCeremonies",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.B}});Object.defineProperty(exports,"kanbanMetrics",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.x}});Object.defineProperty(exports,"kanbanRoles",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.C}});Object.defineProperty(exports,"kanbanRules",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.D}});Object.defineProperty(exports,"kanbanStages",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.E}});Object.defineProperty(exports,"onBoard",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.g}});Object.defineProperty(exports,"opsReport",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.y}});Object.defineProperty(exports,"optionsColumn",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.c}});Object.defineProperty(exports,"percentile",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.v}});Object.defineProperty(exports,"priorityByClass",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.G}});Object.defineProperty(exports,"replay",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.u}});Object.defineProperty(exports,"riskReport",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.z}});Object.defineProperty(exports,"validateKanbanConfig",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.o}});Object.defineProperty(exports,"wantItems",{enumerable:true,get:function(){return chunkYJQ5YJ7S_cjs.A}});//# sourceMappingURL=index.cjs.map
1
+ 'use strict';var chunkIIEKK2S3_cjs=require('../chunk-IIEKK2S3.cjs');require('../chunk-GKN5M4B7.cjs'),require('../chunk-W2P27645.cjs'),require('../chunk-OVR5CK3R.cjs'),require('../chunk-Z43GUETW.cjs'),require('../chunk-OSHBJIYD.cjs');Object.defineProperty(exports,"ACTIVE",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.a}});Object.defineProperty(exports,"CADENCE_EVENT",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.s}});Object.defineProperty(exports,"CLASSES",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.k}});Object.defineProperty(exports,"DAY_MS",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.l}});Object.defineProperty(exports,"DEFAULT_COLUMNS",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.n}});Object.defineProperty(exports,"KANBAN_CADENCES",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.j}});Object.defineProperty(exports,"KANBAN_VOCABULARY",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.F}});Object.defineProperty(exports,"OPEN",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.b}});Object.defineProperty(exports,"activeExpedites",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.h}});Object.defineProperty(exports,"addedAt",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.p}});Object.defineProperty(exports,"board",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.r}});Object.defineProperty(exports,"byClassThenAge",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.H}});Object.defineProperty(exports,"cadencesDue",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.t}});Object.defineProperty(exports,"cardAge",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.q}});Object.defineProperty(exports,"columnIndex",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.f}});Object.defineProperty(exports,"columnStays",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.w}});Object.defineProperty(exports,"commitmentColumn",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.d}});Object.defineProperty(exports,"configOf",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.m}});Object.defineProperty(exports,"deliveryColumn",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.e}});Object.defineProperty(exports,"enteredStageAt",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.i}});Object.defineProperty(exports,"kanban",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.I}});Object.defineProperty(exports,"kanbanCeremonies",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.B}});Object.defineProperty(exports,"kanbanMetrics",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.x}});Object.defineProperty(exports,"kanbanRoles",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.C}});Object.defineProperty(exports,"kanbanRules",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.D}});Object.defineProperty(exports,"kanbanStages",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.E}});Object.defineProperty(exports,"onBoard",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.g}});Object.defineProperty(exports,"opsReport",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.y}});Object.defineProperty(exports,"optionsColumn",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.c}});Object.defineProperty(exports,"percentile",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.v}});Object.defineProperty(exports,"priorityByClass",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.G}});Object.defineProperty(exports,"replay",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.u}});Object.defineProperty(exports,"riskReport",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.z}});Object.defineProperty(exports,"validateKanbanConfig",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.o}});Object.defineProperty(exports,"wantItems",{enumerable:true,get:function(){return chunkIIEKK2S3_cjs.A}});//# sourceMappingURL=index.cjs.map
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- import { m as ClassOfService, P as Policy, W as WorkflowState, R as Role, S as Stage, g as Rule, M as Methodology, f as Ceremony, n as CeremonyInput, j as ItemStatus, l as WorkItem, o as Event, k as CoreTerm } from '../types-BScHXlRx.cjs';
1
+ import { m as ClassOfService, P as Policy, W as WorkflowState, R as Role, S as Stage, g as Rule, M as Methodology, f as Ceremony, n as CeremonyInput, j as ItemStatus, l as WorkItem, o as Event, k as CoreTerm } from '../types-DjePDfms.cjs';
2
2
 
3
3
  type KanbanCadence = "replenishment" | "delivery-planning" | "service-delivery-review" | "operations-review" | "risk-review" | "strategy-review";
4
4
  declare const KANBAN_CADENCES: readonly KanbanCadence[];
@@ -37,6 +37,7 @@ interface KanbanConfig {
37
37
  maxExpedite: number;
38
38
  }
39
39
  declare function configOf(state: WorkflowState): KanbanConfig;
40
+ /** Deeply frozen: `validateKanbanConfig` gives each config its own copy. */
40
41
  declare const DEFAULT_COLUMNS: KanbanColumn[];
41
42
  declare function validateKanbanConfig(raw: unknown): KanbanConfig;
42
43
 
@@ -1,4 +1,4 @@
1
- import { m as ClassOfService, P as Policy, W as WorkflowState, R as Role, S as Stage, g as Rule, M as Methodology, f as Ceremony, n as CeremonyInput, j as ItemStatus, l as WorkItem, o as Event, k as CoreTerm } from '../types-BScHXlRx.js';
1
+ import { m as ClassOfService, P as Policy, W as WorkflowState, R as Role, S as Stage, g as Rule, M as Methodology, f as Ceremony, n as CeremonyInput, j as ItemStatus, l as WorkItem, o as Event, k as CoreTerm } from '../types-DjePDfms.js';
2
2
 
3
3
  type KanbanCadence = "replenishment" | "delivery-planning" | "service-delivery-review" | "operations-review" | "risk-review" | "strategy-review";
4
4
  declare const KANBAN_CADENCES: readonly KanbanCadence[];
@@ -37,6 +37,7 @@ interface KanbanConfig {
37
37
  maxExpedite: number;
38
38
  }
39
39
  declare function configOf(state: WorkflowState): KanbanConfig;
40
+ /** Deeply frozen: `validateKanbanConfig` gives each config its own copy. */
40
41
  declare const DEFAULT_COLUMNS: KanbanColumn[];
41
42
  declare function validateKanbanConfig(raw: unknown): KanbanConfig;
42
43
 
@@ -1,2 +1,2 @@
1
- export{a as ACTIVE,s as CADENCE_EVENT,k as CLASSES,l as DAY_MS,n as DEFAULT_COLUMNS,j as KANBAN_CADENCES,F as KANBAN_VOCABULARY,b as OPEN,h as activeExpedites,p as addedAt,r as board,H as byClassThenAge,t as cadencesDue,q as cardAge,f as columnIndex,w as columnStays,d as commitmentColumn,m as configOf,e as deliveryColumn,i as enteredStageAt,I as kanban,B as kanbanCeremonies,x as kanbanMetrics,C as kanbanRoles,D as kanbanRules,E as kanbanStages,g as onBoard,y as opsReport,c as optionsColumn,v as percentile,G as priorityByClass,u as replay,z as riskReport,o as validateKanbanConfig,A as wantItems}from'../chunk-T3V5UE34.mjs';import'../chunk-FTS75UIU.mjs';import'../chunk-NDCQTRIV.mjs';import'../chunk-6P3OKXSK.mjs';import'../chunk-2FRRD6A3.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{a as ACTIVE,s as CADENCE_EVENT,k as CLASSES,l as DAY_MS,n as DEFAULT_COLUMNS,j as KANBAN_CADENCES,F as KANBAN_VOCABULARY,b as OPEN,h as activeExpedites,p as addedAt,r as board,H as byClassThenAge,t as cadencesDue,q as cardAge,f as columnIndex,w as columnStays,d as commitmentColumn,m as configOf,e as deliveryColumn,i as enteredStageAt,I as kanban,B as kanbanCeremonies,x as kanbanMetrics,C as kanbanRoles,D as kanbanRules,E as kanbanStages,g as onBoard,y as opsReport,c as optionsColumn,v as percentile,G as priorityByClass,u as replay,z as riskReport,o as validateKanbanConfig,A as wantItems}from'../chunk-BYPFTO7P.mjs';import'../chunk-C4ISBUZR.mjs';import'../chunk-4HG6A3SF.mjs';import'../chunk-LIATP6LY.mjs';import'../chunk-UUWDQVIJ.mjs';import'../chunk-YS6CXERQ.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -0,0 +1,2 @@
1
+ 'use strict';var chunkU3RU5LOF_cjs=require('../chunk-U3RU5LOF.cjs');require('../chunk-K4VSMIJZ.cjs'),require('../chunk-IIEKK2S3.cjs'),require('../chunk-VXOZIP77.cjs'),require('../chunk-GKN5M4B7.cjs'),require('../chunk-W2P27645.cjs'),require('../chunk-OVR5CK3R.cjs'),require('../chunk-QAENYYU6.cjs'),require('../chunk-SFYUJQYW.cjs'),require('../chunk-BHAEPYRJ.cjs'),require('../chunk-BBI7AKJK.cjs'),require('../chunk-Z43GUETW.cjs'),require('../chunk-OSHBJIYD.cjs');Object.defineProperty(exports,"methodologyFactory",{enumerable:true,get:function(){return chunkU3RU5LOF_cjs.b}});Object.defineProperty(exports,"registerMethodology",{enumerable:true,get:function(){return chunkU3RU5LOF_cjs.a}});Object.defineProperty(exports,"registeredMethodologies",{enumerable:true,get:function(){return chunkU3RU5LOF_cjs.c}});//# sourceMappingURL=index.cjs.map
2
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -0,0 +1,25 @@
1
+ import { M as Methodology } from '../types-DjePDfms.cjs';
2
+
3
+ /** A methodology factory, as the built-in entries export them (`scrum`, `kanban`, ...). */
4
+ type MethodologyFactory<N extends string = string> = () => Methodology<unknown, N>;
5
+ /** Name -> factory lookup: what `exwf init <name>` and a state's `methodology` resolve through. */
6
+ interface MethodologyRegistry {
7
+ /**
8
+ * Adds `name`; a name already registered (a built-in included) fails `invalid-input`. The
9
+ * factory is called once to check that it returns a Methodology named `name`.
10
+ */
11
+ registerMethodology<C, N extends string>(name: N, factory: () => Methodology<C, N>): void;
12
+ /** The factory registered under `name`; an unknown name fails `invalid-input` listing the known ones. */
13
+ methodologyFactory<N extends string = string>(name: N): MethodologyFactory<N>;
14
+ /** Registered names, pre-registered ones first, then in registration order. */
15
+ registeredMethodologies(): string[];
16
+ }
17
+
18
+ /** Registers a custom methodology (SDK only in 1.2); a taken name, a built-in included, fails `invalid-input`. */
19
+ declare function registerMethodology<C, N extends string>(name: N, factory: () => Methodology<C, N>): void;
20
+ /** The factory registered under `name`; an unknown name fails `invalid-input` listing the known ones. */
21
+ declare function methodologyFactory<N extends string = string>(name: N): MethodologyFactory<N>;
22
+ /** The registered names: the five built-ins, then custom ones in registration order. */
23
+ declare function registeredMethodologies(): string[];
24
+
25
+ export { type MethodologyFactory, type MethodologyRegistry, methodologyFactory, registerMethodology, registeredMethodologies };
@@ -0,0 +1,25 @@
1
+ import { M as Methodology } from '../types-DjePDfms.js';
2
+
3
+ /** A methodology factory, as the built-in entries export them (`scrum`, `kanban`, ...). */
4
+ type MethodologyFactory<N extends string = string> = () => Methodology<unknown, N>;
5
+ /** Name -> factory lookup: what `exwf init <name>` and a state's `methodology` resolve through. */
6
+ interface MethodologyRegistry {
7
+ /**
8
+ * Adds `name`; a name already registered (a built-in included) fails `invalid-input`. The
9
+ * factory is called once to check that it returns a Methodology named `name`.
10
+ */
11
+ registerMethodology<C, N extends string>(name: N, factory: () => Methodology<C, N>): void;
12
+ /** The factory registered under `name`; an unknown name fails `invalid-input` listing the known ones. */
13
+ methodologyFactory<N extends string = string>(name: N): MethodologyFactory<N>;
14
+ /** Registered names, pre-registered ones first, then in registration order. */
15
+ registeredMethodologies(): string[];
16
+ }
17
+
18
+ /** Registers a custom methodology (SDK only in 1.2); a taken name, a built-in included, fails `invalid-input`. */
19
+ declare function registerMethodology<C, N extends string>(name: N, factory: () => Methodology<C, N>): void;
20
+ /** The factory registered under `name`; an unknown name fails `invalid-input` listing the known ones. */
21
+ declare function methodologyFactory<N extends string = string>(name: N): MethodologyFactory<N>;
22
+ /** The registered names: the five built-ins, then custom ones in registration order. */
23
+ declare function registeredMethodologies(): string[];
24
+
25
+ export { type MethodologyFactory, type MethodologyRegistry, methodologyFactory, registerMethodology, registeredMethodologies };
@@ -0,0 +1,2 @@
1
+ export{b as methodologyFactory,a as registerMethodology,c as registeredMethodologies}from'../chunk-6D6FL3XK.mjs';import'../chunk-32NVJV5C.mjs';import'../chunk-BYPFTO7P.mjs';import'../chunk-JNLWI4JM.mjs';import'../chunk-C4ISBUZR.mjs';import'../chunk-4HG6A3SF.mjs';import'../chunk-LIATP6LY.mjs';import'../chunk-7EF47R2J.mjs';import'../chunk-OZAYOPLB.mjs';import'../chunk-FDZB73PH.mjs';import'../chunk-TQR3VFZU.mjs';import'../chunk-UUWDQVIJ.mjs';import'../chunk-YS6CXERQ.mjs';//# sourceMappingURL=index.mjs.map
2
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkC2IYMWE6_cjs=require('../chunk-C2IYMWE6.cjs');require('../chunk-S3BXVHO7.cjs');Object.defineProperty(exports,"DRAFT_07",{enumerable:true,get:function(){return chunkC2IYMWE6_cjs.c}});Object.defineProperty(exports,"assertValid",{enumerable:true,get:function(){return chunkC2IYMWE6_cjs.b}});Object.defineProperty(exports,"experimentationConfigSchema",{enumerable:true,get:function(){return chunkC2IYMWE6_cjs.m}});Object.defineProperty(exports,"handoffSchema",{enumerable:true,get:function(){return chunkC2IYMWE6_cjs.h}});Object.defineProperty(exports,"investigationConfigSchema",{enumerable:true,get:function(){return chunkC2IYMWE6_cjs.l}});Object.defineProperty(exports,"itemPatchSchema",{enumerable:true,get:function(){return chunkC2IYMWE6_cjs.g}});Object.defineProperty(exports,"kanbanConfigSchema",{enumerable:true,get:function(){return chunkC2IYMWE6_cjs.j}});Object.defineProperty(exports,"newItemSchema",{enumerable:true,get:function(){return chunkC2IYMWE6_cjs.f}});Object.defineProperty(exports,"roleSchema",{enumerable:true,get:function(){return chunkC2IYMWE6_cjs.e}});Object.defineProperty(exports,"scrumConfigSchema",{enumerable:true,get:function(){return chunkC2IYMWE6_cjs.i}});Object.defineProperty(exports,"validate",{enumerable:true,get:function(){return chunkC2IYMWE6_cjs.a}});Object.defineProperty(exports,"waterfallConfigSchema",{enumerable:true,get:function(){return chunkC2IYMWE6_cjs.k}});Object.defineProperty(exports,"workflowStateSchema",{enumerable:true,get:function(){return chunkC2IYMWE6_cjs.d}});//# sourceMappingURL=index.cjs.map
1
+ 'use strict';var chunk43GLYYA2_cjs=require('../chunk-43GLYYA2.cjs');require('../chunk-OSHBJIYD.cjs');Object.defineProperty(exports,"DRAFT_07",{enumerable:true,get:function(){return chunk43GLYYA2_cjs.c}});Object.defineProperty(exports,"assertValid",{enumerable:true,get:function(){return chunk43GLYYA2_cjs.b}});Object.defineProperty(exports,"experimentationConfigSchema",{enumerable:true,get:function(){return chunk43GLYYA2_cjs.m}});Object.defineProperty(exports,"handoffSchema",{enumerable:true,get:function(){return chunk43GLYYA2_cjs.h}});Object.defineProperty(exports,"investigationConfigSchema",{enumerable:true,get:function(){return chunk43GLYYA2_cjs.l}});Object.defineProperty(exports,"itemPatchSchema",{enumerable:true,get:function(){return chunk43GLYYA2_cjs.g}});Object.defineProperty(exports,"kanbanConfigSchema",{enumerable:true,get:function(){return chunk43GLYYA2_cjs.j}});Object.defineProperty(exports,"newItemSchema",{enumerable:true,get:function(){return chunk43GLYYA2_cjs.f}});Object.defineProperty(exports,"roleSchema",{enumerable:true,get:function(){return chunk43GLYYA2_cjs.e}});Object.defineProperty(exports,"scrumConfigSchema",{enumerable:true,get:function(){return chunk43GLYYA2_cjs.i}});Object.defineProperty(exports,"validate",{enumerable:true,get:function(){return chunk43GLYYA2_cjs.a}});Object.defineProperty(exports,"waterfallConfigSchema",{enumerable:true,get:function(){return chunk43GLYYA2_cjs.k}});Object.defineProperty(exports,"workflowStateSchema",{enumerable:true,get:function(){return chunk43GLYYA2_cjs.d}});//# sourceMappingURL=index.cjs.map
2
2
  //# sourceMappingURL=index.cjs.map
@@ -16,6 +16,8 @@ interface JsonSchema {
16
16
  minLength?: number;
17
17
  pattern?: string;
18
18
  description?: string;
19
+ /** annotation only (from a `@deprecated` TSDoc tag); the validator ignores it */
20
+ deprecated?: boolean;
19
21
  }
20
22
  /** A self-contained document: the root points into its own definitions. */
21
23
  interface JsonSchemaDocument extends JsonSchema {
@@ -16,6 +16,8 @@ interface JsonSchema {
16
16
  minLength?: number;
17
17
  pattern?: string;
18
18
  description?: string;
19
+ /** annotation only (from a `@deprecated` TSDoc tag); the validator ignores it */
20
+ deprecated?: boolean;
19
21
  }
20
22
  /** A self-contained document: the root points into its own definitions. */
21
23
  interface JsonSchemaDocument extends JsonSchema {
@@ -1,2 +1,2 @@
1
- export{c as DRAFT_07,b as assertValid,m as experimentationConfigSchema,h as handoffSchema,l as investigationConfigSchema,g as itemPatchSchema,j as kanbanConfigSchema,f as newItemSchema,e as roleSchema,i as scrumConfigSchema,a as validate,k as waterfallConfigSchema,d as workflowStateSchema}from'../chunk-KLWZEXZU.mjs';import'../chunk-2FRRD6A3.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{c as DRAFT_07,b as assertValid,m as experimentationConfigSchema,h as handoffSchema,l as investigationConfigSchema,g as itemPatchSchema,j as kanbanConfigSchema,f as newItemSchema,e as roleSchema,i as scrumConfigSchema,a as validate,k as waterfallConfigSchema,d as workflowStateSchema}from'../chunk-BD76VFI4.mjs';import'../chunk-YS6CXERQ.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkRL27372B_cjs=require('../chunk-RL27372B.cjs');require('../chunk-EHBQBXWA.cjs'),require('../chunk-HCRVWMG4.cjs');var chunkEACZBAP3_cjs=require('../chunk-EACZBAP3.cjs');require('../chunk-S3BXVHO7.cjs');Object.defineProperty(exports,"SCRUM_VOCABULARY",{enumerable:true,get:function(){return chunkRL27372B_cjs.h}});Object.defineProperty(exports,"closeSprint",{enumerable:true,get:function(){return chunkRL27372B_cjs.k}});Object.defineProperty(exports,"configOf",{enumerable:true,get:function(){return chunkRL27372B_cjs.i}});Object.defineProperty(exports,"dailyReport",{enumerable:true,get:function(){return chunkRL27372B_cjs.a}});Object.defineProperty(exports,"resumeStageOf",{enumerable:true,get:function(){return chunkRL27372B_cjs.j}});Object.defineProperty(exports,"scrum",{enumerable:true,get:function(){return chunkRL27372B_cjs.l}});Object.defineProperty(exports,"scrumCeremonies",{enumerable:true,get:function(){return chunkRL27372B_cjs.b}});Object.defineProperty(exports,"scrumMetrics",{enumerable:true,get:function(){return chunkRL27372B_cjs.d}});Object.defineProperty(exports,"scrumRoles",{enumerable:true,get:function(){return chunkRL27372B_cjs.e}});Object.defineProperty(exports,"scrumRules",{enumerable:true,get:function(){return chunkRL27372B_cjs.f}});Object.defineProperty(exports,"scrumStages",{enumerable:true,get:function(){return chunkRL27372B_cjs.g}});Object.defineProperty(exports,"validateScrumConfig",{enumerable:true,get:function(){return chunkRL27372B_cjs.c}});Object.defineProperty(exports,"canDo",{enumerable:true,get:function(){return chunkEACZBAP3_cjs.n}});//# sourceMappingURL=index.cjs.map
1
+ 'use strict';var chunkK4VSMIJZ_cjs=require('../chunk-K4VSMIJZ.cjs');require('../chunk-W2P27645.cjs'),require('../chunk-OVR5CK3R.cjs');var chunkZ43GUETW_cjs=require('../chunk-Z43GUETW.cjs');require('../chunk-OSHBJIYD.cjs');Object.defineProperty(exports,"SCRUM_VOCABULARY",{enumerable:true,get:function(){return chunkK4VSMIJZ_cjs.h}});Object.defineProperty(exports,"closeSprint",{enumerable:true,get:function(){return chunkK4VSMIJZ_cjs.k}});Object.defineProperty(exports,"configOf",{enumerable:true,get:function(){return chunkK4VSMIJZ_cjs.i}});Object.defineProperty(exports,"dailyReport",{enumerable:true,get:function(){return chunkK4VSMIJZ_cjs.a}});Object.defineProperty(exports,"resumeStageOf",{enumerable:true,get:function(){return chunkK4VSMIJZ_cjs.j}});Object.defineProperty(exports,"scrum",{enumerable:true,get:function(){return chunkK4VSMIJZ_cjs.l}});Object.defineProperty(exports,"scrumCeremonies",{enumerable:true,get:function(){return chunkK4VSMIJZ_cjs.b}});Object.defineProperty(exports,"scrumMetrics",{enumerable:true,get:function(){return chunkK4VSMIJZ_cjs.d}});Object.defineProperty(exports,"scrumRoles",{enumerable:true,get:function(){return chunkK4VSMIJZ_cjs.e}});Object.defineProperty(exports,"scrumRules",{enumerable:true,get:function(){return chunkK4VSMIJZ_cjs.f}});Object.defineProperty(exports,"scrumStages",{enumerable:true,get:function(){return chunkK4VSMIJZ_cjs.g}});Object.defineProperty(exports,"validateScrumConfig",{enumerable:true,get:function(){return chunkK4VSMIJZ_cjs.c}});Object.defineProperty(exports,"canDo",{enumerable:true,get:function(){return chunkZ43GUETW_cjs.l}});//# sourceMappingURL=index.cjs.map
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,6 +1,6 @@
1
- import { a as Budget, P as Policy, W as WorkflowState, R as Role, g as Rule, S as Stage, j as ItemStatus, M as Methodology, f as Ceremony, k as CoreTerm, l as WorkItem } from '../types-BScHXlRx.cjs';
2
- import { E as EstimateMode } from '../budget-CezCinPF.cjs';
3
- export { c as canDo } from '../budget-CezCinPF.cjs';
1
+ import { a as Budget, P as Policy, W as WorkflowState, R as Role, g as Rule, S as Stage, j as ItemStatus, M as Methodology, f as Ceremony, k as CoreTerm, l as WorkItem } from '../types-DjePDfms.cjs';
2
+ import { E as EstimateMode } from '../budget-Bm839Qw0.cjs';
3
+ export { c as canDo } from '../budget-Bm839Qw0.cjs';
4
4
 
5
5
  interface ScrumConfig {
6
6
  sprintBudget: Budget;
@@ -1,6 +1,6 @@
1
- import { a as Budget, P as Policy, W as WorkflowState, R as Role, g as Rule, S as Stage, j as ItemStatus, M as Methodology, f as Ceremony, k as CoreTerm, l as WorkItem } from '../types-BScHXlRx.js';
2
- import { E as EstimateMode } from '../budget-Bd8KpGIr.js';
3
- export { c as canDo } from '../budget-Bd8KpGIr.js';
1
+ import { a as Budget, P as Policy, W as WorkflowState, R as Role, g as Rule, S as Stage, j as ItemStatus, M as Methodology, f as Ceremony, k as CoreTerm, l as WorkItem } from '../types-DjePDfms.js';
2
+ import { E as EstimateMode } from '../budget-Gckmqj74.js';
3
+ export { c as canDo } from '../budget-Gckmqj74.js';
4
4
 
5
5
  interface ScrumConfig {
6
6
  sprintBudget: Budget;
@@ -1,2 +1,2 @@
1
- export{h as SCRUM_VOCABULARY,k as closeSprint,i as configOf,a as dailyReport,j as resumeStageOf,l as scrum,b as scrumCeremonies,d as scrumMetrics,e as scrumRoles,f as scrumRules,g as scrumStages,c as validateScrumConfig}from'../chunk-SP5MC7RR.mjs';import'../chunk-FTS75UIU.mjs';import'../chunk-NDCQTRIV.mjs';export{n as canDo}from'../chunk-6P3OKXSK.mjs';import'../chunk-2FRRD6A3.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{h as SCRUM_VOCABULARY,k as closeSprint,i as configOf,a as dailyReport,j as resumeStageOf,l as scrum,b as scrumCeremonies,d as scrumMetrics,e as scrumRoles,f as scrumRules,g as scrumStages,c as validateScrumConfig}from'../chunk-32NVJV5C.mjs';import'../chunk-4HG6A3SF.mjs';import'../chunk-LIATP6LY.mjs';export{l as canDo}from'../chunk-UUWDQVIJ.mjs';import'../chunk-YS6CXERQ.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -360,14 +360,49 @@ interface Baseline {
360
360
  itemSnapshot: Record<string, WorkItem>;
361
361
  }
362
362
  type MethodologyName = "scrum" | "kanban" | "waterfall" | "investigation" | "experimentation";
363
- interface WorkflowState {
363
+ /**
364
+ * `state.ext`: extension records keyed by their owner. The two built-in records are typed, so the
365
+ * state schema validates them; any other key holds any JSON value (design spec section 26).
366
+ */
367
+ interface WorkflowExt {
368
+ investigation?: InvestigationState;
369
+ experimentation?: ExperimentationState;
370
+ [key: string]: unknown;
371
+ }
372
+ /**
373
+ * Workflow state. `N` is the methodology name: the default `MethodologyName` (the five
374
+ * built-ins) keeps every 1.1 consumer's type check unchanged; a custom methodology types its
375
+ * state as `WorkflowState<"its-name">` (design spec section 26).
376
+ */
377
+ interface WorkflowState<N extends string = MethodologyName> {
364
378
  version: 1;
365
- methodology: MethodologyName;
379
+ methodology: N;
366
380
  config: unknown;
367
- /** Standalone investigation lifecycle, created by its intake ceremony. */
381
+ /**
382
+ * Standalone investigation lifecycle, created by its intake ceremony.
383
+ * Since 1.2 a read-only mirror of `ext.investigation`, kept for SDK code that reads this
384
+ * field (in memory only: the file adapter stores `ext.investigation` and restores this mirror on load):
385
+ * once `ext.investigation` exists, a write here is ignored. Read it with
386
+ * `readExt(state, "investigation")` and write it with `writeExt`. It does not make a 1.2 state
387
+ * loadable by 1.1.x, whose schema rejects `ext`. Removed in 2.0.
388
+ * @deprecated
389
+ */
368
390
  investigation?: InvestigationState;
369
- /** Standalone isolated candidate experiment, created by its freeze ceremony. */
391
+ /**
392
+ * Standalone isolated candidate experiment, created by its freeze ceremony.
393
+ * Since 1.2 a read-only mirror of `ext.experimentation`, kept for SDK code that reads this
394
+ * field (in memory only: the file adapter stores `ext.experimentation` and restores this mirror on load):
395
+ * once `ext.experimentation` exists, a write here is ignored. Read it with
396
+ * `readExt(state, "experimentation")` and write it with `writeExt`. It does not make a 1.2 state
397
+ * loadable by 1.1.x, whose schema rejects `ext`. Removed in 2.0.
398
+ * @deprecated
399
+ */
370
400
  experimentation?: ExperimentationState;
401
+ /**
402
+ * Extension records keyed by their owner (a methodology name or a common piece id). Read and
403
+ * write it only through `readExt` / `writeExt`. Absent in states written before 1.2.
404
+ */
405
+ ext?: WorkflowExt;
371
406
  items: Record<string, WorkItem>;
372
407
  stages: Stage[];
373
408
  roles: Record<string, Role>;
@@ -395,13 +430,13 @@ interface Violation {
395
430
  message: string;
396
431
  fix: string;
397
432
  }
398
- interface Rule {
433
+ interface Rule<N extends string = MethodologyName> {
399
434
  id: string;
400
435
  severity: "error" | "warning";
401
- check(state: WorkflowState, action: Action): Violation[];
436
+ check(state: WorkflowState<N>, action: Action): Violation[];
402
437
  }
403
- interface ApplyResult {
404
- state: WorkflowState;
438
+ interface ApplyResult<N extends string = MethodologyName> {
439
+ state: WorkflowState<N>;
405
440
  warnings: Violation[];
406
441
  }
407
442
  interface Brief {
@@ -447,7 +482,7 @@ type CeremonyInput = {
447
482
  by: string;
448
483
  now?: string;
449
484
  } & Record<string, unknown>;
450
- type Ceremony = (state: WorkflowState, input: CeremonyInput) => ApplyResult;
485
+ type Ceremony<N extends string = MethodologyName> = (state: WorkflowState<N>, input: CeremonyInput) => ApplyResult<N>;
451
486
  interface PlannerOptions {
452
487
  schedulerMode: "level" | "throughput";
453
488
  /** Stage a todo item is pulled into when dispatched; a function decides per item; omitted/undefined = stay in its current stage. */
@@ -474,36 +509,40 @@ interface PlannerOptions {
474
509
  /** Tokens per weight unit when no accounting history exists; default 20000. PlanOptions.fallbackTokensPerWeight wins. */
475
510
  fallbackTokensPerWeight?: number;
476
511
  }
477
- interface Methodology<C = unknown> {
478
- name: MethodologyName;
512
+ /**
513
+ * A methodology. `N` is its name: the default `MethodologyName` is the five built-ins; a custom
514
+ * methodology declares `Methodology<MyConfig, "my-name">` (design spec section 26).
515
+ */
516
+ interface Methodology<C = unknown, N extends string = MethodologyName> {
517
+ name: N;
479
518
  vocabulary: Record<CoreTerm, string>;
480
519
  validateConfig(config: unknown): C;
481
520
  defaultStages(config: C): Stage[];
482
521
  defaultRoles(config: C): Role[];
483
522
  requiredCapabilities: Capability[];
484
523
  exclusiveCapabilities: Capability[];
485
- plannerOptions(state: WorkflowState): PlannerOptions;
486
- candidates(state: WorkflowState): WorkItem[];
487
- invariants(state: WorkflowState, item: WorkItem): string[];
488
- ceremonies: Record<string, Ceremony>;
489
- rules: Rule[];
490
- metrics(state: WorkflowState): Record<string, number | number[] | Record<string, number>>;
524
+ plannerOptions(state: WorkflowState<N>): PlannerOptions;
525
+ candidates(state: WorkflowState<N>): WorkItem[];
526
+ invariants(state: WorkflowState<N>, item: WorkItem): string[];
527
+ ceremonies: Record<string, Ceremony<N>>;
528
+ rules: Rule<N>[];
529
+ metrics(state: WorkflowState<N>): Record<string, number | number[] | Record<string, number>>;
491
530
  humanDefaults: {
492
531
  gates: "all" | "none" | string[];
493
532
  };
494
533
  /** Called after complete(); lets the methodology react (e.g. close a sprint when the budget is gone). */
495
- afterComplete?(state: WorkflowState, itemId: string, now: string): WorkflowState;
534
+ afterComplete?(state: WorkflowState<N>, itemId: string, now: string): WorkflowState<N>;
496
535
  /** Config keys that cannot change after init (changeConfig refuses them). */
497
536
  lockedConfigKeys?: string[];
498
537
  /** Called by changeConfig after the new config is stored; keeps derived state (e.g. stage policies) in step. */
499
- afterConfigChange?(state: WorkflowState, now: string): WorkflowState;
538
+ afterConfigChange?(state: WorkflowState<N>, now: string): WorkflowState<N>;
500
539
  /** Methodology-specific status for hosts (e.g. cadences due); printed by `exwf status`. */
501
- report?(state: WorkflowState): Record<string, unknown>;
540
+ report?(state: WorkflowState<N>): Record<string, unknown>;
502
541
  /** Called by decide() after a pending entry is resolved; lets the methodology act on it (e.g. baseline a phase gate, apply a change-request decision). */
503
- afterDecide?(state: WorkflowState, entry: PendingHuman, decision: "approve" | "reject", by: string, note: string, now: string): WorkflowState;
542
+ afterDecide?(state: WorkflowState<N>, entry: PendingHuman, decision: "approve" | "reject", by: string, note: string, now: string): WorkflowState<N>;
504
543
  }
505
544
  type ErrorCode = "unknown-item" | "duplicate-item" | "unknown-role" | "duplicate-role" | "unknown-stage" | "missing-capability" | "exclusive-capability" | "role-has-open-items" | "invalid-transition" | "policy-unmet" | "gate-unmet"
506
545
  /** reserved: never thrown; kept for type compatibility */
507
546
  | "conflict-of-interest" | "handoff-invalid" | "accounting-invalid" | "rule-violation" | "planner-error" | "no-op" | "unknown-pending" | "unknown-ceremony" | "state-version" | "config-invalid" | "budget-exhausted" | "invalid-input";
508
547
 
509
- export type { Accounting as A, Brief as B, Capability as C, Blocker as D, Experiment as E, ImpactAnalysis as F, Gate as G, Handoff as H, InvestigationConclusion as I, ItemType as J, LessonChange as K, Lesson as L, Methodology as M, NewItem as N, Observation as O, Policy as P, ModelTier as Q, Role as R, Stage as S, Transition as T, PlannerOptions as U, Violation as V, WorkflowState as W, Produced as X, Spent as Y, Verdict as Z, Budget as a, BeliefUpdate as b, Hypothesis as c, InvestigationRound as d, InvestigationState as e, Ceremony as f, Rule as g, ExperimentCandidate as h, ExperimentationState as i, ItemStatus as j, CoreTerm as k, WorkItem as l, ClassOfService as m, CeremonyInput as n, Event as o, GateRequirement as p, Phase as q, PendingHuman as r, ErrorCode as s, MethodologyName as t, Evidence as u, ItemPatch as v, Iteration as w, ApplyResult as x, Action as y, Baseline as z };
548
+ export type { Accounting as A, Brief as B, Capability as C, Blocker as D, Experiment as E, ImpactAnalysis as F, Gate as G, Handoff as H, InvestigationConclusion as I, ItemType as J, LessonChange as K, Lesson as L, Methodology as M, NewItem as N, Observation as O, Policy as P, ModelTier as Q, Role as R, Stage as S, Transition as T, PlannerOptions as U, Violation as V, WorkflowState as W, Produced as X, Spent as Y, Verdict as Z, WorkflowExt as _, Budget as a, BeliefUpdate as b, Hypothesis as c, InvestigationRound as d, InvestigationState as e, Ceremony as f, Rule as g, ExperimentCandidate as h, ExperimentationState as i, ItemStatus as j, CoreTerm as k, WorkItem as l, ClassOfService as m, CeremonyInput as n, Event as o, GateRequirement as p, Phase as q, PendingHuman as r, ErrorCode as s, MethodologyName as t, ItemPatch as u, Evidence as v, Iteration as w, ApplyResult as x, Action as y, Baseline as z };
@@ -360,14 +360,49 @@ interface Baseline {
360
360
  itemSnapshot: Record<string, WorkItem>;
361
361
  }
362
362
  type MethodologyName = "scrum" | "kanban" | "waterfall" | "investigation" | "experimentation";
363
- interface WorkflowState {
363
+ /**
364
+ * `state.ext`: extension records keyed by their owner. The two built-in records are typed, so the
365
+ * state schema validates them; any other key holds any JSON value (design spec section 26).
366
+ */
367
+ interface WorkflowExt {
368
+ investigation?: InvestigationState;
369
+ experimentation?: ExperimentationState;
370
+ [key: string]: unknown;
371
+ }
372
+ /**
373
+ * Workflow state. `N` is the methodology name: the default `MethodologyName` (the five
374
+ * built-ins) keeps every 1.1 consumer's type check unchanged; a custom methodology types its
375
+ * state as `WorkflowState<"its-name">` (design spec section 26).
376
+ */
377
+ interface WorkflowState<N extends string = MethodologyName> {
364
378
  version: 1;
365
- methodology: MethodologyName;
379
+ methodology: N;
366
380
  config: unknown;
367
- /** Standalone investigation lifecycle, created by its intake ceremony. */
381
+ /**
382
+ * Standalone investigation lifecycle, created by its intake ceremony.
383
+ * Since 1.2 a read-only mirror of `ext.investigation`, kept for SDK code that reads this
384
+ * field (in memory only: the file adapter stores `ext.investigation` and restores this mirror on load):
385
+ * once `ext.investigation` exists, a write here is ignored. Read it with
386
+ * `readExt(state, "investigation")` and write it with `writeExt`. It does not make a 1.2 state
387
+ * loadable by 1.1.x, whose schema rejects `ext`. Removed in 2.0.
388
+ * @deprecated
389
+ */
368
390
  investigation?: InvestigationState;
369
- /** Standalone isolated candidate experiment, created by its freeze ceremony. */
391
+ /**
392
+ * Standalone isolated candidate experiment, created by its freeze ceremony.
393
+ * Since 1.2 a read-only mirror of `ext.experimentation`, kept for SDK code that reads this
394
+ * field (in memory only: the file adapter stores `ext.experimentation` and restores this mirror on load):
395
+ * once `ext.experimentation` exists, a write here is ignored. Read it with
396
+ * `readExt(state, "experimentation")` and write it with `writeExt`. It does not make a 1.2 state
397
+ * loadable by 1.1.x, whose schema rejects `ext`. Removed in 2.0.
398
+ * @deprecated
399
+ */
370
400
  experimentation?: ExperimentationState;
401
+ /**
402
+ * Extension records keyed by their owner (a methodology name or a common piece id). Read and
403
+ * write it only through `readExt` / `writeExt`. Absent in states written before 1.2.
404
+ */
405
+ ext?: WorkflowExt;
371
406
  items: Record<string, WorkItem>;
372
407
  stages: Stage[];
373
408
  roles: Record<string, Role>;
@@ -395,13 +430,13 @@ interface Violation {
395
430
  message: string;
396
431
  fix: string;
397
432
  }
398
- interface Rule {
433
+ interface Rule<N extends string = MethodologyName> {
399
434
  id: string;
400
435
  severity: "error" | "warning";
401
- check(state: WorkflowState, action: Action): Violation[];
436
+ check(state: WorkflowState<N>, action: Action): Violation[];
402
437
  }
403
- interface ApplyResult {
404
- state: WorkflowState;
438
+ interface ApplyResult<N extends string = MethodologyName> {
439
+ state: WorkflowState<N>;
405
440
  warnings: Violation[];
406
441
  }
407
442
  interface Brief {
@@ -447,7 +482,7 @@ type CeremonyInput = {
447
482
  by: string;
448
483
  now?: string;
449
484
  } & Record<string, unknown>;
450
- type Ceremony = (state: WorkflowState, input: CeremonyInput) => ApplyResult;
485
+ type Ceremony<N extends string = MethodologyName> = (state: WorkflowState<N>, input: CeremonyInput) => ApplyResult<N>;
451
486
  interface PlannerOptions {
452
487
  schedulerMode: "level" | "throughput";
453
488
  /** Stage a todo item is pulled into when dispatched; a function decides per item; omitted/undefined = stay in its current stage. */
@@ -474,36 +509,40 @@ interface PlannerOptions {
474
509
  /** Tokens per weight unit when no accounting history exists; default 20000. PlanOptions.fallbackTokensPerWeight wins. */
475
510
  fallbackTokensPerWeight?: number;
476
511
  }
477
- interface Methodology<C = unknown> {
478
- name: MethodologyName;
512
+ /**
513
+ * A methodology. `N` is its name: the default `MethodologyName` is the five built-ins; a custom
514
+ * methodology declares `Methodology<MyConfig, "my-name">` (design spec section 26).
515
+ */
516
+ interface Methodology<C = unknown, N extends string = MethodologyName> {
517
+ name: N;
479
518
  vocabulary: Record<CoreTerm, string>;
480
519
  validateConfig(config: unknown): C;
481
520
  defaultStages(config: C): Stage[];
482
521
  defaultRoles(config: C): Role[];
483
522
  requiredCapabilities: Capability[];
484
523
  exclusiveCapabilities: Capability[];
485
- plannerOptions(state: WorkflowState): PlannerOptions;
486
- candidates(state: WorkflowState): WorkItem[];
487
- invariants(state: WorkflowState, item: WorkItem): string[];
488
- ceremonies: Record<string, Ceremony>;
489
- rules: Rule[];
490
- metrics(state: WorkflowState): Record<string, number | number[] | Record<string, number>>;
524
+ plannerOptions(state: WorkflowState<N>): PlannerOptions;
525
+ candidates(state: WorkflowState<N>): WorkItem[];
526
+ invariants(state: WorkflowState<N>, item: WorkItem): string[];
527
+ ceremonies: Record<string, Ceremony<N>>;
528
+ rules: Rule<N>[];
529
+ metrics(state: WorkflowState<N>): Record<string, number | number[] | Record<string, number>>;
491
530
  humanDefaults: {
492
531
  gates: "all" | "none" | string[];
493
532
  };
494
533
  /** Called after complete(); lets the methodology react (e.g. close a sprint when the budget is gone). */
495
- afterComplete?(state: WorkflowState, itemId: string, now: string): WorkflowState;
534
+ afterComplete?(state: WorkflowState<N>, itemId: string, now: string): WorkflowState<N>;
496
535
  /** Config keys that cannot change after init (changeConfig refuses them). */
497
536
  lockedConfigKeys?: string[];
498
537
  /** Called by changeConfig after the new config is stored; keeps derived state (e.g. stage policies) in step. */
499
- afterConfigChange?(state: WorkflowState, now: string): WorkflowState;
538
+ afterConfigChange?(state: WorkflowState<N>, now: string): WorkflowState<N>;
500
539
  /** Methodology-specific status for hosts (e.g. cadences due); printed by `exwf status`. */
501
- report?(state: WorkflowState): Record<string, unknown>;
540
+ report?(state: WorkflowState<N>): Record<string, unknown>;
502
541
  /** Called by decide() after a pending entry is resolved; lets the methodology act on it (e.g. baseline a phase gate, apply a change-request decision). */
503
- afterDecide?(state: WorkflowState, entry: PendingHuman, decision: "approve" | "reject", by: string, note: string, now: string): WorkflowState;
542
+ afterDecide?(state: WorkflowState<N>, entry: PendingHuman, decision: "approve" | "reject", by: string, note: string, now: string): WorkflowState<N>;
504
543
  }
505
544
  type ErrorCode = "unknown-item" | "duplicate-item" | "unknown-role" | "duplicate-role" | "unknown-stage" | "missing-capability" | "exclusive-capability" | "role-has-open-items" | "invalid-transition" | "policy-unmet" | "gate-unmet"
506
545
  /** reserved: never thrown; kept for type compatibility */
507
546
  | "conflict-of-interest" | "handoff-invalid" | "accounting-invalid" | "rule-violation" | "planner-error" | "no-op" | "unknown-pending" | "unknown-ceremony" | "state-version" | "config-invalid" | "budget-exhausted" | "invalid-input";
508
547
 
509
- export type { Accounting as A, Brief as B, Capability as C, Blocker as D, Experiment as E, ImpactAnalysis as F, Gate as G, Handoff as H, InvestigationConclusion as I, ItemType as J, LessonChange as K, Lesson as L, Methodology as M, NewItem as N, Observation as O, Policy as P, ModelTier as Q, Role as R, Stage as S, Transition as T, PlannerOptions as U, Violation as V, WorkflowState as W, Produced as X, Spent as Y, Verdict as Z, Budget as a, BeliefUpdate as b, Hypothesis as c, InvestigationRound as d, InvestigationState as e, Ceremony as f, Rule as g, ExperimentCandidate as h, ExperimentationState as i, ItemStatus as j, CoreTerm as k, WorkItem as l, ClassOfService as m, CeremonyInput as n, Event as o, GateRequirement as p, Phase as q, PendingHuman as r, ErrorCode as s, MethodologyName as t, Evidence as u, ItemPatch as v, Iteration as w, ApplyResult as x, Action as y, Baseline as z };
548
+ export type { Accounting as A, Brief as B, Capability as C, Blocker as D, Experiment as E, ImpactAnalysis as F, Gate as G, Handoff as H, InvestigationConclusion as I, ItemType as J, LessonChange as K, Lesson as L, Methodology as M, NewItem as N, Observation as O, Policy as P, ModelTier as Q, Role as R, Stage as S, Transition as T, PlannerOptions as U, Violation as V, WorkflowState as W, Produced as X, Spent as Y, Verdict as Z, WorkflowExt as _, Budget as a, BeliefUpdate as b, Hypothesis as c, InvestigationRound as d, InvestigationState as e, Ceremony as f, Rule as g, ExperimentCandidate as h, ExperimentationState as i, ItemStatus as j, CoreTerm as k, WorkItem as l, ClassOfService as m, CeremonyInput as n, Event as o, GateRequirement as p, Phase as q, PendingHuman as r, ErrorCode as s, MethodologyName as t, ItemPatch as u, Evidence as v, Iteration as w, ApplyResult as x, Action as y, Baseline as z };
package/dist/types.cjs CHANGED
@@ -1,2 +1,2 @@
1
- 'use strict';require('./chunk-PO2SPQJP.cjs');//# sourceMappingURL=types.cjs.map
1
+ 'use strict';require('./chunk-PNWRA4JU.cjs');//# sourceMappingURL=types.cjs.map
2
2
  //# sourceMappingURL=types.cjs.map
package/dist/types.d.cts CHANGED
@@ -1 +1 @@
1
- export { A as Accounting, y as Action, x as ApplyResult, z as Baseline, D as Blocker, B as Brief, a as Budget, C as Capability, f as Ceremony, n as CeremonyInput, m as ClassOfService, k as CoreTerm, s as ErrorCode, o as Event, u as Evidence, G as Gate, p as GateRequirement, H as Handoff, F as ImpactAnalysis, v as ItemPatch, j as ItemStatus, J as ItemType, w as Iteration, L as Lesson, K as LessonChange, M as Methodology, t as MethodologyName, Q as ModelTier, N as NewItem, r as PendingHuman, q as Phase, U as PlannerOptions, P as Policy, X as Produced, R as Role, g as Rule, Y as Spent, S as Stage, T as Transition, Z as Verdict, V as Violation, l as WorkItem, W as WorkflowState } from './types-BScHXlRx.cjs';
1
+ export { A as Accounting, y as Action, x as ApplyResult, z as Baseline, D as Blocker, B as Brief, a as Budget, C as Capability, f as Ceremony, n as CeremonyInput, m as ClassOfService, k as CoreTerm, s as ErrorCode, o as Event, v as Evidence, G as Gate, p as GateRequirement, H as Handoff, F as ImpactAnalysis, u as ItemPatch, j as ItemStatus, J as ItemType, w as Iteration, L as Lesson, K as LessonChange, M as Methodology, t as MethodologyName, Q as ModelTier, N as NewItem, r as PendingHuman, q as Phase, U as PlannerOptions, P as Policy, X as Produced, R as Role, g as Rule, Y as Spent, S as Stage, T as Transition, Z as Verdict, V as Violation, l as WorkItem, _ as WorkflowExt, W as WorkflowState } from './types-DjePDfms.cjs';
package/dist/types.d.ts CHANGED
@@ -1 +1 @@
1
- export { A as Accounting, y as Action, x as ApplyResult, z as Baseline, D as Blocker, B as Brief, a as Budget, C as Capability, f as Ceremony, n as CeremonyInput, m as ClassOfService, k as CoreTerm, s as ErrorCode, o as Event, u as Evidence, G as Gate, p as GateRequirement, H as Handoff, F as ImpactAnalysis, v as ItemPatch, j as ItemStatus, J as ItemType, w as Iteration, L as Lesson, K as LessonChange, M as Methodology, t as MethodologyName, Q as ModelTier, N as NewItem, r as PendingHuman, q as Phase, U as PlannerOptions, P as Policy, X as Produced, R as Role, g as Rule, Y as Spent, S as Stage, T as Transition, Z as Verdict, V as Violation, l as WorkItem, W as WorkflowState } from './types-BScHXlRx.js';
1
+ export { A as Accounting, y as Action, x as ApplyResult, z as Baseline, D as Blocker, B as Brief, a as Budget, C as Capability, f as Ceremony, n as CeremonyInput, m as ClassOfService, k as CoreTerm, s as ErrorCode, o as Event, v as Evidence, G as Gate, p as GateRequirement, H as Handoff, F as ImpactAnalysis, u as ItemPatch, j as ItemStatus, J as ItemType, w as Iteration, L as Lesson, K as LessonChange, M as Methodology, t as MethodologyName, Q as ModelTier, N as NewItem, r as PendingHuman, q as Phase, U as PlannerOptions, P as Policy, X as Produced, R as Role, g as Rule, Y as Spent, S as Stage, T as Transition, Z as Verdict, V as Violation, l as WorkItem, _ as WorkflowExt, W as WorkflowState } from './types-DjePDfms.js';
package/dist/types.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import'./chunk-KIQOUUEZ.mjs';//# sourceMappingURL=types.mjs.map
1
+ import'./chunk-IDZ435YZ.mjs';//# sourceMappingURL=types.mjs.map
2
2
  //# sourceMappingURL=types.mjs.map
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkTS66RAJR_cjs=require('../chunk-TS66RAJR.cjs');require('../chunk-EHBQBXWA.cjs'),require('../chunk-HCRVWMG4.cjs'),require('../chunk-EACZBAP3.cjs'),require('../chunk-S3BXVHO7.cjs');Object.defineProperty(exports,"CHANGE_GATE",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.e}});Object.defineProperty(exports,"DEFAULT_DELIVERABLES",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.b}});Object.defineProperty(exports,"DEFAULT_DELIVER_BY",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.c}});Object.defineProperty(exports,"DEFAULT_PHASE_IDS",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.a}});Object.defineProperty(exports,"DONE",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.k}});Object.defineProperty(exports,"GATE_ID",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.d}});Object.defineProperty(exports,"REVIEW",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.j}});Object.defineProperty(exports,"WATERFALL_VOCABULARY",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.K}});Object.defineProperty(exports,"WORK",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.i}});Object.defineProperty(exports,"approveChange",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.z}});Object.defineProperty(exports,"baselinePhase",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.x}});Object.defineProperty(exports,"configOf",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.g}});Object.defineProperty(exports,"currentPhase",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.s}});Object.defineProperty(exports,"defaultPhases",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.f}});Object.defineProperty(exports,"deliverRoleFor",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.L}});Object.defineProperty(exports,"getPhase",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.o}});Object.defineProperty(exports,"isFrozen",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.t}});Object.defineProperty(exports,"itemsInPhase",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.q}});Object.defineProperty(exports,"lastToPhase",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.w}});Object.defineProperty(exports,"missingDeliverables",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.v}});Object.defineProperty(exports,"missingTraces",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.C}});Object.defineProperty(exports,"openPhase",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.r}});Object.defineProperty(exports,"phaseIndex",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.n}});Object.defineProperty(exports,"phaseOf",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.p}});Object.defineProperty(exports,"phaseReport",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.M}});Object.defineProperty(exports,"phasesOf",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.l}});Object.defineProperty(exports,"producedKinds",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.u}});Object.defineProperty(exports,"rejectChange",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.A}});Object.defineProperty(exports,"reopenPhases",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.y}});Object.defineProperty(exports,"traceabilityMatrix",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.B}});Object.defineProperty(exports,"validateWaterfallConfig",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.h}});Object.defineProperty(exports,"wantPhase",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.D}});Object.defineProperty(exports,"waterfall",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.N}});Object.defineProperty(exports,"waterfallAfterDecide",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.F}});Object.defineProperty(exports,"waterfallCeremonies",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.E}});Object.defineProperty(exports,"waterfallMetrics",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.G}});Object.defineProperty(exports,"waterfallRoles",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.H}});Object.defineProperty(exports,"waterfallRules",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.I}});Object.defineProperty(exports,"waterfallStages",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.J}});Object.defineProperty(exports,"withPhases",{enumerable:true,get:function(){return chunkTS66RAJR_cjs.m}});//# sourceMappingURL=index.cjs.map
1
+ 'use strict';var chunkVXOZIP77_cjs=require('../chunk-VXOZIP77.cjs');require('../chunk-GKN5M4B7.cjs'),require('../chunk-W2P27645.cjs'),require('../chunk-OVR5CK3R.cjs'),require('../chunk-Z43GUETW.cjs'),require('../chunk-OSHBJIYD.cjs');Object.defineProperty(exports,"CHANGE_GATE",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.e}});Object.defineProperty(exports,"DEFAULT_DELIVERABLES",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.b}});Object.defineProperty(exports,"DEFAULT_DELIVER_BY",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.c}});Object.defineProperty(exports,"DEFAULT_PHASE_IDS",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.a}});Object.defineProperty(exports,"DONE",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.k}});Object.defineProperty(exports,"GATE_ID",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.d}});Object.defineProperty(exports,"REVIEW",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.j}});Object.defineProperty(exports,"WATERFALL_VOCABULARY",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.K}});Object.defineProperty(exports,"WORK",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.i}});Object.defineProperty(exports,"approveChange",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.z}});Object.defineProperty(exports,"baselinePhase",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.x}});Object.defineProperty(exports,"configOf",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.g}});Object.defineProperty(exports,"currentPhase",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.s}});Object.defineProperty(exports,"defaultPhases",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.f}});Object.defineProperty(exports,"deliverRoleFor",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.L}});Object.defineProperty(exports,"getPhase",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.o}});Object.defineProperty(exports,"isFrozen",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.t}});Object.defineProperty(exports,"itemsInPhase",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.q}});Object.defineProperty(exports,"lastToPhase",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.w}});Object.defineProperty(exports,"missingDeliverables",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.v}});Object.defineProperty(exports,"missingTraces",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.C}});Object.defineProperty(exports,"openPhase",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.r}});Object.defineProperty(exports,"phaseIndex",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.n}});Object.defineProperty(exports,"phaseOf",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.p}});Object.defineProperty(exports,"phaseReport",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.M}});Object.defineProperty(exports,"phasesOf",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.l}});Object.defineProperty(exports,"producedKinds",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.u}});Object.defineProperty(exports,"rejectChange",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.A}});Object.defineProperty(exports,"reopenPhases",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.y}});Object.defineProperty(exports,"traceabilityMatrix",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.B}});Object.defineProperty(exports,"validateWaterfallConfig",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.h}});Object.defineProperty(exports,"wantPhase",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.D}});Object.defineProperty(exports,"waterfall",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.N}});Object.defineProperty(exports,"waterfallAfterDecide",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.F}});Object.defineProperty(exports,"waterfallCeremonies",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.E}});Object.defineProperty(exports,"waterfallMetrics",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.G}});Object.defineProperty(exports,"waterfallRoles",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.H}});Object.defineProperty(exports,"waterfallRules",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.I}});Object.defineProperty(exports,"waterfallStages",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.J}});Object.defineProperty(exports,"withPhases",{enumerable:true,get:function(){return chunkVXOZIP77_cjs.m}});//# sourceMappingURL=index.cjs.map
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,4 +1,4 @@
1
- import { G as Gate, a as Budget, p as GateRequirement, W as WorkflowState, q as Phase, l as WorkItem, S as Stage, R as Role, g as Rule, n as CeremonyInput, r as PendingHuman, M as Methodology, f as Ceremony, k as CoreTerm } from '../types-BScHXlRx.cjs';
1
+ import { G as Gate, a as Budget, p as GateRequirement, W as WorkflowState, q as Phase, l as WorkItem, S as Stage, R as Role, g as Rule, n as CeremonyInput, r as PendingHuman, M as Methodology, f as Ceremony, k as CoreTerm } from '../types-DjePDfms.cjs';
2
2
 
3
3
  interface WaterfallPhaseConfig {
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import { G as Gate, a as Budget, p as GateRequirement, W as WorkflowState, q as Phase, l as WorkItem, S as Stage, R as Role, g as Rule, n as CeremonyInput, r as PendingHuman, M as Methodology, f as Ceremony, k as CoreTerm } from '../types-BScHXlRx.js';
1
+ import { G as Gate, a as Budget, p as GateRequirement, W as WorkflowState, q as Phase, l as WorkItem, S as Stage, R as Role, g as Rule, n as CeremonyInput, r as PendingHuman, M as Methodology, f as Ceremony, k as CoreTerm } from '../types-DjePDfms.js';
2
2
 
3
3
  interface WaterfallPhaseConfig {
4
4
  id: string;
@@ -1,2 +1,2 @@
1
- export{e as CHANGE_GATE,b as DEFAULT_DELIVERABLES,c as DEFAULT_DELIVER_BY,a as DEFAULT_PHASE_IDS,k as DONE,d as GATE_ID,j as REVIEW,K as WATERFALL_VOCABULARY,i as WORK,z as approveChange,x as baselinePhase,g as configOf,s as currentPhase,f as defaultPhases,L as deliverRoleFor,o as getPhase,t as isFrozen,q as itemsInPhase,w as lastToPhase,v as missingDeliverables,C as missingTraces,r as openPhase,n as phaseIndex,p as phaseOf,M as phaseReport,l as phasesOf,u as producedKinds,A as rejectChange,y as reopenPhases,B as traceabilityMatrix,h as validateWaterfallConfig,D as wantPhase,N as waterfall,F as waterfallAfterDecide,E as waterfallCeremonies,G as waterfallMetrics,H as waterfallRoles,I as waterfallRules,J as waterfallStages,m as withPhases}from'../chunk-SYLO7FUL.mjs';import'../chunk-FTS75UIU.mjs';import'../chunk-NDCQTRIV.mjs';import'../chunk-6P3OKXSK.mjs';import'../chunk-2FRRD6A3.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{e as CHANGE_GATE,b as DEFAULT_DELIVERABLES,c as DEFAULT_DELIVER_BY,a as DEFAULT_PHASE_IDS,k as DONE,d as GATE_ID,j as REVIEW,K as WATERFALL_VOCABULARY,i as WORK,z as approveChange,x as baselinePhase,g as configOf,s as currentPhase,f as defaultPhases,L as deliverRoleFor,o as getPhase,t as isFrozen,q as itemsInPhase,w as lastToPhase,v as missingDeliverables,C as missingTraces,r as openPhase,n as phaseIndex,p as phaseOf,M as phaseReport,l as phasesOf,u as producedKinds,A as rejectChange,y as reopenPhases,B as traceabilityMatrix,h as validateWaterfallConfig,D as wantPhase,N as waterfall,F as waterfallAfterDecide,E as waterfallCeremonies,G as waterfallMetrics,H as waterfallRoles,I as waterfallRules,J as waterfallStages,m as withPhases}from'../chunk-JNLWI4JM.mjs';import'../chunk-C4ISBUZR.mjs';import'../chunk-4HG6A3SF.mjs';import'../chunk-LIATP6LY.mjs';import'../chunk-UUWDQVIJ.mjs';import'../chunk-YS6CXERQ.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map