ddd-ts-kit 0.98.0 → 0.100.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 (1613) hide show
  1. package/CHANGELOG.md +231 -0
  2. package/README.fr.md +254 -63
  3. package/README.md +234 -65
  4. package/dist/acceptance/lock-acceptance.d.ts +2 -0
  5. package/dist/acceptance/lock-acceptance.d.ts.map +1 -1
  6. package/dist/acceptance/lock-acceptance.js +28 -8
  7. package/dist/acceptance/lock-acceptance.js.map +1 -1
  8. package/dist/acceptance/lock-in.d.ts +4 -0
  9. package/dist/acceptance/lock-in.d.ts.map +1 -0
  10. package/dist/acceptance/lock-in.js +45 -0
  11. package/dist/acceptance/lock-in.js.map +1 -0
  12. package/dist/acceptance/previous-lock-of.d.ts +32 -0
  13. package/dist/acceptance/previous-lock-of.d.ts.map +1 -0
  14. package/dist/acceptance/previous-lock-of.js +29 -0
  15. package/dist/acceptance/previous-lock-of.js.map +1 -0
  16. package/dist/acceptance/read-acceptance.js +13 -3
  17. package/dist/acceptance/read-acceptance.js.map +1 -1
  18. package/dist/acceptance/read-committed-lock.d.ts +28 -0
  19. package/dist/acceptance/read-committed-lock.d.ts.map +1 -0
  20. package/dist/acceptance/read-committed-lock.js +27 -0
  21. package/dist/acceptance/read-committed-lock.js.map +1 -0
  22. package/dist/acceptance/read-lock.d.ts.map +1 -1
  23. package/dist/acceptance/read-lock.js +2 -41
  24. package/dist/acceptance/read-lock.js.map +1 -1
  25. package/dist/affected/changed-paths.d.ts +2 -1
  26. package/dist/affected/changed-paths.d.ts.map +1 -1
  27. package/dist/affected/changed-paths.js +10 -6
  28. package/dist/affected/changed-paths.js.map +1 -1
  29. package/dist/affected/format-selection.d.ts.map +1 -1
  30. package/dist/affected/format-selection.js +2 -1
  31. package/dist/affected/format-selection.js.map +1 -1
  32. package/dist/affected/reach-of.d.ts.map +1 -1
  33. package/dist/affected/reach-of.js +2 -1
  34. package/dist/affected/reach-of.js.map +1 -1
  35. package/dist/affected/run-affected.d.ts.map +1 -1
  36. package/dist/affected/run-affected.js +0 -1
  37. package/dist/affected/run-affected.js.map +1 -1
  38. package/dist/check/authz/permission-sets.d.ts +1 -1
  39. package/dist/check/authz/permission-sets.d.ts.map +1 -1
  40. package/dist/check/authz/permission-sets.js.map +1 -1
  41. package/dist/check/canonical/stray-entry.d.ts.map +1 -1
  42. package/dist/check/canonical/stray-entry.js +2 -1
  43. package/dist/check/canonical/stray-entry.js.map +1 -1
  44. package/dist/check/commands/changed-files.d.ts +5 -5
  45. package/dist/check/commands/changed-files.d.ts.map +1 -1
  46. package/dist/check/commands/changed-files.js +8 -7
  47. package/dist/check/commands/changed-files.js.map +1 -1
  48. package/dist/check/commands/check-command.d.ts.map +1 -1
  49. package/dist/check/commands/check-command.js +5 -2
  50. package/dist/check/commands/check-command.js.map +1 -1
  51. package/dist/check/commands/check-file-command.js +2 -1
  52. package/dist/check/commands/check-file-command.js.map +1 -1
  53. package/dist/check/commands/explain-command.d.ts.map +1 -1
  54. package/dist/check/commands/explain-command.js +3 -2
  55. package/dist/check/commands/explain-command.js.map +1 -1
  56. package/dist/check/commands/is-reported-since.d.ts +8 -0
  57. package/dist/check/commands/is-reported-since.d.ts.map +1 -0
  58. package/dist/check/commands/is-reported-since.js +9 -0
  59. package/dist/check/commands/is-reported-since.js.map +1 -0
  60. package/dist/check/commands/rules-command.d.ts.map +1 -1
  61. package/dist/check/commands/rules-command.js +5 -2
  62. package/dist/check/commands/rules-command.js.map +1 -1
  63. package/dist/check/commands/self-check.d.ts.map +1 -1
  64. package/dist/check/commands/self-check.js +2 -1
  65. package/dist/check/commands/self-check.js.map +1 -1
  66. package/dist/check/configuration/config-inspection.d.ts +2 -0
  67. package/dist/check/configuration/config-inspection.d.ts.map +1 -1
  68. package/dist/check/configuration/config-inspection.js +9 -3
  69. package/dist/check/configuration/config-inspection.js.map +1 -1
  70. package/dist/check/configuration/leaving-directories.d.ts +7 -0
  71. package/dist/check/configuration/leaving-directories.d.ts.map +1 -0
  72. package/dist/check/configuration/leaving-directories.js +13 -0
  73. package/dist/check/configuration/leaving-directories.js.map +1 -0
  74. package/dist/check/configuration/unknown-keys.d.ts +8 -0
  75. package/dist/check/configuration/unknown-keys.d.ts.map +1 -0
  76. package/dist/check/configuration/unknown-keys.js +84 -0
  77. package/dist/check/configuration/unknown-keys.js.map +1 -0
  78. package/dist/check/engine/format-check.d.ts.map +1 -1
  79. package/dist/check/engine/format-check.js +3 -2
  80. package/dist/check/engine/format-check.js.map +1 -1
  81. package/dist/check/explain/layer-docs.js +1 -1
  82. package/dist/check/explain/layer-docs.js.map +1 -1
  83. package/dist/check/explain/privacy-docs.js +1 -1
  84. package/dist/check/explain/privacy-docs.js.map +1 -1
  85. package/dist/check/fixtures/layer-fixtures.d.ts.map +1 -1
  86. package/dist/check/fixtures/layer-fixtures.js +47 -1
  87. package/dist/check/fixtures/layer-fixtures.js.map +1 -1
  88. package/dist/check/fixtures/privacy-fixtures.d.ts.map +1 -1
  89. package/dist/check/fixtures/privacy-fixtures.js +17 -0
  90. package/dist/check/fixtures/privacy-fixtures.js.map +1 -1
  91. package/dist/check/model/finding.d.ts +6 -0
  92. package/dist/check/model/finding.d.ts.map +1 -1
  93. package/dist/check/model/report.d.ts +2 -0
  94. package/dist/check/model/report.d.ts.map +1 -1
  95. package/dist/check/model/violation.d.ts +2 -0
  96. package/dist/check/model/violation.d.ts.map +1 -1
  97. package/dist/check/project/load-project.d.ts.map +1 -1
  98. package/dist/check/project/load-project.js +2 -1
  99. package/dist/check/project/load-project.js.map +1 -1
  100. package/dist/check/rules/authz-declared.js +17 -7
  101. package/dist/check/rules/authz-declared.js.map +1 -1
  102. package/dist/check/rules/authz-policy-asked.d.ts.map +1 -1
  103. package/dist/check/rules/authz-policy-asked.js +5 -4
  104. package/dist/check/rules/authz-policy-asked.js.map +1 -1
  105. package/dist/check/rules/config-valid.d.ts.map +1 -1
  106. package/dist/check/rules/config-valid.js +7 -2
  107. package/dist/check/rules/config-valid.js.map +1 -1
  108. package/dist/check/rules/context-declared-relationship.d.ts.map +1 -1
  109. package/dist/check/rules/context-declared-relationship.js +2 -1
  110. package/dist/check/rules/context-declared-relationship.js.map +1 -1
  111. package/dist/check/rules/context-no-cycle.d.ts.map +1 -1
  112. package/dist/check/rules/context-no-cycle.js +2 -1
  113. package/dist/check/rules/context-no-cycle.js.map +1 -1
  114. package/dist/check/rules/declarations-barrel-current.d.ts.map +1 -1
  115. package/dist/check/rules/declarations-barrel-current.js +2 -1
  116. package/dist/check/rules/declarations-barrel-current.js.map +1 -1
  117. package/dist/check/rules/declarations-port-adapter-wired.d.ts.map +1 -1
  118. package/dist/check/rules/declarations-port-adapter-wired.js +11 -2
  119. package/dist/check/rules/declarations-port-adapter-wired.js.map +1 -1
  120. package/dist/check/rules/events-consumer-idempotent.js +13 -3
  121. package/dist/check/rules/events-consumer-idempotent.js.map +1 -1
  122. package/dist/check/rules/layer-application-inward.d.ts.map +1 -1
  123. package/dist/check/rules/layer-application-inward.js +11 -2
  124. package/dist/check/rules/layer-application-inward.js.map +1 -1
  125. package/dist/check/rules/nest-controllers-current.d.ts.map +1 -1
  126. package/dist/check/rules/nest-controllers-current.js +2 -1
  127. package/dist/check/rules/nest-controllers-current.js.map +1 -1
  128. package/dist/check/rules/privacy-declared-field.d.ts +3 -1
  129. package/dist/check/rules/privacy-declared-field.d.ts.map +1 -1
  130. package/dist/check/rules/privacy-declared-field.js +10 -2
  131. package/dist/check/rules/privacy-declared-field.js.map +1 -1
  132. package/dist/check/rules/tree-context-doc.d.ts.map +1 -1
  133. package/dist/check/rules/tree-context-doc.js +2 -1
  134. package/dist/check/rules/tree-context-doc.js.map +1 -1
  135. package/dist/check/scheduling/is-background-job-file.d.ts +4 -0
  136. package/dist/check/scheduling/is-background-job-file.d.ts.map +1 -0
  137. package/dist/check/scheduling/is-background-job-file.js +8 -0
  138. package/dist/check/scheduling/is-background-job-file.js.map +1 -0
  139. package/dist/check/scheduling/job-classes.d.ts.map +1 -1
  140. package/dist/check/scheduling/job-classes.js +1 -7
  141. package/dist/check/scheduling/job-classes.js.map +1 -1
  142. package/dist/check/support/reporter.d.ts.map +1 -1
  143. package/dist/check/support/reporter.js +9 -1
  144. package/dist/check/support/reporter.js.map +1 -1
  145. package/dist/check/support/to-violations.js +1 -1
  146. package/dist/check/support/to-violations.js.map +1 -1
  147. package/dist/citations/ref-notes.js +7 -2
  148. package/dist/citations/ref-notes.js.map +1 -1
  149. package/dist/citations/removals-since.d.ts +2 -1
  150. package/dist/citations/removals-since.d.ts.map +1 -1
  151. package/dist/citations/removals-since.js +3 -2
  152. package/dist/citations/removals-since.js.map +1 -1
  153. package/dist/citations/stale-names-at.d.ts +6 -1
  154. package/dist/citations/stale-names-at.d.ts.map +1 -1
  155. package/dist/citations/stale-names-at.js +14 -6
  156. package/dist/citations/stale-names-at.js.map +1 -1
  157. package/dist/commands/acceptance.d.ts.map +1 -1
  158. package/dist/commands/acceptance.js +4 -4
  159. package/dist/commands/acceptance.js.map +1 -1
  160. package/dist/commands/affected.d.ts +4 -1
  161. package/dist/commands/affected.d.ts.map +1 -1
  162. package/dist/commands/affected.js +14 -2
  163. package/dist/commands/affected.js.map +1 -1
  164. package/dist/commands/arguments-error.d.ts +5 -0
  165. package/dist/commands/arguments-error.d.ts.map +1 -0
  166. package/dist/commands/arguments-error.js +5 -0
  167. package/dist/commands/arguments-error.js.map +1 -0
  168. package/dist/commands/arguments.js +2 -2
  169. package/dist/commands/arguments.js.map +1 -1
  170. package/dist/commands/build-aliases.d.ts.map +1 -1
  171. package/dist/commands/build-aliases.js +2 -1
  172. package/dist/commands/build-aliases.js.map +1 -1
  173. package/dist/commands/cited.d.ts.map +1 -1
  174. package/dist/commands/cited.js +8 -11
  175. package/dist/commands/cited.js.map +1 -1
  176. package/dist/commands/commit-size.d.ts.map +1 -1
  177. package/dist/commands/commit-size.js +2 -1
  178. package/dist/commands/commit-size.js.map +1 -1
  179. package/dist/commands/context-layout.d.ts.map +1 -1
  180. package/dist/commands/context-layout.js +6 -4
  181. package/dist/commands/context-layout.js.map +1 -1
  182. package/dist/commands/controllers.d.ts.map +1 -1
  183. package/dist/commands/controllers.js +4 -2
  184. package/dist/commands/controllers.js.map +1 -1
  185. package/dist/commands/depcruise-config.d.ts.map +1 -1
  186. package/dist/commands/depcruise-config.js +5 -3
  187. package/dist/commands/depcruise-config.js.map +1 -1
  188. package/dist/commands/describe.d.ts.map +1 -1
  189. package/dist/commands/describe.js +2 -1
  190. package/dist/commands/describe.js.map +1 -1
  191. package/dist/commands/digest.d.ts +8 -0
  192. package/dist/commands/digest.d.ts.map +1 -0
  193. package/dist/commands/digest.js +23 -0
  194. package/dist/commands/digest.js.map +1 -0
  195. package/dist/commands/docs.d.ts.map +1 -1
  196. package/dist/commands/docs.js +4 -2
  197. package/dist/commands/docs.js.map +1 -1
  198. package/dist/commands/doctor.d.ts.map +1 -1
  199. package/dist/commands/doctor.js +2 -1
  200. package/dist/commands/doctor.js.map +1 -1
  201. package/dist/commands/drizzle-generate.d.ts.map +1 -1
  202. package/dist/commands/drizzle-generate.js +2 -2
  203. package/dist/commands/drizzle-generate.js.map +1 -1
  204. package/dist/commands/error-factories.d.ts.map +1 -1
  205. package/dist/commands/error-factories.js +2 -1
  206. package/dist/commands/error-factories.js.map +1 -1
  207. package/dist/commands/format-context.d.ts +1 -1
  208. package/dist/commands/format-context.d.ts.map +1 -1
  209. package/dist/commands/format-context.js +16 -16
  210. package/dist/commands/format-context.js.map +1 -1
  211. package/dist/commands/generate.d.ts +6 -3
  212. package/dist/commands/generate.d.ts.map +1 -1
  213. package/dist/commands/generate.js +32 -68
  214. package/dist/commands/generate.js.map +1 -1
  215. package/dist/commands/init.d.ts.map +1 -1
  216. package/dist/commands/init.js +8 -1
  217. package/dist/commands/init.js.map +1 -1
  218. package/dist/commands/known-context.d.ts.map +1 -1
  219. package/dist/commands/known-context.js +2 -1
  220. package/dist/commands/known-context.js.map +1 -1
  221. package/dist/commands/list.d.ts.map +1 -1
  222. package/dist/commands/list.js +4 -3
  223. package/dist/commands/list.js.map +1 -1
  224. package/dist/commands/measures.d.ts.map +1 -1
  225. package/dist/commands/measures.js +2 -1
  226. package/dist/commands/measures.js.map +1 -1
  227. package/dist/commands/merge-trunk.d.ts.map +1 -1
  228. package/dist/commands/merge-trunk.js +3 -2
  229. package/dist/commands/merge-trunk.js.map +1 -1
  230. package/dist/commands/move-to-module.d.ts.map +1 -1
  231. package/dist/commands/move-to-module.js +9 -5
  232. package/dist/commands/move-to-module.js.map +1 -1
  233. package/dist/commands/mutation.d.ts.map +1 -1
  234. package/dist/commands/mutation.js +5 -2
  235. package/dist/commands/mutation.js.map +1 -1
  236. package/dist/commands/plan-waves.d.ts +3 -2
  237. package/dist/commands/plan-waves.d.ts.map +1 -1
  238. package/dist/commands/plan-waves.js +15 -19
  239. package/dist/commands/plan-waves.js.map +1 -1
  240. package/dist/commands/platform-folders.d.ts.map +1 -1
  241. package/dist/commands/platform-folders.js +2 -1
  242. package/dist/commands/platform-folders.js.map +1 -1
  243. package/dist/commands/print-report.d.ts +1 -1
  244. package/dist/commands/print-report.d.ts.map +1 -1
  245. package/dist/commands/print-report.js +15 -6
  246. package/dist/commands/print-report.js.map +1 -1
  247. package/dist/commands/prisma-generate.d.ts +2 -1
  248. package/dist/commands/prisma-generate.d.ts.map +1 -1
  249. package/dist/commands/prisma-generate.js +14 -7
  250. package/dist/commands/prisma-generate.js.map +1 -1
  251. package/dist/commands/sdk.d.ts.map +1 -1
  252. package/dist/commands/sdk.js +3 -4
  253. package/dist/commands/sdk.js.map +1 -1
  254. package/dist/commands/status.d.ts.map +1 -1
  255. package/dist/commands/status.js +3 -2
  256. package/dist/commands/status.js.map +1 -1
  257. package/dist/commands/stories.d.ts.map +1 -1
  258. package/dist/commands/stories.js +2 -1
  259. package/dist/commands/stories.js.map +1 -1
  260. package/dist/commands/story-check.d.ts.map +1 -1
  261. package/dist/commands/story-check.js +2 -1
  262. package/dist/commands/story-check.js.map +1 -1
  263. package/dist/commands/story-scope.d.ts.map +1 -1
  264. package/dist/commands/story-scope.js +2 -1
  265. package/dist/commands/story-scope.js.map +1 -1
  266. package/dist/commands/story.d.ts.map +1 -1
  267. package/dist/commands/story.js +2 -1
  268. package/dist/commands/story.js.map +1 -1
  269. package/dist/commands/todo.d.ts +4 -1
  270. package/dist/commands/todo.d.ts.map +1 -1
  271. package/dist/commands/todo.js +12 -6
  272. package/dist/commands/todo.js.map +1 -1
  273. package/dist/commands/typeorm-generate.d.ts +3 -1
  274. package/dist/commands/typeorm-generate.d.ts.map +1 -1
  275. package/dist/commands/typeorm-generate.js +36 -7
  276. package/dist/commands/typeorm-generate.js.map +1 -1
  277. package/dist/commands/value-objects.d.ts.map +1 -1
  278. package/dist/commands/value-objects.js +2 -1
  279. package/dist/commands/value-objects.js.map +1 -1
  280. package/dist/commands/verify-merge.d.ts.map +1 -1
  281. package/dist/commands/verify-merge.js +2 -1
  282. package/dist/commands/verify-merge.js.map +1 -1
  283. package/dist/commands/verify-slice.d.ts.map +1 -1
  284. package/dist/commands/verify-slice.js +5 -2
  285. package/dist/commands/verify-slice.js.map +1 -1
  286. package/dist/commands/worker-scope.d.ts.map +1 -1
  287. package/dist/commands/worker-scope.js +3 -2
  288. package/dist/commands/worker-scope.js.map +1 -1
  289. package/dist/commands/worktree.d.ts.map +1 -1
  290. package/dist/commands/worktree.js +2 -1
  291. package/dist/commands/worktree.js.map +1 -1
  292. package/dist/commit/commit-of.d.ts +6 -0
  293. package/dist/commit/commit-of.d.ts.map +1 -0
  294. package/dist/commit/commit-of.js +9 -0
  295. package/dist/commit/commit-of.js.map +1 -0
  296. package/dist/commit/known-commit.d.ts +6 -0
  297. package/dist/commit/known-commit.d.ts.map +1 -0
  298. package/dist/commit/known-commit.js +14 -0
  299. package/dist/commit/known-commit.js.map +1 -0
  300. package/dist/commit/run-git.d.ts +2 -1
  301. package/dist/commit/run-git.d.ts.map +1 -1
  302. package/dist/commit/run-git.js +3 -1
  303. package/dist/commit/run-git.js.map +1 -1
  304. package/dist/commit/worker-scope-file.d.ts.map +1 -1
  305. package/dist/commit/worker-scope-file.js +2 -1
  306. package/dist/commit/worker-scope-file.js.map +1 -1
  307. package/dist/config/config.d.ts +2 -0
  308. package/dist/config/config.d.ts.map +1 -1
  309. package/dist/config/default-allowed-packages.d.ts.map +1 -1
  310. package/dist/config/default-allowed-packages.js +2 -14
  311. package/dist/config/default-allowed-packages.js.map +1 -1
  312. package/dist/config/derived-config-keys.d.ts +6 -0
  313. package/dist/config/derived-config-keys.d.ts.map +1 -0
  314. package/dist/config/derived-config-keys.js +6 -0
  315. package/dist/config/derived-config-keys.js.map +1 -0
  316. package/dist/config/directories-of.d.ts +4 -0
  317. package/dist/config/directories-of.d.ts.map +1 -0
  318. package/dist/config/directories-of.js +13 -0
  319. package/dist/config/directories-of.js.map +1 -0
  320. package/dist/config/index.d.ts +7 -0
  321. package/dist/config/index.d.ts.map +1 -1
  322. package/dist/config/index.js +7 -0
  323. package/dist/config/index.js.map +1 -1
  324. package/dist/config/inside-defaults-of.d.ts +4 -0
  325. package/dist/config/inside-defaults-of.d.ts.map +1 -0
  326. package/dist/config/inside-defaults-of.js +9 -0
  327. package/dist/config/inside-defaults-of.js.map +1 -0
  328. package/dist/config/is-control-plane.d.ts.map +1 -1
  329. package/dist/config/is-control-plane.js +2 -1
  330. package/dist/config/is-control-plane.js.map +1 -1
  331. package/dist/config/known-config-keys.d.ts +7 -0
  332. package/dist/config/known-config-keys.d.ts.map +1 -0
  333. package/dist/config/known-config-keys.js +41 -0
  334. package/dist/config/known-config-keys.js.map +1 -0
  335. package/dist/config/known-stack-keys.d.ts +3 -0
  336. package/dist/config/known-stack-keys.d.ts.map +1 -0
  337. package/dist/config/known-stack-keys.js +39 -0
  338. package/dist/config/known-stack-keys.js.map +1 -0
  339. package/dist/config/leaves-project.d.ts +3 -0
  340. package/dist/config/leaves-project.d.ts.map +1 -0
  341. package/dist/config/leaves-project.js +11 -0
  342. package/dist/config/leaves-project.js.map +1 -0
  343. package/dist/config/leaving-directory-problem.d.ts +7 -0
  344. package/dist/config/leaving-directory-problem.d.ts.map +1 -0
  345. package/dist/config/leaving-directory-problem.js +8 -0
  346. package/dist/config/leaving-directory-problem.js.map +1 -0
  347. package/dist/config/normalized-directory.d.ts +3 -0
  348. package/dist/config/normalized-directory.d.ts.map +1 -0
  349. package/dist/config/normalized-directory.js +7 -0
  350. package/dist/config/normalized-directory.js.map +1 -0
  351. package/dist/config/parse-config.d.ts +8 -2
  352. package/dist/config/parse-config.d.ts.map +1 -1
  353. package/dist/config/parse-config.js +31 -8
  354. package/dist/config/parse-config.js.map +1 -1
  355. package/dist/config/payload-schema-packages-of.d.ts +7 -0
  356. package/dist/config/payload-schema-packages-of.d.ts.map +1 -0
  357. package/dist/config/payload-schema-packages-of.js +10 -0
  358. package/dist/config/payload-schema-packages-of.js.map +1 -0
  359. package/dist/config/project-directories.d.ts +4 -0
  360. package/dist/config/project-directories.d.ts.map +1 -0
  361. package/dist/config/project-directories.js +3 -0
  362. package/dist/config/project-directories.js.map +1 -0
  363. package/dist/config/read-config.d.ts +2 -1
  364. package/dist/config/read-config.d.ts.map +1 -1
  365. package/dist/config/read-config.js +2 -2
  366. package/dist/config/read-config.js.map +1 -1
  367. package/dist/config/schema-libraries-of.d.ts +6 -0
  368. package/dist/config/schema-libraries-of.d.ts.map +1 -0
  369. package/dist/config/schema-libraries-of.js +18 -0
  370. package/dist/config/schema-libraries-of.js.map +1 -0
  371. package/dist/config/values/nearest-of.d.ts +7 -0
  372. package/dist/config/values/nearest-of.d.ts.map +1 -0
  373. package/dist/config/values/nearest-of.js +34 -0
  374. package/dist/config/values/nearest-of.js.map +1 -0
  375. package/dist/config/values/own-entry.d.ts +6 -0
  376. package/dist/config/values/own-entry.d.ts.map +1 -0
  377. package/dist/config/values/own-entry.js +8 -0
  378. package/dist/config/values/own-entry.js.map +1 -0
  379. package/dist/controllers/finish-migration.js +7 -2
  380. package/dist/controllers/finish-migration.js.map +1 -1
  381. package/dist/controllers/migrate-context.js +17 -5
  382. package/dist/controllers/migrate-context.js.map +1 -1
  383. package/dist/depcruise/context-rules.d.ts.map +1 -1
  384. package/dist/depcruise/context-rules.js +2 -1
  385. package/dist/depcruise/context-rules.js.map +1 -1
  386. package/dist/depcruise/layer-rules.d.ts.map +1 -1
  387. package/dist/depcruise/layer-rules.js +38 -8
  388. package/dist/depcruise/layer-rules.js.map +1 -1
  389. package/dist/derived/behaviour-pages.d.ts +3 -0
  390. package/dist/derived/behaviour-pages.d.ts.map +1 -0
  391. package/dist/derived/behaviour-pages.js +3 -0
  392. package/dist/derived/behaviour-pages.js.map +1 -0
  393. package/dist/derived/derived-file-kind.d.ts +19 -0
  394. package/dist/derived/derived-file-kind.d.ts.map +1 -0
  395. package/dist/derived/derived-file-kind.js +2 -0
  396. package/dist/derived/derived-file-kind.js.map +1 -0
  397. package/dist/derived/derived-files.d.ts +9 -0
  398. package/dist/derived/derived-files.d.ts.map +1 -0
  399. package/dist/derived/derived-files.js +71 -0
  400. package/dist/derived/derived-files.js.map +1 -0
  401. package/dist/derived/derived-tree.d.ts +9 -0
  402. package/dist/derived/derived-tree.d.ts.map +1 -0
  403. package/dist/derived/derived-tree.js +2 -0
  404. package/dist/derived/derived-tree.js.map +1 -0
  405. package/dist/derived/is-derived.d.ts +7 -11
  406. package/dist/derived/is-derived.d.ts.map +1 -1
  407. package/dist/derived/is-derived.js +8 -16
  408. package/dist/derived/is-derived.js.map +1 -1
  409. package/dist/digest/branch-points.d.ts +14 -0
  410. package/dist/digest/branch-points.d.ts.map +1 -0
  411. package/dist/digest/branch-points.js +32 -0
  412. package/dist/digest/branch-points.js.map +1 -0
  413. package/dist/digest/changed-path.d.ts +7 -0
  414. package/dist/digest/changed-path.d.ts.map +1 -0
  415. package/dist/digest/changed-path.js +2 -0
  416. package/dist/digest/changed-path.js.map +1 -0
  417. package/dist/digest/changed-paths.d.ts +8 -0
  418. package/dist/digest/changed-paths.d.ts.map +1 -0
  419. package/dist/digest/changed-paths.js +35 -0
  420. package/dist/digest/changed-paths.js.map +1 -0
  421. package/dist/digest/changes-of.d.ts +8 -0
  422. package/dist/digest/changes-of.d.ts.map +1 -0
  423. package/dist/digest/changes-of.js +20 -0
  424. package/dist/digest/changes-of.js.map +1 -0
  425. package/dist/digest/context-changes.d.ts +9 -0
  426. package/dist/digest/context-changes.d.ts.map +1 -0
  427. package/dist/digest/context-changes.js +60 -0
  428. package/dist/digest/context-changes.js.map +1 -0
  429. package/dist/digest/context-entries.d.ts +14 -0
  430. package/dist/digest/context-entries.d.ts.map +1 -0
  431. package/dist/digest/context-entries.js +18 -0
  432. package/dist/digest/context-entries.js.map +1 -0
  433. package/dist/digest/digest.d.ts +90 -0
  434. package/dist/digest/digest.d.ts.map +1 -0
  435. package/dist/digest/digest.js +2 -0
  436. package/dist/digest/digest.js.map +1 -0
  437. package/dist/digest/files-to-read.d.ts +16 -0
  438. package/dist/digest/files-to-read.d.ts.map +1 -0
  439. package/dist/digest/files-to-read.js +33 -0
  440. package/dist/digest/files-to-read.js.map +1 -0
  441. package/dist/digest/format-digest.d.ts +8 -0
  442. package/dist/digest/format-digest.d.ts.map +1 -0
  443. package/dist/digest/format-digest.js +105 -0
  444. package/dist/digest/format-digest.js.map +1 -0
  445. package/dist/digest/grant-sources.d.ts +22 -0
  446. package/dist/digest/grant-sources.d.ts.map +1 -0
  447. package/dist/digest/grant-sources.js +47 -0
  448. package/dist/digest/grant-sources.js.map +1 -0
  449. package/dist/digest/grants-of.d.ts +19 -0
  450. package/dist/digest/grants-of.d.ts.map +1 -0
  451. package/dist/digest/grants-of.js +35 -0
  452. package/dist/digest/grants-of.js.map +1 -0
  453. package/dist/digest/index.d.ts +3 -0
  454. package/dist/digest/index.d.ts.map +1 -0
  455. package/dist/digest/index.js +3 -0
  456. package/dist/digest/index.js.map +1 -0
  457. package/dist/digest/new-spec-titles.d.ts +11 -0
  458. package/dist/digest/new-spec-titles.d.ts.map +1 -0
  459. package/dist/digest/new-spec-titles.js +38 -0
  460. package/dist/digest/new-spec-titles.js.map +1 -0
  461. package/dist/digest/project-tree.d.ts +16 -0
  462. package/dist/digest/project-tree.d.ts.map +1 -0
  463. package/dist/digest/project-tree.js +2 -0
  464. package/dist/digest/project-tree.js.map +1 -0
  465. package/dist/digest/read-digest.d.ts +11 -0
  466. package/dist/digest/read-digest.d.ts.map +1 -0
  467. package/dist/digest/read-digest.js +52 -0
  468. package/dist/digest/read-digest.js.map +1 -0
  469. package/dist/digest/reading-part.d.ts +10 -0
  470. package/dist/digest/reading-part.d.ts.map +1 -0
  471. package/dist/digest/reading-part.js +40 -0
  472. package/dist/digest/reading-part.js.map +1 -0
  473. package/dist/digest/tree-at.d.ts +9 -0
  474. package/dist/digest/tree-at.d.ts.map +1 -0
  475. package/dist/digest/tree-at.js +77 -0
  476. package/dist/digest/tree-at.js.map +1 -0
  477. package/dist/digest/without-generated-sections.d.ts +3 -0
  478. package/dist/digest/without-generated-sections.d.ts.map +1 -0
  479. package/dist/digest/without-generated-sections.js +21 -0
  480. package/dist/digest/without-generated-sections.js.map +1 -0
  481. package/dist/docs/all-rules.d.ts +4 -0
  482. package/dist/docs/all-rules.d.ts.map +1 -0
  483. package/dist/docs/all-rules.js +5 -0
  484. package/dist/docs/all-rules.js.map +1 -0
  485. package/dist/docs/behaviour-page.d.ts +6 -2
  486. package/dist/docs/behaviour-page.d.ts.map +1 -1
  487. package/dist/docs/behaviour-page.js +65 -57
  488. package/dist/docs/behaviour-page.js.map +1 -1
  489. package/dist/docs/cited-rows.d.ts +11 -0
  490. package/dist/docs/cited-rows.d.ts.map +1 -0
  491. package/dist/docs/cited-rows.js +13 -0
  492. package/dist/docs/cited-rows.js.map +1 -0
  493. package/dist/docs/context-sections.d.ts +18 -0
  494. package/dist/docs/context-sections.d.ts.map +1 -0
  495. package/dist/docs/context-sections.js +112 -0
  496. package/dist/docs/context-sections.js.map +1 -0
  497. package/dist/docs/counts-of.d.ts +3 -1
  498. package/dist/docs/counts-of.d.ts.map +1 -1
  499. package/dist/docs/counts-of.js +8 -8
  500. package/dist/docs/counts-of.js.map +1 -1
  501. package/dist/docs/describe-on-disk.d.ts +7 -0
  502. package/dist/docs/describe-on-disk.d.ts.map +1 -0
  503. package/dist/docs/describe-on-disk.js +6 -0
  504. package/dist/docs/describe-on-disk.js.map +1 -0
  505. package/dist/docs/is-empty-rules.d.ts +4 -0
  506. package/dist/docs/is-empty-rules.d.ts.map +1 -0
  507. package/dist/docs/is-empty-rules.js +5 -0
  508. package/dist/docs/is-empty-rules.js.map +1 -0
  509. package/dist/docs/is-generated-title.d.ts +7 -0
  510. package/dist/docs/is-generated-title.d.ts.map +1 -0
  511. package/dist/docs/is-generated-title.js +96 -0
  512. package/dist/docs/is-generated-title.js.map +1 -0
  513. package/dist/docs/joined-specs.d.ts +23 -0
  514. package/dist/docs/joined-specs.d.ts.map +1 -0
  515. package/dist/docs/joined-specs.js +95 -0
  516. package/dist/docs/joined-specs.js.map +1 -0
  517. package/dist/docs/kebab-of-use-case.d.ts +4 -0
  518. package/dist/docs/kebab-of-use-case.d.ts.map +1 -0
  519. package/dist/docs/kebab-of-use-case.js +6 -0
  520. package/dist/docs/kebab-of-use-case.js.map +1 -0
  521. package/dist/docs/page-section.d.ts +17 -3
  522. package/dist/docs/page-section.d.ts.map +1 -1
  523. package/dist/docs/policy-owners.d.ts +8 -0
  524. package/dist/docs/policy-owners.d.ts.map +1 -0
  525. package/dist/docs/policy-owners.js +13 -0
  526. package/dist/docs/policy-owners.js.map +1 -0
  527. package/dist/docs/read-context.d.ts.map +1 -1
  528. package/dist/docs/read-context.js +2 -1
  529. package/dist/docs/read-context.js.map +1 -1
  530. package/dist/docs/read-job-files.d.ts +16 -0
  531. package/dist/docs/read-job-files.d.ts.map +1 -0
  532. package/dist/docs/read-job-files.js +50 -0
  533. package/dist/docs/read-job-files.js.map +1 -0
  534. package/dist/docs/read-jobs.d.ts +2 -6
  535. package/dist/docs/read-jobs.d.ts.map +1 -1
  536. package/dist/docs/read-jobs.js +3 -45
  537. package/dist/docs/read-jobs.js.map +1 -1
  538. package/dist/docs/readable-title.d.ts +10 -0
  539. package/dist/docs/readable-title.d.ts.map +1 -0
  540. package/dist/docs/readable-title.js +38 -0
  541. package/dist/docs/readable-title.js.map +1 -0
  542. package/dist/docs/refresh-context-doc.d.ts +4 -2
  543. package/dist/docs/refresh-context-doc.d.ts.map +1 -1
  544. package/dist/docs/refresh-context-doc.js +12 -4
  545. package/dist/docs/refresh-context-doc.js.map +1 -1
  546. package/dist/docs/rules-where.d.ts +4 -0
  547. package/dist/docs/rules-where.d.ts.map +1 -0
  548. package/dist/docs/rules-where.js +12 -0
  549. package/dist/docs/rules-where.js.map +1 -0
  550. package/dist/docs/spec-heading.d.ts +3 -0
  551. package/dist/docs/spec-heading.d.ts.map +1 -0
  552. package/dist/docs/spec-heading.js +10 -0
  553. package/dist/docs/spec-heading.js.map +1 -0
  554. package/dist/docs/spec-of-page.d.ts +5 -0
  555. package/dist/docs/spec-of-page.d.ts.map +1 -0
  556. package/dist/docs/spec-of-page.js +14 -0
  557. package/dist/docs/spec-of-page.js.map +1 -0
  558. package/dist/docs/spec-roles.d.ts +9 -0
  559. package/dist/docs/spec-roles.d.ts.map +1 -0
  560. package/dist/docs/spec-roles.js +50 -0
  561. package/dist/docs/spec-roles.js.map +1 -0
  562. package/dist/docs/spec-subject.d.ts +15 -0
  563. package/dist/docs/spec-subject.d.ts.map +1 -0
  564. package/dist/docs/spec-subject.js +19 -0
  565. package/dist/docs/spec-subject.js.map +1 -0
  566. package/dist/docs/specs-by-directory.d.ts +7 -0
  567. package/dist/docs/specs-by-directory.d.ts.map +1 -0
  568. package/dist/docs/specs-by-directory.js +31 -0
  569. package/dist/docs/specs-by-directory.js.map +1 -0
  570. package/dist/docs/use-case-of-spec.d.ts +11 -0
  571. package/dist/docs/use-case-of-spec.d.ts.map +1 -0
  572. package/dist/docs/use-case-of-spec.js +40 -0
  573. package/dist/docs/use-case-of-spec.js.map +1 -0
  574. package/dist/docs/use-cases-of-context.d.ts +8 -0
  575. package/dist/docs/use-cases-of-context.d.ts.map +1 -0
  576. package/dist/docs/use-cases-of-context.js +2 -0
  577. package/dist/docs/use-cases-of-context.js.map +1 -0
  578. package/dist/docs/write-behaviour.d.ts +6 -5
  579. package/dist/docs/write-behaviour.d.ts.map +1 -1
  580. package/dist/docs/write-behaviour.js +37 -47
  581. package/dist/docs/write-behaviour.js.map +1 -1
  582. package/dist/docs/write-code-owners.d.ts.map +1 -1
  583. package/dist/docs/write-code-owners.js +3 -2
  584. package/dist/docs/write-code-owners.js.map +1 -1
  585. package/dist/docs/write-docs.d.ts.map +1 -1
  586. package/dist/docs/write-docs.js +4 -2
  587. package/dist/docs/write-docs.js.map +1 -1
  588. package/dist/doctor/format-diagnosis.js +2 -4
  589. package/dist/doctor/format-diagnosis.js.map +1 -1
  590. package/dist/generate/context-argument.d.ts +5 -0
  591. package/dist/generate/context-argument.d.ts.map +1 -0
  592. package/dist/generate/context-argument.js +9 -0
  593. package/dist/generate/context-argument.js.map +1 -0
  594. package/dist/generate/found-prerequisite.d.ts +7 -0
  595. package/dist/generate/found-prerequisite.d.ts.map +1 -0
  596. package/dist/generate/found-prerequisite.js +12 -0
  597. package/dist/generate/found-prerequisite.js.map +1 -0
  598. package/dist/generate/generate-arguments.d.ts +4 -0
  599. package/dist/generate/generate-arguments.d.ts.map +1 -0
  600. package/dist/generate/generate-arguments.js +12 -0
  601. package/dist/generate/generate-arguments.js.map +1 -0
  602. package/dist/generate/generate-options.d.ts +172 -0
  603. package/dist/generate/generate-options.d.ts.map +1 -0
  604. package/dist/generate/generate-options.js +57 -0
  605. package/dist/generate/generate-options.js.map +1 -0
  606. package/dist/generate/generator-probe.d.ts +19 -0
  607. package/dist/generate/generator-probe.d.ts.map +1 -0
  608. package/dist/generate/generator-probe.js +2 -0
  609. package/dist/generate/generator-probe.js.map +1 -0
  610. package/dist/generate/kind-help.d.ts +19 -0
  611. package/dist/generate/kind-help.d.ts.map +1 -0
  612. package/dist/generate/kind-help.js +18 -0
  613. package/dist/generate/kind-help.js.map +1 -0
  614. package/dist/generate/kind-in.d.ts +8 -0
  615. package/dist/generate/kind-in.d.ts.map +1 -0
  616. package/dist/generate/kind-in.js +29 -0
  617. package/dist/generate/kind-in.js.map +1 -0
  618. package/dist/generate/kind.d.ts +4 -1
  619. package/dist/generate/kind.d.ts.map +1 -1
  620. package/dist/generate/kinds/acl-kind.d.ts.map +1 -1
  621. package/dist/generate/kinds/acl-kind.js +3 -2
  622. package/dist/generate/kinds/acl-kind.js.map +1 -1
  623. package/dist/generate/kinds/aggregate-kind.d.ts.map +1 -1
  624. package/dist/generate/kinds/aggregate-kind.js +24 -13
  625. package/dist/generate/kinds/aggregate-kind.js.map +1 -1
  626. package/dist/generate/kinds/ask-policy-in-generated-use-case.js +2 -2
  627. package/dist/generate/kinds/ask-policy-in-generated-use-case.js.map +1 -1
  628. package/dist/generate/kinds/background/background-job-vars.d.ts.map +1 -1
  629. package/dist/generate/kinds/background/background-job-vars.js +33 -0
  630. package/dist/generate/kinds/background/background-job-vars.js.map +1 -1
  631. package/dist/generate/kinds/background/class-payload-schema.d.ts +5 -0
  632. package/dist/generate/kinds/background/class-payload-schema.d.ts.map +1 -0
  633. package/dist/generate/kinds/background/class-payload-schema.js +88 -0
  634. package/dist/generate/kinds/background/class-payload-schema.js.map +1 -0
  635. package/dist/generate/kinds/background/object-payload-schema.d.ts +7 -0
  636. package/dist/generate/kinds/background/object-payload-schema.d.ts.map +1 -0
  637. package/dist/generate/kinds/background/object-payload-schema.js +75 -0
  638. package/dist/generate/kinds/background/object-payload-schema.js.map +1 -0
  639. package/dist/generate/kinds/background/payload-field.d.ts +5 -0
  640. package/dist/generate/kinds/background/payload-field.d.ts.map +1 -1
  641. package/dist/generate/kinds/background/payload-field.js +7 -0
  642. package/dist/generate/kinds/background/payload-field.js.map +1 -1
  643. package/dist/generate/kinds/background/payload-of.d.ts +9 -0
  644. package/dist/generate/kinds/background/payload-of.d.ts.map +1 -0
  645. package/dist/generate/kinds/background/payload-of.js +2 -0
  646. package/dist/generate/kinds/background/payload-of.js.map +1 -0
  647. package/dist/generate/kinds/background/payload-schema-of.d.ts +10 -0
  648. package/dist/generate/kinds/background/payload-schema-of.d.ts.map +1 -0
  649. package/dist/generate/kinds/background/payload-schema-of.js +21 -0
  650. package/dist/generate/kinds/background/payload-schema-of.js.map +1 -0
  651. package/dist/generate/kinds/background/payload-schema.d.ts +16 -0
  652. package/dist/generate/kinds/background/payload-schema.d.ts.map +1 -0
  653. package/dist/generate/kinds/background/payload-schema.js +2 -0
  654. package/dist/generate/kinds/background/payload-schema.js.map +1 -0
  655. package/dist/generate/kinds/background/payload-shape.d.ts +19 -0
  656. package/dist/generate/kinds/background/payload-shape.d.ts.map +1 -0
  657. package/dist/generate/kinds/background/payload-shape.js +31 -0
  658. package/dist/generate/kinds/background/payload-shape.js.map +1 -0
  659. package/dist/generate/kinds/background/payload-texts.d.ts +12 -0
  660. package/dist/generate/kinds/background/payload-texts.d.ts.map +1 -0
  661. package/dist/generate/kinds/background/payload-texts.js +10 -0
  662. package/dist/generate/kinds/background/payload-texts.js.map +1 -0
  663. package/dist/generate/kinds/background/written-payload-schema.d.ts +11 -0
  664. package/dist/generate/kinds/background/written-payload-schema.d.ts.map +1 -0
  665. package/dist/generate/kinds/background/written-payload-schema.js +193 -0
  666. package/dist/generate/kinds/background/written-payload-schema.js.map +1 -0
  667. package/dist/generate/kinds/birth-names.d.ts +11 -0
  668. package/dist/generate/kinds/birth-names.d.ts.map +1 -0
  669. package/dist/generate/kinds/birth-names.js +17 -0
  670. package/dist/generate/kinds/birth-names.js.map +1 -0
  671. package/dist/generate/kinds/birth-of.d.ts +16 -0
  672. package/dist/generate/kinds/birth-of.d.ts.map +1 -0
  673. package/dist/generate/kinds/birth-of.js +26 -0
  674. package/dist/generate/kinds/birth-of.js.map +1 -0
  675. package/dist/generate/kinds/birth-span.d.ts +9 -0
  676. package/dist/generate/kinds/birth-span.d.ts.map +1 -0
  677. package/dist/generate/kinds/birth-span.js +39 -0
  678. package/dist/generate/kinds/birth-span.js.map +1 -0
  679. package/dist/generate/kinds/birth-vars.d.ts +8 -0
  680. package/dist/generate/kinds/birth-vars.d.ts.map +1 -0
  681. package/dist/generate/kinds/birth-vars.js +12 -0
  682. package/dist/generate/kinds/birth-vars.js.map +1 -0
  683. package/dist/generate/kinds/birth.d.ts +7 -0
  684. package/dist/generate/kinds/birth.d.ts.map +1 -0
  685. package/dist/generate/kinds/birth.js +2 -0
  686. package/dist/generate/kinds/birth.js.map +1 -0
  687. package/dist/generate/kinds/builder-kind.d.ts.map +1 -1
  688. package/dist/generate/kinds/builder-kind.js +43 -4
  689. package/dist/generate/kinds/builder-kind.js.map +1 -1
  690. package/dist/generate/kinds/command-context.d.ts +2 -2
  691. package/dist/generate/kinds/command-context.d.ts.map +1 -1
  692. package/dist/generate/kinds/command-context.js +12 -3
  693. package/dist/generate/kinds/command-context.js.map +1 -1
  694. package/dist/generate/kinds/command-kind.d.ts.map +1 -1
  695. package/dist/generate/kinds/command-kind.js +17 -10
  696. package/dist/generate/kinds/command-kind.js.map +1 -1
  697. package/dist/generate/kinds/context-kind.d.ts.map +1 -1
  698. package/dist/generate/kinds/context-kind.js +1 -0
  699. package/dist/generate/kinds/context-kind.js.map +1 -1
  700. package/dist/generate/kinds/context-request.d.ts +3 -0
  701. package/dist/generate/kinds/context-request.d.ts.map +1 -1
  702. package/dist/generate/kinds/e2e/jobs-sending.d.ts +4 -1
  703. package/dist/generate/kinds/e2e/jobs-sending.d.ts.map +1 -1
  704. package/dist/generate/kinds/e2e/jobs-sending.js +10 -4
  705. package/dist/generate/kinds/e2e/jobs-sending.js.map +1 -1
  706. package/dist/generate/kinds/e2e/reaction-of.d.ts.map +1 -1
  707. package/dist/generate/kinds/e2e/reaction-of.js +9 -4
  708. package/dist/generate/kinds/e2e/reaction-of.js.map +1 -1
  709. package/dist/generate/kinds/e2e-kind.js +6 -1
  710. package/dist/generate/kinds/e2e-kind.js.map +1 -1
  711. package/dist/generate/kinds/erasure-handler-kind.d.ts.map +1 -1
  712. package/dist/generate/kinds/erasure-handler-kind.js +6 -2
  713. package/dist/generate/kinds/erasure-handler-kind.js.map +1 -1
  714. package/dist/generate/kinds/factory-of.d.ts +3 -0
  715. package/dist/generate/kinds/factory-of.d.ts.map +1 -0
  716. package/dist/generate/kinds/factory-of.js +13 -0
  717. package/dist/generate/kinds/factory-of.js.map +1 -0
  718. package/dist/generate/kinds/file-upload-kind.d.ts.map +1 -1
  719. package/dist/generate/kinds/file-upload-kind.js +3 -2
  720. package/dist/generate/kinds/file-upload-kind.js.map +1 -1
  721. package/dist/generate/kinds/find-event-declaration.d.ts +4 -1
  722. package/dist/generate/kinds/find-event-declaration.d.ts.map +1 -1
  723. package/dist/generate/kinds/find-event-declaration.js +16 -7
  724. package/dist/generate/kinds/find-event-declaration.js.map +1 -1
  725. package/dist/generate/kinds/gateway-kind.d.ts.map +1 -1
  726. package/dist/generate/kinds/gateway-kind.js +3 -1
  727. package/dist/generate/kinds/gateway-kind.js.map +1 -1
  728. package/dist/generate/kinds/generate-context.d.ts.map +1 -1
  729. package/dist/generate/kinds/generate-context.js +24 -6
  730. package/dist/generate/kinds/generate-context.js.map +1 -1
  731. package/dist/generate/kinds/generate-event-sourced-repository.d.ts.map +1 -1
  732. package/dist/generate/kinds/generate-event-sourced-repository.js +4 -2
  733. package/dist/generate/kinds/generate-event-sourced-repository.js.map +1 -1
  734. package/dist/generate/kinds/instant-of.d.ts +4 -0
  735. package/dist/generate/kinds/instant-of.d.ts.map +1 -0
  736. package/dist/generate/kinds/instant-of.js +5 -0
  737. package/dist/generate/kinds/instant-of.js.map +1 -0
  738. package/dist/generate/kinds/integration-handler-kind.d.ts.map +1 -1
  739. package/dist/generate/kinds/integration-handler-kind.js +4 -3
  740. package/dist/generate/kinds/integration-handler-kind.js.map +1 -1
  741. package/dist/generate/kinds/job/read-sent-command.d.ts.map +1 -1
  742. package/dist/generate/kinds/job/read-sent-command.js +1 -7
  743. package/dist/generate/kinds/job/read-sent-command.js.map +1 -1
  744. package/dist/generate/kinds/job/without-comments.d.ts +7 -0
  745. package/dist/generate/kinds/job/without-comments.d.ts.map +1 -0
  746. package/dist/generate/kinds/job/without-comments.js +13 -0
  747. package/dist/generate/kinds/job/without-comments.js.map +1 -0
  748. package/dist/generate/kinds/job-kind.d.ts.map +1 -1
  749. package/dist/generate/kinds/job-kind.js +13 -2
  750. package/dist/generate/kinds/job-kind.js.map +1 -1
  751. package/dist/generate/kinds/module-kind.js +2 -2
  752. package/dist/generate/kinds/module-kind.js.map +1 -1
  753. package/dist/generate/kinds/parameter-count.d.ts +6 -0
  754. package/dist/generate/kinds/parameter-count.d.ts.map +1 -0
  755. package/dist/generate/kinds/parameter-count.js +32 -0
  756. package/dist/generate/kinds/parameter-count.js.map +1 -0
  757. package/dist/generate/kinds/personal-data/personal-request-of.d.ts.map +1 -1
  758. package/dist/generate/kinds/personal-data/personal-request-of.js +9 -6
  759. package/dist/generate/kinds/personal-data/personal-request-of.js.map +1 -1
  760. package/dist/generate/kinds/personal-data/personal-vars.js +1 -1
  761. package/dist/generate/kinds/personal-data/personal-vars.js.map +1 -1
  762. package/dist/generate/kinds/plan-vars.d.ts.map +1 -1
  763. package/dist/generate/kinds/plan-vars.js +2 -1
  764. package/dist/generate/kinds/plan-vars.js.map +1 -1
  765. package/dist/generate/kinds/policy-kind.d.ts.map +1 -1
  766. package/dist/generate/kinds/policy-kind.js +15 -2
  767. package/dist/generate/kinds/policy-kind.js.map +1 -1
  768. package/dist/generate/kinds/presentation/controller-of.d.ts.map +1 -1
  769. package/dist/generate/kinds/presentation/controller-of.js +4 -2
  770. package/dist/generate/kinds/presentation/controller-of.js.map +1 -1
  771. package/dist/generate/kinds/projection-kind.d.ts.map +1 -1
  772. package/dist/generate/kinds/projection-kind.js +4 -2
  773. package/dist/generate/kinds/projection-kind.js.map +1 -1
  774. package/dist/generate/kinds/query-context.d.ts +7 -3
  775. package/dist/generate/kinds/query-context.d.ts.map +1 -1
  776. package/dist/generate/kinds/query-context.js +16 -5
  777. package/dist/generate/kinds/query-context.js.map +1 -1
  778. package/dist/generate/kinds/query-kind.d.ts.map +1 -1
  779. package/dist/generate/kinds/query-kind.js +4 -1
  780. package/dist/generate/kinds/query-kind.js.map +1 -1
  781. package/dist/generate/kinds/route/carries-body.d.ts +4 -0
  782. package/dist/generate/kinds/route/carries-body.d.ts.map +1 -0
  783. package/dist/generate/kinds/route/carries-body.js +6 -0
  784. package/dist/generate/kinds/route/carries-body.js.map +1 -0
  785. package/dist/generate/kinds/route/controller-types.d.ts +3 -1
  786. package/dist/generate/kinds/route/controller-types.d.ts.map +1 -1
  787. package/dist/generate/kinds/route/controller-types.js +7 -4
  788. package/dist/generate/kinds/route/controller-types.js.map +1 -1
  789. package/dist/generate/kinds/route/controller-vars.d.ts.map +1 -1
  790. package/dist/generate/kinds/route/controller-vars.js +15 -8
  791. package/dist/generate/kinds/route/controller-vars.js.map +1 -1
  792. package/dist/generate/kinds/route/described-field.d.ts +4 -0
  793. package/dist/generate/kinds/route/described-field.d.ts.map +1 -0
  794. package/dist/generate/kinds/route/described-field.js +5 -0
  795. package/dist/generate/kinds/route/described-field.js.map +1 -0
  796. package/dist/generate/kinds/route/dto-classes.d.ts.map +1 -1
  797. package/dist/generate/kinds/route/dto-classes.js +2 -2
  798. package/dist/generate/kinds/route/dto-classes.js.map +1 -1
  799. package/dist/generate/kinds/route/find-use-case.d.ts.map +1 -1
  800. package/dist/generate/kinds/route/find-use-case.js +4 -1
  801. package/dist/generate/kinds/route/find-use-case.js.map +1 -1
  802. package/dist/generate/kinds/route/group-prefix.d.ts.map +1 -1
  803. package/dist/generate/kinds/route/group-prefix.js +9 -3
  804. package/dist/generate/kinds/route/group-prefix.js.map +1 -1
  805. package/dist/generate/kinds/route/message-call.d.ts +15 -0
  806. package/dist/generate/kinds/route/message-call.d.ts.map +1 -0
  807. package/dist/generate/kinds/route/message-call.js +19 -0
  808. package/dist/generate/kinds/route/message-call.js.map +1 -0
  809. package/dist/generate/kinds/route/message-fields-of.d.ts +15 -0
  810. package/dist/generate/kinds/route/message-fields-of.d.ts.map +1 -0
  811. package/dist/generate/kinds/route/message-fields-of.js +13 -0
  812. package/dist/generate/kinds/route/message-fields-of.js.map +1 -0
  813. package/dist/generate/kinds/route/message-plan.d.ts +31 -0
  814. package/dist/generate/kinds/route/message-plan.d.ts.map +1 -0
  815. package/dist/generate/kinds/route/message-plan.js +46 -0
  816. package/dist/generate/kinds/route/message-plan.js.map +1 -0
  817. package/dist/generate/kinds/route/message-vars.d.ts +11 -0
  818. package/dist/generate/kinds/route/message-vars.d.ts.map +1 -0
  819. package/dist/generate/kinds/route/message-vars.js +89 -0
  820. package/dist/generate/kinds/route/message-vars.js.map +1 -0
  821. package/dist/generate/kinds/route/nest-controller-vars.d.ts.map +1 -1
  822. package/dist/generate/kinds/route/nest-controller-vars.js +2 -2
  823. package/dist/generate/kinds/route/nest-controller-vars.js.map +1 -1
  824. package/dist/generate/kinds/route/plan-of.d.ts +14 -0
  825. package/dist/generate/kinds/route/plan-of.d.ts.map +1 -0
  826. package/dist/generate/kinds/route/plan-of.js +6 -0
  827. package/dist/generate/kinds/route/plan-of.js.map +1 -0
  828. package/dist/generate/kinds/route/resolve-group.d.ts.map +1 -1
  829. package/dist/generate/kinds/route/resolve-group.js +4 -2
  830. package/dist/generate/kinds/route/resolve-group.js.map +1 -1
  831. package/dist/generate/kinds/route/route-vars.d.ts +6 -2
  832. package/dist/generate/kinds/route/route-vars.d.ts.map +1 -1
  833. package/dist/generate/kinds/route/route-vars.js +36 -13
  834. package/dist/generate/kinds/route/route-vars.js.map +1 -1
  835. package/dist/generate/kinds/route/sample-params.d.ts +3 -0
  836. package/dist/generate/kinds/route/sample-params.d.ts.map +1 -0
  837. package/dist/generate/kinds/route/sample-params.js +7 -0
  838. package/dist/generate/kinds/route/sample-params.js.map +1 -0
  839. package/dist/generate/kinds/route/spec-vars.d.ts +21 -0
  840. package/dist/generate/kinds/route/spec-vars.d.ts.map +1 -0
  841. package/dist/generate/kinds/route/spec-vars.js +61 -0
  842. package/dist/generate/kinds/route/spec-vars.js.map +1 -0
  843. package/dist/generate/kinds/route/standard-schema-of.d.ts +17 -0
  844. package/dist/generate/kinds/route/standard-schema-of.d.ts.map +1 -0
  845. package/dist/generate/kinds/route/standard-schema-of.js +74 -0
  846. package/dist/generate/kinds/route/standard-schema-of.js.map +1 -0
  847. package/dist/generate/kinds/route/use-case.d.ts +3 -0
  848. package/dist/generate/kinds/route/use-case.d.ts.map +1 -1
  849. package/dist/generate/kinds/route/writes-body-of.d.ts +4 -0
  850. package/dist/generate/kinds/route/writes-body-of.d.ts.map +1 -0
  851. package/dist/generate/kinds/route/writes-body-of.js +5 -0
  852. package/dist/generate/kinds/route/writes-body-of.js.map +1 -0
  853. package/dist/generate/kinds/route/writes-params-of.d.ts +4 -0
  854. package/dist/generate/kinds/route/writes-params-of.d.ts.map +1 -0
  855. package/dist/generate/kinds/route/writes-params-of.js +5 -0
  856. package/dist/generate/kinds/route/writes-params-of.js.map +1 -0
  857. package/dist/generate/kinds/route-group-kind.js +2 -1
  858. package/dist/generate/kinds/route-group-kind.js.map +1 -1
  859. package/dist/generate/kinds/traced-command.d.ts +1 -1
  860. package/dist/generate/kinds/traced-command.d.ts.map +1 -1
  861. package/dist/generate/kinds/traced-command.js +5 -2
  862. package/dist/generate/kinds/traced-command.js.map +1 -1
  863. package/dist/generate/kinds/use-case-context.d.ts +7 -0
  864. package/dist/generate/kinds/use-case-context.d.ts.map +1 -0
  865. package/dist/generate/kinds/use-case-context.js +2 -0
  866. package/dist/generate/kinds/use-case-context.js.map +1 -0
  867. package/dist/generate/kinds/worker-kind.d.ts.map +1 -1
  868. package/dist/generate/kinds/worker-kind.js +2 -1
  869. package/dist/generate/kinds/worker-kind.js.map +1 -1
  870. package/dist/generate/kinds/world/context-fakes.d.ts +2 -1
  871. package/dist/generate/kinds/world/context-fakes.d.ts.map +1 -1
  872. package/dist/generate/kinds/world/context-fakes.js +24 -4
  873. package/dist/generate/kinds/world/context-fakes.js.map +1 -1
  874. package/dist/generate/kinds/world/context-world.d.ts +37 -0
  875. package/dist/generate/kinds/world/context-world.d.ts.map +1 -0
  876. package/dist/generate/kinds/world/context-world.js +60 -0
  877. package/dist/generate/kinds/world/context-world.js.map +1 -0
  878. package/dist/generate/kinds/world/fake-class.d.ts +2 -0
  879. package/dist/generate/kinds/world/fake-class.d.ts.map +1 -1
  880. package/dist/generate/kinds/world/fake-class.js +2 -2
  881. package/dist/generate/kinds/world/fake-class.js.map +1 -1
  882. package/dist/generate/kinds/world/is-world-comment.d.ts +3 -0
  883. package/dist/generate/kinds/world/is-world-comment.d.ts.map +1 -0
  884. package/dist/generate/kinds/world/is-world-comment.js +12 -0
  885. package/dist/generate/kinds/world/is-world-comment.js.map +1 -0
  886. package/dist/generate/kinds/world/world-arrangement.d.ts +32 -0
  887. package/dist/generate/kinds/world/world-arrangement.d.ts.map +1 -0
  888. package/dist/generate/kinds/world/world-arrangement.js +110 -0
  889. package/dist/generate/kinds/world/world-arrangement.js.map +1 -0
  890. package/dist/generate/kinds/world/world-comments.d.ts +11 -0
  891. package/dist/generate/kinds/world/world-comments.d.ts.map +1 -0
  892. package/dist/generate/kinds/world/world-comments.js +11 -0
  893. package/dist/generate/kinds/world/world-comments.js.map +1 -0
  894. package/dist/generate/kinds/world/world-vars.d.ts.map +1 -1
  895. package/dist/generate/kinds/world/world-vars.js +6 -2
  896. package/dist/generate/kinds/world/world-vars.js.map +1 -1
  897. package/dist/generate/kinds/write-event-sourced-aggregate.d.ts.map +1 -1
  898. package/dist/generate/kinds/write-event-sourced-aggregate.js +9 -3
  899. package/dist/generate/kinds/write-event-sourced-aggregate.js.map +1 -1
  900. package/dist/generate/kinds-help.d.ts +1 -15
  901. package/dist/generate/kinds-help.d.ts.map +1 -1
  902. package/dist/generate/kinds-help.js +2 -16
  903. package/dist/generate/kinds-help.js.map +1 -1
  904. package/dist/generate/learn-terms.d.ts +4 -1
  905. package/dist/generate/learn-terms.d.ts.map +1 -1
  906. package/dist/generate/learn-terms.js +6 -2
  907. package/dist/generate/learn-terms.js.map +1 -1
  908. package/dist/generate/missing-prerequisite.d.ts +10 -0
  909. package/dist/generate/missing-prerequisite.d.ts.map +1 -0
  910. package/dist/generate/missing-prerequisite.js +10 -0
  911. package/dist/generate/missing-prerequisite.js.map +1 -0
  912. package/dist/generate/open-scope.d.ts.map +1 -1
  913. package/dist/generate/open-scope.js +9 -5
  914. package/dist/generate/open-scope.js.map +1 -1
  915. package/dist/generate/place-generated-files.d.ts.map +1 -1
  916. package/dist/generate/place-generated-files.js +2 -1
  917. package/dist/generate/place-generated-files.js.map +1 -1
  918. package/dist/generate/prerequisite-refusal.d.ts +8 -0
  919. package/dist/generate/prerequisite-refusal.d.ts.map +1 -0
  920. package/dist/generate/prerequisite-refusal.js +11 -0
  921. package/dist/generate/prerequisite-refusal.js.map +1 -0
  922. package/dist/generate/refresh-barrels.d.ts.map +1 -1
  923. package/dist/generate/refresh-barrels.js +4 -1
  924. package/dist/generate/refresh-barrels.js.map +1 -1
  925. package/dist/generate/refuse-undeclared-flags.d.ts +9 -0
  926. package/dist/generate/refuse-undeclared-flags.d.ts.map +1 -0
  927. package/dist/generate/refuse-undeclared-flags.js +27 -0
  928. package/dist/generate/refuse-undeclared-flags.js.map +1 -0
  929. package/dist/generate/require-file.d.ts.map +1 -1
  930. package/dist/generate/require-file.js +4 -3
  931. package/dist/generate/require-file.js.map +1 -1
  932. package/dist/generate/without-language-todo.d.ts +3 -0
  933. package/dist/generate/without-language-todo.d.ts.map +1 -0
  934. package/dist/generate/without-language-todo.js +7 -0
  935. package/dist/generate/without-language-todo.js.map +1 -0
  936. package/dist/generator-lock/held-lock-refusal.d.ts +5 -0
  937. package/dist/generator-lock/held-lock-refusal.d.ts.map +1 -0
  938. package/dist/generator-lock/held-lock-refusal.js +14 -0
  939. package/dist/generator-lock/held-lock-refusal.js.map +1 -0
  940. package/dist/generator-lock/holder-of.d.ts +9 -0
  941. package/dist/generator-lock/holder-of.d.ts.map +1 -0
  942. package/dist/generator-lock/holder-of.js +40 -0
  943. package/dist/generator-lock/holder-of.js.map +1 -0
  944. package/dist/generator-lock/index.d.ts +2 -0
  945. package/dist/generator-lock/index.d.ts.map +1 -0
  946. package/dist/generator-lock/index.js +2 -0
  947. package/dist/generator-lock/index.js.map +1 -0
  948. package/dist/generator-lock/is-same-holder.d.ts +4 -0
  949. package/dist/generator-lock/is-same-holder.d.ts.map +1 -0
  950. package/dist/generator-lock/is-same-holder.js +5 -0
  951. package/dist/generator-lock/is-same-holder.js.map +1 -0
  952. package/dist/generator-lock/is-stale.d.ts +9 -0
  953. package/dist/generator-lock/is-stale.d.ts.map +1 -0
  954. package/dist/generator-lock/is-stale.js +24 -0
  955. package/dist/generator-lock/is-stale.js.map +1 -0
  956. package/dist/generator-lock/lock-holder.d.ts +10 -0
  957. package/dist/generator-lock/lock-holder.d.ts.map +1 -0
  958. package/dist/generator-lock/lock-holder.js +2 -0
  959. package/dist/generator-lock/lock-holder.js.map +1 -0
  960. package/dist/generator-lock/lock-timing.d.ts +7 -0
  961. package/dist/generator-lock/lock-timing.d.ts.map +1 -0
  962. package/dist/generator-lock/lock-timing.js +2 -0
  963. package/dist/generator-lock/lock-timing.js.map +1 -0
  964. package/dist/generator-lock/own-lock.d.ts +18 -0
  965. package/dist/generator-lock/own-lock.d.ts.map +1 -0
  966. package/dist/generator-lock/own-lock.js +44 -0
  967. package/dist/generator-lock/own-lock.js.map +1 -0
  968. package/dist/generator-lock/remove-made-folder.d.ts +3 -0
  969. package/dist/generator-lock/remove-made-folder.d.ts.map +1 -0
  970. package/dist/generator-lock/remove-made-folder.js +14 -0
  971. package/dist/generator-lock/remove-made-folder.js.map +1 -0
  972. package/dist/generator-lock/remove-stale.d.ts +7 -0
  973. package/dist/generator-lock/remove-stale.d.ts.map +1 -0
  974. package/dist/generator-lock/remove-stale.js +23 -0
  975. package/dist/generator-lock/remove-stale.js.map +1 -0
  976. package/dist/generator-lock/with-generator-lock.d.ts +24 -0
  977. package/dist/generator-lock/with-generator-lock.d.ts.map +1 -0
  978. package/dist/generator-lock/with-generator-lock.js +69 -0
  979. package/dist/generator-lock/with-generator-lock.js.map +1 -0
  980. package/dist/help/command-help-data.d.ts +14 -0
  981. package/dist/help/command-help-data.d.ts.map +1 -0
  982. package/dist/help/command-help-data.js +15 -0
  983. package/dist/help/command-help-data.js.map +1 -0
  984. package/dist/help/command-help.d.ts +7 -0
  985. package/dist/help/command-help.d.ts.map +1 -0
  986. package/dist/help/command-help.js +21 -0
  987. package/dist/help/command-help.js.map +1 -0
  988. package/dist/help/flag-notes.d.ts +4 -0
  989. package/dist/help/flag-notes.d.ts.map +1 -0
  990. package/dist/help/flag-notes.js +112 -0
  991. package/dist/help/flag-notes.js.map +1 -0
  992. package/dist/help/help-for.d.ts +7 -0
  993. package/dist/help/help-for.d.ts.map +1 -0
  994. package/dist/help/help-for.js +37 -0
  995. package/dist/help/help-for.js.map +1 -0
  996. package/dist/help/kind-asked.d.ts +4 -0
  997. package/dist/help/kind-asked.d.ts.map +1 -0
  998. package/dist/help/kind-asked.js +6 -0
  999. package/dist/help/kind-asked.js.map +1 -0
  1000. package/dist/help/kind-help-text.d.ts +4 -0
  1001. package/dist/help/kind-help-text.d.ts.map +1 -0
  1002. package/dist/help/kind-help-text.js +35 -0
  1003. package/dist/help/kind-help-text.js.map +1 -0
  1004. package/dist/help/kind-line.d.ts +4 -0
  1005. package/dist/help/kind-line.d.ts.map +1 -0
  1006. package/dist/help/kind-line.js +6 -0
  1007. package/dist/help/kind-line.js.map +1 -0
  1008. package/dist/help/note-lines.d.ts +4 -0
  1009. package/dist/help/note-lines.d.ts.map +1 -0
  1010. package/dist/help/note-lines.js +8 -0
  1011. package/dist/help/note-lines.js.map +1 -0
  1012. package/dist/help/note.d.ts +10 -0
  1013. package/dist/help/note.d.ts.map +1 -0
  1014. package/dist/help/note.js +2 -0
  1015. package/dist/help/note.js.map +1 -0
  1016. package/dist/help/notes.d.ts +3 -2
  1017. package/dist/help/notes.d.ts.map +1 -1
  1018. package/dist/help/notes.js +6 -318
  1019. package/dist/help/notes.js.map +1 -1
  1020. package/dist/help/reading-notes.d.ts +4 -0
  1021. package/dist/help/reading-notes.d.ts.map +1 -0
  1022. package/dist/help/reading-notes.js +150 -0
  1023. package/dist/help/reading-notes.js.map +1 -0
  1024. package/dist/help/reference-text.d.ts.map +1 -1
  1025. package/dist/help/reference-text.js +4 -4
  1026. package/dist/help/reference-text.js.map +1 -1
  1027. package/dist/help/tool-notes.d.ts +4 -0
  1028. package/dist/help/tool-notes.d.ts.map +1 -0
  1029. package/dist/help/tool-notes.js +152 -0
  1030. package/dist/help/tool-notes.js.map +1 -0
  1031. package/dist/help/usage-for.d.ts +6 -0
  1032. package/dist/help/usage-for.d.ts.map +1 -0
  1033. package/dist/help/usage-for.js +16 -0
  1034. package/dist/help/usage-for.js.map +1 -0
  1035. package/dist/help/usage-lines-of.d.ts +3 -0
  1036. package/dist/help/usage-lines-of.d.ts.map +1 -0
  1037. package/dist/help/usage-lines-of.js +19 -0
  1038. package/dist/help/usage-lines-of.js.map +1 -0
  1039. package/dist/help/usage.d.ts +3 -1
  1040. package/dist/help/usage.d.ts.map +1 -1
  1041. package/dist/help/usage.js +10 -4
  1042. package/dist/help/usage.js.map +1 -1
  1043. package/dist/help/work-notes.d.ts +4 -0
  1044. package/dist/help/work-notes.d.ts.map +1 -0
  1045. package/dist/help/work-notes.js +197 -0
  1046. package/dist/help/work-notes.js.map +1 -0
  1047. package/dist/init/agent-permissions.d.ts.map +1 -1
  1048. package/dist/init/agent-permissions.js +10 -1
  1049. package/dist/init/agent-permissions.js.map +1 -1
  1050. package/dist/init/forced-note.d.ts +4 -0
  1051. package/dist/init/forced-note.d.ts.map +1 -0
  1052. package/dist/init/forced-note.js +14 -0
  1053. package/dist/init/forced-note.js.map +1 -0
  1054. package/dist/init/ignore-worktrees.d.ts.map +1 -1
  1055. package/dist/init/ignore-worktrees.js +7 -1
  1056. package/dist/init/ignore-worktrees.js.map +1 -1
  1057. package/dist/init/is-pipeline-definition.d.ts +3 -0
  1058. package/dist/init/is-pipeline-definition.d.ts.map +1 -0
  1059. package/dist/init/is-pipeline-definition.js +7 -0
  1060. package/dist/init/is-pipeline-definition.js.map +1 -0
  1061. package/dist/init/is-team-file.d.ts +9 -0
  1062. package/dist/init/is-team-file.d.ts.map +1 -0
  1063. package/dist/init/is-team-file.js +12 -0
  1064. package/dist/init/is-team-file.js.map +1 -0
  1065. package/dist/init/kept-combination-notes.d.ts +5 -0
  1066. package/dist/init/kept-combination-notes.d.ts.map +1 -0
  1067. package/dist/init/kept-combination-notes.js +18 -0
  1068. package/dist/init/kept-combination-notes.js.map +1 -0
  1069. package/dist/init/kept-or-merged.d.ts +11 -0
  1070. package/dist/init/kept-or-merged.d.ts.map +1 -0
  1071. package/dist/init/kept-or-merged.js +23 -0
  1072. package/dist/init/kept-or-merged.js.map +1 -0
  1073. package/dist/init/manifest/versions.js +24 -24
  1074. package/dist/init/manifest/versions.js.map +1 -1
  1075. package/dist/init/manifest/write-manifest.js +8 -0
  1076. package/dist/init/manifest/write-manifest.js.map +1 -1
  1077. package/dist/init/manifest/write-overrides.js +4 -0
  1078. package/dist/init/manifest/write-overrides.js.map +1 -1
  1079. package/dist/init/merged-ignore-files.d.ts +3 -0
  1080. package/dist/init/merged-ignore-files.d.ts.map +1 -0
  1081. package/dist/init/merged-ignore-files.js +3 -0
  1082. package/dist/init/merged-ignore-files.js.map +1 -0
  1083. package/dist/init/merged-ignore-lines.d.ts +9 -0
  1084. package/dist/init/merged-ignore-lines.d.ts.map +1 -0
  1085. package/dist/init/merged-ignore-lines.js +32 -0
  1086. package/dist/init/merged-ignore-lines.js.map +1 -0
  1087. package/dist/init/refuse-unprojected-root.d.ts +7 -0
  1088. package/dist/init/refuse-unprojected-root.d.ts.map +1 -0
  1089. package/dist/init/refuse-unprojected-root.js +31 -0
  1090. package/dist/init/refuse-unprojected-root.js.map +1 -0
  1091. package/dist/init/run-init.d.ts +3 -2
  1092. package/dist/init/run-init.d.ts.map +1 -1
  1093. package/dist/init/run-init.js +29 -9
  1094. package/dist/init/run-init.js.map +1 -1
  1095. package/dist/issues-url.d.ts +3 -0
  1096. package/dist/issues-url.d.ts.map +1 -0
  1097. package/dist/issues-url.js +3 -0
  1098. package/dist/issues-url.js.map +1 -0
  1099. package/dist/json/format-json.d.ts +2 -1
  1100. package/dist/json/format-json.d.ts.map +1 -1
  1101. package/dist/json/format-json.js +2 -1
  1102. package/dist/json/format-json.js.map +1 -1
  1103. package/dist/json/stdout-json.d.ts +7 -0
  1104. package/dist/json/stdout-json.d.ts.map +1 -0
  1105. package/dist/json/stdout-json.js +9 -0
  1106. package/dist/json/stdout-json.js.map +1 -0
  1107. package/dist/layout/fit-declaration.d.ts +2 -1
  1108. package/dist/layout/fit-declaration.d.ts.map +1 -1
  1109. package/dist/layout/fit-declaration.js +3 -2
  1110. package/dist/layout/fit-declaration.js.map +1 -1
  1111. package/dist/merge/classify-conflict.js +2 -2
  1112. package/dist/merge/classify-conflict.js.map +1 -1
  1113. package/dist/merge/continue-merge.d.ts.map +1 -1
  1114. package/dist/merge/continue-merge.js +26 -1
  1115. package/dist/merge/continue-merge.js.map +1 -1
  1116. package/dist/merge/format-merge-report.js +19 -0
  1117. package/dist/merge/format-merge-report.js.map +1 -1
  1118. package/dist/merge/is-derived-in-merge.d.ts +4 -0
  1119. package/dist/merge/is-derived-in-merge.d.ts.map +1 -0
  1120. package/dist/merge/is-derived-in-merge.js +7 -0
  1121. package/dist/merge/is-derived-in-merge.js.map +1 -0
  1122. package/dist/merge/is-merge-path.js +2 -2
  1123. package/dist/merge/is-merge-path.js.map +1 -1
  1124. package/dist/merge/landed-point.js +1 -1
  1125. package/dist/merge/landed-point.js.map +1 -1
  1126. package/dist/merge/lost/in-progress-merge.js +1 -1
  1127. package/dist/merge/lost/in-progress-merge.js.map +1 -1
  1128. package/dist/merge/lost/merge-base-of.d.ts.map +1 -1
  1129. package/dist/merge/lost/merge-base-of.js +6 -9
  1130. package/dist/merge/lost/merge-base-of.js.map +1 -1
  1131. package/dist/merge/lost/merge-of-record.d.ts.map +1 -1
  1132. package/dist/merge/lost/merge-of-record.js +4 -9
  1133. package/dist/merge/lost/merge-of-record.js.map +1 -1
  1134. package/dist/merge/lost/merges-since.d.ts +1 -1
  1135. package/dist/merge/lost/merges-since.d.ts.map +1 -1
  1136. package/dist/merge/lost/merges-since.js +1 -1
  1137. package/dist/merge/lost/merges-since.js.map +1 -1
  1138. package/dist/merge/lost/since-of.d.ts +11 -2
  1139. package/dist/merge/lost/since-of.d.ts.map +1 -1
  1140. package/dist/merge/lost/since-of.js +17 -9
  1141. package/dist/merge/lost/since-of.js.map +1 -1
  1142. package/dist/merge/lost/verify-merge.js +1 -1
  1143. package/dist/merge/lost/verify-merge.js.map +1 -1
  1144. package/dist/merge/lost/verify-merges.d.ts +2 -0
  1145. package/dist/merge/lost/verify-merges.d.ts.map +1 -1
  1146. package/dist/merge/lost/verify-merges.js +8 -5
  1147. package/dist/merge/lost/verify-merges.js.map +1 -1
  1148. package/dist/merge/merge-exclusions.d.ts +3 -4
  1149. package/dist/merge/merge-exclusions.d.ts.map +1 -1
  1150. package/dist/merge/merge-exclusions.js +19 -19
  1151. package/dist/merge/merge-exclusions.js.map +1 -1
  1152. package/dist/merge/merge-report.d.ts +7 -0
  1153. package/dist/merge/merge-report.d.ts.map +1 -1
  1154. package/dist/merge/merge-state.d.ts.map +1 -1
  1155. package/dist/merge/merge-state.js +2 -1
  1156. package/dist/merge/merge-state.js.map +1 -1
  1157. package/dist/merge/merge-steps.d.ts.map +1 -1
  1158. package/dist/merge/merge-steps.js +0 -1
  1159. package/dist/merge/merge-steps.js.map +1 -1
  1160. package/dist/merge/merge-trunk.js +1 -1
  1161. package/dist/merge/merge-trunk.js.map +1 -1
  1162. package/dist/merge/next-steps.d.ts +1 -0
  1163. package/dist/merge/next-steps.d.ts.map +1 -1
  1164. package/dist/merge/next-steps.js +1 -0
  1165. package/dist/merge/next-steps.js.map +1 -1
  1166. package/dist/merge/resume-merge.d.ts.map +1 -1
  1167. package/dist/merge/resume-merge.js +10 -1
  1168. package/dist/merge/resume-merge.js.map +1 -1
  1169. package/dist/merge/sharing-branches.js +1 -1
  1170. package/dist/merge/sharing-branches.js.map +1 -1
  1171. package/dist/merge/trunk-of.d.ts.map +1 -1
  1172. package/dist/merge/trunk-of.js +8 -5
  1173. package/dist/merge/trunk-of.js.map +1 -1
  1174. package/dist/migration/audit-guard/orm-tool-entry.d.ts +3 -0
  1175. package/dist/migration/audit-guard/orm-tool-entry.d.ts.map +1 -0
  1176. package/dist/migration/audit-guard/orm-tool-entry.js +12 -0
  1177. package/dist/migration/audit-guard/orm-tool-entry.js.map +1 -0
  1178. package/dist/migration/audit-guard/run-orm-tool.d.ts.map +1 -1
  1179. package/dist/migration/audit-guard/run-orm-tool.js +2 -7
  1180. package/dist/migration/audit-guard/run-orm-tool.js.map +1 -1
  1181. package/dist/migration/has-database-url.d.ts +3 -0
  1182. package/dist/migration/has-database-url.d.ts.map +1 -0
  1183. package/dist/migration/has-database-url.js +5 -0
  1184. package/dist/migration/has-database-url.js.map +1 -0
  1185. package/dist/migration/index.d.ts +4 -0
  1186. package/dist/migration/index.d.ts.map +1 -1
  1187. package/dist/migration/index.js +4 -0
  1188. package/dist/migration/index.js.map +1 -1
  1189. package/dist/migration/migration-name.d.ts +8 -0
  1190. package/dist/migration/migration-name.d.ts.map +1 -0
  1191. package/dist/migration/migration-name.js +14 -0
  1192. package/dist/migration/migration-name.js.map +1 -0
  1193. package/dist/migration/offline-prisma-migration.d.ts +18 -0
  1194. package/dist/migration/offline-prisma-migration.d.ts.map +1 -0
  1195. package/dist/migration/offline-prisma-migration.js +91 -0
  1196. package/dist/migration/offline-prisma-migration.js.map +1 -0
  1197. package/dist/migration/plan-replay.d.ts.map +1 -1
  1198. package/dist/migration/plan-replay.js +3 -7
  1199. package/dist/migration/plan-replay.js.map +1 -1
  1200. package/dist/migration/run-on-in-process-database.d.ts +8 -0
  1201. package/dist/migration/run-on-in-process-database.d.ts.map +1 -0
  1202. package/dist/migration/run-on-in-process-database.js +55 -0
  1203. package/dist/migration/run-on-in-process-database.js.map +1 -0
  1204. package/dist/migration/tool-step.d.ts +8 -0
  1205. package/dist/migration/tool-step.d.ts.map +1 -0
  1206. package/dist/migration/tool-step.js +2 -0
  1207. package/dist/migration/tool-step.js.map +1 -0
  1208. package/dist/model-modules/declared-module.d.ts.map +1 -1
  1209. package/dist/model-modules/declared-module.js +2 -2
  1210. package/dist/model-modules/declared-module.js.map +1 -1
  1211. package/dist/model-modules/declared-modules.d.ts.map +1 -1
  1212. package/dist/model-modules/declared-modules.js +2 -1
  1213. package/dist/model-modules/declared-modules.js.map +1 -1
  1214. package/dist/model-modules/module-placement.d.ts.map +1 -1
  1215. package/dist/model-modules/module-placement.js +2 -1
  1216. package/dist/model-modules/module-placement.js.map +1 -1
  1217. package/dist/naming/index.d.ts +1 -0
  1218. package/dist/naming/index.d.ts.map +1 -1
  1219. package/dist/naming/index.js +1 -0
  1220. package/dist/naming/index.js.map +1 -1
  1221. package/dist/naming/name.d.ts +1 -1
  1222. package/dist/naming/name.d.ts.map +1 -1
  1223. package/dist/naming/parse-context-name.d.ts +1 -0
  1224. package/dist/naming/parse-context-name.d.ts.map +1 -1
  1225. package/dist/naming/parse-context-name.js +5 -3
  1226. package/dist/naming/parse-context-name.js.map +1 -1
  1227. package/dist/naming/read-name.d.ts +8 -0
  1228. package/dist/naming/read-name.d.ts.map +1 -0
  1229. package/dist/naming/read-name.js +20 -0
  1230. package/dist/naming/read-name.js.map +1 -0
  1231. package/dist/nest-controllers/refresh-nest-controllers.d.ts.map +1 -1
  1232. package/dist/nest-controllers/refresh-nest-controllers.js +4 -1
  1233. package/dist/nest-controllers/refresh-nest-controllers.js.map +1 -1
  1234. package/dist/plan/copy-of-project.d.ts +3 -0
  1235. package/dist/plan/copy-of-project.d.ts.map +1 -0
  1236. package/dist/plan/copy-of-project.js +43 -0
  1237. package/dist/plan/copy-of-project.js.map +1 -0
  1238. package/dist/plan/format-plan.d.ts +4 -3
  1239. package/dist/plan/format-plan.d.ts.map +1 -1
  1240. package/dist/plan/format-plan.js +48 -17
  1241. package/dist/plan/format-plan.js.map +1 -1
  1242. package/dist/plan/is-started.d.ts +4 -0
  1243. package/dist/plan/is-started.d.ts.map +1 -0
  1244. package/dist/plan/is-started.js +6 -0
  1245. package/dist/plan/is-started.js.map +1 -0
  1246. package/dist/plan/missing-dependencies.d.ts +10 -0
  1247. package/dist/plan/missing-dependencies.d.ts.map +1 -0
  1248. package/dist/plan/missing-dependencies.js +35 -0
  1249. package/dist/plan/missing-dependencies.js.map +1 -0
  1250. package/dist/plan/plan-problems.d.ts +4 -2
  1251. package/dist/plan/plan-problems.d.ts.map +1 -1
  1252. package/dist/plan/plan-problems.js +30 -2
  1253. package/dist/plan/plan-problems.js.map +1 -1
  1254. package/dist/plan/plan-waves.d.ts +2 -0
  1255. package/dist/plan/plan-waves.d.ts.map +1 -1
  1256. package/dist/plan/plan-waves.js +3 -3
  1257. package/dist/plan/plan-waves.js.map +1 -1
  1258. package/dist/plan/planned-words.d.ts +11 -23
  1259. package/dist/plan/planned-words.d.ts.map +1 -1
  1260. package/dist/plan/planned-words.js +50 -105
  1261. package/dist/plan/planned-words.js.map +1 -1
  1262. package/dist/plan/refused-command.d.ts +18 -0
  1263. package/dist/plan/refused-command.d.ts.map +1 -0
  1264. package/dist/plan/refused-command.js +109 -0
  1265. package/dist/plan/refused-command.js.map +1 -0
  1266. package/dist/plan/replay-plan.d.ts +27 -0
  1267. package/dist/plan/replay-plan.d.ts.map +1 -0
  1268. package/dist/plan/replay-plan.js +91 -0
  1269. package/dist/plan/replay-plan.js.map +1 -0
  1270. package/dist/plan/replay.d.ts +39 -0
  1271. package/dist/plan/replay.d.ts.map +1 -0
  1272. package/dist/plan/replay.js +52 -0
  1273. package/dist/plan/replay.js.map +1 -0
  1274. package/dist/plan/replayed-plan.d.ts +13 -0
  1275. package/dist/plan/replayed-plan.d.ts.map +1 -0
  1276. package/dist/plan/replayed-plan.js +17 -0
  1277. package/dist/plan/replayed-plan.js.map +1 -0
  1278. package/dist/plan/rows-to-plan.d.ts +1 -1
  1279. package/dist/plan/rows-to-plan.d.ts.map +1 -1
  1280. package/dist/plan/rows-to-plan.js +2 -1
  1281. package/dist/plan/rows-to-plan.js.map +1 -1
  1282. package/dist/plan/transitive-dependencies.d.ts +8 -0
  1283. package/dist/plan/transitive-dependencies.d.ts.map +1 -0
  1284. package/dist/plan/transitive-dependencies.js +26 -0
  1285. package/dist/plan/transitive-dependencies.js.map +1 -0
  1286. package/dist/plan/wave-plan.d.ts +55 -9
  1287. package/dist/plan/wave-plan.d.ts.map +1 -1
  1288. package/dist/platform-folders/placements.d.ts.map +1 -1
  1289. package/dist/platform-folders/placements.js +17 -1
  1290. package/dist/platform-folders/placements.js.map +1 -1
  1291. package/dist/presets/apply-preset.d.ts.map +1 -1
  1292. package/dist/presets/apply-preset.js +2 -2
  1293. package/dist/presets/apply-preset.js.map +1 -1
  1294. package/dist/presets/outside-the-tenancy.d.ts.map +1 -1
  1295. package/dist/presets/outside-the-tenancy.js +3 -1
  1296. package/dist/presets/outside-the-tenancy.js.map +1 -1
  1297. package/dist/progress/format-progress.d.ts.map +1 -1
  1298. package/dist/progress/format-progress.js +3 -2
  1299. package/dist/progress/format-progress.js.map +1 -1
  1300. package/dist/progress/slice.d.ts +7 -1
  1301. package/dist/progress/slice.d.ts.map +1 -1
  1302. package/dist/progress/slice.js +2 -1
  1303. package/dist/progress/slice.js.map +1 -1
  1304. package/dist/refusals/apply-plan.d.ts.map +1 -1
  1305. package/dist/refusals/apply-plan.js +2 -1
  1306. package/dist/refusals/apply-plan.js.map +1 -1
  1307. package/dist/refuse-windows-shell.d.ts +17 -0
  1308. package/dist/refuse-windows-shell.d.ts.map +1 -0
  1309. package/dist/refuse-windows-shell.js +32 -0
  1310. package/dist/refuse-windows-shell.js.map +1 -0
  1311. package/dist/review/generated-file-kind.d.ts +13 -0
  1312. package/dist/review/generated-file-kind.d.ts.map +1 -0
  1313. package/dist/review/generated-file-kind.js +2 -0
  1314. package/dist/review/generated-file-kind.js.map +1 -0
  1315. package/dist/review/generated-files-named.d.ts +4 -0
  1316. package/dist/review/generated-files-named.d.ts.map +1 -0
  1317. package/dist/review/generated-files-named.js +8 -0
  1318. package/dist/review/generated-files-named.js.map +1 -0
  1319. package/dist/review/generated-files.d.ts +9 -0
  1320. package/dist/review/generated-files.d.ts.map +1 -0
  1321. package/dist/review/generated-files.js +20 -0
  1322. package/dist/review/generated-files.js.map +1 -0
  1323. package/dist/review/index.d.ts +3 -0
  1324. package/dist/review/index.d.ts.map +1 -0
  1325. package/dist/review/index.js +3 -0
  1326. package/dist/review/index.js.map +1 -0
  1327. package/dist/run.d.ts +5 -1
  1328. package/dist/run.d.ts.map +1 -1
  1329. package/dist/run.js +62 -25
  1330. package/dist/run.js.map +1 -1
  1331. package/dist/slice/plan-staging.d.ts.map +1 -1
  1332. package/dist/slice/plan-staging.js +2 -1
  1333. package/dist/slice/plan-staging.js.map +1 -1
  1334. package/dist/slice/run-script.d.ts.map +1 -1
  1335. package/dist/slice/run-script.js +0 -1
  1336. package/dist/slice/run-script.js.map +1 -1
  1337. package/dist/slice/slice-to-verify.d.ts +3 -0
  1338. package/dist/slice/slice-to-verify.d.ts.map +1 -1
  1339. package/dist/slice/storage-of-slice.d.ts +1 -1
  1340. package/dist/slice/storage-of-slice.d.ts.map +1 -1
  1341. package/dist/slice/storage-of-slice.js.map +1 -1
  1342. package/dist/slice/verification-file.d.ts.map +1 -1
  1343. package/dist/slice/verification-file.js +2 -1
  1344. package/dist/slice/verification-file.js.map +1 -1
  1345. package/dist/slice/verify-slice.d.ts +1 -1
  1346. package/dist/slice/verify-slice.d.ts.map +1 -1
  1347. package/dist/slice/verify-slice.js +4 -4
  1348. package/dist/slice/verify-slice.js.map +1 -1
  1349. package/dist/stories/open-story-scope.js +4 -5
  1350. package/dist/stories/open-story-scope.js.map +1 -1
  1351. package/dist/stories/read-story-phases.js +1 -1
  1352. package/dist/stories/read-story-phases.js.map +1 -1
  1353. package/dist/stories/story-scope-file.d.ts.map +1 -1
  1354. package/dist/stories/story-scope-file.js +2 -1
  1355. package/dist/stories/story-scope-file.js.map +1 -1
  1356. package/dist/version.d.ts +1 -1
  1357. package/dist/version.d.ts.map +1 -1
  1358. package/dist/version.js +1 -1
  1359. package/dist/version.js.map +1 -1
  1360. package/dist/worker/add-worktree.d.ts +2 -1
  1361. package/dist/worker/add-worktree.d.ts.map +1 -1
  1362. package/dist/worker/add-worktree.js +2 -1
  1363. package/dist/worker/add-worktree.js.map +1 -1
  1364. package/dist/worker/agent-file.d.ts.map +1 -1
  1365. package/dist/worker/agent-file.js +2 -1
  1366. package/dist/worker/agent-file.js.map +1 -1
  1367. package/dist/worker/asked-worktree.d.ts +7 -0
  1368. package/dist/worker/asked-worktree.d.ts.map +1 -0
  1369. package/dist/worker/asked-worktree.js +15 -0
  1370. package/dist/worker/asked-worktree.js.map +1 -0
  1371. package/dist/worker/base-of.d.ts +6 -1
  1372. package/dist/worker/base-of.d.ts.map +1 -1
  1373. package/dist/worker/base-of.js +4 -8
  1374. package/dist/worker/base-of.js.map +1 -1
  1375. package/dist/worker/branch-standing.js +1 -1
  1376. package/dist/worker/branch-standing.js.map +1 -1
  1377. package/dist/worker/briefing-of.d.ts.map +1 -1
  1378. package/dist/worker/briefing-of.js +2 -1
  1379. package/dist/worker/briefing-of.js.map +1 -1
  1380. package/dist/worker/ensure-contains-base.d.ts +4 -2
  1381. package/dist/worker/ensure-contains-base.d.ts.map +1 -1
  1382. package/dist/worker/ensure-contains-base.js +4 -3
  1383. package/dist/worker/ensure-contains-base.js.map +1 -1
  1384. package/dist/worker/find-worker.d.ts.map +1 -1
  1385. package/dist/worker/find-worker.js +2 -1
  1386. package/dist/worker/find-worker.js.map +1 -1
  1387. package/dist/worker/install-dependencies.d.ts.map +1 -1
  1388. package/dist/worker/install-dependencies.js +0 -1
  1389. package/dist/worker/install-dependencies.js.map +1 -1
  1390. package/dist/worker/main-project.d.ts +3 -0
  1391. package/dist/worker/main-project.d.ts.map +1 -0
  1392. package/dist/worker/main-project.js +11 -0
  1393. package/dist/worker/main-project.js.map +1 -0
  1394. package/dist/worker/open-worker-scope.d.ts.map +1 -1
  1395. package/dist/worker/open-worker-scope.js +22 -16
  1396. package/dist/worker/open-worker-scope.js.map +1 -1
  1397. package/dist/worker/report-file.d.ts.map +1 -1
  1398. package/dist/worker/report-file.js +2 -1
  1399. package/dist/worker/report-file.js.map +1 -1
  1400. package/dist/worker/worktree-home.d.ts.map +1 -1
  1401. package/dist/worker/worktree-home.js +2 -6
  1402. package/dist/worker/worktree-home.js.map +1 -1
  1403. package/dist/worker/worktree-of.d.ts +2 -1
  1404. package/dist/worker/worktree-of.d.ts.map +1 -1
  1405. package/dist/worker/worktree-of.js +7 -3
  1406. package/dist/worker/worktree-of.js.map +1 -1
  1407. package/dist/workspace/disk-writes.d.ts +10 -0
  1408. package/dist/workspace/disk-writes.d.ts.map +1 -0
  1409. package/dist/workspace/disk-writes.js +2 -0
  1410. package/dist/workspace/disk-writes.js.map +1 -0
  1411. package/dist/workspace/files-git-does-not-hold.d.ts +7 -0
  1412. package/dist/workspace/files-git-does-not-hold.d.ts.map +1 -0
  1413. package/dist/workspace/files-git-does-not-hold.js +28 -0
  1414. package/dist/workspace/files-git-does-not-hold.js.map +1 -0
  1415. package/dist/workspace/gist-of.d.ts +9 -0
  1416. package/dist/workspace/gist-of.d.ts.map +1 -0
  1417. package/dist/workspace/gist-of.js +55 -0
  1418. package/dist/workspace/gist-of.js.map +1 -0
  1419. package/dist/workspace/index.d.ts +1 -0
  1420. package/dist/workspace/index.d.ts.map +1 -1
  1421. package/dist/workspace/index.js.map +1 -1
  1422. package/dist/workspace/is-language-step.d.ts +4 -0
  1423. package/dist/workspace/is-language-step.d.ts.map +1 -0
  1424. package/dist/workspace/is-language-step.js +5 -0
  1425. package/dist/workspace/is-language-step.js.map +1 -0
  1426. package/dist/workspace/kit-folder.d.ts +5 -0
  1427. package/dist/workspace/kit-folder.d.ts.map +1 -0
  1428. package/dist/workspace/kit-folder.js +5 -0
  1429. package/dist/workspace/kit-folder.js.map +1 -0
  1430. package/dist/workspace/leaving-project.d.ts +14 -0
  1431. package/dist/workspace/leaving-project.d.ts.map +1 -0
  1432. package/dist/workspace/leaving-project.js +17 -0
  1433. package/dist/workspace/leaving-project.js.map +1 -0
  1434. package/dist/workspace/names-on-disk.d.ts +4 -0
  1435. package/dist/workspace/names-on-disk.d.ts.map +1 -0
  1436. package/dist/workspace/names-on-disk.js +15 -0
  1437. package/dist/workspace/names-on-disk.js.map +1 -0
  1438. package/dist/workspace/real-path-of.d.ts +12 -0
  1439. package/dist/workspace/real-path-of.d.ts.map +1 -0
  1440. package/dist/workspace/real-path-of.js +59 -0
  1441. package/dist/workspace/real-path-of.js.map +1 -0
  1442. package/dist/workspace/real-root-of.d.ts +3 -0
  1443. package/dist/workspace/real-root-of.d.ts.map +1 -0
  1444. package/dist/workspace/real-root-of.js +7 -0
  1445. package/dist/workspace/real-root-of.js.map +1 -0
  1446. package/dist/workspace/refuse-leaving.d.ts +8 -0
  1447. package/dist/workspace/refuse-leaving.d.ts.map +1 -0
  1448. package/dist/workspace/refuse-leaving.js +26 -0
  1449. package/dist/workspace/refuse-leaving.js.map +1 -0
  1450. package/dist/workspace/refuse-unheld.d.ts +10 -0
  1451. package/dist/workspace/refuse-unheld.d.ts.map +1 -0
  1452. package/dist/workspace/refuse-unheld.js +56 -0
  1453. package/dist/workspace/refuse-unheld.js.map +1 -0
  1454. package/dist/workspace/todo-place.d.ts +10 -0
  1455. package/dist/workspace/todo-place.d.ts.map +1 -0
  1456. package/dist/workspace/todo-place.js +2 -0
  1457. package/dist/workspace/todo-place.js.map +1 -0
  1458. package/dist/workspace/workspace-report.d.ts +5 -3
  1459. package/dist/workspace/workspace-report.d.ts.map +1 -1
  1460. package/dist/workspace/workspace.d.ts +17 -7
  1461. package/dist/workspace/workspace.d.ts.map +1 -1
  1462. package/dist/workspace/workspace.js +46 -49
  1463. package/dist/workspace/workspace.js.map +1 -1
  1464. package/dist/workspace/write-if-allowed.d.ts +16 -2
  1465. package/dist/workspace/write-if-allowed.d.ts.map +1 -1
  1466. package/dist/workspace/write-if-allowed.js +64 -4
  1467. package/dist/workspace/write-if-allowed.js.map +1 -1
  1468. package/dist/workspace/written-of.d.ts +18 -0
  1469. package/dist/workspace/written-of.d.ts.map +1 -0
  1470. package/dist/workspace/written-of.js +15 -0
  1471. package/dist/workspace/written-of.js.map +1 -0
  1472. package/dist/worktree/open-worktree.js +2 -2
  1473. package/dist/worktree/open-worktree.js.map +1 -1
  1474. package/package.json +5 -4
  1475. package/templates/adapter/simulated.spec.ts.tpl +3 -3
  1476. package/templates/aggregate/aggregate.spec.ts.tpl +17 -5
  1477. package/templates/aggregate/aggregate.ts.tpl +12 -8
  1478. package/templates/aggregate/event-sourced.aggregate.spec.ts.tpl +8 -8
  1479. package/templates/aggregate/event-sourced.aggregate.ts.tpl +5 -5
  1480. package/templates/background-job/background-job.declared.ts.tpl +14 -11
  1481. package/templates/background-job/background-job.spec.buses.ts.tpl +17 -2
  1482. package/templates/background-job/background-job.spec.tsyringe.ts.tpl +16 -0
  1483. package/templates/background-job/background-job.ts.tpl +14 -11
  1484. package/templates/builder/builder.ts.tpl +19 -5
  1485. package/templates/builder/event-sourced.builder.ts.tpl +5 -5
  1486. package/templates/command/handler.declared.ts.tpl +8 -5
  1487. package/templates/command/handler.spec.buses.ts.tpl +35 -22
  1488. package/templates/command/handler.spec.tsyringe.ts.tpl +30 -13
  1489. package/templates/command/handler.ts.tpl +8 -5
  1490. package/templates/controller/controller.class-validator.ts.tpl +11 -0
  1491. package/templates/controller/controller.spec.ts.tpl +10 -34
  1492. package/templates/controller/controller.standard-schema.ts.tpl +16 -0
  1493. package/templates/controller/controller.typebox.ts.tpl +12 -0
  1494. package/templates/controller/controller.zod.ts.tpl +12 -0
  1495. package/templates/domain-event/domain-event.spec.ts.tpl +1 -1
  1496. package/templates/domain-service/domain-service.spec.ts.tpl +3 -3
  1497. package/templates/entity/entity.spec.ts.tpl +1 -1
  1498. package/templates/error/case.spec.ts.tpl +0 -1
  1499. package/templates/error/refusal-case.spec.ts.tpl +0 -1
  1500. package/templates/event-handler/event-handler.declared.ts.tpl +8 -1
  1501. package/templates/event-handler/event-handler.spec.ts.tpl +19 -25
  1502. package/templates/event-handler/event-handler.ts.tpl +8 -1
  1503. package/templates/event-handler/wiring.manual.tpl +1 -1
  1504. package/templates/event-handler/wiring.tsyringe.tpl +2 -2
  1505. package/templates/file-upload/controller.spec.ts.tpl +8 -30
  1506. package/templates/init/AGENTS.md.tpl +5 -5
  1507. package/templates/init/README.md.tpl +23 -1
  1508. package/templates/init/REVIEW.md.tpl +1 -1
  1509. package/templates/init/docker/docker-compose.yml.tpl +10 -8
  1510. package/templates/init/docker/dockerignore.tpl +3 -0
  1511. package/templates/init/docker/env.example.tpl +16 -1
  1512. package/templates/init/e2e/jest.e2e.config.js.tpl +11 -1
  1513. package/templates/init/e2e/start-application.database.ts.tpl +6 -2
  1514. package/templates/init/e2e/start-application.memory.ts.tpl +6 -2
  1515. package/templates/init/gitignore.tpl +3 -0
  1516. package/templates/init/platform/auth/authentication/actor-of-token.ts.tpl +2 -2
  1517. package/templates/init/platform/auth/authentication/bearer-strategy.ts.tpl +34 -3
  1518. package/templates/init/platform/config/app-config.ts.tpl +15 -0
  1519. package/templates/init/platform/config/load-config.ts.tpl +66 -0
  1520. package/templates/init/platform/database/data-source.typeorm.ts.tpl +2 -0
  1521. package/templates/init/platform/database/prisma.config.ts.tpl +5 -1
  1522. package/templates/init/platform/http/start-http-server.express.ts.tpl +14 -8
  1523. package/templates/init/platform/http/start-http-server.fastify.ts.tpl +16 -3
  1524. package/templates/init/platform/http/start-http-server.hono.ts.tpl +22 -3
  1525. package/templates/init/platform/http/start-http-server.nest.ts.tpl +20 -8
  1526. package/templates/init/platform/http/too-many-requests-for.ts.tpl +2 -2
  1527. package/templates/init/platform/jobs/background-jobs.ts.tpl +3 -2
  1528. package/templates/init/platform/jobs/create-background-work.ts.tpl +1 -0
  1529. package/templates/init/rules/application.md.tpl +2 -2
  1530. package/templates/integration-handler/integration-handler.spec.ts.tpl +12 -17
  1531. package/templates/job/job.spec.buses.ts.tpl +15 -2
  1532. package/templates/job/job.spec.tsyringe.ts.tpl +36 -9
  1533. package/templates/nest-controller/controller.spec.ts.tpl +11 -35
  1534. package/templates/nest-controller/controller.ts.tpl +6 -0
  1535. package/templates/nest-controller/upload.spec.ts.tpl +9 -30
  1536. package/templates/pipeline/github/actions/setup/action.yml.tpl +2 -2
  1537. package/templates/pipeline/github/workflows/ci.yml.tpl +20 -20
  1538. package/templates/pipeline/github/workflows/codeql.yml +3 -3
  1539. package/templates/pipeline/github/workflows/copilot-setup-steps.yml +1 -1
  1540. package/templates/pipeline/github/workflows/intent-to-spec.yml +1 -1
  1541. package/templates/pipeline/github/workflows/pr-title.yml +1 -1
  1542. package/templates/pipeline/lefthook.yml +9 -4
  1543. package/templates/pipeline/package-scripts.json +1 -1
  1544. package/templates/pipeline/renovate.json +6 -1
  1545. package/templates/policy/policy.spec.declared.ts.tpl +1 -1
  1546. package/templates/policy/policy.spec.ts.tpl +1 -1
  1547. package/templates/presets/identity/context/test/unit/accept-invitation.controller.spec.kit-routes.ts.tpl +13 -28
  1548. package/templates/presets/identity/context/test/unit/accept-invitation.controller.spec.nest-routes.ts.tpl +13 -28
  1549. package/templates/presets/identity/context/test/unit/change-member-role.controller.spec.kit-routes.ts.tpl +13 -28
  1550. package/templates/presets/identity/context/test/unit/change-member-role.controller.spec.nest-routes.ts.tpl +13 -28
  1551. package/templates/presets/identity/context/test/unit/deactivate-account.controller.spec.kit-routes.ts.tpl +10 -21
  1552. package/templates/presets/identity/context/test/unit/deactivate-account.controller.spec.nest-routes.ts.tpl +10 -21
  1553. package/templates/presets/identity/context/test/unit/decline-invitation.controller.spec.kit-routes.ts.tpl +13 -28
  1554. package/templates/presets/identity/context/test/unit/decline-invitation.controller.spec.nest-routes.ts.tpl +13 -28
  1555. package/templates/presets/identity/context/test/unit/delegation-period.vo.spec.ts.tpl +1 -1
  1556. package/templates/presets/identity/context/test/unit/display-name.vo.spec.ts.tpl +1 -1
  1557. package/templates/presets/identity/context/test/unit/email-address.vo.spec.ts.tpl +1 -1
  1558. package/templates/presets/identity/context/test/unit/grant-delegation.controller.spec.kit-routes.ts.tpl +13 -28
  1559. package/templates/presets/identity/context/test/unit/grant-delegation.controller.spec.nest-routes.ts.tpl +13 -28
  1560. package/templates/presets/identity/context/test/unit/invite-member.controller.spec.kit-routes.ts.tpl +16 -28
  1561. package/templates/presets/identity/context/test/unit/invite-member.controller.spec.nest-routes.ts.tpl +16 -28
  1562. package/templates/presets/identity/context/test/unit/open-organisation.controller.spec.kit-routes.ts.tpl +13 -28
  1563. package/templates/presets/identity/context/test/unit/open-organisation.controller.spec.nest-routes.ts.tpl +13 -28
  1564. package/templates/presets/identity/context/test/unit/organisation-name.vo.spec.ts.tpl +1 -1
  1565. package/templates/presets/identity/context/test/unit/organisation-rights.vo.spec.ts.tpl +1 -1
  1566. package/templates/presets/identity/context/test/unit/organisation-slug.vo.spec.ts.tpl +1 -1
  1567. package/templates/presets/identity/context/test/unit/provision-account.controller.spec.kit-routes.ts.tpl +19 -42
  1568. package/templates/presets/identity/context/test/unit/provision-account.controller.spec.nest-routes.ts.tpl +19 -42
  1569. package/templates/presets/identity/context/test/unit/remove-member.controller.spec.kit-routes.ts.tpl +10 -21
  1570. package/templates/presets/identity/context/test/unit/remove-member.controller.spec.nest-routes.ts.tpl +10 -21
  1571. package/templates/presets/identity/context/test/unit/revoke-delegation.controller.spec.kit-routes.ts.tpl +10 -21
  1572. package/templates/presets/identity/context/test/unit/revoke-delegation.controller.spec.nest-routes.ts.tpl +10 -21
  1573. package/templates/presets/identity/context/test/unit/revoke-invitation.controller.spec.kit-routes.ts.tpl +10 -21
  1574. package/templates/presets/identity/context/test/unit/revoke-invitation.controller.spec.nest-routes.ts.tpl +10 -21
  1575. package/templates/presets/identity/context/test/unit/role-rights.service.spec.ts.tpl +1 -1
  1576. package/templates/presets/identity/context/test/unit/search-members.controller.spec.kit-routes.ts.tpl +7 -18
  1577. package/templates/presets/identity/context/test/unit/search-members.controller.spec.nest-routes.ts.tpl +8 -17
  1578. package/templates/process/timeout-job.declared.ts.tpl +9 -1
  1579. package/templates/process/timeout-job.spec.buses.ts.tpl +5 -1
  1580. package/templates/process/timeout-job.ts.tpl +9 -1
  1581. package/templates/projection/projection.spec.ts.tpl +7 -5
  1582. package/templates/property/value-object.properties.spec.ts.tpl +1 -1
  1583. package/templates/query/handler.spec.buses.ts.tpl +25 -19
  1584. package/templates/query/handler.spec.tsyringe.ts.tpl +30 -10
  1585. package/templates/query/reader.fake.ts.tpl +6 -4
  1586. package/templates/query/reader.in-memory.ts.tpl +1 -1
  1587. package/templates/query/search.handler.spec.buses.ts.tpl +22 -19
  1588. package/templates/query/search.handler.spec.tsyringe.ts.tpl +25 -12
  1589. package/templates/repository/drizzle/mapper.ts.tpl +1 -1
  1590. package/templates/repository/drizzle/schema.ts.tpl +1 -1
  1591. package/templates/repository/drizzle/table.tpl +3 -2
  1592. package/templates/repository/event-sourced/contract.spec.ts.tpl +2 -2
  1593. package/templates/repository/knex/mapper.ts.tpl +2 -3
  1594. package/templates/repository/knex/row.ts.tpl +0 -1
  1595. package/templates/repository/knex/table.tpl +0 -1
  1596. package/templates/repository/prisma/mapper.ts.tpl +1 -1
  1597. package/templates/repository/prisma/model.tpl +0 -1
  1598. package/templates/repository/typeorm/mapper.ts.tpl +1 -1
  1599. package/templates/repository/typeorm/row.ts.tpl +0 -1
  1600. package/templates/repository/typeorm/table.tpl +0 -2
  1601. package/templates/route/dto.body.ts.tpl +9 -0
  1602. package/templates/route/route.class-validator.ts.tpl +17 -3
  1603. package/templates/route/route.spec.ts.tpl +10 -28
  1604. package/templates/route/route.standard-schema.ts.tpl +24 -5
  1605. package/templates/route/route.typebox.ts.tpl +18 -3
  1606. package/templates/route/route.zod.ts.tpl +18 -3
  1607. package/templates/test-world/world.buses.ts.tpl +7 -1
  1608. package/templates/test-world/world.tsyringe.ts.tpl +20 -1
  1609. package/templates/value-object/value-object.spec.ts.tpl +2 -2
  1610. package/dist/merge/lost/commit-of.d.ts +0 -3
  1611. package/dist/merge/lost/commit-of.d.ts.map +0 -1
  1612. package/dist/merge/lost/commit-of.js +0 -6
  1613. package/dist/merge/lost/commit-of.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -4,6 +4,237 @@ What each version changes for someone who uses the kit. The packages of `package
4
4
  together, under one version; the notes of each [GitHub release](https://github.com/gbourgeat/ddd-ts-kit/releases)
5
5
  list the pull requests behind it.
6
6
 
7
+ ## 0.100.0
8
+
9
+ **`privacy/declared-field` no longer reports a key of an event mapper that `personalData(subject, value)` seals in the same file.** Sealing a value is how an event declares it: the rule read `data.text('<key>')` on the read side as a column and asked for a `personalFields` declaration an event stream cannot have. A key named like personal data and stored in clear in an event mapper is still reported.
10
+
11
+ **The `parallel-work` skill says how a conductor runs unattended (`claude -p`).** It keeps the turn while a worker runs (a headless session waits for background agents 10 minutes of idle at most), relaunches a stopped worker on its worktree instead of resuming it by message, finishes a row itself after two stops on it, pushes the integration branch after each merge of a worker, and stops at the end of the wave it was given. The guide [parallel work](docs/guides/parallel-work.md) points to it.
12
+
13
+ **The end-to-end suite of a generated Jest project keeps a bounded memory.** Jest kept the modules of every spec file in the one process of `maxWorkers: 1` (about 15 MB of heap per file), so a suite of about 200 files aborted with `JavaScript heap out of memory`. `jest.e2e.config.js` now runs two workers, each replaced by a fresh one past 800 MB (`workerIdleMemoryLimit`). With `DATABASE_URL` set, the files still run one at a time in band, and a long suite there needs `NODE_OPTIONS=--max-old-space-size=<MB>`.
14
+
15
+ To move: copy the new `jest.e2e.config.js` of `ddd-ts-kit init --tests jest`, and drop a `--max-old-space-size` set only for this.
16
+
17
+ **`npm run db:generate` of a Prisma or TypeORM project needs no database when `DATABASE_URL` is unset.** The migrations already written are replayed on PostgreSQL in process (PGlite served by `@electric-sql/pglite-socket`, the engine `openTestDatabase()` runs the tests on), the schema is diffed against them and the new migration is written, with the append-only statements of the audit trail. An agent in a sandbox generates its own migrations. With `DATABASE_URL` set, the command behaves as before. On TypeORM, `npm run build` comes first, as before.
18
+
19
+ To move: a Prisma project adds `shadowDatabaseUrl: process.env['SHADOW_DATABASE_URL']` to the `datasource` of `prisma.config.ts`, and a TypeORM project `poolSize: Number(process.env['DATABASE_POOL_SIZE'] ?? 10)` to `data-source.ts` (the two lines `init` now writes).
20
+
21
+ **The scopes of a token are never roles, the system role is held by a system actor only, and a token without `exp` is refused.** The default mapping of `JwtAuthenticator` and `actorOfClaims` fell back on the `scope` claim when a token carried neither `realm_access.roles` nor `roles`, so a token whose `scope` held `admin` was an administrator under the generated `roles.ts`; it now reads `realm_access.roles`, else `roles`, and a token that carries only scopes gives an actor with no role (the scopes stay in `session.scopes`, which `HasScope` reads). `RoleBasedAuthorizer` gave a user whose roles named the `systemRole` what the system holds; that role is now left out of the roles of any actor but a system one, and `explain` says so (`<role> is the role of the system, held by a system actor only`); a role that inherits the system role, directly or through another role, is refused at construction with an `AuthorizationSetupError`. `JwtAuthenticator` (and `keycloakAuthenticator`) refuses a signed token without `exp` with the reason `NO_EXPIRY`, unless given `requireExpiry: false`, a conscious choice for an issuer whose tokens never expire. `DEFAULT_JWT_ALGORITHMS`, exported by `@ddd-ts-kit/auth`, is the allow-list of `JwtAuthenticator` (RS256, PS256, ES256, EdDSA). `passportPrincipal` and `passportAuthenticator` give the `InvalidCredentialError` of a refusal the reason a strategy failed with when it is a code (`fail({ message: 'NO_EXPIRY' })`), `refused-by-strategy` otherwise. The `bearer-strategy.ts` that `init --authn passport` writes refuses a token without `exp` too, with the reason `NO_EXPIRY` and the same `requireExpiry` option, and its comment names `DEFAULT_JWT_ALGORITHMS` as the source of its RS256, PS256 and ES256: `jsonwebtoken`, under `passport-jwt`, cannot verify EdDSA, so an EdDSA issuer needs `--authn jwt`.
22
+
23
+ To move: a provider whose tokens carry only scopes, with roles meant to come from them, maps the roles itself with `toActor` (`JwtAuthenticator`) or in `actor-of-token.ts` (`--authn passport`); a token without `exp` is now refused, so issue tokens with `exp` or set `requireExpiry: false`; a user or service that held the system role through its token loses it, give it a role of its own; a role whose `inherits` names the system role now fails at startup: give it the grants it needs instead. A project generated with `--authn passport` keeps its `bearer-strategy.ts`: to refuse a token without `exp`, copy `requireExpiry`, the `NO_EXPIRY` refusal of `handOn` and `carriesExpiry` from a new `init --authn passport`.
24
+
25
+ **The hooks of the plugin are held at 100 percent coverage by the pipeline.** Every line, branch
26
+ and function of the guard (`plugin/hooks/guard.mjs`), of its reader of shell commands and of its
27
+ record of the runs of a context-builder is reached by a test that gives the hook an input and
28
+ reads its answer, and a branch no test reaches fails `npm run test:plugin`, which `ci:arch` runs:
29
+ each promise of the guard has its test, its failing open included. The branches no hook input
30
+ could reach were removed. Nothing the guard refuses or allows changes.
31
+
32
+ **What the generators write passes `format:check` as written, reads in the words of the glossary, and its specs state behaviour; `generate` refuses a flag its kind does not take.** A command on an aggregate without `--creates` wrote its one-parameter constructor over three lines, which `npm run format:check` (and so `verify`) refused right after the run: it is now on one line, and broken by the generator only when the names make it longer than the line width. `generate policy` takes `--term`, as the refusal of a policy whose permission names a new word asks; `file-upload` shows it in its usage. `--term` is taken by exactly the kinds whose names the glossary judges. A flag another kind takes and this one does not (`--term` on `route`, `controller`, `repository` or `port`, `--search` on `command`) was ignored without a word; it is now refused, with the usage of the kind, and the top usage of `generate` no longer lists `--term` as common to every kind. The fake of the reader of a query implements its port instead of extending the in-memory adapter, so `generate test-world` no longer says it implements no port (the fake of a search, which extends the in-memory reader, is found standing for the port the reader implements). The first `--term` given to a generator takes away the `TODO(domain)` of the glossary of `CONTEXT.md`, which `status` and `todo` counted as remaining. The specs of the model are described in the words of the glossary (`Invoice line`, `Invoice issued`, `Invoice numbering`, the value objects of the identity preset), and the spec of a policy by the question it answers (`Who may cancel an invoice`), so that `docs/behaviour` no longer shows two blocks titled after the use case. The specs of an integration handler and of a simulated adapter no longer check that an instance they built is an instance of its class (the simulated adapter is held to being built with nothing from the environment), the spec of a domain service no longer asserts `Object.keys(...)`: it holds the service to being built with nothing and lists the decisions to test as `it.todo`, and the spec case of a refusal asserts its code and its facts, not its message. "does to a Invoice" and "a invoice number" take their article.
33
+
34
+ To move: `generate` now refuses a flag the usage of its kind does not show, so a script that passed one removes it (`ddd-ts-kit generate --help --json` gives the usage of each kind). The specs already generated keep their titles and their assertions; regenerate a kind with `--force` to get the new ones.
35
+
36
+ **The CLI prints less for an agent to read: `<command> --help` prints that command alone, `generate <kind> --help` that kind, `--json` prints on one line, `generate` lists the places to fill without the sentences its files already hold, `todo --brief` does the same, `list` leaves out what a context lacks, and the generated `AGENTS.md` is shorter.** Any `--help` printed the whole reference, about 41 KB, and `generate <kind> --help --json` every kind, about 27 KB. `<command> --help` (or `help <command>`) now prints the usage lines of the command, its note and the notes of the flags it takes (`describe --help`, 0.3 KB), and with `--json` the same as `{ command, usage, notes }` on one line; `generate --help` adds the list of the kinds. `generate <kind> --help` prints the kind alone: its usage line, its summary, what it writes outside its context and when, whether it takes `--module`, and the flags every kind takes; with `--json` the same kind as one object, the entry `generate --help --json` lists for it. `ddd-ts-kit --help` and `generate --help --json` keep the whole reference. An option a command does not know is refused with the usage line of that command, or of the kind under `generate`, as its fix, instead of "Run `ddd-ts-kit --help`".
37
+
38
+ What a command prints under `--json` (and `check`, `affected` and `measures` under `--format json`) carried two spaces of indentation per level, a third of its size: it is now printed on one line, `describe <context> --json` on the scheduling example going from 45.8 KB to 32.5 KB and `list --json` from 25.3 KB to 15.4 KB. The keys are unchanged, and the JSON files the CLI writes (the config, `package.json`, the settings, the locks) keep the layout of the formatter.
39
+
40
+ `generate` (and `init`, `docs`, `sdk`) printed the whole sentence of each `TODO(domain)` it left, about two thirds of its output, though the file holds it at that line, and under `--json` gave each place twice, in `next` and in `todos`. `next` is gone, and each entry of `todos` is `{ file, line, gist }`: `gist` is the first words of the marker, up to its first `:` or `;` (twelve words at most, `...` marking a cut). A step on a line the command changed (the grant of a role to check), which no file explains, keeps its whole sentence in `text` beside its `gist`. The text output prints each place on one line, `file:line gist`, a step whole. `generate command` with a permission goes from 2.6 KB to 1.5 KB under `--json` and from 2.1 KB to 1.4 KB as text.
41
+
42
+ `todo [<context>] --brief` prints each marker as `file:line` and its first words, the same `gist`; `todo` without it and `todo --json` are unchanged. `list` leaves out of its text the kinds a context holds none of (sixteen `none` lines per empty context) and the end-to-end specs when there is none; `list --json` keeps every key.
43
+
44
+ The `AGENTS.md` that `init` writes gave about 320 words, read in every session, to imports and to the layout of a file, which `npm run lint:fix` and the formatter rewrite anyway: each is now one line, keeping what neither rewrites (one export per file, the sizes, `private` over `#name`, no second alias mapping, `npm run build` to compile, no Prettier). A project generated before keeps its `AGENTS.md`; the two lines of a new `init` can replace its paragraphs `Imports:` and `Everywhere:`.
45
+
46
+ The skills and agents of the plugin send an agent to the `todos` places of a generator instead of the `next` list, give the output of every kind with the keys it now has, and look up the arguments of one kind with `generate <kind> --help` instead of the whole `--help`.
47
+
48
+ The `AGENTS.md` that `init` writes, and the session line of the guard, send an agent to `npx ddd-ts-kit list` and `npx ddd-ts-kit describe <context>`, the text form being the map it reads (14.8 KB for the largest context of the example, against 32.5 KB as JSON), `--json` being for a script.
49
+
50
+ To move: a script that reads the output of `--json` line by line, or with a pattern on its indentation, parses it instead (`JSON.parse`, `jq`). A reader of the `--json` of `generate` that used `next` builds the same `file:line` from `todos` (`${file}:${line}`); one that used `todos[].text` reads `gist`, or the line of the file it names for the whole sentence (`text` remains on a step only).
51
+
52
+ **`plan-waves` exits 1 while the generator refuses a planned command, whatever the reason, with the refusal under the row, and while a row builds on what a row it does not wait for generates.** A plan whose commands the generator refused for another reason than a word (a missing `--module` in a context divided into modules, `--grant` on a project whose rights are relationships or attributes, an aggregate no earlier row generates, an unknown flag) passed with those commands listed apart, and plans were committed with most of their commands refused when followed as written. Each such command is now a problem of the plan, `refused-command`, reported without waves like a word the glossary does not define: the command as the row writes it, the refusal and the fix of the generator printed under the row, and, when the generator refused it for what it builds on (an aggregate, a port, a use case, a route or a controller, a route group, the job that starts the use case of an end-to-end spec, a codec of stored events, a repository that declares personal data, a context, an upstream, the declaration of an event), which row generates that, found by running the command again with `--dry-run` once the whole plan has run, every file it builds on in one pass: a later row it does not wait for (add it to `Depends on`, each such row named), a later row that waits for it (move the command, rather than make a cycle), a later command of the same row (put it first), or none as the rows are written (add the command, or fix the refused row that would generate it), with what the command is refused for then, for another reason or for another file no row generates (`nextRefusal`, a `--grant` once the aggregate is found). The generator now says, while it replays a command, which files it builds on and which it creates, so a command that builds on a file a row it does not wait for generates is refused too, as a `missing-dependency`, even when that row comes first and the replay, one row after the other in one copy, found the file: the worker of the row, on a branch of its own, would not; a command also refused names that row with its refusal, one problem per command. With a context, `plan-waves <context>` replays the open rows of the other contexts too, so that a row is told to wait for the row of another context that generates what it builds on, and judges only the rows of its plan. A row `in progress` is still replayed, so that the rows after it find what it generates, but neither its names, nor its refusals, nor the rows it builds on are counted: its worker may have added the term a name needs on their branch, its commands may have run in the project already, and the generator refuses a second run of some of them (a port already bound to an adapter); they are listed apart with their fix, under `Refused in rows in progress, not counted` (`started` in `--json`). `--json` gives a refused command its `command`, `refusal`, `fix` and `prerequisite`, a missing dependency its `command` and `builtOn`, and no longer has `notReplayed`. The `plan-slices` and `parallel-work` skills say to fix the row as the refusal says. `generate` itself now reads its kind after a leading flag that takes a value (`generate --module pricing job catalog Reprice --every 15m --command RepriceAll` is a job), where it took the value of the flag for the kind.
53
+
54
+ To move: a plan committed with refused commands, or with a row that builds on what a row it does not wait for generates, now fails `npx ddd-ts-kit plan-waves`: fix each row it names (add the `--module`, drop the `--grant`, add the row that generates the aggregate or the context to `Depends on`) until it exits 0. A reader of `--json` reads the refused commands from `problems` (`kind: "refused-command"`) instead of `notReplayed`.
55
+
56
+ **The descriptions of the skills fit the listing budget of Claude Code, so every skill keeps its triggers; the skills read the text of `describe` and `list`; and the merge of the trunk and the review remarks are each stated in one skill.** Claude Code loads the listing of the skills into each session within 1% of the context window (about 2,000 tokens on a 200k window) and, when it overflows, drops the descriptions of the skills invoked least: the 26 descriptions of the plugin took 13,853 characters, so on a 200k window some skills stopped triggering on their keywords. Each description now opens with its trigger ("Use when ..."), keeps the words a user says for it and leaves the pointers to other skills to the body: 6,449 characters for the 26, from 196 to 294 each, and the 6 agents from 2,768 to 2,166 characters. With the `ddd-ts-kit:<name>` of each entry and about 3.5 characters per token on this text, the 20 skills Claude may invoke on its own take about 1,600 tokens. A test of the plugin (`node --test plugin/skills/descriptions.test.mjs`) fails on a skill description over 320 characters, on 26 over 6,500 together or on an agent description over 400, and names them.
57
+
58
+ The skills and agents now read the text of `npx ddd-ts-kit describe <context>` and `npx ddd-ts-kit list`, the better map for an agent and a third of the size of their `--json` (14.8 KB against 45.8 KB for `describe` on the example), which stays for a script.
59
+
60
+ Bringing the trunk into a branch with `merge-trunk` and the `TODO(review)` lines with the rule of two are stated in the quality-gate skill ("Bring the trunk in", "Review remarks"), the per-branch gate they belong to; the parallel-work and story skills and the architecture-reviewer agent say each in one line and point there, the commands printing their next step on each stop. A solo "bring the trunk into my branch" now loads quality-gate, not the conductor's parallel-work.
61
+
62
+ **The CLI refuses an input it cannot read instead of reading it as something else.** Every ref a command takes is resolved to its commit with `git rev-parse --end-of-options` before any other git command reads it, so that a value starting with a dash is never taken for an option of git: `affected --base=--output=<file>` emptied that file and printed `Nothing that runs is affected`, so `--run test` ran nothing, and `verify-merge` could hand such a value to `git log`. A ref that names no commit is refused with exit code 2 (`<ref> is not a commit of this repository`) by `check --changed-since`, `cited --base` and `--removed-since`, `verify-merge <commit>`, `--since`, `--theirs` and `--base`, `verify-slice --since` (before any step runs), `merge-trunk --trunk` and `--since`, `mutation --changed`, `worker-scope`, `story-scope` and `worktree --base`, and `drizzle-generate --replay --base`. `affected` still selects everything for a `--base` or `--head` that names no commit, which the pre-push hook of a clone without `origin/HEAD` relies on, and refuses one that starts with a dash. A context named after what every JavaScript object has (`constructor`, `prototype`, `__proto__`, `toString`, `hasOwnProperty`, `valueOf`) is refused by `init --context` and `generate context` with the reason, and such a name is an unknown command or an unknown context everywhere else: `init --context constructor:core` failed on `entry.upstreams is not iterable`, and `ddd-ts-kit toString` printed a stack trace. A fault of the kit itself now exits with code 4, never 1, which is for violations: one line on stderr, `internal error of ddd-ts-kit <version>: <message>; please report it at https://github.com/gbourgeat/ddd-ts-kit/issues with the command: ddd-ts-kit ...`, its stack trace after it when `DDD_TS_KIT_DEBUG` is set, and under `--json` the JSON of an error with its `stack`, marked `"internal": true`, instead of the stack trace of Node alone. A context or a module named with what the kit would drop to read it is refused with what it would have read, where it was rewritten silently: `generate context ../evil` planned `src/contexts/evil`, `generate context Évil` planned `src/contexts/vil`, and `generate aggregate ../billing Invoice` worked in `billing` (`` `../evil` is not a name: a context is named in letters, digits and dashes, and the kit would have read `evil` in it ``); the case and the separators `-`, `_` and spaces still change freely. This holds for `init --context`, `generate context` and its `--upstream`, the context of every generator, `generate module`, `--module`, `--group`, `move-to-module` and `context-layout`. `platform-folders --place <file>=<folder>` refuses with exit code 2 a file that leaves the platform once normalised (`../main.ts`, `auth/../../main.ts`, an absolute path) or is written with a backslash (`..\main.ts`: the kit reads paths with `/`, Windows through WSL 2): it printed `move src/platform/../main.ts -> ...` and exited 0, and nothing moved. `drizzle-generate --name`, `prisma-generate --name` and `typeorm-generate <folder>/<name>` refuse a migration name that is not letters, digits, dashes and underscores, starting with a letter or a digit, before the ORM reads it: TypeORM would read `typeorm-generate -- --check` as its own `--check` option, drizzle-kit took `--name=--custom` for a migration named `--custom`, and Prisma stopped on `option requires argument: --name`; `typeorm-generate` refuses as well a folder outside the project (`../outside/add-invoices`, an absolute path) and a path written with a backslash.
63
+
64
+ To move: a script that passed a ref that is not a commit now stops with exit code 2: fetch the ref or fix its name; so does one that passed a name the kit rewrote (`../billing`, an accented letter): write the name as the config declares it. A script that read exit code 1 as any failure reads 4 too: 1 now means violations only. A migration named with spaces (`npm run db:generate "add invoices"`, which Prisma made `add_invoices`) is now refused: write `add-invoices`.
65
+
66
+ **`--force` never destroys work git does not hold, and no write of the CLI leaves the project.**
67
+
68
+ `init --force` and `generate --force` refuse, with exit code 2, the files named and nothing
69
+ written, while a file they would replace differs from the last commit: uncommitted, staged, or
70
+ untracked and not ignored (`Commit or stash them first, then run again: git diff shows what the
71
+ kit rewrote.`). A forced merge of `package.json` that writes the script, the range or the release
72
+ of the kit over one of the team counts as a replacement. Outside a git repository, `--force`
73
+ refuses to replace a file whose content would change. There is no way around it: commit, stash or
74
+ delete.
75
+
76
+ `init --force` no longer rewrites the files a team owns once written: `README.md`, `AGENTS.md`,
77
+ `CLAUDE.md`, `src/main.ts` and the pipeline definitions (`.github/workflows/`, `.gitlab-ci.yml`)
78
+ stay as they are, listed as `kept (yours since the first init)`; the jobs and includes of the
79
+ pipeline are the team's to edit, those of `--ci-extras` too. `.gitignore` and `.dockerignore`
80
+ gain the lines of the kit they lack, first, under a comment, and keep the lines of the team after
81
+ them, which have the last word as git reads them; a line of the kit on a path the team already
82
+ writes rules for is left out, and `init` adds `.worktrees/` the same way. A last note says how many files
83
+ `--force` rewrote and kept.
84
+
85
+ A file a generator leaves as it is reads `skipped <file> (exists, kept; --force replaces it once it
86
+ is committed)`, a file of the team `init` leaves `skipped <file> (exists, kept (yours since the
87
+ first init))`, and the `.claude/settings.json` that `init` writes asks before `generate --force*`,
88
+ `generate * --force*`, `init --force*` and `init * --force*`, the allow rule of `generate`
89
+ notwithstanding (`init` run again adds the four rules to a project). It also asks before
90
+ `check --baseline=write` and before `--baseline write` or `--baseline=write` after other flags
91
+ (`check --cwd . --baseline write`), which the allow rule of `check` let through.
92
+
93
+ Every file `init` and `generate` write stays inside the project: a path that leads out of it
94
+ through a symbolic link, in its place or above it (a linked `docs/adr`, a `.claude/settings.json`
95
+ linked to the settings of a home directory), refuses the command with exit code 2 and the path
96
+ named, before anything is written; a link that stays inside the project is written through, and
97
+ `--force` asks git about the file it points to. `init` refuses a home directory and the root of the file
98
+ system: run it in the directory of the project.
99
+
100
+ The directories of the config (`sourceRoot`, `contextsDir`, `sharedKernelDir`, `platformDir`)
101
+ are read with `.` and `..` resolved, and one that is absolute or leads above the root once
102
+ resolved (`"contextsDir": "src/../../escaped"`) stops every command that writes with exit code 2;
103
+ `check` reports it as `config/valid`.
104
+
105
+ To move: commit before `init --force` or `generate --force`, and a script that ran `--force` over
106
+ edited files commits first. `README.md`, the pipeline, `AGENTS.md`, `CLAUDE.md` and `src/main.ts`
107
+ are no longer rewritten by `init --force`: run `init` with the same flags in an empty folder and
108
+ diff it with the project to pick up what changed in them. Put the file or the folder itself in
109
+ place of a symbolic link that leads out of the project where a command of the kit writes, and write each directory of the
110
+ config inside the project.
111
+
112
+ **The guard reads the whole shell command of a worker, not only one that starts with `cd <worktree> && ...`.** The worker scope now applies to every command of a context-builder: a write that does not move into the worktree is refused with the instruction to run it as `cd <worktree> && ...`. The reader follows a `cd` only when it is certain (after `&&`, into a directory that exists), reads a name the shell computes (a variable, a substitution, a brace list), a wrapper (`nice`, `ionice`, `setsid`, `flock`, `busybox`, `su -c`, `env -S`), a package runner (`npx`, `npm exec`) and the command it runs, a double quote or a backquote inside `$(...)`, and the writers the file tables used to miss (`>&`, a `sed` or `awk` script that writes, `vim`/`ed`, `rsync`, `curl -o`, `wget -O`, `tar -x`, several `git` writers such as `stash`, `reset --hard`, `worktree add`, `checkout -f`, `eslint --fix`, `biome --write`). A worker's only free places outside its scope are `/dev/null`, the standard devices and the temporary directory (`$TMPDIR`); any other absolute place is refused. A command nested deeper than the reader follows (more than five shells or `eval`s) is refused rather than let through unread. A sub-agent is refused a `git config` that sets a value and a `git -c` of a key that runs a command in every checkout (`core.fsmonitor`, `core.pager`, `core.editor`, `core.sshCommand`, `alias.*`, a diff or filter driver), and the guard runs its own git with `core.fsmonitor` off. The same shell reading now holds the `domain-test-writer` to the paths of a test, the code of a story to its build gate, and every session's hand-writing of a generated file or the baseline, each judged by the places a command writes (a glob expanded) rather than its text; a Codex `apply_patch` sent through the shell is read as a patch. A `cd` inside a brace group, a function body, an `if` or a loop does not move the reader either, a command whose leading `cd` leaves every project is judged against the session's project, and a builder's generator run from the conductor's checkout counts as a write. `npx -c`, `npm exec --call`, `pnpm dlx` and `yarn dlx` are read for the command they run, as is a runner, `su -c` or `env -S` behind another wrapper; `taskset`, `parallel` and `flock` consume the words their manuals say. `tar` is read by its mode letters (never an archive's name) and writes the file of `-f` on create, and `git config` is a set or a read by its verb (`get`, `list`, `set`, `unset`, `edit`) and its flags, not the count of its operands. A formatter or a linter writing inside the scope (`npx --no -- biome format --write <file>`, `npx eslint --fix --ext .ts <dir>`) is allowed: its subcommand and the values of its options are not read as paths.
113
+
114
+ To move: a worker's command after `cd dir;`, or after a `cd` inside `{ }`, a function, an `if` or a loop, is now refused; write `cd dir && ...` at the top level. A worker's write to a path outside every kit project is refused; use `$TMPDIR` for a scratch file.
115
+
116
+ **A page of `docs/behaviour/` reads as a specification: one heading per use case, then the model, then the reactions.** A page was grouped by spec file, one heading per file under `Unit specs` and `Integration specs`. It now opens with one heading per use case of the context, the command or query in the words its handler spec is described with (`Cancel invoice (command)`), holding the rules of its handler, of its policy (named after it, or deciding the permission it requires; a policy several use cases share states its rules under the first of them, `shared with ...`, and is named under the others), of its controller or route, of its reader, of its end-to-end spec (`test/e2e/<use-case>.e2e.spec.ts`, `<use-case>-<behaviour>`, or named after its route) and of the acceptance scenarios that cite a row its titles alone cite (a row two use cases cite leaves the scenario on the application page). Then come one heading per part of the model (aggregate, entity, value object, state machine, domain service, domain event, error), one per reaction (event and integration handlers, publishers, projections, process managers, jobs), and the specs that fit none under their directory, as before. `docs/behaviour/application.md` keeps the specs of `test/` that serve no use case: the journeys, the architecture, the scenarios that cite no row of a use case.
117
+
118
+ Under each heading, the rules written for the project come first; the titles that match word for word a title a spec template of the kit writes for a spec of that role, its names substituted (`saves the invoice and answers its identifier`, `is refused to an actor who does not hold the permission invoice.cancel`, `is born with its identity`), follow in a sub-list `Generated by the kit`, each under the `describe` of its spec, so that the eye goes to what the project added. A planned rule (`it.todo`) comes last in each list, the generic ones a generator planted (`applies the business decision to the invoice`) among the generated titles. The summary of a page and the index say how many of its titles, stated, planned or put aside, are as the kit generated them (`Of the 9 titles, 5 are as the kit generated them`).
119
+
120
+ The rows of the plan and the criterion a title opens with (`#US5.02 AC1 ...`, as `test/title-states-a-rule` asks them written) were dropped from the page; they are now shown before the rule (`` `#US5.02 AC1` a customer places an order ``), and each page ends with `Rows of the plan`: each row its titles cite and how many titles cite it, so that a reviewer checks that each rule line of a row of `docs/architecture/slices.md` has its title. The `use-case` skill of the plugin asks for it: each `it.todo` turned into a test is named after the rule of the slice row it serves and cites the row (`#US1.03 refuses an order without lines`), and the page is read as the reviewer will before the pull request; the `testing` and `document` skills describe the page as it now reads.
121
+
122
+ Since a source can move a spec to another heading while no spec changes (a route that sends another use case, a second use case requiring the permission of a policy), the pre-commit hook of a project regenerates the pages when a spec, a source under `src/` or `ddd-ts-kit.config.json` is staged, no longer for a spec alone: about a second more on a commit of sources.
123
+
124
+ To move: copy the `behaviour pages` job of the new `lefthook.yml` of the kit (its `glob` is a list of three patterns), or `docs --check` can fail in the pipeline on a commit of sources the hook let through. Then regenerate the pages, `npx ddd-ts-kit docs` (or `docs --behaviour`), or let the pre-commit hook do it at the next commit of a spec; `docs --check` reports them stale until then. A reader of the old grouping finds the same titles under their use case.
125
+
126
+ **The guard runs only the kit and the Biome a project installed, and prints what it reads from the repository as data.** The CLI the guard runs at session start, after each write and at stop is the bin that the manifest of `node_modules/ddd-ts-kit` names, run with Node, in the project or hoisted to a parent folder no higher than the top of its repository; a `node_modules/.bin/ddd-ts-kit` that is no bin of that package, or one above the repository (`/tmp/node_modules`), is never run, and the session says the CLI is not installed. With `formatOnWrite`, Biome is the bin of `node_modules/@biomejs/biome`, run the same way. The next step of the plan is said as `Plan (docs/architecture/plan.md): "<text>"`, on one line, without backquotes, cut to 300 characters and never opening with `ddd-ts-kit:`; the next step of a story, of its build gate and of its stop are quoted the same way, and a story id, a branch, a worktree, a context or an agent id the CLI reads from the repository is repeated only when it follows its grammar. The state of the guard, the run and the report of a worker are written through no symbolic link, and not at all when `.ddd-ts-kit` itself is a link. A `guard` mode other than `off`, `advise` and `enforce` is read as `enforce`, at pre-write and at stop alike, and the session start says so; the version gap is read beside the CLI that runs; only the plugin's `ddd-ts-kit:context-builder` is counted and recorded (an agent of the project named `context-builder` keeps the scope of its worktree). The config is read once per hook, at most 256 KB (above, the session says so and the guard judges nothing there), each field it uses of the type it expects or its default, a context named `constructor` or `__proto__` like any other. Pre-write runs the refusals that start no process before those of the CLI and the git notes of a worker, stops at the first file it denies and has the CLI judge two files a call, naming the others; a session start gives the CLI 10 s in all and says when it was cut short; a `check` that times out at stop says so; post-write lays out every file of a patch and checks the first five, naming the others. The markers of what was said once live in `.ddd-ts-kit/guard/markers/` of the project, not in the temp directory, and go after a week, with the state of the builders (never through a link; a marker the guard cannot leave lets it say or refuse again); a new run of a builder drops the note its last run left before inline code. The hooks description and the guide say the guard is a guide, not a security boundary, that it runs the project's own CLI and Biome from node_modules, and that writes outside the worktree of code it cannot read are not enumerated.
127
+
128
+ To move: a project whose CLI is hoisted above the top of its repository (a workspace whose root is not the repository) installs `ddd-ts-kit` inside the repository; a project whose `guard` mode is misspelt (`"enforced"`) writes `enforce`, `advise` or `off`.
129
+
130
+ **The guard notes every run of code a worker starts, not only its inline code, and pins the worker's scope at its first call.** Before each command of a context-builder that runs code the guard cannot read (a script it wrote, `bash x.sh`, a shell fed on its input or given `-lc`, `source`, `make`, `tsx -e`, `node -r`, `npm test`, `npm run`, `npx`, any interpreter or package runner), every command but the pure readers (`cat`, `ls`, `grep`, `git log`, `git status`...), the guard notes the state outside the scope and compares it at the worker's next call: the `git status` and `HEAD` of the worktree, so that a commit of the code, an amend or a reset is seen too; the checkout of the session when it is another, where a file left changed in its working tree (not one the conductor commits or merges meanwhile) is said once for the conductor; and the manifest and bin of the kit's CLI and of Biome in `node_modules`, the files the guard runs, whose change is said once too. What the project's own scripts (`npm run format`, `lint:fix`, `regenerate`, `docs:generate`, `openapi:generate`, `events:generate`), alone on the line, rewrite outside the scope among the files their tools rewrite (code, JSON, `docs/`) is said with the script, not held. A deletion is now a change, so is a commit of a shared file whatever its state before (the trunk a merge brings in aside), and the guard names the state a file is held to with the command that gets there: its committed content (`git checkout <commit> -- <path>`, then `git commit` when a commit changed it), the content it had before the command when it was already changed (kept under `.ddd-ts-kit/guard/held/`), `git mv` back for a rename, `rm` for a new file; a `git commit` counts as putting back only once it records that restoration, staged, with nothing else outside the scope. The scope of a worker (its context and its worktree) is recorded at its first call in the guard's folder of the session's checkout: a `.ddd-ts-kit/worker.json` removed or changed afterwards, or the worktree of another worker (compared by real path), is refused with "the scope file changed: report to the conductor"; the pin is released at the builder's stop and pruned with the other state. `git branch` reads only when it lists, and a sub-agent is refused deleting, moving or resetting a branch checked out in another worktree. The shell reader reads a combined short flag of a shell (`bash -lc`, `bash -ec`) as `-c`, and a builder's code run from the conductor's checkout without `cd <worktree> &&` (an interpreter, a package or test runner such as `vitest`, a program named by its path such as `./scripts/seed.sh`) is refused. Other git-ignored files and places outside these checkouts are still not enumerated, as the guide and the hooks' description now say (see docs/guides/agent-sandbox.md to isolate an agent).
131
+
132
+ To move: a worker's `npm test` or script run now costs a `git status` before it (two when it works from the conductor's checkout); a worker whose scope file is removed is refused until the conductor restores it.
133
+
134
+ **A body the HTTP framework refuses is answered as a problem and logged without the body.** `@ddd-ts-kit/http/express`, `@ddd-ts-kit/http/fastify` and `@ddd-ts-kit/http/hono` export `problemErrorHandler({ logger })`, and `@ddd-ts-kit/http/nest` exports `ProblemExceptionFilter`: what reaches the framework before a route of the kit is answered `application/problem+json` with the identifiers of the request, a body that is not JSON 400 `MALFORMED_BODY` on the four frameworks (Nest wraps the error of its parser in an exception of its own, which the filter recognises), a body over the limit of the parser 413 `BODY_TOO_LARGE`, another error that carries a status, 4xx or 5xx, that status with the code the kit gives it (415 `UNSUPPORTED_MEDIA_TYPE` on Fastify, 404 `NOT_FOUND` on Nest, 422 `VALIDATION_FAILED`, 503 `SERVICE_UNAVAILABLE` for a store a middleware finds down) and the headers it carries for its client (the `WWW-Authenticate` of a 401, the `Allow` of a 405, the `Retry-After` of a 429 or a 503: `headers` of an http-errors or a Fastify error, the response of a Hono `HTTPException`), and a middleware or a hook that fails with no status, the limit of the callers included, 500 `INTERNAL_ERROR` with no message. An empty body in JSON reaches the route as absent on the four frameworks, for its validation to decide: Express handed it over as `{}` and Fastify refused it 400. The logger receives the type of the error (`entity.parse.failed`), the status and the request id, never the message nor the body. Before, Express answered an HTML page, with the stack outside production, and wrote the error and the body it quotes to stderr; Fastify and Nest answered the message of the error. The generated `start-http-server.ts` installs it on the four frameworks, and the limit of the callers on Nest and the readiness probe on Express pass a failure on instead of leaving it unhandled. The problems of the Hono adapter carry `x-request-id` and the media type `application/problem+json; charset=utf-8`, as those of the pipeline, and title 413 `Content Too Large`.
135
+
136
+ **The address of a caller behind a proxy is read through the proxies `TRUST_PROXY` names.** The rate limit of the generated platform keyed on `request.ip`, and nothing set the trust proxy setting: behind a load balancer every caller had the address of the balancer and shared one window of 120 requests a minute. `load-config.ts` reads `TRUST_PROXY`, a number of hops (`1`, the nearest proxy) or the addresses, subnets and ranges of the proxies (`10.0.0.0/8,loopback`), refuses another value at start, and `start-http-server.ts` applies it (`app.set('trust proxy', ...)` on Express and Nest, `Fastify({ trustProxy })`); the limiter of Nest reads `request.ip` instead of the address of the socket. On Hono, which has no such setting, `TRUST_PROXY` is a number of hops, read from the right of `X-Forwarded-For` by the limit of the callers. Left out, no proxy is trusted, as before. `.env.example` and the README of the project say it.
137
+
138
+ **The local infrastructure of `docker-compose.yml` is published on 127.0.0.1 only.** PostgreSQL, RabbitMQ and its management UI, Kafka, NATS, the Redis protocol server and Keycloak were published on every interface, with their default credentials (`app/app`; with `--authn keycloak`, the realm user `demo-admin/demo-admin` and a public client with direct grants, enough for anyone on the network to mint an administrator token), while Varnish, MinIO, Jaeger and GlitchTip were bound to `127.0.0.1`. Every port is now `"127.0.0.1:${PORT}:port"`, and the compose file and the README of the project say how to publish one wider on purpose.
139
+
140
+ **The generated `.gitignore` and `.dockerignore` leave out every `.env.*` file but `.env.example`.** They ignored `.env` alone, so `.env.local`, `.env.production` or `.env.development.local`, files the agent permissions of the kit already refuse to read, could be committed or copied into the image.
141
+
142
+ **`doctor` writes its fixes in the dialect of the project.** In a pnpm project the fix of a missing script, of a package at another range or of the platform folders said `npx ddd-ts-kit ...`; it now says `pnpm exec ddd-ts-kit ...`, as the fix of the hooks already did.
143
+
144
+ To move: an existing project copies from a fresh `init` the `problemErrorHandler` lines (`ProblemExceptionFilter` on Nest) of `src/platform/http/start-http-server.ts`, with `'logger'` in the `Served` type, and on Express with a Redis protocol server `answerReadiness`; `trustProxy` of `app-config.ts`, `readTrustProxy` of `load-config.ts` and the line that applies it in `start-http-server.ts` (`callerAddress` on Hono), then sets `TRUST_PROXY` where it runs behind a proxy. In `docker-compose.yml`, prefix each published port with `127.0.0.1:`. Add `.env.*` and `!.env.example` under `.env` in `.gitignore` and in `.dockerignore`.
145
+
146
+ **The behaviour pages no longer show a format placeholder in a heading or a rule.** A spec written with `describe.each(...)('AppointmentExportGateway, %s', ...)` or `it.each(...)('refuses %s with 422', ...)` put `%s` in `docs/behaviour/<context>.md`, where the reader could not tell what it stood for. The page now writes `AppointmentExportGateway (each case)` (a placeholder at the end of a title goes, with the comma or the preposition before it, and `(each case)` follows: `accepts the kind (each case)`, `The occupancy read (each case)`), `refuses each case with 422` and `stand as the fact says each case, once it is sent` when the placeholder is part of the sentence, and `each case, by cause` for a title that opens with it; `%s`, `%d`, `%i`, `%f`, `%j`, `%o`, `%O`, `%p` and `$name` are read this way. The cases themselves are not read: they are known when the spec runs.
147
+
148
+ To move: run `ddd-ts-kit docs --behaviour` and commit the pages.
149
+
150
+ **`ddd-ts-kit acceptance <story> --lock` no longer takes a changed scenario without a verdict when the lock file was deleted first.** With a lock file that is missing, unreadable or empty, `--lock` reads the last lock of the story that a commit holds and compares with it as with the lock on the disk: a scenario, a criterion or a regression test that differs without an `amend` verdict of the `acceptance-judge` agent for its very version is refused (exit 2, naming it, with `git checkout <commit> -- <lock>` to restore the lock; `acceptance <story>` lists the same drift), and the verdicts it finds are kept as amendments of the lock. A lock whose deletion a commit holds is a removal decided, and is locked again with one line. Without an answer from git the story is locked, and one line says the previous lock could not be checked only when a removal is plausible.
151
+
152
+ **`plan-waves` refuses a row whose id or context it could not write in a command.** The `brief` of a batch, `npx ddd-ts-kit worker-scope <context> --base origin/main --rows <ids>`, is a command the conductor runs, and it was built from the context and id cells of `docs/architecture/slices.md` as they stood: a row whose context was `billing$(touch /tmp/pwned)` or whose id was `US1.02;id` gave exit 0, no problem and a brief holding that text. Such a row is now a problem of the plan, `bad-row`, named (`#US1.03 cannot be planned: its context "billing$(touch /tmp/pwned)" is neither declared in the config nor created by a row`), with exit 1 and no waves, so no brief: a context must be declared in the config, an id is a code then at most one number (`US1.02`, `M1.03`, `12`). The owner cell is only compared and printed, never written in a command.
153
+
154
+ To move: a plan whose rows name a context the config does not declare, or an id with a space, a comma or a shell character, now stops `plan-waves`: fix the cell of `slices.md`.
155
+
156
+ **The generated handler, query and job specs arrange through the world of their context, and `holdersOf` of `@ddd-ts-kit/auth/testing` gives the actor and the authorizer holding a permission.** Once `test/worlds/<context>.world.ts` exists (`generate test-world <context>`), `generate command`, `generate query` (`--search` too) and `generate job` write an `arrange()` that is one call of the world: `aBillingWorld({ modules: [holders], idPrefix: 'invoice' })` under a container, the buses and the fakes of the world on which the spec registers its handler when wired by hand; the assertions are the same (the answer, the refusal of an actor without the permission, the `it.todo` of the business decision). A spec generated before the world, or when the world lacks what it needs (the fake of the repository of a newer aggregate, an option of a world written by an earlier version), builds the test application or the buses as before; under a container a one-line comment and a note, once per run, say that `generate test-world <context>` (or `--force`) shortens it, and a world the generator cannot read (it looks for `export function a<Context>World` and the members of `<Context>WorldOptions`) is said so, never offered to `--force`; no generator writes a world unasked. `holdersOf(permission, ...more)` answers `{ holder, authorizer }`: a user of the role `holder`, and a `RoleBasedAuthorizer` granting the permissions to that role and to the system actors, so the five lines of every generated spec that built them are one, in both arrangements, and the spec of a job grants its system actor with it. The world of a container takes `fakes` (the fake of a port it cannot build alone, a reader that answers what the spec gives it), each replacing the fake the world builds for the same port, and, under tenancy, `tenants`; it builds its fakes in a function of its own, so it stays short however many the context has.
157
+
158
+ To move: run `generate test-world <context>` first (with `--force` on a world written by an earlier version, so that it takes `fakes` and `tenants`), then regenerate a spec with `--force` to get the new arrangement, after committing its tests: `--force` writes the files of the use case again. Specs left as they are keep passing.
159
+
160
+ **The specs of reactions and controllers have one arrangement: `RecordingCommandBus` of `@ddd-ts-kit/kernel/testing` and `routeOf` of `@ddd-ts-kit/http/testing`.** Two testing entries are new. `@ddd-ts-kit/kernel/testing` holds `RecordingCommandBus` and `RecordingQueryBus`: buses that keep every message they are handed, in order, in `executed`, and answer what the spec told them with `answering(type, answer)` (an identifier, a page, or a refusal the function throws), nothing otherwise; no handler runs. `@ddd-ts-kit/http/testing` holds `routeOf(controller or route, options)`: the route of a spec and its `send(request)`, through the whole pipeline as an authenticated `caller` (`user-1`, no role, or the actor the spec names), guards included unless the spec says `guards: 'skip'` once, answers checked against the declaration, the other options of `executeRoute` (`errorMapper`) given once beside it. The specs `generate` writes read as act and assert: the spec of an event handler and of an integration event handler keeps its policy pending (`it.todo`) until the team names the command, beside one running test that says what the fresh handler does (`handles the fact and sends no command until the policy is written`), to replace by the policy, and says the one shape its test takes, the fact given and the command a `RecordingCommandBus` recorded asserted (an after-commit effect: the fake of its port); a projection is given the fact and its spec asserts the line it keeps; a controller, a function route, a Nest controller, an upload (the upload reader given to `routeOf` once) and the controllers of `--preset identity` are sent a request by `routeOf` and their spec asserts the answer and the command or query handed to the use case (`expect(commands.executed).toEqual([new IssueInvoiceCommand(caller)])`), behind the guards of the controller. A generated event handler that runs before the commit, a reaction that sends a command, receives the `CommandBus` in its constructor, wired by the module file or read from its signature; one that runs after the commit is left to the port its effect needs, as before. The spec of an event handler no longer proves the phase it runs in: that a `before-commit` reaction runs inside the transaction and an `after-commit` one once it committed is a guarantee the suite of the kernel proves once. `ddd-ts-kit controllers` moves a spec written with `routeOf` as it is, behind the guards of the new group, and still runs one written with `executeRoute` without them (`{ guards: 'skip' }`).
161
+
162
+ To move: nothing breaks; a spec written before keeps passing. To give an existing spec the new arrangement, regenerate it with `--force` once its business assertions are saved elsewhere, or adopt the helpers by hand: replace an `InMemoryCommandBus` that registers a handler only to keep the command by `new RecordingCommandBus()` (`.answering(XCommand, () => 'x-1')` where the caller reads the answer) and assert `commands.executed`; replace `executeRoute(controllerRoute(new XController(commands), { guards: 'skip' }), request(...), { validateResponses: true })` and the hand-written `request()` helper by `routeOf(new XController(commands)).send({ params, body })`, naming `{ caller }` where a guard asks for a role; drop the phase test (`unitOfWorkStage`, `afterCommitFailures`) from the spec of an event handler. A hand-written event handler that a module file builds keeps its constructor: only a generated one now receives the `CommandBus`.
163
+
164
+ **`generate route` reads the constructor of its command or query and writes the body schema, the call and a spec that sends a valid body from it.** When the command (or the query) already declares its fields, past the actor (`constructor(actor: Actor, readonly invoiceId: string, readonly reason: string, readonly refundAmount: number) { super(actor); }`), the route reads each string, number or boolean from the path when it names a parameter after the field (a string), from the body otherwise, and writes the schema of the body in the library of the stack: `z.object({ reason: z.string(), refundAmount: z.number() })` with zod, `Type.Object(...)` with TypeBox, the decorated fields of the body class with class-validator (validated as it is, the option that let an empty class through dropped), and with `standard-schema` a Standard Schema written by hand for the body and for the path parameters, with its JSON Schema. The call hands each field over, `new RefundInvoiceCommand(request.actor, request.params.invoiceId, request.body.reason, request.body.refundAmount)` in a controller, `input.params` and `input.body` in a function route, the parameters of the method in a Nest controller, and the `TODO(domain)` that asked to build the message is gone. The spec sends a body of samples (`'reason-1'`, `1`, `true`) and asserts the command the use case is handed (`expect(commands.executed).toEqual([new RefundInvoiceCommand(caller, 'invoice-id-1', 'reason-1', 1)])`). The reading stops at the first field of another type (a value object, a date, a nested object, an array, an optional field, a path parameter that is no string): the call and the expectation of the spec keep the arity of the constructor with one placeholder per field left, `/* TODO(domain): read `period` (BillingPeriod) from the body where its schema declares it */ undefined`, which the type checker refuses until it is filled, and a field the body carries is named in the `TODO(domain)` of its schema; a route with a request mapper (`--mapper`), a search and an upload build their message as before. The use-case skill orders the work: the command, its constructor filled, then the route.
165
+
166
+ To move: nothing for a route already written. For the next one, fill the constructor of the command before `generate route`; to have a route written before read its command, generate it again with `--force` once its hand-written schema and call are saved elsewhere.
167
+
168
+ **The lint of a pull request reads the scripts of the repository too: the hooks of the plugin and their tests, the pipeline scripts, the configuration files.** Until now Oxlint, which lints a pull request, held rules for `packages/*/src` only, and three unused bindings in the tests of the hooks reached main, where ESLint refused them. The pull request lint now applies to `*.mjs`, `*.cjs` and `*.js` the rules ESLint applies to them on main: the recommended core rules and the clean code rules of the kit (stepdown, no commented-out code, function size as a warning).
169
+
170
+ **Four skills read what one option of `stack` needs from a file read on that stack only, so a project on the default stack loads them for fewer words.** The body of a skill is read whole each time it loads, and large shares of four bodies applied to one value of `stack` the default does not use. Each body now keeps every rule and one line "under `stack.<key>: <value>`, read `<file>.md` first", and the reference moved to a file beside the skill that opens with when it is read and points to the page of `docs/` it paraphrases (under `concepts/`, `tools/` or `guides/`). `wiring` keeps the declared style and reads `explicit.md` under `stack.style: explicit`, `nest.md` under `stack.http: nest` and `earlier-layouts.md` under `stack.dependencies: listed` or on declarations of 0.84 to 0.86: 1,565 words to 1,137. `access-control` reads `relationships.md` under `stack.authz: rebac` (who holds a permission left on the context, the resource of a use case, the searches, the system actors): 2,354 to 1,823. `persistence` reads `tenancy.md` under `stack.tenancy: shared-table`, `event-sourcing.md` under `stack.eventSourcing: on`, `personal-data.md` under `stack.privacy: on` when a table keeps something of a person, and `migrations.md` under `agents.profile: regulated`, on a merge that brings a migration of the trunk or in a parallel build: 2,119 to 1,110. `use-case` reads `factories.md` under `stack.refusals: factories`, `function-routes.md` under `stack.routes: functions` and `file-upload.md` when a use case receives a file: 2,244 to 2,143. No rule, refusal, command or example was dropped, and a test of the plugin (`node --test plugin/skills/bodies.test.mjs`) holds the four bodies under 1,200, 1,900, 1,200 and 2,200 words, naming the reference files as the place for a stack option; nothing to do in a project.
171
+
172
+ **`affected --run`, `verify-slice`, `worker-scope`, `story-scope`, `worktree` and `merge-trunk` refuse to run on Windows outside WSL 2.** They reach the package manager through `cmd.exe` on `win32`, which passes the arguments of a script unescaped: `affected --run "test & calc"` would have run `calc`. The CLI now refuses them at its entry, before any work, with exit code 2 (`worktree`, `worker-scope` and `story-scope` only when they would install: not with `--no-install` or `--dry-run`), and says to run under WSL 2, where the platform is `linux` and nothing changes. `docs/guides/agent-sandbox.md` and the README of the CLI state what Windows supports.
173
+
174
+ To move: on Windows, run the CLI inside WSL 2.
175
+
176
+ **`init` says what it keeps on a combination its defaults would not choose, and `check` names a key of the config file the kit does not read.** `init --orm none --audit on` and `init --http none --forms on` exit 0 as before, and now end with a note: the entries of the audit trail live in the memory of the process until `src/platform/audit/create-audit.ts` gets an adapter of your storage; no route serves a form until an HTTP framework is chosen. A key of `ddd-ts-kit.config.json` the kit does not read, at the root (`"contextDir"`) or under `stack` (`"ormm"`), was ignored without a word; `ddd-ts-kit check` reports it as `config/valid` on its line, with the nearest key the kit reads (`contextsDir`, `stack.orm`), the level a key belongs to (`orm` at the root goes under `stack`), or the advice to remove it; `$schema` and the `//` keys that carry a comment are left alone.
177
+
178
+
179
+ To move: a project whose `ddd-ts-kit.config.json` holds a key the kit does not read now fails `ddd-ts-kit check` on it: write the key as `docs/CONFIG.md` spells it, move it to its level, or remove it.
180
+
181
+ **`ddd-ts-kit digest --base <ref>` prints what a branch changes for its reviewer, in about thirty lines read before the diff.** HEAD is compared with its merge base with `<ref>`, both written under the temporary directory of the system through an index of their own (`git read-tree`, `git checkout-index`, so that `export-ignore` of `.gitattributes` hides no spec) and described there as `describe` reads a project (the working tree is never checked out; what it holds uncommitted is said in a note). Per context, it names the use cases, the permissions with the roles that hold them by name, the routes with their error codes, the events published and consumed, the ports with their adapters, each `added`, `changed` or `removed`; then the spec titles the branch writes, those a template of the kit wrote counted and not listed; then the files a person wrote, in reading order (the root of a context, domain, application, presentation, infrastructure, tests, elsewhere), and apart, under `Regenerated, do not review`, the generated files: the barrels, `openapi/`, `clients/`, the AsyncAPI document and the event catalog, the behaviour pages, `docs/context-map.md`, the OpenAPI documents of the platform, the schema index, `.dependency-cruiser.cjs`, and a `CONTEXT.md` changed in its generated sections alone. `--json` gives the same as data; outside a git repository, before the first commit, on a ref git does not know or one that shares no history with HEAD, it refuses with exit 2.
182
+
183
+ The list of generated files is the one the `## Do not report` of `REVIEW.md` names, the merge and the staging of a slice read: one list of the kinds of file the kit writes, from which `init` now writes `REVIEW.md`. `docs/integration/README.md`, written by people, is no longer taken for a regenerated file: `merge-trunk` merges it as any other file instead of taking the side of the trunk, and `verify-slice` no longer stages it with a slice. A new `REVIEW.md` thus also leaves the clients, the behaviour pages, the context map and the schema index out of a review, and says that `digest` lists them apart. The `story` skill of the plugin writes the digest under `### Digest` of `## Report`, before `### Verification`; the `pull-request` skill puts it at the top of the body of the pull request, under `## Digest`, after each push. `init` allows `npx ddd-ts-kit digest *` to the agents of a project.
184
+
185
+ To move: nothing is required. A project whose `REVIEW.md` was written by an earlier version keeps it (the team owns it): add to its `## Do not report` the files it lacks, and the line on `digest`, if the team wants them. `npx ddd-ts-kit init --force` adds the permission to `.claude/settings.json`.
186
+
187
+ **`init` and `generate` write each file whole, two generators on one project no longer lose each other's entries, and `plan-waves` never copies what a symbolic link points at.**
188
+
189
+ Each file `init` and `generate` write goes to `<name>.<random>.tmp` beside it, then is renamed into
190
+ place, so that a command stopped half way leaves complete files only, never a truncated one that
191
+ the next run would keep as existing; the same command run again writes the files still missing. A
192
+ file written over keeps its mode, a link that stays inside the project is still written through, a
193
+ file that is a mount point (a config a container binds) is written in place, and a read-only file is
194
+ reported unwritable by the real run as by the dry run.
195
+
196
+ `init` on a project already initialised, and each `generate` of a kind that writes shared files
197
+ (`writesShared` in `generate --help --json`: the config, the composition root, the code list and
198
+ permission set of a context, the barrels), hold the lock of the project, `.ddd-ts-kit/lock`, which
199
+ the `.gitignore` of a project already ignores. Two such commands started at once in one checkout
200
+ now run one after the other: the second waits up to five seconds, then exits 2 with
201
+ ``Another generator holds the lock of this project: `ddd-ts-kit generate context billing` (pid 1234, started 12 seconds ago). This command waited for it and wrote nothing.``
202
+ and the fix: run the generators one after the other. A lock taken on the same machine is kept while
203
+ its command runs, however long, and taken over once it has ended; one taken on another machine, or
204
+ whose holder cannot be read, is taken over a minute after it was taken.
205
+
206
+ The copy of the project `plan-waves` replays the planned commands in leaves symbolic links out: a
207
+ tracked link to a file outside the project (a key of the home folder) is no longer copied into the
208
+ temporary directory.
209
+
210
+ **The GitHub workflows `init` writes pin every action by the digest of a commit.** `actions/checkout`, `actions/setup-node`, `actions/cache`, `actions/upload-artifact`, `docker/build-push-action` and the others were named by a major tag (`@v7`), which can move; each `uses:` is now `owner/repo@<40 hex digits> # v<n>`, the tag in a comment, as the workflows of the kit itself. The generated `renovate.json` extends `helpers:pinGitHubActionDigests`, so Renovate keeps the digests current (Dependabot already updates a pinned action).
211
+
212
+ To move: an existing project keeps its tags until `init --force` rewrites its workflows, or until Renovate (with the preset above) opens a pull request that pins them.
213
+
214
+ **`generate aggregate <context> <Name> --birth "<Fact>"` names the fact an aggregate is born with, writes its domain event, and no template invents `registeredAt` or `bornAt` any more.** The fact is written in business words, `"Invoice Issued"`, `InvoiceIssued` or `Issued` naming the same `InvoiceIssued` (`billing.invoice.issued`), judged by the glossary like any name and refused when it does not read as something that happened. The command writes the event and its spec as `generate domain-event` does; `create(id, now)` records it at the instant the handler takes from its `Clock`; the builder takes that instant named after the fact (`anInvoice().issuedAt(at)`) and the spec proves the birth (`records the fact of its birth, invoice issued, at the instant it is given`). Without the flag, the aggregate keeps no instant of its own, and the `TODO(domain)` of `create` says how to record the birth later without rewriting anything: `generate domain-event`, one `record` line, then `generate builder`. The repository no longer writes a `registered_at` column, field or mapping on any ORM: the audit column `created_at` dates the row, and an instant a rule reads is a field of the state named after its fact, with its column. The end-to-end spec of the command that gives birth to it (`generate e2e` after `command --creates` and its route) expects the birth event in the trace of the request, after the save (`unit-of-work before-commit`, `domain-event billing.invoice.issued`), and a note names the files that already react to it, whose spans are the team's to add. `generate builder` reads the event `create` records, whatever it is given, replays it for an event-sourced aggregate, names in a note the parameters of `create` it cannot guess, and writes no builder, saying why, when `create` is missing or records an event not named `<Aggregate><Fact>`. The event-sourced path takes the same flag as before (`--birth Triggered`, now also `--birth "Incident Triggered"`), its state, builder and spec name the instant after the fact (`triggeredAt`, `createdAt` without the flag). `--retention created_at:<period>` is refused as `--retention registered_at:<period>` still is, for the tables generated before.
215
+
216
+ To move: an aggregate generated before keeps its `registeredAt` and its `registered_at` column. A new aggregate has neither: generate it with `--birth "<Fact>"` (`generate aggregate billing Invoice --birth "Invoice Issued"`) to get its birth event and the instant named after it, and a repository generated for it writes no `registered_at`; a team that read `registeredAt` on a new aggregate reads the `occurredAt` of its birth event, or adds the field and its column by hand. On an event-sourced aggregate generated anew, `registeredAt` is now `createdAt` (or `<fact>At` with `--birth`), and the builder method `bornAt(...)` is `createdAt(...)`.
217
+
218
+ **A background job declares the schema of its payload, and the worker reads every stored payload with it before the run: one that does not fit is dead with `INVALID_JOB_PAYLOAD`, never run.** A payload waits in the queue (the jobs table, Redis, the memory of the process) across deploys; until now the worker handed it to the typed `run` as it was stored, so a job enqueued before a deploy that changed its shape ran as the new type, a missing field read as `undefined`. A background job class now carries a static `payload` next to its `jobName`, a `BackgroundJobPayloadSchema` of the kernel (`parse(input)` answering a `Result`), which the `Schema` of `@ddd-ts-kit/validation` is, whatever library it adapts. It is required by the types: `jobs.enqueue(Job, ...)`, `@Background()`, `builder.backgroundJob(..).handledBy(Job, ...)` and `platform.backgroundJobs.register(Job, ...)` do not compile without it, `handledByFactory(factory, payload)` takes it, `BackgroundJobDefinition` of `@ddd-ts-kit/scheduling` has `payload`, and at run time `@Background()` throws `DeclarationError` and a module `WiringError` (`INVALID_JOB_SETTINGS`) for a class without one. Before each run `QueueWorker` parses the stored payload and hands `run` what the schema answers; a payload it refuses fails the attempt with `InvalidJobPayloadError` (code `INVALID_JOB_PAYLOAD`, its message naming the job, the id of the stored job and the path and code of each issue, `issues` holding them and never the message of the library, which may quote the stored data), and the job is dead at once, no retry: `find` shows `dead` with that code, the log and the metrics carry the code, `reportFailedBackgroundJobs` sends it to the error reporter, and an operator retries it (`retryDead`) once a version that reads it is deployed. `StoredJobQueue` reads the payload with the same schema where it is enqueued: one that does not fit throws `InvalidEnqueuedPayloadError` (`INVALID_ENQUEUED_PAYLOAD`, the path and code of each issue) and nothing is stored. The timeout job of a process uses `processTimeoutDuePayload` of the kernel. `generate background-job` writes the schema in the validation library of the stack (a `z.object` under zod, a class of decorated fields without initial value under class-validator, a `Type.Object` under TypeBox, one refusal per field written by hand under Standard Schema and, with `--validation none`, in the form of the kernel, which refuses a payload that is no object; a field type it writes no check for is let through as `unknown` with a `TODO(domain)`), the type of the payload inferred from it, and its spec enqueues the job as an earlier version declared it (`earlierVersionOf(MyBackgroundJob)`, new in `@ddd-ts-kit/testing`) and shows the job dead. `layer/application-inward` lets a background job, `application/background/*.background-job.ts` and no other file of the layer, import `@ddd-ts-kit/validation` and the validation library of the stack (`stack.validation`), no other, in `ddd-ts-kit check`, the ESLint plugin and the dependency-cruiser file. [Background jobs](docs/concepts/background-jobs.md) says how to evolve a payload: a new field is optional, a new shape is a new job name.
219
+
220
+ To move: three edits. (1) Give each background job class its schema, next to its `jobName`, in the validation library of the project, for example under zod `static readonly payload = zodSchema(z.object({ calendarId: z.string(), appointmentIds: z.array(z.string()), reason: z.string() }));`, the timeout job of a process `static readonly payload = processTimeoutDuePayload;` (from `@ddd-ts-kit/kernel`); a job built by `handledByFactory` passes it as the second argument, a `worker.register({ name, run })` of your own adds `payload`, and where the platform is wired by hand `BackgroundJobClass` of `src/platform/jobs/background-jobs.ts` gains `readonly payload: BackgroundJobPayloadSchema<unknown>;` and `src/platform/jobs/create-background-work.ts` registers `payload: job.payload` (`init --force` writes both). Under class-validator, write the fields without initial value (`declare reason: string;`): a field the stored payload lacks would take the initial value, and pass. Before the deploy, check that the jobs waiting in the queue fit the new schema, or let them run first; a spec that enqueues an unfit payload on purpose goes through `earlierVersionOf` of `@ddd-ts-kit/testing`, since `enqueue` now refuses it. (2) Regenerate the dependency-cruiser file, `npx ddd-ts-kit depcruise-config --write`, so that `npm run depcruise` lets the job import its schema library. (3) Update `@ddd-ts-kit/cli` and `@ddd-ts-kit/eslint-plugin` to this version, and the ddd-ts-kit plugin of your agent (`claude plugin update ddd-ts-kit`), which carry the new text of `layer/application-inward`.
221
+
222
+ ## 0.99.0
223
+
224
+ **`merge-trunk` regenerates the Prisma client after a schema merge, `--abort` restores the behaviour pages, and `--continue` says when the trunk moved.** A merge that added or changed `prisma/schema/<context>.prisma` left the git-ignored `generated/schema.sql` of the in-process test database stale until `npm run db:client` ran, so the end-to-end requests answered 500 on missing tables: with the Prisma stack, `merge-trunk` (and `--continue`) now runs `db:client` after `regenerate` when the merge changed a file under `prisma/schema/`, and stops, naming the script, when it fails (Drizzle, Knex and TypeORM derive no such file: their test database reads the tracked sources). The pages of `docs/behaviour/` are now derived files: settled by regenerating when they conflict, staged again after `regenerate` rewrote them, and restored and named by `--abort` instead of refusing with "changed by hand since it was staged". A merge left in progress keeps the trunk commit of its first run, so `--continue` now reports `trunk moved: <ref> was <a> when the merge started, it is <b> now` (`trunkMoved` in `--json`) and tells to run `merge-trunk` again once the merge is committed.
225
+
226
+ **The guard says where the `requires(...)` declarations of a module live.** A worker whose context module file is near the size limit created `application/authorization/declare-<module>-use-cases.policy.ts` by hand. The declarations already go to `<module>/<module>.module.ts` when `generate command|query ... --module <module>` is given (modules of the model, 0.98.0); the guard now answers a new `*.policy.ts` with that, and the wiring and access-control skills and the authorization page say it.
227
+
228
+ **`check --changed-since` reports a finding whose cause is a changed file, not only the findings that sit on a changed file.** A violation may now name `subjects`, the other files it is repaired in (shown in `--json`), and `--changed-since` keeps it when its file or one of its subjects changed. `events/consumer-idempotent` (handler not registered with a consumer name), `declarations/port-adapter-wired`, `authz/declared` (use case missing from the authorization map or declared on its message class) and `authz/policy-asked` now name the module files, composition files, authorization files or policy files that repair them, `<module>/<module>.module.ts` of a module of the model included. So a worker who removes a registration from a module file, or changes a policy, sees the error at once instead of at the full `check`. `events/consumer-idempotent` also reads every module file of a context, so a handler registered in the module file of its module is no longer reported against the first module file found.
229
+
230
+ **`check --changed-since <ref>` (and `verify-slice`) now judge a tracked file modified but not committed.** The list of changed files compared the merge base with `HEAD` only, so an edit not yet committed was skipped, contrary to the comment of the function, and a green run said nothing of it. It is now the union of the files committed since the merge base, the tracked files modified in the index or the working tree, and the untracked files git does not ignore. No more need to commit before checking.
231
+
232
+ **A relative `--worktree .worktrees/<name>` resolves against the main checkout, from any worktree.** `worker-scope`, `story-scope` and `worker-scope --resume` resolved the asked path against the root of the checkout the command ran in, so the line `plan-waves` prints, run from a trunk worktree (`.worktrees/wave7`), nested the new worktree in the trunk's (`.worktrees/wave7/.worktrees/<name>`). A relative path under `.worktrees/` now goes to the main checkout, as the default place does, and a note says so; any other relative path still starts at the project you run from.
233
+
234
+ **A run of a per-tenant job says how many tenants it ran for, and `runJob` of the e2e support fails on a run that reached none.** `JobRun` has a new `tenants` field on a succeeded per-tenant run (absent for a global job), also in the log line of the run: with an empty tenant directory the job is never called and the run is `succeeded` with `tenants: 0`. The generated `runJob(name)` throws on it, telling the spec to open a tenant (an organisation) first.
235
+
236
+ To move: a project generated before keeps its `test/e2e/support/start-application.ts`; add `tenants` to the destructuring of `jobs.runNow(name)` and throw when `tenants === 0` to get the check.
237
+
7
238
  ## 0.98.0
8
239
 
9
240
  **The test runners page measures Vitest against Jest, and says which settings make each faster.**