ddd-ts-kit 0.85.0 → 0.87.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 (2992) hide show
  1. package/CHANGELOG.md +324 -0
  2. package/README.fr.md +323 -54
  3. package/README.md +302 -52
  4. package/dist/acceptance/acceptance-lock.d.ts +10 -1
  5. package/dist/acceptance/acceptance-lock.d.ts.map +1 -1
  6. package/dist/acceptance/acceptance-problem.d.ts +2 -2
  7. package/dist/acceptance/acceptance-problem.d.ts.map +1 -1
  8. package/dist/acceptance/commentless.d.ts.map +1 -1
  9. package/dist/acceptance/commentless.js.map +1 -1
  10. package/dist/acceptance/counts-for.d.ts.map +1 -1
  11. package/dist/acceptance/drift.d.ts.map +1 -1
  12. package/dist/acceptance/format-acceptance.d.ts.map +1 -1
  13. package/dist/acceptance/format-acceptance.js +19 -1
  14. package/dist/acceptance/format-acceptance.js.map +1 -1
  15. package/dist/acceptance/lock-acceptance.d.ts +9 -6
  16. package/dist/acceptance/lock-acceptance.d.ts.map +1 -1
  17. package/dist/acceptance/lock-acceptance.js +38 -8
  18. package/dist/acceptance/lock-acceptance.js.map +1 -1
  19. package/dist/acceptance/lock-file-of.js.map +1 -1
  20. package/dist/acceptance/lock-problems.d.ts +4 -1
  21. package/dist/acceptance/lock-problems.d.ts.map +1 -1
  22. package/dist/acceptance/lock-problems.js +8 -3
  23. package/dist/acceptance/lock-problems.js.map +1 -1
  24. package/dist/acceptance/read-acceptance.d.ts +3 -2
  25. package/dist/acceptance/read-acceptance.d.ts.map +1 -1
  26. package/dist/acceptance/read-acceptance.js +34 -8
  27. package/dist/acceptance/read-acceptance.js.map +1 -1
  28. package/dist/acceptance/read-lock.d.ts.map +1 -1
  29. package/dist/acceptance/read-lock.js +5 -0
  30. package/dist/acceptance/read-lock.js.map +1 -1
  31. package/dist/acceptance/read-regression.d.ts +5 -0
  32. package/dist/acceptance/read-regression.d.ts.map +1 -0
  33. package/dist/acceptance/read-regression.js +16 -0
  34. package/dist/acceptance/read-regression.js.map +1 -0
  35. package/dist/acceptance/read-verdicts.d.ts.map +1 -1
  36. package/dist/acceptance/read-verdicts.js.map +1 -1
  37. package/dist/acceptance/regression-drift-of.d.ts +10 -0
  38. package/dist/acceptance/regression-drift-of.d.ts.map +1 -0
  39. package/dist/acceptance/regression-drift-of.js +27 -0
  40. package/dist/acceptance/regression-drift-of.js.map +1 -0
  41. package/dist/acceptance/regression-files-in.d.ts +7 -0
  42. package/dist/acceptance/regression-files-in.d.ts.map +1 -0
  43. package/dist/acceptance/regression-files-in.js +20 -0
  44. package/dist/acceptance/regression-files-in.js.map +1 -0
  45. package/dist/acceptance/regression-problems.d.ts +9 -0
  46. package/dist/acceptance/regression-problems.d.ts.map +1 -0
  47. package/dist/acceptance/regression-problems.js +63 -0
  48. package/dist/acceptance/regression-problems.js.map +1 -0
  49. package/dist/acceptance/regression-spec.d.ts +18 -0
  50. package/dist/acceptance/regression-spec.d.ts.map +1 -0
  51. package/dist/acceptance/regression-spec.js +2 -0
  52. package/dist/acceptance/regression-spec.js.map +1 -0
  53. package/dist/acceptance/scenario-problems.d.ts.map +1 -1
  54. package/dist/acceptance/scenarios-in.d.ts.map +1 -1
  55. package/dist/acceptance/scenarios-in.js.map +1 -1
  56. package/dist/acceptance/story-acceptance.d.ts +3 -0
  57. package/dist/acceptance/story-acceptance.d.ts.map +1 -1
  58. package/dist/acceptance/story-file-of.d.ts +2 -0
  59. package/dist/acceptance/story-file-of.d.ts.map +1 -1
  60. package/dist/acceptance/story-file-of.js +1 -1
  61. package/dist/acceptance/story-file-of.js.map +1 -1
  62. package/dist/acceptance/story-problems.d.ts.map +1 -1
  63. package/dist/acceptance/verdict-on.d.ts.map +1 -1
  64. package/dist/affected/changed-paths.js.map +1 -1
  65. package/dist/affected/downstreams-of.d.ts.map +1 -1
  66. package/dist/affected/everything.d.ts.map +1 -1
  67. package/dist/affected/format-selection.d.ts.map +1 -1
  68. package/dist/affected/reach-of.d.ts.map +1 -1
  69. package/dist/affected/run-affected.d.ts.map +1 -1
  70. package/dist/affected/run-affected.js.map +1 -1
  71. package/dist/affected/select-affected.d.ts.map +1 -1
  72. package/dist/affected/select-affected.js.map +1 -1
  73. package/dist/alias/alias-problem.js.map +1 -1
  74. package/dist/alias/alias-roots.d.ts.map +1 -1
  75. package/dist/alias/alias-roots.js.map +1 -1
  76. package/dist/alias/compiler-paths.d.ts.map +1 -1
  77. package/dist/alias/compiler-resolution-of.d.ts.map +1 -1
  78. package/dist/alias/context-alias.d.ts.map +1 -1
  79. package/dist/alias/context-alias.js.map +1 -1
  80. package/dist/alias/default-build-layout.d.ts.map +1 -1
  81. package/dist/alias/directory-alias.d.ts.map +1 -1
  82. package/dist/alias/directory-alias.js.map +1 -1
  83. package/dist/alias/index.d.ts.map +1 -1
  84. package/dist/alias/index.js.map +1 -1
  85. package/dist/alias/module-name-mapper.d.ts.map +1 -1
  86. package/dist/alias/specifier-of.d.ts.map +1 -1
  87. package/dist/alias/specifier-of.js.map +1 -1
  88. package/dist/alias/to-alias.d.ts.map +1 -1
  89. package/dist/bin.js.map +1 -1
  90. package/dist/build/computed-imports.d.ts.map +1 -1
  91. package/dist/build/emitted-place.d.ts.map +1 -1
  92. package/dist/build/emitted-specifier.d.ts +4 -3
  93. package/dist/build/emitted-specifier.d.ts.map +1 -1
  94. package/dist/build/emitted-specifier.js +15 -5
  95. package/dist/build/emitted-specifier.js.map +1 -1
  96. package/dist/build/emitted-target.d.ts +2 -2
  97. package/dist/build/emitted-target.d.ts.map +1 -1
  98. package/dist/build/emitted-target.js +2 -2
  99. package/dist/build/index.d.ts.map +1 -1
  100. package/dist/build/index.js.map +1 -1
  101. package/dist/build/rewrite-aliases.d.ts.map +1 -1
  102. package/dist/build/rewrite-aliases.js.map +1 -1
  103. package/dist/build/rewrite-specifiers.d.ts.map +1 -1
  104. package/dist/build/rewrite-specifiers.js.map +1 -1
  105. package/dist/build/specifier-literal.d.ts.map +1 -1
  106. package/dist/build/specifier-literals.d.ts.map +1 -1
  107. package/dist/build/specifier-literals.js.map +1 -1
  108. package/dist/build/unresolved-problem.d.ts.map +1 -1
  109. package/dist/build/unresolved-problem.js +1 -1
  110. package/dist/build/unresolved-problem.js.map +1 -1
  111. package/dist/check/alias/build-layout-of.d.ts.map +1 -1
  112. package/dist/check/alias/build-layout-of.js.map +1 -1
  113. package/dist/check/alias/build-scripts.d.ts.map +1 -1
  114. package/dist/check/alias/build-scripts.js.map +1 -1
  115. package/dist/check/alias/compiler-options-of.d.ts.map +1 -1
  116. package/dist/check/alias/compiler-options-of.js.map +1 -1
  117. package/dist/check/alias/compiler-paths.d.ts.map +1 -1
  118. package/dist/check/alias/compiler-paths.js.map +1 -1
  119. package/dist/check/alias/compiler-resolution.d.ts.map +1 -1
  120. package/dist/check/alias/compiler-resolution.js.map +1 -1
  121. package/dist/check/alias/configured-alias.d.ts.map +1 -1
  122. package/dist/check/alias/configured-alias.js.map +1 -1
  123. package/dist/check/alias/graph-tools.d.ts.map +1 -1
  124. package/dist/check/alias/graph-tools.js.map +1 -1
  125. package/dist/check/alias/inspected.d.ts.map +1 -1
  126. package/dist/check/alias/manifest-scripts.d.ts.map +1 -1
  127. package/dist/check/alias/manifest-scripts.js.map +1 -1
  128. package/dist/check/alias/parse-jsonc.js.map +1 -1
  129. package/dist/check/alias/read-project-file.d.ts.map +1 -1
  130. package/dist/check/alias/source-runners.d.ts.map +1 -1
  131. package/dist/check/alias/source-runners.js.map +1 -1
  132. package/dist/check/alias/test-runners.d.ts.map +1 -1
  133. package/dist/check/alias/test-runners.js.map +1 -1
  134. package/dist/check/authz/is-granted.d.ts.map +1 -1
  135. package/dist/check/authz/is-granted.js.map +1 -1
  136. package/dist/check/authz/is-in-project.d.ts.map +1 -1
  137. package/dist/check/authz/permission-sets.d.ts.map +1 -1
  138. package/dist/check/authz/permission-sets.js.map +1 -1
  139. package/dist/check/authz/scoped-permission.d.ts.map +1 -1
  140. package/dist/check/authz/scoped-permission.js.map +1 -1
  141. package/dist/check/authz/signed-in-grant-sources.d.ts.map +1 -1
  142. package/dist/check/authz/signed-in-grant-sources.js.map +1 -1
  143. package/dist/check/authz/signed-in-grants.d.ts.map +1 -1
  144. package/dist/check/authz/signed-in-grants.js.map +1 -1
  145. package/dist/check/business-names/closing-parenthesis.js.map +1 -1
  146. package/dist/check/business-names/declared-bindings.d.ts.map +1 -1
  147. package/dist/check/business-names/declared-bindings.js.map +1 -1
  148. package/dist/check/business-names/generic-words-of.d.ts.map +1 -1
  149. package/dist/check/business-names/generic-words-of.js.map +1 -1
  150. package/dist/check/business-names/judges-names.d.ts.map +1 -1
  151. package/dist/check/business-names/named-bindings.d.ts.map +1 -1
  152. package/dist/check/business-names/named-bindings.js.map +1 -1
  153. package/dist/check/business-names/opening-bracket.js.map +1 -1
  154. package/dist/check/business-names/parameter-bindings.d.ts.map +1 -1
  155. package/dist/check/business-names/parameter-bindings.js.map +1 -1
  156. package/dist/check/business-names/parameter-lists.js.map +1 -1
  157. package/dist/check/business-names/pattern-bindings.d.ts.map +1 -1
  158. package/dist/check/business-names/pattern-bindings.js.map +1 -1
  159. package/dist/check/business-names/property-bindings.d.ts.map +1 -1
  160. package/dist/check/business-names/suggested-name.d.ts.map +1 -1
  161. package/dist/check/business-names/suggested-name.js.map +1 -1
  162. package/dist/check/business-names/top-level-separator.js.map +1 -1
  163. package/dist/check/canonical/first-flaw.d.ts.map +1 -1
  164. package/dist/check/canonical/first-flaw.js.map +1 -1
  165. package/dist/check/canonical/flaw-in-contexts.d.ts.map +1 -1
  166. package/dist/check/canonical/flaw-in-contexts.js.map +1 -1
  167. package/dist/check/canonical/is-canonical-directory.js.map +1 -1
  168. package/dist/check/canonical/is-context-relative.js.map +1 -1
  169. package/dist/check/canonical/role-of.d.ts.map +1 -1
  170. package/dist/check/canonical/role-of.js.map +1 -1
  171. package/dist/check/canonical/role.d.ts +2 -0
  172. package/dist/check/canonical/role.d.ts.map +1 -1
  173. package/dist/check/canonical/roles.d.ts.map +1 -1
  174. package/dist/check/canonical/roles.js +6 -2
  175. package/dist/check/canonical/roles.js.map +1 -1
  176. package/dist/check/canonical/stray-entry.d.ts.map +1 -1
  177. package/dist/check/canonical/stray-entry.js +16 -4
  178. package/dist/check/canonical/stray-entry.js.map +1 -1
  179. package/dist/check/catalogue/architecture-rules.d.ts.map +1 -1
  180. package/dist/check/catalogue/architecture-rules.js +6 -0
  181. package/dist/check/catalogue/architecture-rules.js.map +1 -1
  182. package/dist/check/catalogue/default-severities.d.ts.map +1 -1
  183. package/dist/check/catalogue/default-severities.js +2 -0
  184. package/dist/check/catalogue/default-severities.js.map +1 -1
  185. package/dist/check/catalogue/delegated-rules.js.map +1 -1
  186. package/dist/check/catalogue/known-rule-ids.js.map +1 -1
  187. package/dist/check/catalogue/rule-ids.js.map +1 -1
  188. package/dist/check/catalogue/rules.d.ts.map +1 -1
  189. package/dist/check/catalogue/rules.js.map +1 -1
  190. package/dist/check/catalogue/suppression-rule.js.map +1 -1
  191. package/dist/check/commands/changed-files.js.map +1 -1
  192. package/dist/check/commands/check-command.d.ts.map +1 -1
  193. package/dist/check/commands/check-command.js.map +1 -1
  194. package/dist/check/commands/check-file-command.d.ts.map +1 -1
  195. package/dist/check/commands/check-file-command.js.map +1 -1
  196. package/dist/check/commands/explain-command.d.ts.map +1 -1
  197. package/dist/check/commands/explain-command.js.map +1 -1
  198. package/dist/check/commands/known-rules.js.map +1 -1
  199. package/dist/check/commands/rules-command.d.ts.map +1 -1
  200. package/dist/check/commands/rules-command.js.map +1 -1
  201. package/dist/check/commands/self-check.d.ts.map +1 -1
  202. package/dist/check/commands/self-check.js.map +1 -1
  203. package/dist/check/comments/comment-lines.d.ts.map +1 -1
  204. package/dist/check/comments/looks-like-code.js.map +1 -1
  205. package/dist/check/comments/restates-name.js.map +1 -1
  206. package/dist/check/configuration/config-inspection.d.ts +6 -0
  207. package/dist/check/configuration/config-inspection.d.ts.map +1 -1
  208. package/dist/check/configuration/config-inspection.js +22 -1
  209. package/dist/check/configuration/config-inspection.js.map +1 -1
  210. package/dist/check/configuration/module-problems.d.ts +14 -0
  211. package/dist/check/configuration/module-problems.d.ts.map +1 -0
  212. package/dist/check/configuration/module-problems.js +60 -0
  213. package/dist/check/configuration/module-problems.js.map +1 -0
  214. package/dist/check/configuration/raw-config.d.ts.map +1 -1
  215. package/dist/check/configuration/raw-config.js.map +1 -1
  216. package/dist/check/coverage/ignore-hints.d.ts.map +1 -1
  217. package/dist/check/coverage/ignore-hints.js.map +1 -1
  218. package/dist/check/coverage/runner-settings.d.ts.map +1 -1
  219. package/dist/check/coverage/runner-settings.js.map +1 -1
  220. package/dist/check/coverage/script-flags.d.ts.map +1 -1
  221. package/dist/check/coverage/script-flags.js.map +1 -1
  222. package/dist/check/declarations/arguments-of.d.ts.map +1 -1
  223. package/dist/check/declarations/arguments-of.js.map +1 -1
  224. package/dist/check/declarations/binding-call.d.ts.map +1 -1
  225. package/dist/check/declarations/binding-calls.d.ts.map +1 -1
  226. package/dist/check/declarations/binding-calls.js.map +1 -1
  227. package/dist/check/declarations/classes-of.d.ts.map +1 -1
  228. package/dist/check/declarations/classes-of.js.map +1 -1
  229. package/dist/check/declarations/declared-as.d.ts.map +1 -1
  230. package/dist/check/declarations/declared-as.js.map +1 -1
  231. package/dist/check/declarations/declared-class.d.ts.map +1 -1
  232. package/dist/check/declarations/declared-event-handlers.d.ts.map +1 -1
  233. package/dist/check/declarations/declared-event-handlers.js.map +1 -1
  234. package/dist/check/declarations/dependency-lists.d.ts.map +1 -1
  235. package/dist/check/declarations/dependency-lists.js.map +1 -1
  236. package/dist/check/declarations/literal-in.d.ts.map +1 -1
  237. package/dist/check/declarations/option-of.d.ts.map +1 -1
  238. package/dist/check/declarations/whole-literal.d.ts.map +1 -1
  239. package/dist/check/domain-events/adapter-folders.d.ts.map +1 -1
  240. package/dist/check/domain-events/adapter-folders.js.map +1 -1
  241. package/dist/check/domain-events/event-handler.d.ts.map +1 -1
  242. package/dist/check/domain-events/event-handlers-of.d.ts.map +1 -1
  243. package/dist/check/domain-events/event-handlers-of.js.map +1 -1
  244. package/dist/check/domain-events/handler-dependencies.d.ts.map +1 -1
  245. package/dist/check/domain-events/handler-dependencies.js.map +1 -1
  246. package/dist/check/domain-events/handler-dependency.d.ts.map +1 -1
  247. package/dist/check/domain-events/is-registered-after-commit.d.ts.map +1 -1
  248. package/dist/check/domain-events/is-registered-after-commit.js.map +1 -1
  249. package/dist/check/domain-events/refused-before-commit.d.ts.map +1 -1
  250. package/dist/check/engine/check-result.d.ts.map +1 -1
  251. package/dist/check/engine/format-check.d.ts.map +1 -1
  252. package/dist/check/engine/run-check.d.ts.map +1 -1
  253. package/dist/check/engine/run-check.js.map +1 -1
  254. package/dist/check/engine/summarize.d.ts.map +1 -1
  255. package/dist/check/errors/builds-through-factories.d.ts.map +1 -1
  256. package/dist/check/errors/code-list-name.js.map +1 -1
  257. package/dist/check/errors/code-list.d.ts.map +1 -1
  258. package/dist/check/errors/codes-set-in.d.ts.map +1 -1
  259. package/dist/check/errors/codes-set-in.js.map +1 -1
  260. package/dist/check/errors/error-codes.d.ts.map +1 -1
  261. package/dist/check/errors/error-codes.js.map +1 -1
  262. package/dist/check/errors/is-codes-file.d.ts.map +1 -1
  263. package/dist/check/errors/is-error-file.d.ts.map +1 -1
  264. package/dist/check/errors/listed-codes.d.ts.map +1 -1
  265. package/dist/check/errors/listed-codes.js.map +1 -1
  266. package/dist/check/errors/names-refusals.d.ts.map +1 -1
  267. package/dist/check/errors/read-code-list.d.ts.map +1 -1
  268. package/dist/check/errors/read-code-list.js.map +1 -1
  269. package/dist/check/errors/refusal-classes.d.ts.map +1 -1
  270. package/dist/check/errors/refusal-classes.js.map +1 -1
  271. package/dist/check/event-sourcing/declared-shape.d.ts.map +1 -1
  272. package/dist/check/event-sourcing/declared-shape.js.map +1 -1
  273. package/dist/check/event-sourcing/event-sourced-classes.d.ts.map +1 -1
  274. package/dist/check/event-sourcing/fact-words.js.map +1 -1
  275. package/dist/check/event-sourcing/kernel-names.d.ts.map +1 -1
  276. package/dist/check/event-sourcing/read-stored-events-lock.js.map +1 -1
  277. package/dist/check/event-sourcing/read-stored-shape.d.ts.map +1 -1
  278. package/dist/check/event-sourcing/read-stored-shape.js.map +1 -1
  279. package/dist/check/event-sourcing/stored-event-declarations.d.ts.map +1 -1
  280. package/dist/check/event-sourcing/stored-event-declarations.js.map +1 -1
  281. package/dist/check/events/consumer-registrations.d.ts.map +1 -1
  282. package/dist/check/events/consumer-registrations.js.map +1 -1
  283. package/dist/check/events/domain-event-names.d.ts.map +1 -1
  284. package/dist/check/events/event-declarations.d.ts.map +1 -1
  285. package/dist/check/events/event-declarations.js.map +1 -1
  286. package/dist/check/events/event-name-resolver.d.ts.map +1 -1
  287. package/dist/check/events/event-name-resolver.js.map +1 -1
  288. package/dist/check/events/in-declaration.d.ts.map +1 -1
  289. package/dist/check/events/is-type-literal.d.ts.map +1 -1
  290. package/dist/check/events/name-of-event-class.d.ts.map +1 -1
  291. package/dist/check/events/name-of-event-class.js.map +1 -1
  292. package/dist/check/explain/authz-docs.d.ts.map +1 -1
  293. package/dist/check/explain/clean-docs.d.ts.map +1 -1
  294. package/dist/check/explain/context-docs.d.ts.map +1 -1
  295. package/dist/check/explain/context-docs.js +2 -2
  296. package/dist/check/explain/context-docs.js.map +1 -1
  297. package/dist/check/explain/documented-rule.d.ts.map +1 -1
  298. package/dist/check/explain/documented-rule.js.map +1 -1
  299. package/dist/check/explain/domain-docs.d.ts.map +1 -1
  300. package/dist/check/explain/errors-docs.d.ts.map +1 -1
  301. package/dist/check/explain/event-sourcing-docs.d.ts.map +1 -1
  302. package/dist/check/explain/events-docs.d.ts.map +1 -1
  303. package/dist/check/explain/explanations-of.d.ts.map +1 -1
  304. package/dist/check/explain/explanations-of.js.map +1 -1
  305. package/dist/check/explain/imports-docs.d.ts.map +1 -1
  306. package/dist/check/explain/imports-docs.js +3 -3
  307. package/dist/check/explain/imports-docs.js.map +1 -1
  308. package/dist/check/explain/language-docs.d.ts.map +1 -1
  309. package/dist/check/explain/layer-docs.d.ts.map +1 -1
  310. package/dist/check/explain/layout-docs.d.ts.map +1 -1
  311. package/dist/check/explain/layout-docs.js +1 -1
  312. package/dist/check/explain/layout-docs.js.map +1 -1
  313. package/dist/check/explain/lifecycle-docs.d.ts.map +1 -1
  314. package/dist/check/explain/module-docs.d.ts +3 -0
  315. package/dist/check/explain/module-docs.d.ts.map +1 -0
  316. package/dist/check/explain/module-docs.js +33 -0
  317. package/dist/check/explain/module-docs.js.map +1 -0
  318. package/dist/check/explain/persistence-docs.d.ts.map +1 -1
  319. package/dist/check/explain/ports-docs.d.ts.map +1 -1
  320. package/dist/check/explain/rule-docs.d.ts.map +1 -1
  321. package/dist/check/explain/rule-docs.js +2 -0
  322. package/dist/check/explain/rule-docs.js.map +1 -1
  323. package/dist/check/explain/scheduling-docs.d.ts.map +1 -1
  324. package/dist/check/explain/schema-docs.d.ts.map +1 -1
  325. package/dist/check/explain/standard-docs.d.ts.map +1 -1
  326. package/dist/check/explain/tenancy-docs.d.ts.map +1 -1
  327. package/dist/check/explain/tree-docs.d.ts.map +1 -1
  328. package/dist/check/explain/tree-docs.js +2 -2
  329. package/dist/check/explain/tree-docs.js.map +1 -1
  330. package/dist/check/explain/wiring-docs.d.ts.map +1 -1
  331. package/dist/check/explain/wiring-docs.js +8 -7
  332. package/dist/check/explain/wiring-docs.js.map +1 -1
  333. package/dist/check/exports/explained-mains.d.ts.map +1 -1
  334. package/dist/check/exports/explained-mains.js.map +1 -1
  335. package/dist/check/exports/export-verdict.d.ts.map +1 -1
  336. package/dist/check/exports/file-exports.d.ts.map +1 -1
  337. package/dist/check/exports/file-exports.js.map +1 -1
  338. package/dist/check/exports/judge-exports.d.ts.map +1 -1
  339. package/dist/check/exports/judge-exports.js.map +1 -1
  340. package/dist/check/exports/local-types.js.map +1 -1
  341. package/dist/check/exports/named-after.js.map +1 -1
  342. package/dist/check/exports/shares-state.d.ts.map +1 -1
  343. package/dist/check/exports/shares-state.js.map +1 -1
  344. package/dist/check/exports/type-closure.d.ts.map +1 -1
  345. package/dist/check/exports/type-closure.js.map +1 -1
  346. package/dist/check/exports/type-family.d.ts.map +1 -1
  347. package/dist/check/exports/type-family.js.map +1 -1
  348. package/dist/check/files/file-content-findings.d.ts.map +1 -1
  349. package/dist/check/files/file-content-findings.js.map +1 -1
  350. package/dist/check/files/schema-sources.d.ts.map +1 -1
  351. package/dist/check/fixtures/aggregate.d.ts.map +1 -1
  352. package/dist/check/fixtures/aggregate.js.map +1 -1
  353. package/dist/check/fixtures/alias-declarations.d.ts.map +1 -1
  354. package/dist/check/fixtures/alias-declarations.js.map +1 -1
  355. package/dist/check/fixtures/alias-declared-fixtures.d.ts.map +1 -1
  356. package/dist/check/fixtures/alias-declared-fixtures.js.map +1 -1
  357. package/dist/check/fixtures/authz-declared-fixtures.d.ts.map +1 -1
  358. package/dist/check/fixtures/authz-declared-fixtures.js.map +1 -1
  359. package/dist/check/fixtures/authz-fixtures.d.ts.map +1 -1
  360. package/dist/check/fixtures/authz-fixtures.js.map +1 -1
  361. package/dist/check/fixtures/authz-granted-fixtures.d.ts.map +1 -1
  362. package/dist/check/fixtures/authz-granted-fixtures.js.map +1 -1
  363. package/dist/check/fixtures/authz-policy-fixtures.d.ts.map +1 -1
  364. package/dist/check/fixtures/authz-policy-fixtures.js +3 -3
  365. package/dist/check/fixtures/authz-policy-fixtures.js.map +1 -1
  366. package/dist/check/fixtures/authz-scope-narrows-fixtures.d.ts.map +1 -1
  367. package/dist/check/fixtures/authz-scope-narrows-fixtures.js.map +1 -1
  368. package/dist/check/fixtures/business-name-fixtures.d.ts.map +1 -1
  369. package/dist/check/fixtures/business-name-fixtures.js.map +1 -1
  370. package/dist/check/fixtures/clean-fixtures.d.ts.map +1 -1
  371. package/dist/check/fixtures/clean-fixtures.js.map +1 -1
  372. package/dist/check/fixtures/composition-fixtures.d.ts.map +1 -1
  373. package/dist/check/fixtures/composition-fixtures.js.map +1 -1
  374. package/dist/check/fixtures/config-fixtures.d.ts.map +1 -1
  375. package/dist/check/fixtures/config-fixtures.js.map +1 -1
  376. package/dist/check/fixtures/config.js.map +1 -1
  377. package/dist/check/fixtures/constructor-injection-fixtures.d.ts.map +1 -1
  378. package/dist/check/fixtures/constructor-injection-fixtures.js +6 -6
  379. package/dist/check/fixtures/constructor-injection-fixtures.js.map +1 -1
  380. package/dist/check/fixtures/consumer-fixtures.d.ts.map +1 -1
  381. package/dist/check/fixtures/consumer-fixtures.js.map +1 -1
  382. package/dist/check/fixtures/context-doc.js.map +1 -1
  383. package/dist/check/fixtures/context-fixtures.d.ts.map +1 -1
  384. package/dist/check/fixtures/context-fixtures.js.map +1 -1
  385. package/dist/check/fixtures/coverage-fixtures.d.ts.map +1 -1
  386. package/dist/check/fixtures/coverage-fixtures.js.map +1 -1
  387. package/dist/check/fixtures/declaration.js.map +1 -1
  388. package/dist/check/fixtures/declarations-fixtures.d.ts.map +1 -1
  389. package/dist/check/fixtures/declarations-fixtures.js +15 -36
  390. package/dist/check/fixtures/declarations-fixtures.js.map +1 -1
  391. package/dist/check/fixtures/declared-context.d.ts.map +1 -1
  392. package/dist/check/fixtures/declared-context.js.map +1 -1
  393. package/dist/check/fixtures/declared-declarations.d.ts +4 -2
  394. package/dist/check/fixtures/declared-declarations.d.ts.map +1 -1
  395. package/dist/check/fixtures/declared-declarations.js +9 -3
  396. package/dist/check/fixtures/declared-declarations.js.map +1 -1
  397. package/dist/check/fixtures/declared-project.d.ts.map +1 -1
  398. package/dist/check/fixtures/declared-project.js +6 -2
  399. package/dist/check/fixtures/declared-project.js.map +1 -1
  400. package/dist/check/fixtures/declared.js.map +1 -1
  401. package/dist/check/fixtures/discovered-project.d.ts.map +1 -1
  402. package/dist/check/fixtures/discovered-project.js.map +1 -1
  403. package/dist/check/fixtures/domain-events-fixtures.d.ts.map +1 -1
  404. package/dist/check/fixtures/domain-events-fixtures.js.map +1 -1
  405. package/dist/check/fixtures/earlier-declarations-fixtures.d.ts +4 -0
  406. package/dist/check/fixtures/earlier-declarations-fixtures.d.ts.map +1 -0
  407. package/dist/check/fixtures/earlier-declarations-fixtures.js +48 -0
  408. package/dist/check/fixtures/earlier-declarations-fixtures.js.map +1 -0
  409. package/dist/check/fixtures/errors-fixtures.d.ts.map +1 -1
  410. package/dist/check/fixtures/errors-fixtures.js.map +1 -1
  411. package/dist/check/fixtures/errors-route.js.map +1 -1
  412. package/dist/check/fixtures/event-sourcing-fixtures.d.ts.map +1 -1
  413. package/dist/check/fixtures/event-sourcing-fixtures.js.map +1 -1
  414. package/dist/check/fixtures/event-sourcing-projection-fixtures.d.ts.map +1 -1
  415. package/dist/check/fixtures/event-sourcing-projection-fixtures.js.map +1 -1
  416. package/dist/check/fixtures/events-fixtures.d.ts.map +1 -1
  417. package/dist/check/fixtures/events-fixtures.js.map +1 -1
  418. package/dist/check/fixtures/extension-fixtures.d.ts.map +1 -1
  419. package/dist/check/fixtures/extension-fixtures.js +3 -3
  420. package/dist/check/fixtures/extension-fixtures.js.map +1 -1
  421. package/dist/check/fixtures/extractable-fixtures.d.ts.map +1 -1
  422. package/dist/check/fixtures/extractable-fixtures.js.map +1 -1
  423. package/dist/check/fixtures/files-fixtures.d.ts.map +1 -1
  424. package/dist/check/fixtures/files-fixtures.js.map +1 -1
  425. package/dist/check/fixtures/fixtures.d.ts.map +1 -1
  426. package/dist/check/fixtures/fixtures.js +4 -0
  427. package/dist/check/fixtures/fixtures.js.map +1 -1
  428. package/dist/check/fixtures/governance-fixtures.d.ts.map +1 -1
  429. package/dist/check/fixtures/governance-fixtures.js.map +1 -1
  430. package/dist/check/fixtures/handler.d.ts.map +1 -1
  431. package/dist/check/fixtures/handler.js.map +1 -1
  432. package/dist/check/fixtures/imports-fixtures.d.ts.map +1 -1
  433. package/dist/check/fixtures/imports-fixtures.js.map +1 -1
  434. package/dist/check/fixtures/language-fixtures.d.ts.map +1 -1
  435. package/dist/check/fixtures/language-fixtures.js.map +1 -1
  436. package/dist/check/fixtures/layer-fixtures.d.ts.map +1 -1
  437. package/dist/check/fixtures/layer-fixtures.js.map +1 -1
  438. package/dist/check/fixtures/layout-fixtures.d.ts.map +1 -1
  439. package/dist/check/fixtures/layout-fixtures.js.map +1 -1
  440. package/dist/check/fixtures/lifecycle-fixtures.d.ts.map +1 -1
  441. package/dist/check/fixtures/lifecycle-fixtures.js.map +1 -1
  442. package/dist/check/fixtures/model-function-fixtures.d.ts.map +1 -1
  443. package/dist/check/fixtures/model-function-fixtures.js.map +1 -1
  444. package/dist/check/fixtures/module-fixtures.d.ts +3 -0
  445. package/dist/check/fixtures/module-fixtures.d.ts.map +1 -0
  446. package/dist/check/fixtures/module-fixtures.js +136 -0
  447. package/dist/check/fixtures/module-fixtures.js.map +1 -0
  448. package/dist/check/fixtures/named-refusal-fixtures.d.ts.map +1 -1
  449. package/dist/check/fixtures/named-refusal-fixtures.js.map +1 -1
  450. package/dist/check/fixtures/naming-fixtures.d.ts.map +1 -1
  451. package/dist/check/fixtures/naming-fixtures.js.map +1 -1
  452. package/dist/check/fixtures/other-language-fixtures.d.ts.map +1 -1
  453. package/dist/check/fixtures/other-language-fixtures.js.map +1 -1
  454. package/dist/check/fixtures/outbox-fixtures.d.ts.map +1 -1
  455. package/dist/check/fixtures/outbox-fixtures.js.map +1 -1
  456. package/dist/check/fixtures/paths.d.ts +1 -1
  457. package/dist/check/fixtures/paths.js +1 -1
  458. package/dist/check/fixtures/paths.js.map +1 -1
  459. package/dist/check/fixtures/persistence-fixtures.d.ts.map +1 -1
  460. package/dist/check/fixtures/persistence-fixtures.js.map +1 -1
  461. package/dist/check/fixtures/ports-fixtures.d.ts.map +1 -1
  462. package/dist/check/fixtures/ports-fixtures.js.map +1 -1
  463. package/dist/check/fixtures/project.d.ts.map +1 -1
  464. package/dist/check/fixtures/project.js.map +1 -1
  465. package/dist/check/fixtures/purity-fixtures.d.ts.map +1 -1
  466. package/dist/check/fixtures/purity-fixtures.js.map +1 -1
  467. package/dist/check/fixtures/run-fixture.d.ts.map +1 -1
  468. package/dist/check/fixtures/run-fixture.js.map +1 -1
  469. package/dist/check/fixtures/run-self-check.d.ts.map +1 -1
  470. package/dist/check/fixtures/run-self-check.js.map +1 -1
  471. package/dist/check/fixtures/scheduling-fixtures.d.ts.map +1 -1
  472. package/dist/check/fixtures/scheduling-fixtures.js.map +1 -1
  473. package/dist/check/fixtures/schema-fixtures.d.ts.map +1 -1
  474. package/dist/check/fixtures/schema-fixtures.js.map +1 -1
  475. package/dist/check/fixtures/signature-project.d.ts.map +1 -1
  476. package/dist/check/fixtures/signature-project.js.map +1 -1
  477. package/dist/check/fixtures/signature.js.map +1 -1
  478. package/dist/check/fixtures/single-file-declarations.js.map +1 -1
  479. package/dist/check/fixtures/standard-fixtures.d.ts.map +1 -1
  480. package/dist/check/fixtures/standard-fixtures.js.map +1 -1
  481. package/dist/check/fixtures/tenancy-fixtures.d.ts.map +1 -1
  482. package/dist/check/fixtures/tenancy-fixtures.js.map +1 -1
  483. package/dist/check/fixtures/test-fixtures.d.ts.map +1 -1
  484. package/dist/check/fixtures/test-fixtures.js.map +1 -1
  485. package/dist/check/fixtures/tracing-fixtures.d.ts.map +1 -1
  486. package/dist/check/fixtures/tracing-fixtures.js.map +1 -1
  487. package/dist/check/fixtures/tree-fixtures.d.ts.map +1 -1
  488. package/dist/check/fixtures/tree-fixtures.js.map +1 -1
  489. package/dist/check/fixtures/value-object-file-fixtures.d.ts.map +1 -1
  490. package/dist/check/fixtures/value-object-file-fixtures.js.map +1 -1
  491. package/dist/check/fixtures/value-object-files.d.ts.map +1 -1
  492. package/dist/check/fixtures/value-object-files.js.map +1 -1
  493. package/dist/check/fixtures/vocabulary-fixtures.d.ts.map +1 -1
  494. package/dist/check/fixtures/vocabulary-fixtures.js.map +1 -1
  495. package/dist/check/fixtures/without-file.d.ts.map +1 -1
  496. package/dist/check/governance/decision-records.js.map +1 -1
  497. package/dist/check/language/add-glossary-rows.js.map +1 -1
  498. package/dist/check/language/declared-vocabularies.d.ts.map +1 -1
  499. package/dist/check/language/declared-vocabularies.js.map +1 -1
  500. package/dist/check/language/glossaries.d.ts +4 -1
  501. package/dist/check/language/glossaries.d.ts.map +1 -1
  502. package/dist/check/language/glossaries.js +13 -2
  503. package/dist/check/language/glossaries.js.map +1 -1
  504. package/dist/check/language/in-outside-record.d.ts.map +1 -1
  505. package/dist/check/language/in-outside-record.js.map +1 -1
  506. package/dist/check/language/is-outside-place.d.ts.map +1 -1
  507. package/dist/check/language/other-language-of.d.ts.map +1 -1
  508. package/dist/check/language/other-language-of.js.map +1 -1
  509. package/dist/check/language/parse-glossary.js.map +1 -1
  510. package/dist/check/language/record-arguments.js.map +1 -1
  511. package/dist/check/language/same-word.js.map +1 -1
  512. package/dist/check/language/type-declarations.js.map +1 -1
  513. package/dist/check/language/type-root.js.map +1 -1
  514. package/dist/check/language/typed-by-other-language.d.ts.map +1 -1
  515. package/dist/check/language/typed-by-other-language.js.map +1 -1
  516. package/dist/check/language/unknown-words.d.ts.map +1 -1
  517. package/dist/check/language/unknown-words.js.map +1 -1
  518. package/dist/check/layers/outside-concern.d.ts.map +1 -1
  519. package/dist/check/layers/outside-concern.js.map +1 -1
  520. package/dist/check/lifecycle/is-aggregate-file.d.ts.map +1 -1
  521. package/dist/check/lifecycle/machines-imported.d.ts.map +1 -1
  522. package/dist/check/lifecycle/shorthand-status-writes.d.ts.map +1 -1
  523. package/dist/check/lifecycle/shorthand-status-writes.js.map +1 -1
  524. package/dist/check/lifecycle/status-writes.d.ts.map +1 -1
  525. package/dist/check/lifecycle/status-writes.js.map +1 -1
  526. package/dist/check/migrations/drizzle-history-findings.d.ts.map +1 -1
  527. package/dist/check/migrations/drizzle-history-findings.js.map +1 -1
  528. package/dist/check/migrations/migration-name-findings.d.ts.map +1 -1
  529. package/dist/check/migrations/read-drizzle-migrations.d.ts.map +1 -1
  530. package/dist/check/migrations/read-drizzle-migrations.js.map +1 -1
  531. package/dist/check/migrations/read-migration-folder.d.ts.map +1 -1
  532. package/dist/check/migrations/read-migration-folder.js.map +1 -1
  533. package/dist/check/migrations/working-migration-findings.d.ts.map +1 -1
  534. package/dist/check/model/context-location.d.ts +2 -0
  535. package/dist/check/model/context-location.d.ts.map +1 -1
  536. package/dist/check/model/import-target.d.ts.map +1 -1
  537. package/dist/check/model/location.d.ts.map +1 -1
  538. package/dist/check/model/project.d.ts.map +1 -1
  539. package/dist/check/model/report.d.ts.map +1 -1
  540. package/dist/check/model/resolved-import.d.ts.map +1 -1
  541. package/dist/check/model/rule.d.ts.map +1 -1
  542. package/dist/check/model/source-file.d.ts.map +1 -1
  543. package/dist/check/modules/modules-section.d.ts +17 -0
  544. package/dist/check/modules/modules-section.d.ts.map +1 -0
  545. package/dist/check/modules/modules-section.js +21 -0
  546. package/dist/check/modules/modules-section.js.map +1 -0
  547. package/dist/check/modules/with-module-row.d.ts +6 -0
  548. package/dist/check/modules/with-module-row.d.ts.map +1 -0
  549. package/dist/check/modules/with-module-row.js +35 -0
  550. package/dist/check/modules/with-module-row.js.map +1 -0
  551. package/dist/check/ports/bodiless-members.d.ts.map +1 -1
  552. package/dist/check/ports/bodiless-members.js.map +1 -1
  553. package/dist/check/ports/class-declaring.d.ts.map +1 -1
  554. package/dist/check/ports/class-declaring.js.map +1 -1
  555. package/dist/check/ports/port-misuse.d.ts.map +1 -1
  556. package/dist/check/project/assemble-project.d.ts.map +1 -1
  557. package/dist/check/project/assemble-project.js.map +1 -1
  558. package/dist/check/project/beside-the-sources.d.ts.map +1 -1
  559. package/dist/check/project/beside-the-sources.js.map +1 -1
  560. package/dist/check/project/is-test-file.d.ts.map +1 -1
  561. package/dist/check/project/load-loose-project.d.ts.map +1 -1
  562. package/dist/check/project/load-loose-project.js.map +1 -1
  563. package/dist/check/project/load-project.d.ts.map +1 -1
  564. package/dist/check/project/load-project.js.map +1 -1
  565. package/dist/check/project/load-source-file.d.ts.map +1 -1
  566. package/dist/check/project/load-source-file.js.map +1 -1
  567. package/dist/check/project/locate.d.ts.map +1 -1
  568. package/dist/check/project/locate.js +17 -2
  569. package/dist/check/project/locate.js.map +1 -1
  570. package/dist/check/project/resolve-import.d.ts.map +1 -1
  571. package/dist/check/project/resolve-import.js.map +1 -1
  572. package/dist/check/project/source-at.d.ts.map +1 -1
  573. package/dist/check/project/source-at.js.map +1 -1
  574. package/dist/check/purity/define-purity-rule.d.ts.map +1 -1
  575. package/dist/check/purity/define-purity-rule.js.map +1 -1
  576. package/dist/check/rules/aspects-outside-in.d.ts.map +1 -1
  577. package/dist/check/rules/aspects-outside-in.js.map +1 -1
  578. package/dist/check/rules/authz-actor-explicit.d.ts.map +1 -1
  579. package/dist/check/rules/authz-actor-explicit.js.map +1 -1
  580. package/dist/check/rules/authz-declared.d.ts.map +1 -1
  581. package/dist/check/rules/authz-declared.js +4 -1
  582. package/dist/check/rules/authz-declared.js.map +1 -1
  583. package/dist/check/rules/authz-fields-by-schema.d.ts.map +1 -1
  584. package/dist/check/rules/authz-fields-by-schema.js.map +1 -1
  585. package/dist/check/rules/authz-granted.d.ts.map +1 -1
  586. package/dist/check/rules/authz-granted.js.map +1 -1
  587. package/dist/check/rules/authz-in-application.d.ts.map +1 -1
  588. package/dist/check/rules/authz-in-application.js.map +1 -1
  589. package/dist/check/rules/authz-policy-asked.d.ts.map +1 -1
  590. package/dist/check/rules/authz-policy-asked.js.map +1 -1
  591. package/dist/check/rules/authz-scope-narrows.d.ts.map +1 -1
  592. package/dist/check/rules/authz-scope-narrows.js.map +1 -1
  593. package/dist/check/rules/clean-blank-lines.d.ts.map +1 -1
  594. package/dist/check/rules/clean-blank-lines.js.map +1 -1
  595. package/dist/check/rules/clean-braces.d.ts.map +1 -1
  596. package/dist/check/rules/clean-braces.js.map +1 -1
  597. package/dist/check/rules/clean-file-size.d.ts.map +1 -1
  598. package/dist/check/rules/clean-file-size.js.map +1 -1
  599. package/dist/check/rules/clean-function-size.d.ts.map +1 -1
  600. package/dist/check/rules/clean-function-size.js.map +1 -1
  601. package/dist/check/rules/clean-no-commented-out-code.d.ts.map +1 -1
  602. package/dist/check/rules/clean-no-commented-out-code.js.map +1 -1
  603. package/dist/check/rules/clean-no-escape-hatch.d.ts.map +1 -1
  604. package/dist/check/rules/clean-no-escape-hatch.js.map +1 -1
  605. package/dist/check/rules/clean-no-flag-argument.d.ts.map +1 -1
  606. package/dist/check/rules/clean-no-flag-argument.js.map +1 -1
  607. package/dist/check/rules/clean-no-hash-private.d.ts.map +1 -1
  608. package/dist/check/rules/clean-no-hash-private.js.map +1 -1
  609. package/dist/check/rules/clean-no-noise-comment.d.ts.map +1 -1
  610. package/dist/check/rules/clean-no-noise-comment.js.map +1 -1
  611. package/dist/check/rules/clean-one-export-per-file.d.ts.map +1 -1
  612. package/dist/check/rules/clean-one-export-per-file.js.map +1 -1
  613. package/dist/check/rules/clean-stepdown.d.ts.map +1 -1
  614. package/dist/check/rules/clean-stepdown.js.map +1 -1
  615. package/dist/check/rules/composition-only-in-module.d.ts.map +1 -1
  616. package/dist/check/rules/composition-only-in-module.js.map +1 -1
  617. package/dist/check/rules/config-rule-off-everywhere.d.ts.map +1 -1
  618. package/dist/check/rules/config-rule-off-everywhere.js.map +1 -1
  619. package/dist/check/rules/config-valid.d.ts.map +1 -1
  620. package/dist/check/rules/config-valid.js +2 -1
  621. package/dist/check/rules/config-valid.js.map +1 -1
  622. package/dist/check/rules/context-declared-relationship.d.ts.map +1 -1
  623. package/dist/check/rules/context-declared-relationship.js.map +1 -1
  624. package/dist/check/rules/context-extractable.d.ts.map +1 -1
  625. package/dist/check/rules/context-extractable.js +2 -1
  626. package/dist/check/rules/context-extractable.js.map +1 -1
  627. package/dist/check/rules/context-no-cycle.d.ts.map +1 -1
  628. package/dist/check/rules/context-no-cycle.js +2 -24
  629. package/dist/check/rules/context-no-cycle.js.map +1 -1
  630. package/dist/check/rules/context-published-language-is-a-contract.d.ts.map +1 -1
  631. package/dist/check/rules/context-published-language-is-a-contract.js.map +1 -1
  632. package/dist/check/rules/context-published-language-only.d.ts.map +1 -1
  633. package/dist/check/rules/context-published-language-only.js.map +1 -1
  634. package/dist/check/rules/declarations-barrel-current.d.ts.map +1 -1
  635. package/dist/check/rules/declarations-barrel-current.js +46 -16
  636. package/dist/check/rules/declarations-barrel-current.js.map +1 -1
  637. package/dist/check/rules/declarations-constructor-injection.d.ts.map +1 -1
  638. package/dist/check/rules/declarations-constructor-injection.js +2 -1
  639. package/dist/check/rules/declarations-constructor-injection.js.map +1 -1
  640. package/dist/check/rules/declarations-port-adapter-wired.d.ts.map +1 -1
  641. package/dist/check/rules/declarations-port-adapter-wired.js +2 -1
  642. package/dist/check/rules/declarations-port-adapter-wired.js.map +1 -1
  643. package/dist/check/rules/declarations-role-declared.d.ts.map +1 -1
  644. package/dist/check/rules/declarations-role-declared.js +2 -1
  645. package/dist/check/rules/declarations-role-declared.js.map +1 -1
  646. package/dist/check/rules/domain-events-dispatched-on-save.d.ts.map +1 -1
  647. package/dist/check/rules/domain-events-dispatched-on-save.js.map +1 -1
  648. package/dist/check/rules/domain-events-transactional-before-commit.d.ts.map +1 -1
  649. package/dist/check/rules/domain-events-transactional-before-commit.js.map +1 -1
  650. package/dist/check/rules/domain-value-object-class.d.ts.map +1 -1
  651. package/dist/check/rules/domain-value-object-class.js.map +1 -1
  652. package/dist/check/rules/errors-code-listed.d.ts.map +1 -1
  653. package/dist/check/rules/errors-code-listed.js.map +1 -1
  654. package/dist/check/rules/errors-code-unique.d.ts.map +1 -1
  655. package/dist/check/rules/errors-code-unique.js.map +1 -1
  656. package/dist/check/rules/errors-known-code.d.ts.map +1 -1
  657. package/dist/check/rules/errors-known-code.js.map +1 -1
  658. package/dist/check/rules/event-sourcing-past-tense.d.ts.map +1 -1
  659. package/dist/check/rules/event-sourcing-past-tense.js.map +1 -1
  660. package/dist/check/rules/event-sourcing-projection-never-appends.d.ts.map +1 -1
  661. package/dist/check/rules/event-sourcing-projection-never-appends.js.map +1 -1
  662. package/dist/check/rules/event-sourcing-state-in-apply.d.ts.map +1 -1
  663. package/dist/check/rules/event-sourcing-state-in-apply.js.map +1 -1
  664. package/dist/check/rules/event-sourcing-store-behind-repository.d.ts.map +1 -1
  665. package/dist/check/rules/event-sourcing-store-behind-repository.js.map +1 -1
  666. package/dist/check/rules/event-sourcing-upcaster-required.d.ts.map +1 -1
  667. package/dist/check/rules/event-sourcing-upcaster-required.js.map +1 -1
  668. package/dist/check/rules/events-consumer-idempotent.d.ts.map +1 -1
  669. package/dist/check/rules/events-consumer-idempotent.js.map +1 -1
  670. package/dist/check/rules/events-defined-in-published-language.d.ts.map +1 -1
  671. package/dist/check/rules/events-defined-in-published-language.js.map +1 -1
  672. package/dist/check/rules/events-name-declared-once.d.ts.map +1 -1
  673. package/dist/check/rules/events-name-declared-once.js.map +1 -1
  674. package/dist/check/rules/events-name-format.d.ts.map +1 -1
  675. package/dist/check/rules/events-name-format.js.map +1 -1
  676. package/dist/check/rules/events-outbox-required.d.ts.map +1 -1
  677. package/dist/check/rules/events-outbox-required.js.map +1 -1
  678. package/dist/check/rules/files-port-not-connector.d.ts.map +1 -1
  679. package/dist/check/rules/files-port-not-connector.js.map +1 -1
  680. package/dist/check/rules/governance-recorded-deviation.d.ts.map +1 -1
  681. package/dist/check/rules/governance-recorded-deviation.js.map +1 -1
  682. package/dist/check/rules/imports-alias-declared.d.ts.map +1 -1
  683. package/dist/check/rules/imports-alias-declared.js.map +1 -1
  684. package/dist/check/rules/imports-alias-only.d.ts.map +1 -1
  685. package/dist/check/rules/imports-alias-only.js.map +1 -1
  686. package/dist/check/rules/imports-extension.d.ts.map +1 -1
  687. package/dist/check/rules/imports-extension.js +4 -18
  688. package/dist/check/rules/imports-extension.js.map +1 -1
  689. package/dist/check/rules/language-declared-vocabulary.d.ts.map +1 -1
  690. package/dist/check/rules/language-declared-vocabulary.js.map +1 -1
  691. package/dist/check/rules/language-glossary-term.d.ts.map +1 -1
  692. package/dist/check/rules/language-glossary-term.js.map +1 -1
  693. package/dist/check/rules/language-no-technical-name.d.ts.map +1 -1
  694. package/dist/check/rules/language-no-technical-name.js.map +1 -1
  695. package/dist/check/rules/layer-application-inward.d.ts.map +1 -1
  696. package/dist/check/rules/layer-application-inward.js.map +1 -1
  697. package/dist/check/rules/layer-domain-purity.d.ts.map +1 -1
  698. package/dist/check/rules/layer-domain-purity.js.map +1 -1
  699. package/dist/check/rules/layer-infrastructure-no-presentation.d.ts.map +1 -1
  700. package/dist/check/rules/layer-infrastructure-no-presentation.js.map +1 -1
  701. package/dist/check/rules/layer-presentation-no-infrastructure.d.ts.map +1 -1
  702. package/dist/check/rules/layer-presentation-no-infrastructure.js.map +1 -1
  703. package/dist/check/rules/lifecycle-status-through-machine.d.ts.map +1 -1
  704. package/dist/check/rules/lifecycle-status-through-machine.js +3 -2
  705. package/dist/check/rules/lifecycle-status-through-machine.js.map +1 -1
  706. package/dist/check/rules/module-complete.d.ts +3 -0
  707. package/dist/check/rules/module-complete.d.ts.map +1 -0
  708. package/dist/check/rules/module-complete.js +54 -0
  709. package/dist/check/rules/module-complete.js.map +1 -0
  710. package/dist/check/rules/module-declared.d.ts +3 -0
  711. package/dist/check/rules/module-declared.d.ts.map +1 -0
  712. package/dist/check/rules/module-declared.js +60 -0
  713. package/dist/check/rules/module-declared.js.map +1 -0
  714. package/dist/check/rules/module-no-cycle.d.ts +3 -0
  715. package/dist/check/rules/module-no-cycle.d.ts.map +1 -0
  716. package/dist/check/rules/module-no-cycle.js +51 -0
  717. package/dist/check/rules/module-no-cycle.js.map +1 -0
  718. package/dist/check/rules/naming-business-name.d.ts.map +1 -1
  719. package/dist/check/rules/naming-business-name.js.map +1 -1
  720. package/dist/check/rules/naming-one-concept-per-file.d.ts.map +1 -1
  721. package/dist/check/rules/naming-one-concept-per-file.js +2 -1
  722. package/dist/check/rules/naming-one-concept-per-file.js.map +1 -1
  723. package/dist/check/rules/naming-search-not-list.d.ts.map +1 -1
  724. package/dist/check/rules/naming-search-not-list.js.map +1 -1
  725. package/dist/check/rules/naming-suffix.d.ts.map +1 -1
  726. package/dist/check/rules/naming-suffix.js +3 -2
  727. package/dist/check/rules/naming-suffix.js.map +1 -1
  728. package/dist/check/rules/persistence-migration-history.d.ts.map +1 -1
  729. package/dist/check/rules/persistence-migration-history.js.map +1 -1
  730. package/dist/check/rules/persistence-no-file-content.d.ts.map +1 -1
  731. package/dist/check/rules/persistence-no-file-content.js.map +1 -1
  732. package/dist/check/rules/persistence-primary-key-order.d.ts.map +1 -1
  733. package/dist/check/rules/persistence-primary-key-order.js.map +1 -1
  734. package/dist/check/rules/ports-abstract-class.d.ts.map +1 -1
  735. package/dist/check/rules/ports-abstract-class.js.map +1 -1
  736. package/dist/check/rules/ports-implements-never-extends.d.ts.map +1 -1
  737. package/dist/check/rules/ports-implements-never-extends.js.map +1 -1
  738. package/dist/check/rules/ports-no-concrete-dependency.d.ts.map +1 -1
  739. package/dist/check/rules/ports-no-concrete-dependency.js +4 -1
  740. package/dist/check/rules/ports-no-concrete-dependency.js.map +1 -1
  741. package/dist/check/rules/ports-no-token-constant.d.ts.map +1 -1
  742. package/dist/check/rules/ports-no-token-constant.js.map +1 -1
  743. package/dist/check/rules/ports-value-import.d.ts.map +1 -1
  744. package/dist/check/rules/ports-value-import.js.map +1 -1
  745. package/dist/check/rules/process-sends-commands-only.d.ts.map +1 -1
  746. package/dist/check/rules/process-sends-commands-only.js.map +1 -1
  747. package/dist/check/rules/purity-no-ambient-randomness.d.ts +1 -1
  748. package/dist/check/rules/purity-no-ambient-randomness.d.ts.map +1 -1
  749. package/dist/check/rules/purity-no-ambient-randomness.js.map +1 -1
  750. package/dist/check/rules/purity-no-environment.d.ts +1 -1
  751. package/dist/check/rules/purity-no-environment.d.ts.map +1 -1
  752. package/dist/check/rules/purity-no-environment.js.map +1 -1
  753. package/dist/check/rules/purity-no-system-clock.d.ts +1 -1
  754. package/dist/check/rules/purity-no-system-clock.d.ts.map +1 -1
  755. package/dist/check/rules/purity-no-system-clock.js.map +1 -1
  756. package/dist/check/rules/scheduling-job-name.d.ts.map +1 -1
  757. package/dist/check/rules/scheduling-job-name.js.map +1 -1
  758. package/dist/check/rules/scheduling-job-triggers-use-case.d.ts.map +1 -1
  759. package/dist/check/rules/scheduling-job-triggers-use-case.js.map +1 -1
  760. package/dist/check/rules/schema-no-duplicate-shape.d.ts.map +1 -1
  761. package/dist/check/rules/schema-no-duplicate-shape.js.map +1 -1
  762. package/dist/check/rules/schema-presentation-only.d.ts.map +1 -1
  763. package/dist/check/rules/schema-presentation-only.js.map +1 -1
  764. package/dist/check/rules/standard-no-parallel-interface.d.ts.map +1 -1
  765. package/dist/check/rules/standard-no-parallel-interface.js.map +1 -1
  766. package/dist/check/rules/tenancy-scoped-statement.d.ts.map +1 -1
  767. package/dist/check/rules/tenancy-scoped-statement.js.map +1 -1
  768. package/dist/check/rules/test-acceptance-black-box.d.ts.map +1 -1
  769. package/dist/check/rules/test-acceptance-black-box.js.map +1 -1
  770. package/dist/check/rules/test-builder-required.d.ts.map +1 -1
  771. package/dist/check/rules/test-builder-required.js.map +1 -1
  772. package/dist/check/rules/test-coverage-governed.d.ts.map +1 -1
  773. package/dist/check/rules/test-coverage-governed.js.map +1 -1
  774. package/dist/check/rules/test-helper-placed.d.ts.map +1 -1
  775. package/dist/check/rules/test-helper-placed.js.map +1 -1
  776. package/dist/check/rules/test-no-mocks.d.ts.map +1 -1
  777. package/dist/check/rules/test-no-mocks.js.map +1 -1
  778. package/dist/check/rules/test-spec-required.d.ts.map +1 -1
  779. package/dist/check/rules/test-spec-required.js.map +1 -1
  780. package/dist/check/rules/tracing-platform-only.d.ts.map +1 -1
  781. package/dist/check/rules/tracing-platform-only.js.map +1 -1
  782. package/dist/check/rules/tree-closed.d.ts.map +1 -1
  783. package/dist/check/rules/tree-closed.js.map +1 -1
  784. package/dist/check/rules/tree-context-doc.d.ts.map +1 -1
  785. package/dist/check/rules/tree-context-doc.js.map +1 -1
  786. package/dist/check/rules/tree-documented-paths.d.ts.map +1 -1
  787. package/dist/check/rules/tree-documented-paths.js.map +1 -1
  788. package/dist/check/scan/find-imports.d.ts.map +1 -1
  789. package/dist/check/scan/find-imports.js.map +1 -1
  790. package/dist/check/scan/found-statement.d.ts.map +1 -1
  791. package/dist/check/scan/lexer.d.ts.map +1 -1
  792. package/dist/check/scan/lexer.js.map +1 -1
  793. package/dist/check/scan/scan.d.ts.map +1 -1
  794. package/dist/check/scan/scan.js.map +1 -1
  795. package/dist/check/scan/statement-of.d.ts.map +1 -1
  796. package/dist/check/scan/statement-of.js.map +1 -1
  797. package/dist/check/scheduling/is-job-file.d.ts.map +1 -1
  798. package/dist/check/scheduling/job-names.d.ts.map +1 -1
  799. package/dist/check/scheduling/job-names.js.map +1 -1
  800. package/dist/check/schemas/class-shapes.d.ts.map +1 -1
  801. package/dist/check/schemas/class-shapes.js.map +1 -1
  802. package/dist/check/schemas/holds-schemas.d.ts.map +1 -1
  803. package/dist/check/schemas/holds-schemas.js.map +1 -1
  804. package/dist/check/schemas/object-shapes.d.ts.map +1 -1
  805. package/dist/check/schemas/object-shapes.js.map +1 -1
  806. package/dist/check/schemas/restored-code.d.ts.map +1 -1
  807. package/dist/check/schemas/shared-presentation.d.ts.map +1 -1
  808. package/dist/check/schemas/shares-schemas.d.ts.map +1 -1
  809. package/dist/check/schemas/still-generated.d.ts.map +1 -1
  810. package/dist/check/standard/parallel-names.d.ts.map +1 -1
  811. package/dist/check/structure/class-body-brace.js.map +1 -1
  812. package/dist/check/structure/class-shape.d.ts.map +1 -1
  813. package/dist/check/structure/inline-functions.d.ts.map +1 -1
  814. package/dist/check/structure/inline-functions.js.map +1 -1
  815. package/dist/check/structure/method-shape.d.ts.map +1 -1
  816. package/dist/check/structure/methods-of.d.ts.map +1 -1
  817. package/dist/check/structure/methods-of.js.map +1 -1
  818. package/dist/check/structure/read-structure.d.ts.map +1 -1
  819. package/dist/check/structure/read-structure.js.map +1 -1
  820. package/dist/check/structure/signature-at.js.map +1 -1
  821. package/dist/check/structure/top-level-function.d.ts.map +1 -1
  822. package/dist/check/support/binding-place.d.ts.map +1 -1
  823. package/dist/check/support/binding-place.js.map +1 -1
  824. package/dist/check/support/cycles-in.d.ts +6 -0
  825. package/dist/check/support/cycles-in.d.ts.map +1 -0
  826. package/dist/check/support/cycles-in.js +31 -0
  827. package/dist/check/support/cycles-in.js.map +1 -0
  828. package/dist/check/support/describe-target.d.ts.map +1 -1
  829. package/dist/check/support/imported-from.d.ts.map +1 -1
  830. package/dist/check/support/imports-package.d.ts.map +1 -1
  831. package/dist/check/support/in-context.d.ts.map +1 -1
  832. package/dist/check/support/in-layer.d.ts.map +1 -1
  833. package/dist/check/support/in-layer.js.map +1 -1
  834. package/dist/check/support/in-layers.d.ts.map +1 -1
  835. package/dist/check/support/in-layers.js.map +1 -1
  836. package/dist/check/support/is-abstract-base.d.ts.map +1 -1
  837. package/dist/check/support/is-declared-style.d.ts.map +1 -1
  838. package/dist/check/support/is-generated-context-file.d.ts +1 -1
  839. package/dist/check/support/is-generated-context-file.d.ts.map +1 -1
  840. package/dist/check/support/is-generated-context-file.js +3 -2
  841. package/dist/check/support/is-generated-context-file.js.map +1 -1
  842. package/dist/check/support/is-port-file.d.ts.map +1 -1
  843. package/dist/check/support/path-in-context.d.ts.map +1 -1
  844. package/dist/check/support/path-in-context.js +3 -1
  845. package/dist/check/support/path-in-context.js.map +1 -1
  846. package/dist/check/support/per-file.d.ts.map +1 -1
  847. package/dist/check/support/per-file.js.map +1 -1
  848. package/dist/check/support/reporter.d.ts.map +1 -1
  849. package/dist/check/support/role-directory.d.ts.map +1 -1
  850. package/dist/check/support/source-declaring.d.ts.map +1 -1
  851. package/dist/check/support/source-declaring.js.map +1 -1
  852. package/dist/check/support/to-violations.d.ts.map +1 -1
  853. package/dist/check/suppressions/find-suppressions.d.ts.map +1 -1
  854. package/dist/check/suppressions/is-suppressed.d.ts.map +1 -1
  855. package/dist/check/suppressions/suppression-violations.d.ts.map +1 -1
  856. package/dist/check/suppressions/suppression-violations.js.map +1 -1
  857. package/dist/check/tenancy/drizzle-unscoped.d.ts.map +1 -1
  858. package/dist/check/tenancy/drizzle-unscoped.js.map +1 -1
  859. package/dist/check/tenancy/knex-unscoped.d.ts.map +1 -1
  860. package/dist/check/tenancy/knex-unscoped.js.map +1 -1
  861. package/dist/check/tenancy/raw-sql-text.d.ts.map +1 -1
  862. package/dist/check/tenancy/unscoped-read-models.d.ts.map +1 -1
  863. package/dist/check/tenancy/unscoped-read-models.js.map +1 -1
  864. package/dist/check/text/annotation-before.js.map +1 -1
  865. package/dist/check/text/call-arguments.d.ts.map +1 -1
  866. package/dist/check/text/call-arguments.js.map +1 -1
  867. package/dist/check/text/chain-end.js.map +1 -1
  868. package/dist/check/text/depth-at.js.map +1 -1
  869. package/dist/check/text/end-at-depth-zero.js.map +1 -1
  870. package/dist/check/text/exported-class.d.ts.map +1 -1
  871. package/dist/check/text/first-argument.js.map +1 -1
  872. package/dist/check/text/identifier.js.map +1 -1
  873. package/dist/check/text/matching-bracket.js.map +1 -1
  874. package/dist/check/text/split-at-commas.d.ts.map +1 -1
  875. package/dist/check/text/split-parameters.js.map +1 -1
  876. package/dist/check/text/split-top-level.d.ts.map +1 -1
  877. package/dist/check/text/split-top-level.js.map +1 -1
  878. package/dist/check/text/statement-end.js.map +1 -1
  879. package/dist/check/text/type-at.js.map +1 -1
  880. package/dist/check/text/type-closing.js.map +1 -1
  881. package/dist/check/values/answered-literals.d.ts.map +1 -1
  882. package/dist/check/values/answered-literals.js.map +1 -1
  883. package/dist/check/values/arrow-body.d.ts.map +1 -1
  884. package/dist/check/values/arrow-body.js.map +1 -1
  885. package/dist/check/values/entry-role.js.map +1 -1
  886. package/dist/check/values/exported-function-body.d.ts.map +1 -1
  887. package/dist/check/values/exported-function-body.js.map +1 -1
  888. package/dist/check/values/exported-values.d.ts.map +1 -1
  889. package/dist/check/values/exported-values.js.map +1 -1
  890. package/dist/check/values/extends-value-object.d.ts.map +1 -1
  891. package/dist/check/values/extends-value-object.js.map +1 -1
  892. package/dist/check/values/generate-hint.d.ts.map +1 -1
  893. package/dist/check/values/initializer-of.js.map +1 -1
  894. package/dist/check/values/is-model-file.d.ts.map +1 -1
  895. package/dist/check/values/is-value-object-file.d.ts.map +1 -1
  896. package/dist/check/values/local-declaration.d.ts.map +1 -1
  897. package/dist/check/values/local-declaration.js.map +1 -1
  898. package/dist/check/values/nested-bodies.js.map +1 -1
  899. package/dist/check/values/plain-value-functions.d.ts.map +1 -1
  900. package/dist/check/values/plain-value-functions.js.map +1 -1
  901. package/dist/check/values/returns-package-type.d.ts.map +1 -1
  902. package/dist/check/values/returns-package-type.js.map +1 -1
  903. package/dist/check/values/stands-for-a-value.js.map +1 -1
  904. package/dist/check/values/value-object-file-findings.d.ts.map +1 -1
  905. package/dist/check/values/value-object-file-findings.js.map +1 -1
  906. package/dist/citations/candidates-of.d.ts.map +1 -1
  907. package/dist/citations/candidates-of.js.map +1 -1
  908. package/dist/citations/citation-line.d.ts.map +1 -1
  909. package/dist/citations/citations-of.d.ts.map +1 -1
  910. package/dist/citations/cited-names.d.ts.map +1 -1
  911. package/dist/citations/cited-names.js.map +1 -1
  912. package/dist/citations/cited-parts.d.ts.map +1 -1
  913. package/dist/citations/cited-parts.js.map +1 -1
  914. package/dist/citations/cited-removals.d.ts.map +1 -1
  915. package/dist/citations/cited-removals.js.map +1 -1
  916. package/dist/citations/design-of.d.ts.map +1 -1
  917. package/dist/citations/design-of.js.map +1 -1
  918. package/dist/citations/evidence.d.ts.map +1 -1
  919. package/dist/citations/format-citations.d.ts.map +1 -1
  920. package/dist/citations/format-citations.js.map +1 -1
  921. package/dist/citations/format-removals.d.ts.map +1 -1
  922. package/dist/citations/format-removals.js.map +1 -1
  923. package/dist/citations/history-of.d.ts.map +1 -1
  924. package/dist/citations/history-of.js.map +1 -1
  925. package/dist/citations/index-at-ref.d.ts.map +1 -1
  926. package/dist/citations/index-at-ref.js.map +1 -1
  927. package/dist/citations/index-of-project.d.ts.map +1 -1
  928. package/dist/citations/index-of-project.js.map +1 -1
  929. package/dist/citations/judge-citation.d.ts.map +1 -1
  930. package/dist/citations/judge-citation.js.map +1 -1
  931. package/dist/citations/judge-member.d.ts.map +1 -1
  932. package/dist/citations/judge-member.js.map +1 -1
  933. package/dist/citations/judge-path.d.ts.map +1 -1
  934. package/dist/citations/judge-path.js.map +1 -1
  935. package/dist/citations/judge-symbol.d.ts.map +1 -1
  936. package/dist/citations/judge-symbol.js.map +1 -1
  937. package/dist/citations/judged-citations.d.ts.map +1 -1
  938. package/dist/citations/judged-citations.js.map +1 -1
  939. package/dist/citations/line-time.js.map +1 -1
  940. package/dist/citations/mentioned-rows.js.map +1 -1
  941. package/dist/citations/name-index-of.d.ts.map +1 -1
  942. package/dist/citations/name-index-of.js.map +1 -1
  943. package/dist/citations/names-of-file.js.map +1 -1
  944. package/dist/citations/open-rows.d.ts.map +1 -1
  945. package/dist/citations/open-rows.js.map +1 -1
  946. package/dist/citations/parts-of-document.d.ts.map +1 -1
  947. package/dist/citations/parts-of-document.js.map +1 -1
  948. package/dist/citations/parts-of-slices.d.ts.map +1 -1
  949. package/dist/citations/parts-of-slices.js.map +1 -1
  950. package/dist/citations/ref-notes.js.map +1 -1
  951. package/dist/citations/removal-naming.d.ts.map +1 -1
  952. package/dist/citations/removal-naming.js.map +1 -1
  953. package/dist/citations/removals-at-ref.d.ts.map +1 -1
  954. package/dist/citations/removals-at-ref.js.map +1 -1
  955. package/dist/citations/removals-since.d.ts.map +1 -1
  956. package/dist/citations/removals-since.js.map +1 -1
  957. package/dist/citations/removed-by-of.d.ts.map +1 -1
  958. package/dist/citations/row-documents.d.ts.map +1 -1
  959. package/dist/citations/row-documents.js.map +1 -1
  960. package/dist/citations/same-stem-names.d.ts.map +1 -1
  961. package/dist/citations/same-stem-names.js.map +1 -1
  962. package/dist/citations/select-parts.d.ts.map +1 -1
  963. package/dist/citations/stale-citation.d.ts.map +1 -1
  964. package/dist/citations/stale-names-at.d.ts.map +1 -1
  965. package/dist/citations/stale-names-at.js.map +1 -1
  966. package/dist/citations/stale-names-since.d.ts.map +1 -1
  967. package/dist/citations/stale-names-since.js.map +1 -1
  968. package/dist/citations/text-units.d.ts.map +1 -1
  969. package/dist/commands/acceptance.d.ts +6 -4
  970. package/dist/commands/acceptance.d.ts.map +1 -1
  971. package/dist/commands/acceptance.js +14 -6
  972. package/dist/commands/acceptance.js.map +1 -1
  973. package/dist/commands/affected.d.ts.map +1 -1
  974. package/dist/commands/affected.js.map +1 -1
  975. package/dist/commands/arguments.js.map +1 -1
  976. package/dist/commands/build-aliases.d.ts.map +1 -1
  977. package/dist/commands/build-aliases.js.map +1 -1
  978. package/dist/commands/check.d.ts.map +1 -1
  979. package/dist/commands/check.js.map +1 -1
  980. package/dist/commands/checks.d.ts.map +1 -1
  981. package/dist/commands/checks.js.map +1 -1
  982. package/dist/commands/cited.d.ts.map +1 -1
  983. package/dist/commands/cited.js.map +1 -1
  984. package/dist/commands/command.d.ts.map +1 -1
  985. package/dist/commands/commit-size.d.ts.map +1 -1
  986. package/dist/commands/commit-size.js.map +1 -1
  987. package/dist/commands/controllers.d.ts.map +1 -1
  988. package/dist/commands/controllers.js.map +1 -1
  989. package/dist/commands/depcruise-config.d.ts.map +1 -1
  990. package/dist/commands/depcruise-config.js.map +1 -1
  991. package/dist/commands/describe.d.ts.map +1 -1
  992. package/dist/commands/describe.js.map +1 -1
  993. package/dist/commands/docs.d.ts.map +1 -1
  994. package/dist/commands/docs.js +14 -9
  995. package/dist/commands/docs.js.map +1 -1
  996. package/dist/commands/doctor.d.ts.map +1 -1
  997. package/dist/commands/doctor.js +1 -0
  998. package/dist/commands/doctor.js.map +1 -1
  999. package/dist/commands/drizzle-generate.d.ts.map +1 -1
  1000. package/dist/commands/drizzle-generate.js.map +1 -1
  1001. package/dist/commands/error-factories.d.ts.map +1 -1
  1002. package/dist/commands/error-factories.js.map +1 -1
  1003. package/dist/commands/find-root.js.map +1 -1
  1004. package/dist/commands/format-context.d.ts.map +1 -1
  1005. package/dist/commands/generate.d.ts.map +1 -1
  1006. package/dist/commands/generate.js +14 -23
  1007. package/dist/commands/generate.js.map +1 -1
  1008. package/dist/commands/init.d.ts.map +1 -1
  1009. package/dist/commands/init.js +9 -0
  1010. package/dist/commands/init.js.map +1 -1
  1011. package/dist/commands/known-context.d.ts.map +1 -1
  1012. package/dist/commands/known-context.js.map +1 -1
  1013. package/dist/commands/lint.d.ts.map +1 -1
  1014. package/dist/commands/lint.js.map +1 -1
  1015. package/dist/commands/list.d.ts.map +1 -1
  1016. package/dist/commands/list.js.map +1 -1
  1017. package/dist/commands/measures.d.ts +10 -0
  1018. package/dist/commands/measures.d.ts.map +1 -0
  1019. package/dist/commands/measures.js +40 -0
  1020. package/dist/commands/measures.js.map +1 -0
  1021. package/dist/commands/merge-trunk.d.ts.map +1 -1
  1022. package/dist/commands/merge-trunk.js.map +1 -1
  1023. package/dist/commands/move-to-module.d.ts +4 -0
  1024. package/dist/commands/move-to-module.d.ts.map +1 -0
  1025. package/dist/commands/move-to-module.js +65 -0
  1026. package/dist/commands/move-to-module.js.map +1 -0
  1027. package/dist/commands/plan-waves.d.ts.map +1 -1
  1028. package/dist/commands/plan-waves.js.map +1 -1
  1029. package/dist/commands/platform-folders.d.ts.map +1 -1
  1030. package/dist/commands/platform-folders.js.map +1 -1
  1031. package/dist/commands/print-report.d.ts.map +1 -1
  1032. package/dist/commands/sdk.d.ts.map +1 -1
  1033. package/dist/commands/sdk.js +1 -1
  1034. package/dist/commands/sdk.js.map +1 -1
  1035. package/dist/commands/status.d.ts.map +1 -1
  1036. package/dist/commands/status.js.map +1 -1
  1037. package/dist/commands/stories.d.ts.map +1 -1
  1038. package/dist/commands/stories.js.map +1 -1
  1039. package/dist/commands/story-check.d.ts +3 -2
  1040. package/dist/commands/story-check.d.ts.map +1 -1
  1041. package/dist/commands/story-check.js +3 -2
  1042. package/dist/commands/story-check.js.map +1 -1
  1043. package/dist/commands/story-scope.d.ts.map +1 -1
  1044. package/dist/commands/story-scope.js +22 -3
  1045. package/dist/commands/story-scope.js.map +1 -1
  1046. package/dist/commands/story.d.ts.map +1 -1
  1047. package/dist/commands/story.js.map +1 -1
  1048. package/dist/commands/todo.d.ts.map +1 -1
  1049. package/dist/commands/todo.js.map +1 -1
  1050. package/dist/commands/value-objects.d.ts.map +1 -1
  1051. package/dist/commands/value-objects.js.map +1 -1
  1052. package/dist/commands/verify-merge.d.ts.map +1 -1
  1053. package/dist/commands/verify-merge.js.map +1 -1
  1054. package/dist/commands/verify-slice.d.ts.map +1 -1
  1055. package/dist/commands/verify-slice.js.map +1 -1
  1056. package/dist/commands/worker-scope.d.ts.map +1 -1
  1057. package/dist/commands/worker-scope.js.map +1 -1
  1058. package/dist/commands/worktree.d.ts.map +1 -1
  1059. package/dist/commands/worktree.js.map +1 -1
  1060. package/dist/commit/commit-size.d.ts.map +1 -1
  1061. package/dist/commit/format-commit-size.d.ts.map +1 -1
  1062. package/dist/commit/is-derived.d.ts.map +1 -1
  1063. package/dist/commit/is-derived.js +3 -1
  1064. package/dist/commit/is-derived.js.map +1 -1
  1065. package/dist/commit/measure-commit.d.ts.map +1 -1
  1066. package/dist/commit/measure-commit.js +1 -1
  1067. package/dist/commit/measure-commit.js.map +1 -1
  1068. package/dist/commit/read-changes.d.ts.map +1 -1
  1069. package/dist/commit/read-changes.js.map +1 -1
  1070. package/dist/commit/slice-of.d.ts.map +1 -1
  1071. package/dist/config/add-context-to-config-text.d.ts.map +1 -1
  1072. package/dist/config/add-context-to-config-text.js.map +1 -1
  1073. package/dist/config/agent-profiles.d.ts +3 -0
  1074. package/dist/config/agent-profiles.d.ts.map +1 -0
  1075. package/dist/config/agent-profiles.js +3 -0
  1076. package/dist/config/agent-profiles.js.map +1 -0
  1077. package/dist/config/ci-extra-problems.d.ts.map +1 -1
  1078. package/dist/config/ci-extra-problems.js.map +1 -1
  1079. package/dist/config/ci-extras.d.ts +6 -2
  1080. package/dist/config/ci-extras.d.ts.map +1 -1
  1081. package/dist/config/ci-extras.js +6 -2
  1082. package/dist/config/ci-extras.js.map +1 -1
  1083. package/dist/config/commit-config.d.ts +12 -0
  1084. package/dist/config/commit-config.d.ts.map +1 -0
  1085. package/dist/config/commit-config.js +2 -0
  1086. package/dist/config/commit-config.js.map +1 -0
  1087. package/dist/config/commit-limit-problems.d.ts.map +1 -1
  1088. package/dist/config/commit-limit-problems.js +10 -3
  1089. package/dist/config/commit-limit-problems.js.map +1 -1
  1090. package/dist/config/config.d.ts +30 -2
  1091. package/dist/config/config.d.ts.map +1 -1
  1092. package/dist/config/coverage-problems.js.map +1 -1
  1093. package/dist/config/coverage.d.ts.map +1 -1
  1094. package/dist/config/default-allowed-packages.d.ts.map +1 -1
  1095. package/dist/config/default-allowed-packages.js.map +1 -1
  1096. package/dist/config/default-commit-limits.d.ts.map +1 -1
  1097. package/dist/config/edit-config-text.js.map +1 -1
  1098. package/dist/config/index.d.ts +2 -1
  1099. package/dist/config/index.d.ts.map +1 -1
  1100. package/dist/config/index.js +1 -0
  1101. package/dist/config/index.js.map +1 -1
  1102. package/dist/config/is-reference-coverage.d.ts.map +1 -1
  1103. package/dist/config/is-reference-coverage.js.map +1 -1
  1104. package/dist/config/open-api-problems.d.ts.map +1 -1
  1105. package/dist/config/open-api-problems.js.map +1 -1
  1106. package/dist/config/parse-business-names.d.ts.map +1 -1
  1107. package/dist/config/parse-business-names.js.map +1 -1
  1108. package/dist/config/parse-ci.d.ts.map +1 -1
  1109. package/dist/config/parse-ci.js.map +1 -1
  1110. package/dist/config/parse-commit-config.d.ts +4 -0
  1111. package/dist/config/parse-commit-config.d.ts.map +1 -0
  1112. package/dist/config/parse-commit-config.js +7 -0
  1113. package/dist/config/parse-commit-config.js.map +1 -0
  1114. package/dist/config/parse-commit-limits.d.ts.map +1 -1
  1115. package/dist/config/parse-commit-limits.js.map +1 -1
  1116. package/dist/config/parse-config.d.ts.map +1 -1
  1117. package/dist/config/parse-config.js +14 -2
  1118. package/dist/config/parse-config.js.map +1 -1
  1119. package/dist/config/parse-context.d.ts.map +1 -1
  1120. package/dist/config/parse-context.js +8 -0
  1121. package/dist/config/parse-context.js.map +1 -1
  1122. package/dist/config/parse-coverage.d.ts.map +1 -1
  1123. package/dist/config/parse-coverage.js.map +1 -1
  1124. package/dist/config/parse-limits.d.ts.map +1 -1
  1125. package/dist/config/parse-limits.js.map +1 -1
  1126. package/dist/config/parse-one-per-file.d.ts.map +1 -1
  1127. package/dist/config/parse-one-per-file.js.map +1 -1
  1128. package/dist/config/parse-open-api.d.ts.map +1 -1
  1129. package/dist/config/parse-open-api.js.map +1 -1
  1130. package/dist/config/parse-rule-setting.d.ts.map +1 -1
  1131. package/dist/config/parse-rule-setting.js.map +1 -1
  1132. package/dist/config/parse-sdk.d.ts.map +1 -1
  1133. package/dist/config/parse-sdk.js.map +1 -1
  1134. package/dist/config/parse-stack.d.ts.map +1 -1
  1135. package/dist/config/parse-stack.js.map +1 -1
  1136. package/dist/config/project-severity.d.ts.map +1 -1
  1137. package/dist/config/read-config.d.ts.map +1 -1
  1138. package/dist/config/read-config.js.map +1 -1
  1139. package/dist/config/reference-coverage.d.ts.map +1 -1
  1140. package/dist/config/restack-config-text.d.ts.map +1 -1
  1141. package/dist/config/restack-config-text.js.map +1 -1
  1142. package/dist/config/sdk-problems.d.ts.map +1 -1
  1143. package/dist/config/sdk-problems.js.map +1 -1
  1144. package/dist/config/serialize-config.d.ts.map +1 -1
  1145. package/dist/config/serialize-config.js +24 -2
  1146. package/dist/config/serialize-config.js.map +1 -1
  1147. package/dist/config/values/map-entries.js.map +1 -1
  1148. package/dist/config/written-stack.d.ts.map +1 -1
  1149. package/dist/contracts/contract-format.js.map +1 -1
  1150. package/dist/contracts/stringify-contract.js.map +1 -1
  1151. package/dist/contracts.d.ts.map +1 -1
  1152. package/dist/contracts.js.map +1 -1
  1153. package/dist/controllers/entries-of.js.map +1 -1
  1154. package/dist/controllers/finish-migration.d.ts.map +1 -1
  1155. package/dist/controllers/finish-migration.js.map +1 -1
  1156. package/dist/controllers/handle-body.d.ts.map +1 -1
  1157. package/dist/controllers/handle-types-of.d.ts.map +1 -1
  1158. package/dist/controllers/handle-types-of.js.map +1 -1
  1159. package/dist/controllers/migrate-context.d.ts.map +1 -1
  1160. package/dist/controllers/migrate-context.js.map +1 -1
  1161. package/dist/controllers/migration.d.ts.map +1 -1
  1162. package/dist/controllers/plan-context.d.ts.map +1 -1
  1163. package/dist/controllers/plan-context.js.map +1 -1
  1164. package/dist/controllers/read-function-route.d.ts.map +1 -1
  1165. package/dist/controllers/read-function-route.js.map +1 -1
  1166. package/dist/controllers/render-controller.d.ts.map +1 -1
  1167. package/dist/declared/barrel-file.d.ts +1 -1
  1168. package/dist/declared/barrel-file.js +1 -1
  1169. package/dist/declared/context-declarations.d.ts +6 -2
  1170. package/dist/declared/context-declarations.d.ts.map +1 -1
  1171. package/dist/declared/context-declarations.js +6 -3
  1172. package/dist/declared/context-declarations.js.map +1 -1
  1173. package/dist/declared/declarations-folder-of.d.ts +12 -7
  1174. package/dist/declared/declarations-folder-of.d.ts.map +1 -1
  1175. package/dist/declared/declarations-folder-of.js +15 -9
  1176. package/dist/declared/declarations-folder-of.js.map +1 -1
  1177. package/dist/declared/declared-role-of.d.ts +6 -2
  1178. package/dist/declared/declared-role-of.d.ts.map +1 -1
  1179. package/dist/declared/declared-role-of.js +8 -2
  1180. package/dist/declared/declared-role-of.js.map +1 -1
  1181. package/dist/declared/earlier-layout-notice.d.ts +10 -0
  1182. package/dist/declared/earlier-layout-notice.d.ts.map +1 -0
  1183. package/dist/declared/earlier-layout-notice.js +12 -0
  1184. package/dist/declared/earlier-layout-notice.js.map +1 -0
  1185. package/dist/declared/earlier-layout-of.d.ts +10 -0
  1186. package/dist/declared/earlier-layout-of.d.ts.map +1 -0
  1187. package/dist/declared/earlier-layout-of.js +16 -0
  1188. package/dist/declared/earlier-layout-of.js.map +1 -0
  1189. package/dist/declared/earlier-shape-of.d.ts +13 -0
  1190. package/dist/declared/earlier-shape-of.d.ts.map +1 -0
  1191. package/dist/declared/earlier-shape-of.js +35 -0
  1192. package/dist/declared/earlier-shape-of.js.map +1 -0
  1193. package/dist/declared/folder-declarations-file.d.ts +6 -4
  1194. package/dist/declared/folder-declarations-file.d.ts.map +1 -1
  1195. package/dist/declared/folder-declarations-file.js +7 -5
  1196. package/dist/declared/folder-declarations-file.js.map +1 -1
  1197. package/dist/declared/index.d.ts +3 -2
  1198. package/dist/declared/index.d.ts.map +1 -1
  1199. package/dist/declared/index.js +3 -2
  1200. package/dist/declared/index.js.map +1 -1
  1201. package/dist/declared/injection/class-injection.d.ts.map +1 -1
  1202. package/dist/declared/injection/constructor-of.d.ts.map +1 -1
  1203. package/dist/declared/injection/constructor-of.js.map +1 -1
  1204. package/dist/declared/injection/context-injections.d.ts +8 -5
  1205. package/dist/declared/injection/context-injections.d.ts.map +1 -1
  1206. package/dist/declared/injection/context-injections.js +3 -6
  1207. package/dist/declared/injection/context-injections.js.map +1 -1
  1208. package/dist/declared/injection/declared-kind-of.d.ts.map +1 -1
  1209. package/dist/declared/injection/declared-kind-of.js.map +1 -1
  1210. package/dist/declared/injection/exported-name-of.d.ts.map +1 -1
  1211. package/dist/declared/injection/local-names.d.ts.map +1 -1
  1212. package/dist/declared/injection/parameter-shape.js.map +1 -1
  1213. package/dist/declared/injection/read-constructor.d.ts.map +1 -1
  1214. package/dist/declared/injection/read-injections.d.ts.map +1 -1
  1215. package/dist/declared/injection/read-injections.js.map +1 -1
  1216. package/dist/declared/injection/render-injections.d.ts.map +1 -1
  1217. package/dist/declared/injection/render-injections.js.map +1 -1
  1218. package/dist/declared/injection/resolve-token.d.ts.map +1 -1
  1219. package/dist/declared/injection/resolve-token.js.map +1 -1
  1220. package/dist/declared/injection/resolved-token.d.ts.map +1 -1
  1221. package/dist/declared/injection/sources.d.ts.map +1 -1
  1222. package/dist/declared/is-declarations-file.d.ts +4 -3
  1223. package/dist/declared/is-declarations-file.d.ts.map +1 -1
  1224. package/dist/declared/is-declarations-file.js +11 -8
  1225. package/dist/declared/is-declarations-file.js.map +1 -1
  1226. package/dist/declared/keeps-role-folder-files.d.ts +12 -0
  1227. package/dist/declared/keeps-role-folder-files.d.ts.map +1 -0
  1228. package/dist/declared/keeps-role-folder-files.js +25 -0
  1229. package/dist/declared/keeps-role-folder-files.js.map +1 -0
  1230. package/dist/declared/keeps-single-file.d.ts +1 -1
  1231. package/dist/declared/keeps-single-file.d.ts.map +1 -1
  1232. package/dist/declared/keeps-single-file.js +3 -3
  1233. package/dist/declared/keeps-single-file.js.map +1 -1
  1234. package/dist/declared/render-declarations.d.ts +9 -3
  1235. package/dist/declared/render-declarations.d.ts.map +1 -1
  1236. package/dist/declared/render-declarations.js +8 -5
  1237. package/dist/declared/render-declarations.js.map +1 -1
  1238. package/dist/declared/render-dependencies-file.d.ts +4 -3
  1239. package/dist/declared/render-dependencies-file.d.ts.map +1 -1
  1240. package/dist/declared/render-dependencies-file.js +13 -7
  1241. package/dist/declared/render-dependencies-file.js.map +1 -1
  1242. package/dist/declared/render-folder-declarations.d.ts +9 -4
  1243. package/dist/declared/render-folder-declarations.d.ts.map +1 -1
  1244. package/dist/declared/render-folder-declarations.js +2 -10
  1245. package/dist/declared/render-folder-declarations.js.map +1 -1
  1246. package/dist/declared/same-files.d.ts +3 -0
  1247. package/dist/declared/same-files.d.ts.map +1 -0
  1248. package/dist/declared/same-files.js +5 -0
  1249. package/dist/declared/same-files.js.map +1 -0
  1250. package/dist/declared/single-file-declarations.d.ts +1 -1
  1251. package/dist/declared/single-file-declarations.d.ts.map +1 -1
  1252. package/dist/declared/single-file-declarations.js +4 -3
  1253. package/dist/declared/single-file-declarations.js.map +1 -1
  1254. package/dist/depcruise/context-rules.d.ts.map +1 -1
  1255. package/dist/depcruise/context-rules.js.map +1 -1
  1256. package/dist/depcruise/cruise-configuration.d.ts.map +1 -1
  1257. package/dist/depcruise/cruise-configuration.js.map +1 -1
  1258. package/dist/depcruise/hygiene-rules.d.ts.map +1 -1
  1259. package/dist/depcruise/hygiene-rules.js.map +1 -1
  1260. package/dist/depcruise/layer-rules.d.ts.map +1 -1
  1261. package/dist/depcruise/layer-rules.js.map +1 -1
  1262. package/dist/depcruise/package-patterns.js.map +1 -1
  1263. package/dist/depcruise/render-cruise-file.d.ts.map +1 -1
  1264. package/dist/depcruise/render-cruise-file.js.map +1 -1
  1265. package/dist/depcruise/test-files.d.ts.map +1 -1
  1266. package/dist/depcruise/test-files.js.map +1 -1
  1267. package/dist/derived/is-derived.d.ts +7 -2
  1268. package/dist/derived/is-derived.d.ts.map +1 -1
  1269. package/dist/derived/is-derived.js +4 -2
  1270. package/dist/derived/is-derived.js.map +1 -1
  1271. package/dist/describe/context-description.d.ts.map +1 -1
  1272. package/dist/describe/context-sources.d.ts +2 -0
  1273. package/dist/describe/context-sources.d.ts.map +1 -1
  1274. package/dist/describe/describe-context.d.ts.map +1 -1
  1275. package/dist/describe/describe-context.js +16 -10
  1276. package/dist/describe/describe-context.js.map +1 -1
  1277. package/dist/describe/exposed-by.d.ts.map +1 -1
  1278. package/dist/describe/exposed-by.js.map +1 -1
  1279. package/dist/describe/format-description.d.ts.map +1 -1
  1280. package/dist/describe/presentation-of-route.d.ts.map +1 -1
  1281. package/dist/describe/presentation-of-route.js.map +1 -1
  1282. package/dist/describe/read-adapters.d.ts.map +1 -1
  1283. package/dist/describe/read-adapters.js +1 -1
  1284. package/dist/describe/read-adapters.js.map +1 -1
  1285. package/dist/describe/read-consumed-events.d.ts.map +1 -1
  1286. package/dist/describe/read-consumed-events.js +7 -8
  1287. package/dist/describe/read-consumed-events.js.map +1 -1
  1288. package/dist/describe/read-controllers.d.ts.map +1 -1
  1289. package/dist/describe/read-controllers.js.map +1 -1
  1290. package/dist/describe/read-errors.d.ts +1 -1
  1291. package/dist/describe/read-errors.d.ts.map +1 -1
  1292. package/dist/describe/read-errors.js +6 -6
  1293. package/dist/describe/read-errors.js.map +1 -1
  1294. package/dist/describe/read-event-definitions.d.ts.map +1 -1
  1295. package/dist/describe/read-policies.d.ts +1 -1
  1296. package/dist/describe/read-policies.d.ts.map +1 -1
  1297. package/dist/describe/read-policies.js +10 -12
  1298. package/dist/describe/read-policies.js.map +1 -1
  1299. package/dist/describe/read-ports.d.ts.map +1 -1
  1300. package/dist/describe/read-ports.js +5 -6
  1301. package/dist/describe/read-ports.js.map +1 -1
  1302. package/dist/describe/read-projections.d.ts +1 -1
  1303. package/dist/describe/read-projections.d.ts.map +1 -1
  1304. package/dist/describe/read-projections.js +6 -6
  1305. package/dist/describe/read-projections.js.map +1 -1
  1306. package/dist/describe/read-published-events.d.ts.map +1 -1
  1307. package/dist/describe/read-published-events.js +6 -5
  1308. package/dist/describe/read-published-events.js.map +1 -1
  1309. package/dist/describe/read-refusals.d.ts.map +1 -1
  1310. package/dist/describe/read-refusals.js.map +1 -1
  1311. package/dist/describe/read-route-groups.d.ts.map +1 -1
  1312. package/dist/describe/read-route-groups.js.map +1 -1
  1313. package/dist/describe/read-routes.d.ts.map +1 -1
  1314. package/dist/describe/read-routes.js.map +1 -1
  1315. package/dist/describe/read-use-cases.d.ts.map +1 -1
  1316. package/dist/describe/read-use-cases.js +5 -4
  1317. package/dist/describe/read-use-cases.js.map +1 -1
  1318. package/dist/describe/reference-lines.d.ts.map +1 -1
  1319. package/dist/dev/refresh-declarations.d.ts.map +1 -1
  1320. package/dist/dev/refresh-declarations.js +1 -1
  1321. package/dist/dev/refresh-declarations.js.map +1 -1
  1322. package/dist/docs/broker-strategy.d.ts.map +1 -1
  1323. package/dist/docs/code-owners-lines.d.ts +24 -0
  1324. package/dist/docs/code-owners-lines.d.ts.map +1 -0
  1325. package/dist/docs/code-owners-lines.js +65 -0
  1326. package/dist/docs/code-owners-lines.js.map +1 -0
  1327. package/dist/docs/context-facts.d.ts.map +1 -1
  1328. package/dist/docs/context-map-lines.d.ts.map +1 -1
  1329. package/dist/docs/declared-stored-events.d.ts.map +1 -1
  1330. package/dist/docs/declared-stored-events.js +2 -1
  1331. package/dist/docs/declared-stored-events.js.map +1 -1
  1332. package/dist/docs/e2e-specs.d.ts.map +1 -1
  1333. package/dist/docs/ensure-reference-region.js.map +1 -1
  1334. package/dist/docs/formerly-recorded-stored-events.d.ts.map +1 -1
  1335. package/dist/docs/formerly-recorded-stored-events.js.map +1 -1
  1336. package/dist/docs/object-properties.js.map +1 -1
  1337. package/dist/docs/open-api-documents-file.d.ts.map +1 -1
  1338. package/dist/docs/read-background-jobs.d.ts +2 -1
  1339. package/dist/docs/read-background-jobs.d.ts.map +1 -1
  1340. package/dist/docs/read-background-jobs.js +7 -7
  1341. package/dist/docs/read-background-jobs.js.map +1 -1
  1342. package/dist/docs/read-context.d.ts.map +1 -1
  1343. package/dist/docs/read-context.js +35 -30
  1344. package/dist/docs/read-context.js.map +1 -1
  1345. package/dist/docs/read-contexts.d.ts.map +1 -1
  1346. package/dist/docs/read-contexts.js.map +1 -1
  1347. package/dist/docs/read-declarations.d.ts +2 -1
  1348. package/dist/docs/read-declarations.d.ts.map +1 -1
  1349. package/dist/docs/read-declarations.js +4 -4
  1350. package/dist/docs/read-declarations.js.map +1 -1
  1351. package/dist/docs/read-jobs.d.ts +2 -1
  1352. package/dist/docs/read-jobs.d.ts.map +1 -1
  1353. package/dist/docs/read-jobs.js +7 -7
  1354. package/dist/docs/read-jobs.js.map +1 -1
  1355. package/dist/docs/read-processes.d.ts +2 -1
  1356. package/dist/docs/read-processes.d.ts.map +1 -1
  1357. package/dist/docs/read-processes.js +6 -6
  1358. package/dist/docs/read-processes.js.map +1 -1
  1359. package/dist/docs/read-state-machines.d.ts +2 -1
  1360. package/dist/docs/read-state-machines.d.ts.map +1 -1
  1361. package/dist/docs/read-state-machines.js +6 -7
  1362. package/dist/docs/read-state-machines.js.map +1 -1
  1363. package/dist/docs/read-vocabularies.d.ts +2 -1
  1364. package/dist/docs/read-vocabularies.d.ts.map +1 -1
  1365. package/dist/docs/read-vocabularies.js +4 -3
  1366. package/dist/docs/read-vocabularies.js.map +1 -1
  1367. package/dist/docs/refresh-context-doc.d.ts.map +1 -1
  1368. package/dist/docs/refresh-context-doc.js.map +1 -1
  1369. package/dist/docs/render-open-api-documents.d.ts.map +1 -1
  1370. package/dist/docs/shared-kernel-importers.d.ts +5 -0
  1371. package/dist/docs/shared-kernel-importers.d.ts.map +1 -0
  1372. package/dist/docs/shared-kernel-importers.js +24 -0
  1373. package/dist/docs/shared-kernel-importers.js.map +1 -0
  1374. package/dist/docs/state-machine-lines.d.ts.map +1 -1
  1375. package/dist/docs/unrecorded-stored-events.d.ts.map +1 -1
  1376. package/dist/docs/unrecorded-stored-events.js.map +1 -1
  1377. package/dist/docs/write-code-owners.d.ts +11 -0
  1378. package/dist/docs/write-code-owners.d.ts.map +1 -0
  1379. package/dist/docs/write-code-owners.js +53 -0
  1380. package/dist/docs/write-code-owners.js.map +1 -0
  1381. package/dist/docs/write-docs.d.ts +5 -4
  1382. package/dist/docs/write-docs.d.ts.map +1 -1
  1383. package/dist/docs/write-docs.js +7 -4
  1384. package/dist/docs/write-docs.js.map +1 -1
  1385. package/dist/docs/write-open-api-documents.d.ts.map +1 -1
  1386. package/dist/docs/write-open-api-documents.js.map +1 -1
  1387. package/dist/docs/write-stored-events-lock.d.ts.map +1 -1
  1388. package/dist/docs/write-stored-events-lock.js.map +1 -1
  1389. package/dist/doctor/diagnose.d.ts +2 -2
  1390. package/dist/doctor/diagnose.d.ts.map +1 -1
  1391. package/dist/doctor/diagnose.js +4 -2
  1392. package/dist/doctor/diagnose.js.map +1 -1
  1393. package/dist/doctor/doctor-finding.d.ts +2 -2
  1394. package/dist/doctor/doctor-finding.d.ts.map +1 -1
  1395. package/dist/doctor/folder-findings.d.ts.map +1 -1
  1396. package/dist/doctor/folder-findings.js.map +1 -1
  1397. package/dist/doctor/format-diagnosis.d.ts.map +1 -1
  1398. package/dist/doctor/format-diagnosis.js +4 -1
  1399. package/dist/doctor/format-diagnosis.js.map +1 -1
  1400. package/dist/doctor/guidance-findings.d.ts +9 -0
  1401. package/dist/doctor/guidance-findings.d.ts.map +1 -0
  1402. package/dist/doctor/guidance-findings.js +17 -0
  1403. package/dist/doctor/guidance-findings.js.map +1 -0
  1404. package/dist/doctor/hook-findings.d.ts +2 -2
  1405. package/dist/doctor/hook-findings.d.ts.map +1 -1
  1406. package/dist/doctor/hook-findings.js +12 -5
  1407. package/dist/doctor/hook-findings.js.map +1 -1
  1408. package/dist/doctor/install-findings.d.ts.map +1 -1
  1409. package/dist/doctor/install-findings.js.map +1 -1
  1410. package/dist/doctor/node-findings.d.ts.map +1 -1
  1411. package/dist/doctor/node-findings.js.map +1 -1
  1412. package/dist/doctor/package-findings.d.ts.map +1 -1
  1413. package/dist/doctor/package-findings.js.map +1 -1
  1414. package/dist/doctor/permission-findings.d.ts +1 -1
  1415. package/dist/doctor/permission-findings.d.ts.map +1 -1
  1416. package/dist/doctor/permission-findings.js +55 -3
  1417. package/dist/doctor/permission-findings.js.map +1 -1
  1418. package/dist/doctor/script-findings.d.ts.map +1 -1
  1419. package/dist/doctor/script-findings.js.map +1 -1
  1420. package/dist/doctor/submodule-findings.d.ts.map +1 -1
  1421. package/dist/doctor/submodule-findings.js.map +1 -1
  1422. package/dist/generate/access-vars.d.ts.map +1 -1
  1423. package/dist/generate/access-vars.js.map +1 -1
  1424. package/dist/generate/apply-wiring.d.ts.map +1 -1
  1425. package/dist/generate/apply-wiring.js.map +1 -1
  1426. package/dist/generate/assembled-context.d.ts.map +1 -1
  1427. package/dist/generate/assembled-context.js.map +1 -1
  1428. package/dist/generate/concept.d.ts.map +1 -1
  1429. package/dist/generate/concept.js.map +1 -1
  1430. package/dist/generate/context-imports.d.ts.map +1 -1
  1431. package/dist/generate/context-imports.js.map +1 -1
  1432. package/dist/generate/context-vars.d.ts.map +1 -1
  1433. package/dist/generate/context-vars.js.map +1 -1
  1434. package/dist/generate/declare-permission.d.ts.map +1 -1
  1435. package/dist/generate/declare-permission.js.map +1 -1
  1436. package/dist/generate/emit.d.ts.map +1 -1
  1437. package/dist/generate/emit.js.map +1 -1
  1438. package/dist/generate/errors/add-code.d.ts.map +1 -1
  1439. package/dist/generate/errors/add-factory.js.map +1 -1
  1440. package/dist/generate/errors/add-spec-case.js.map +1 -1
  1441. package/dist/generate/errors/class-body.d.ts.map +1 -1
  1442. package/dist/generate/errors/class-body.js.map +1 -1
  1443. package/dist/generate/errors/codes-list.js.map +1 -1
  1444. package/dist/generate/errors/codes-of-context.d.ts.map +1 -1
  1445. package/dist/generate/errors/codes-of-context.js +3 -3
  1446. package/dist/generate/errors/codes-of-context.js.map +1 -1
  1447. package/dist/generate/errors/named-refusal-code.d.ts.map +1 -1
  1448. package/dist/generate/errors/named-refusal-code.js.map +1 -1
  1449. package/dist/generate/errors/refusal-class-name.d.ts.map +1 -1
  1450. package/dist/generate/errors/refusal-class-name.js.map +1 -1
  1451. package/dist/generate/errors/refusal-code.d.ts.map +1 -1
  1452. package/dist/generate/errors/refusal-code.js.map +1 -1
  1453. package/dist/generate/errors/refusal-factory-name.d.ts.map +1 -1
  1454. package/dist/generate/errors/refusal-factory-name.js.map +1 -1
  1455. package/dist/generate/errors/refusal-name.d.ts.map +1 -1
  1456. package/dist/generate/errors/refusal-name.js.map +1 -1
  1457. package/dist/generate/errors/static-methods.d.ts.map +1 -1
  1458. package/dist/generate/errors/static-methods.js.map +1 -1
  1459. package/dist/generate/errors/write-named-refusal.d.ts.map +1 -1
  1460. package/dist/generate/errors/write-named-refusal.js.map +1 -1
  1461. package/dist/generate/event-names.d.ts.map +1 -1
  1462. package/dist/generate/event-names.js.map +1 -1
  1463. package/dist/generate/files-under.d.ts.map +1 -1
  1464. package/dist/generate/find-kind.d.ts.map +1 -1
  1465. package/dist/generate/find-kind.js.map +1 -1
  1466. package/dist/generate/given-name.d.ts.map +1 -1
  1467. package/dist/generate/given-name.js.map +1 -1
  1468. package/dist/generate/grant-permission.d.ts.map +1 -1
  1469. package/dist/generate/grant-permission.js.map +1 -1
  1470. package/dist/generate/host-imports.d.ts.map +1 -1
  1471. package/dist/generate/is-declared.d.ts.map +1 -1
  1472. package/dist/generate/kind.d.ts +2 -0
  1473. package/dist/generate/kind.d.ts.map +1 -1
  1474. package/dist/generate/kinds/acceptance-kind.d.ts.map +1 -1
  1475. package/dist/generate/kinds/acceptance-kind.js.map +1 -1
  1476. package/dist/generate/kinds/acl-kind.d.ts.map +1 -1
  1477. package/dist/generate/kinds/acl-kind.js.map +1 -1
  1478. package/dist/generate/kinds/adapter-kind.d.ts.map +1 -1
  1479. package/dist/generate/kinds/adapter-kind.js.map +1 -1
  1480. package/dist/generate/kinds/adr-kind.d.ts.map +1 -1
  1481. package/dist/generate/kinds/adr-kind.js.map +1 -1
  1482. package/dist/generate/kinds/adr-number.d.ts.map +1 -1
  1483. package/dist/generate/kinds/adr-number.js.map +1 -1
  1484. package/dist/generate/kinds/aggregate-kind.d.ts.map +1 -1
  1485. package/dist/generate/kinds/aggregate-kind.js.map +1 -1
  1486. package/dist/generate/kinds/ask-policy-in-generated-use-case.d.ts.map +1 -1
  1487. package/dist/generate/kinds/ask-policy-in-generated-use-case.js.map +1 -1
  1488. package/dist/generate/kinds/assert-declares-its-name.d.ts.map +1 -1
  1489. package/dist/generate/kinds/assert-declares-its-name.js.map +1 -1
  1490. package/dist/generate/kinds/background/background-job-vars.d.ts.map +1 -1
  1491. package/dist/generate/kinds/background/background-job-vars.js.map +1 -1
  1492. package/dist/generate/kinds/background/job-import.d.ts.map +1 -1
  1493. package/dist/generate/kinds/background/job-import.js.map +1 -1
  1494. package/dist/generate/kinds/background/payload-field.d.ts.map +1 -1
  1495. package/dist/generate/kinds/background/payload-field.js.map +1 -1
  1496. package/dist/generate/kinds/background/require-container.d.ts.map +1 -1
  1497. package/dist/generate/kinds/background/require-container.js.map +1 -1
  1498. package/dist/generate/kinds/background-job-kind.d.ts.map +1 -1
  1499. package/dist/generate/kinds/background-job-kind.js.map +1 -1
  1500. package/dist/generate/kinds/builder-kind.d.ts.map +1 -1
  1501. package/dist/generate/kinds/builder-kind.js.map +1 -1
  1502. package/dist/generate/kinds/command-context.d.ts.map +1 -1
  1503. package/dist/generate/kinds/command-context.js.map +1 -1
  1504. package/dist/generate/kinds/command-kind.d.ts.map +1 -1
  1505. package/dist/generate/kinds/command-kind.js.map +1 -1
  1506. package/dist/generate/kinds/command-outputs.d.ts.map +1 -1
  1507. package/dist/generate/kinds/context-kind.d.ts.map +1 -1
  1508. package/dist/generate/kinds/context-kind.js.map +1 -1
  1509. package/dist/generate/kinds/context-plan.d.ts.map +1 -1
  1510. package/dist/generate/kinds/context-request.d.ts.map +1 -1
  1511. package/dist/generate/kinds/declare-context-entries.d.ts.map +1 -1
  1512. package/dist/generate/kinds/declare-context-entries.js.map +1 -1
  1513. package/dist/generate/kinds/declare-storage.d.ts.map +1 -1
  1514. package/dist/generate/kinds/declare-storage.js.map +1 -1
  1515. package/dist/generate/kinds/declares-its-name.d.ts.map +1 -1
  1516. package/dist/generate/kinds/declares-its-name.js.map +1 -1
  1517. package/dist/generate/kinds/domain-error-kind.d.ts.map +1 -1
  1518. package/dist/generate/kinds/domain-error-kind.js.map +1 -1
  1519. package/dist/generate/kinds/domain-event-kind.d.ts.map +1 -1
  1520. package/dist/generate/kinds/domain-event-kind.js.map +1 -1
  1521. package/dist/generate/kinds/domain-service-kind.d.ts.map +1 -1
  1522. package/dist/generate/kinds/domain-service-kind.js.map +1 -1
  1523. package/dist/generate/kinds/e2e/reaction-of.d.ts.map +1 -1
  1524. package/dist/generate/kinds/e2e/reaction-of.js +2 -0
  1525. package/dist/generate/kinds/e2e/reaction-of.js.map +1 -1
  1526. package/dist/generate/kinds/e2e-kind.d.ts.map +1 -1
  1527. package/dist/generate/kinds/e2e-kind.js +9 -1
  1528. package/dist/generate/kinds/e2e-kind.js.map +1 -1
  1529. package/dist/generate/kinds/ensure-domain-event.d.ts.map +1 -1
  1530. package/dist/generate/kinds/ensure-domain-event.js.map +1 -1
  1531. package/dist/generate/kinds/entity-kind.d.ts.map +1 -1
  1532. package/dist/generate/kinds/entity-kind.js.map +1 -1
  1533. package/dist/generate/kinds/error-kind.d.ts.map +1 -1
  1534. package/dist/generate/kinds/error-kind.js.map +1 -1
  1535. package/dist/generate/kinds/event-file-of.d.ts.map +1 -1
  1536. package/dist/generate/kinds/event-handler-kind.d.ts.map +1 -1
  1537. package/dist/generate/kinds/event-handler-kind.js.map +1 -1
  1538. package/dist/generate/kinds/event-name-reference.d.ts.map +1 -1
  1539. package/dist/generate/kinds/event-name-reference.js.map +1 -1
  1540. package/dist/generate/kinds/event-vars.d.ts.map +1 -1
  1541. package/dist/generate/kinds/event-vars.js.map +1 -1
  1542. package/dist/generate/kinds/existing-aggregate.d.ts.map +1 -1
  1543. package/dist/generate/kinds/existing-aggregate.js.map +1 -1
  1544. package/dist/generate/kinds/extend-event-sourced-aggregate.d.ts.map +1 -1
  1545. package/dist/generate/kinds/extend-event-sourced-aggregate.js.map +1 -1
  1546. package/dist/generate/kinds/extraction/add-compose-service.d.ts.map +1 -1
  1547. package/dist/generate/kinds/extraction/edit-json.d.ts.map +1 -1
  1548. package/dist/generate/kinds/extraction/edit-json.js.map +1 -1
  1549. package/dist/generate/kinds/extraction/entry-point.d.ts.map +1 -1
  1550. package/dist/generate/kinds/extraction/entry-point.js.map +1 -1
  1551. package/dist/generate/kinds/extraction/service-selection.d.ts.map +1 -1
  1552. package/dist/generate/kinds/extraction/service-selection.js.map +1 -1
  1553. package/dist/generate/kinds/file-upload/write-upload-controller.d.ts.map +1 -1
  1554. package/dist/generate/kinds/file-upload/write-upload-controller.js.map +1 -1
  1555. package/dist/generate/kinds/file-upload-kind.d.ts.map +1 -1
  1556. package/dist/generate/kinds/file-upload-kind.js.map +1 -1
  1557. package/dist/generate/kinds/find-event-declaration.d.ts.map +1 -1
  1558. package/dist/generate/kinds/form-kind.d.ts.map +1 -1
  1559. package/dist/generate/kinds/form-kind.js.map +1 -1
  1560. package/dist/generate/kinds/gateway-kind.d.ts.map +1 -1
  1561. package/dist/generate/kinds/gateway-kind.js.map +1 -1
  1562. package/dist/generate/kinds/generate-context.d.ts.map +1 -1
  1563. package/dist/generate/kinds/generate-context.js +8 -1
  1564. package/dist/generate/kinds/generate-context.js.map +1 -1
  1565. package/dist/generate/kinds/generate-repository.d.ts.map +1 -1
  1566. package/dist/generate/kinds/generate-repository.js.map +1 -1
  1567. package/dist/generate/kinds/guard-kind.d.ts.map +1 -1
  1568. package/dist/generate/kinds/guard-kind.js.map +1 -1
  1569. package/dist/generate/kinds/import-assembler.d.ts.map +1 -1
  1570. package/dist/generate/kinds/import-assembler.js.map +1 -1
  1571. package/dist/generate/kinds/integration-event-kind.d.ts.map +1 -1
  1572. package/dist/generate/kinds/integration-event-kind.js.map +1 -1
  1573. package/dist/generate/kinds/integration-handler-kind.d.ts.map +1 -1
  1574. package/dist/generate/kinds/integration-handler-kind.js.map +1 -1
  1575. package/dist/generate/kinds/job/grant-system-actor.d.ts.map +1 -1
  1576. package/dist/generate/kinds/job/grant-system-actor.js +2 -2
  1577. package/dist/generate/kinds/job/grant-system-actor.js.map +1 -1
  1578. package/dist/generate/kinds/job/granted-in-spec.d.ts.map +1 -1
  1579. package/dist/generate/kinds/job/granted-in-spec.js.map +1 -1
  1580. package/dist/generate/kinds/job/job-vars.d.ts.map +1 -1
  1581. package/dist/generate/kinds/job/job-vars.js.map +1 -1
  1582. package/dist/generate/kinds/job/permission-of.d.ts.map +1 -1
  1583. package/dist/generate/kinds/job/permission-of.js.map +1 -1
  1584. package/dist/generate/kinds/job/read-sent-command.d.ts.map +1 -1
  1585. package/dist/generate/kinds/job/read-sent-command.js.map +1 -1
  1586. package/dist/generate/kinds/job/requested-schedule.d.ts.map +1 -1
  1587. package/dist/generate/kinds/job/requested-schedule.js.map +1 -1
  1588. package/dist/generate/kinds/job/sent-command.d.ts.map +1 -1
  1589. package/dist/generate/kinds/job/written-schedule.d.ts.map +1 -1
  1590. package/dist/generate/kinds/job-kind.d.ts.map +1 -1
  1591. package/dist/generate/kinds/job-kind.js.map +1 -1
  1592. package/dist/generate/kinds/knip-project.js.map +1 -1
  1593. package/dist/generate/kinds/module-kind.d.ts +3 -0
  1594. package/dist/generate/kinds/module-kind.d.ts.map +1 -0
  1595. package/dist/generate/kinds/module-kind.js +62 -0
  1596. package/dist/generate/kinds/module-kind.js.map +1 -0
  1597. package/dist/generate/kinds/plan-vars.d.ts.map +1 -1
  1598. package/dist/generate/kinds/plan-vars.js.map +1 -1
  1599. package/dist/generate/kinds/policy-kind.d.ts.map +1 -1
  1600. package/dist/generate/kinds/policy-kind.js.map +1 -1
  1601. package/dist/generate/kinds/port-kind.d.ts.map +1 -1
  1602. package/dist/generate/kinds/port-kind.js.map +1 -1
  1603. package/dist/generate/kinds/presentation/controller-of.d.ts.map +1 -1
  1604. package/dist/generate/kinds/presentation/controller-of.js.map +1 -1
  1605. package/dist/generate/kinds/process-kind.d.ts.map +1 -1
  1606. package/dist/generate/kinds/process-kind.js.map +1 -1
  1607. package/dist/generate/kinds/projection-kind.d.ts.map +1 -1
  1608. package/dist/generate/kinds/projection-kind.js.map +1 -1
  1609. package/dist/generate/kinds/publish-in-index.d.ts.map +1 -1
  1610. package/dist/generate/kinds/publish-in-index.js.map +1 -1
  1611. package/dist/generate/kinds/query-context.d.ts.map +1 -1
  1612. package/dist/generate/kinds/query-context.js.map +1 -1
  1613. package/dist/generate/kinds/query-kind.d.ts.map +1 -1
  1614. package/dist/generate/kinds/query-kind.js.map +1 -1
  1615. package/dist/generate/kinds/query-outputs.d.ts.map +1 -1
  1616. package/dist/generate/kinds/query-outputs.js.map +1 -1
  1617. package/dist/generate/kinds/reader-file.d.ts.map +1 -1
  1618. package/dist/generate/kinds/reader-file.js.map +1 -1
  1619. package/dist/generate/kinds/repository-adapter.d.ts.map +1 -1
  1620. package/dist/generate/kinds/repository-kind.d.ts.map +1 -1
  1621. package/dist/generate/kinds/repository-kind.js.map +1 -1
  1622. package/dist/generate/kinds/representation-kind.d.ts.map +1 -1
  1623. package/dist/generate/kinds/representation-kind.js.map +1 -1
  1624. package/dist/generate/kinds/route/cache-policy-text.d.ts.map +1 -1
  1625. package/dist/generate/kinds/route/cache-policy-text.js.map +1 -1
  1626. package/dist/generate/kinds/route/controller-imports.d.ts.map +1 -1
  1627. package/dist/generate/kinds/route/controller-imports.js.map +1 -1
  1628. package/dist/generate/kinds/route/controller-plan.d.ts.map +1 -1
  1629. package/dist/generate/kinds/route/controller-types.d.ts.map +1 -1
  1630. package/dist/generate/kinds/route/controller-types.js.map +1 -1
  1631. package/dist/generate/kinds/route/controller-vars.d.ts.map +1 -1
  1632. package/dist/generate/kinds/route/controller-vars.js.map +1 -1
  1633. package/dist/generate/kinds/route/dto-classes.d.ts.map +1 -1
  1634. package/dist/generate/kinds/route/find-use-case.d.ts.map +1 -1
  1635. package/dist/generate/kinds/route/find-use-case.js.map +1 -1
  1636. package/dist/generate/kinds/route/group-prefix.d.ts.map +1 -1
  1637. package/dist/generate/kinds/route/group-prefix.js.map +1 -1
  1638. package/dist/generate/kinds/route/group-vars.d.ts.map +1 -1
  1639. package/dist/generate/kinds/route/parse-endpoint.d.ts.map +1 -1
  1640. package/dist/generate/kinds/route/parse-endpoint.js.map +1 -1
  1641. package/dist/generate/kinds/route/plan-controller.d.ts.map +1 -1
  1642. package/dist/generate/kinds/route/plan-controller.js.map +1 -1
  1643. package/dist/generate/kinds/route/resolve-group.d.ts.map +1 -1
  1644. package/dist/generate/kinds/route/resolve-group.js.map +1 -1
  1645. package/dist/generate/kinds/route/resource-of.d.ts.map +1 -1
  1646. package/dist/generate/kinds/route/route-group.d.ts.map +1 -1
  1647. package/dist/generate/kinds/route/route-vars.d.ts.map +1 -1
  1648. package/dist/generate/kinds/route/route-vars.js.map +1 -1
  1649. package/dist/generate/kinds/route/shares-schemas.d.ts.map +1 -1
  1650. package/dist/generate/kinds/route/write-controller.d.ts.map +1 -1
  1651. package/dist/generate/kinds/route/write-controller.js.map +1 -1
  1652. package/dist/generate/kinds/route-group-kind.d.ts.map +1 -1
  1653. package/dist/generate/kinds/route-group-kind.js.map +1 -1
  1654. package/dist/generate/kinds/route-kind.d.ts.map +1 -1
  1655. package/dist/generate/kinds/route-kind.js.map +1 -1
  1656. package/dist/generate/kinds/schema-kind.d.ts.map +1 -1
  1657. package/dist/generate/kinds/schema-kind.js.map +1 -1
  1658. package/dist/generate/kinds/service-kind.d.ts.map +1 -1
  1659. package/dist/generate/kinds/service-kind.js.map +1 -1
  1660. package/dist/generate/kinds/state-machine/parse-transitions.d.ts.map +1 -1
  1661. package/dist/generate/kinds/state-machine/parse-transitions.js.map +1 -1
  1662. package/dist/generate/kinds/state-machine/state-machine-vars.d.ts.map +1 -1
  1663. package/dist/generate/kinds/state-machine/status-vocabulary.d.ts.map +1 -1
  1664. package/dist/generate/kinds/state-machine/status-vocabulary.js.map +1 -1
  1665. package/dist/generate/kinds/state-machine-kind.d.ts.map +1 -1
  1666. package/dist/generate/kinds/state-machine-kind.js.map +1 -1
  1667. package/dist/generate/kinds/test-world-kind.d.ts.map +1 -1
  1668. package/dist/generate/kinds/test-world-kind.js.map +1 -1
  1669. package/dist/generate/kinds/traced-command.d.ts.map +1 -1
  1670. package/dist/generate/kinds/value-object-kind.d.ts.map +1 -1
  1671. package/dist/generate/kinds/value-object-kind.js.map +1 -1
  1672. package/dist/generate/kinds/vocabulary-kind.d.ts.map +1 -1
  1673. package/dist/generate/kinds/vocabulary-kind.js.map +1 -1
  1674. package/dist/generate/kinds/wire-context.d.ts.map +1 -1
  1675. package/dist/generate/kinds/wire-context.js.map +1 -1
  1676. package/dist/generate/kinds/worker-kind.d.ts.map +1 -1
  1677. package/dist/generate/kinds/worker-kind.js.map +1 -1
  1678. package/dist/generate/kinds/world/context-fakes.d.ts.map +1 -1
  1679. package/dist/generate/kinds/world/context-fakes.js.map +1 -1
  1680. package/dist/generate/kinds/world/declared-ports.d.ts.map +1 -1
  1681. package/dist/generate/kinds/world/declared-ports.js +4 -10
  1682. package/dist/generate/kinds/world/declared-ports.js.map +1 -1
  1683. package/dist/generate/kinds/world/ports-in-use.d.ts.map +1 -1
  1684. package/dist/generate/kinds/world/ports-in-use.js.map +1 -1
  1685. package/dist/generate/kinds/world/world-vars.d.ts.map +1 -1
  1686. package/dist/generate/kinds/world/world-vars.js.map +1 -1
  1687. package/dist/generate/kinds/write-adr.d.ts.map +1 -1
  1688. package/dist/generate/kinds/write-adr.js.map +1 -1
  1689. package/dist/generate/kinds/write-context-files.d.ts.map +1 -1
  1690. package/dist/generate/kinds/write-context-files.js.map +1 -1
  1691. package/dist/generate/kinds/write-domain-event.d.ts.map +1 -1
  1692. package/dist/generate/kinds/write-domain-event.js.map +1 -1
  1693. package/dist/generate/kinds/write-event-sourced-aggregate.d.ts.map +1 -1
  1694. package/dist/generate/kinds/write-event-sourced-aggregate.js.map +1 -1
  1695. package/dist/generate/kinds/write-own-policy.d.ts.map +1 -1
  1696. package/dist/generate/kinds/write-own-policy.js.map +1 -1
  1697. package/dist/generate/kinds-help.d.ts.map +1 -1
  1698. package/dist/generate/kinds-help.js.map +1 -1
  1699. package/dist/generate/kinds.d.ts.map +1 -1
  1700. package/dist/generate/kinds.js +2 -0
  1701. package/dist/generate/kinds.js.map +1 -1
  1702. package/dist/generate/label.d.ts.map +1 -1
  1703. package/dist/generate/label.js.map +1 -1
  1704. package/dist/generate/learn-terms.d.ts.map +1 -1
  1705. package/dist/generate/learn-terms.js.map +1 -1
  1706. package/dist/generate/lists-routes.d.ts.map +1 -1
  1707. package/dist/generate/lists-routes.js.map +1 -1
  1708. package/dist/generate/mark-policy-questions.d.ts.map +1 -1
  1709. package/dist/generate/mark-policy-questions.js.map +1 -1
  1710. package/dist/generate/named.d.ts.map +1 -1
  1711. package/dist/generate/open-scope.d.ts.map +1 -1
  1712. package/dist/generate/open-scope.js.map +1 -1
  1713. package/dist/generate/parse-terms.js.map +1 -1
  1714. package/dist/generate/permission-named.d.ts.map +1 -1
  1715. package/dist/generate/permission-named.js.map +1 -1
  1716. package/dist/generate/permission-pattern.d.ts.map +1 -1
  1717. package/dist/generate/permission-pattern.js.map +1 -1
  1718. package/dist/generate/permissions-file.d.ts.map +1 -1
  1719. package/dist/generate/place-in-modules.d.ts +16 -0
  1720. package/dist/generate/place-in-modules.d.ts.map +1 -0
  1721. package/dist/generate/place-in-modules.js +53 -0
  1722. package/dist/generate/place-in-modules.js.map +1 -0
  1723. package/dist/generate/platform-path.d.ts.map +1 -1
  1724. package/dist/generate/platform-path.js.map +1 -1
  1725. package/dist/generate/refined-by-policy.d.ts.map +1 -1
  1726. package/dist/generate/refined-by-policy.js.map +1 -1
  1727. package/dist/generate/refresh-barrels.d.ts +17 -11
  1728. package/dist/generate/refresh-barrels.d.ts.map +1 -1
  1729. package/dist/generate/refresh-barrels.js +40 -31
  1730. package/dist/generate/refresh-barrels.js.map +1 -1
  1731. package/dist/generate/refresh-docs.d.ts +5 -0
  1732. package/dist/generate/refresh-docs.d.ts.map +1 -0
  1733. package/dist/generate/refresh-docs.js +23 -0
  1734. package/dist/generate/refresh-docs.js.map +1 -0
  1735. package/dist/generate/refuse-shared-writes.d.ts.map +1 -1
  1736. package/dist/generate/refuse-shared-writes.js.map +1 -1
  1737. package/dist/generate/rendered.d.ts.map +1 -1
  1738. package/dist/generate/rendered.js.map +1 -1
  1739. package/dist/generate/require-file.d.ts.map +1 -1
  1740. package/dist/generate/require-file.js.map +1 -1
  1741. package/dist/generate/schedule/cron-field-values.d.ts.map +1 -1
  1742. package/dist/generate/schedule/cron-problem.js.map +1 -1
  1743. package/dist/generate/schedule/job-schedule-problem.d.ts.map +1 -1
  1744. package/dist/generate/schedule/job-schedule-problem.js.map +1 -1
  1745. package/dist/generate/scope.d.ts.map +1 -1
  1746. package/dist/generate/searched-elements.d.ts.map +1 -1
  1747. package/dist/generate/searched-elements.js.map +1 -1
  1748. package/dist/generate/shared-writes.d.ts.map +1 -1
  1749. package/dist/generate/shared-writes.js +1 -0
  1750. package/dist/generate/shared-writes.js.map +1 -1
  1751. package/dist/generate/spec-vars.d.ts.map +1 -1
  1752. package/dist/generate/spec-vars.js.map +1 -1
  1753. package/dist/generate/spoken-in-language.d.ts.map +1 -1
  1754. package/dist/generate/spoken-in-language.js.map +1 -1
  1755. package/dist/generate/stop-ignoring-validation.d.ts.map +1 -1
  1756. package/dist/generate/stop-ignoring-validation.js.map +1 -1
  1757. package/dist/generate/storage-vars.d.ts.map +1 -1
  1758. package/dist/generate/storage-vars.js.map +1 -1
  1759. package/dist/generate/use-case-message.d.ts.map +1 -1
  1760. package/dist/generate/vars.d.ts.map +1 -1
  1761. package/dist/generate/vars.js.map +1 -1
  1762. package/dist/generate/vocabulary/declare-role.d.ts.map +1 -1
  1763. package/dist/generate/vocabulary/declare-role.js.map +1 -1
  1764. package/dist/generate/vocabulary/entries-of.d.ts.map +1 -1
  1765. package/dist/generate/vocabulary/entries-of.js.map +1 -1
  1766. package/dist/generate/vocabulary/held-entries.d.ts.map +1 -1
  1767. package/dist/generate/vocabulary/vocabulary-text.d.ts.map +1 -1
  1768. package/dist/generate/vocabulary/vocabulary-text.js.map +1 -1
  1769. package/dist/generate/wire.d.ts.map +1 -1
  1770. package/dist/generate/wire.js.map +1 -1
  1771. package/dist/generate/wiring-family.d.ts.map +1 -1
  1772. package/dist/generate/wiring-family.js.map +1 -1
  1773. package/dist/generate/wirings.d.ts.map +1 -1
  1774. package/dist/generate/wirings.js.map +1 -1
  1775. package/dist/generate/workspace-sources.d.ts.map +1 -1
  1776. package/dist/generate/workspace-sources.js.map +1 -1
  1777. package/dist/help/commands-guide-region.js.map +1 -1
  1778. package/dist/help/notes.d.ts +1 -1
  1779. package/dist/help/notes.d.ts.map +1 -1
  1780. package/dist/help/notes.js +33 -7
  1781. package/dist/help/notes.js.map +1 -1
  1782. package/dist/help/reference-text.js.map +1 -1
  1783. package/dist/help/usage.d.ts +1 -1
  1784. package/dist/help/usage.d.ts.map +1 -1
  1785. package/dist/help/usage.js +5 -3
  1786. package/dist/help/usage.js.map +1 -1
  1787. package/dist/index.d.ts.map +1 -1
  1788. package/dist/index.js.map +1 -1
  1789. package/dist/init/add-context.d.ts.map +1 -1
  1790. package/dist/init/add-context.js.map +1 -1
  1791. package/dist/init/agent-permissions.d.ts +5 -2
  1792. package/dist/init/agent-permissions.d.ts.map +1 -1
  1793. package/dist/init/agent-permissions.js +89 -64
  1794. package/dist/init/agent-permissions.js.map +1 -1
  1795. package/dist/init/files/architecture-files.d.ts.map +1 -1
  1796. package/dist/init/files/architecture-files.js.map +1 -1
  1797. package/dist/init/files/audit-files.d.ts.map +1 -1
  1798. package/dist/init/files/audit-files.js +6 -0
  1799. package/dist/init/files/audit-files.js.map +1 -1
  1800. package/dist/init/files/auth-files.d.ts.map +1 -1
  1801. package/dist/init/files/auth-files.js +0 -1
  1802. package/dist/init/files/auth-files.js.map +1 -1
  1803. package/dist/init/files/end-to-end-files.d.ts.map +1 -1
  1804. package/dist/init/files/family-of.d.ts.map +1 -1
  1805. package/dist/init/files/guidance-files.d.ts +6 -0
  1806. package/dist/init/files/guidance-files.d.ts.map +1 -1
  1807. package/dist/init/files/guidance-files.js +6 -0
  1808. package/dist/init/files/guidance-files.js.map +1 -1
  1809. package/dist/init/files/init-files.d.ts.map +1 -1
  1810. package/dist/init/files/init-files.js.map +1 -1
  1811. package/dist/init/files/persistence-files.d.ts.map +1 -1
  1812. package/dist/init/files/persistence-files.js +2 -0
  1813. package/dist/init/files/persistence-files.js.map +1 -1
  1814. package/dist/init/files/pipeline-files.d.ts.map +1 -1
  1815. package/dist/init/files/pipeline-files.js +23 -0
  1816. package/dist/init/files/pipeline-files.js.map +1 -1
  1817. package/dist/init/files/platform-file.d.ts.map +1 -1
  1818. package/dist/init/files/platform-files.d.ts.map +1 -1
  1819. package/dist/init/files/platform-files.js +18 -17
  1820. package/dist/init/files/platform-files.js.map +1 -1
  1821. package/dist/init/files/project-files.d.ts.map +1 -1
  1822. package/dist/init/files/project-files.js.map +1 -1
  1823. package/dist/init/files/script-files.d.ts.map +1 -1
  1824. package/dist/init/files/script-files.js.map +1 -1
  1825. package/dist/init/files/when.d.ts.map +1 -1
  1826. package/dist/init/git-host-of.d.ts +7 -0
  1827. package/dist/init/git-host-of.d.ts.map +1 -0
  1828. package/dist/init/git-host-of.js +57 -0
  1829. package/dist/init/git-host-of.js.map +1 -0
  1830. package/dist/init/hook-command.d.ts +4 -0
  1831. package/dist/init/hook-command.d.ts.map +1 -0
  1832. package/dist/init/hook-command.js +5 -0
  1833. package/dist/init/hook-command.js.map +1 -0
  1834. package/dist/init/ignore-worktrees.d.ts.map +1 -1
  1835. package/dist/init/ignore-worktrees.js.map +1 -1
  1836. package/dist/init/json-object.js.map +1 -1
  1837. package/dist/init/knip-vars.d.ts.map +1 -1
  1838. package/dist/init/knip-vars.js.map +1 -1
  1839. package/dist/init/managed-settings-note.d.ts +6 -0
  1840. package/dist/init/managed-settings-note.d.ts.map +1 -0
  1841. package/dist/init/managed-settings-note.js +21 -0
  1842. package/dist/init/managed-settings-note.js.map +1 -0
  1843. package/dist/init/manifest/database-scripts.d.ts.map +1 -1
  1844. package/dist/init/manifest/dependencies-for.d.ts.map +1 -1
  1845. package/dist/init/manifest/dependencies-for.js.map +1 -1
  1846. package/dist/init/manifest/documentation-scripts.d.ts.map +1 -1
  1847. package/dist/init/manifest/pipeline-manifest.js.map +1 -1
  1848. package/dist/init/manifest/scripts-for.d.ts.map +1 -1
  1849. package/dist/init/manifest/scripts-for.js.map +1 -1
  1850. package/dist/init/manifest/test-scripts.d.ts.map +1 -1
  1851. package/dist/init/manifest/versions.js +24 -24
  1852. package/dist/init/manifest/write-manifest.d.ts.map +1 -1
  1853. package/dist/init/manifest/write-manifest.js.map +1 -1
  1854. package/dist/init/merge-hooks.d.ts +3 -0
  1855. package/dist/init/merge-hooks.d.ts.map +1 -0
  1856. package/dist/init/merge-hooks.js +16 -0
  1857. package/dist/init/merge-hooks.js.map +1 -0
  1858. package/dist/init/merge-sandbox.d.ts +6 -0
  1859. package/dist/init/merge-sandbox.d.ts.map +1 -0
  1860. package/dist/init/merge-sandbox.js +15 -0
  1861. package/dist/init/merge-sandbox.js.map +1 -0
  1862. package/dist/init/profile-hooks.d.ts +10 -0
  1863. package/dist/init/profile-hooks.d.ts.map +1 -0
  1864. package/dist/init/profile-hooks.js +18 -0
  1865. package/dist/init/profile-hooks.js.map +1 -0
  1866. package/dist/init/record-agent-profile.d.ts +8 -0
  1867. package/dist/init/record-agent-profile.d.ts.map +1 -0
  1868. package/dist/init/record-agent-profile.js +28 -0
  1869. package/dist/init/record-agent-profile.js.map +1 -0
  1870. package/dist/init/record-no-outbox.d.ts.map +1 -1
  1871. package/dist/init/record-no-outbox.js.map +1 -1
  1872. package/dist/init/registered-hook-commands.d.ts +3 -0
  1873. package/dist/init/registered-hook-commands.d.ts.map +1 -0
  1874. package/dist/init/registered-hook-commands.js +10 -0
  1875. package/dist/init/registered-hook-commands.js.map +1 -0
  1876. package/dist/init/regulated-sandbox.d.ts +8 -0
  1877. package/dist/init/regulated-sandbox.d.ts.map +1 -0
  1878. package/dist/init/regulated-sandbox.js +35 -0
  1879. package/dist/init/regulated-sandbox.js.map +1 -0
  1880. package/dist/init/run-init.d.ts.map +1 -1
  1881. package/dist/init/run-init.js +17 -3
  1882. package/dist/init/run-init.js.map +1 -1
  1883. package/dist/init/stack/choose.js.map +1 -1
  1884. package/dist/init/stack/recorded-options.d.ts.map +1 -1
  1885. package/dist/init/stack/resolve-ci-extras.d.ts.map +1 -1
  1886. package/dist/init/stack/resolve-ci-extras.js +1 -1
  1887. package/dist/init/stack/resolve-ci-extras.js.map +1 -1
  1888. package/dist/init/stack/resolve-persistence.d.ts.map +1 -1
  1889. package/dist/init/stack/resolve-persistence.js.map +1 -1
  1890. package/dist/init/stack/resolve-queue.d.ts.map +1 -1
  1891. package/dist/init/stack/resolve-queue.js.map +1 -1
  1892. package/dist/init/stack/resolve-stack.d.ts.map +1 -1
  1893. package/dist/init/stack/resolve-stack.js +16 -3
  1894. package/dist/init/stack/resolve-stack.js.map +1 -1
  1895. package/dist/init/stack/resolve-style.d.ts.map +1 -1
  1896. package/dist/init/stack/resolve-style.js.map +1 -1
  1897. package/dist/init/stack/resolve-tenancy.d.ts.map +1 -1
  1898. package/dist/init/stack/resolve-tenancy.js.map +1 -1
  1899. package/dist/init/stack/stack-options.d.ts +2 -0
  1900. package/dist/init/stack/stack-options.d.ts.map +1 -1
  1901. package/dist/init/template-vars.d.ts.map +1 -1
  1902. package/dist/init/template-vars.js +4 -0
  1903. package/dist/init/template-vars.js.map +1 -1
  1904. package/dist/init/validation-dependencies.d.ts.map +1 -1
  1905. package/dist/init/write-agent-settings.d.ts +7 -2
  1906. package/dist/init/write-agent-settings.d.ts.map +1 -1
  1907. package/dist/init/write-agent-settings.js +35 -8
  1908. package/dist/init/write-agent-settings.js.map +1 -1
  1909. package/dist/init/write-contracts.d.ts.map +1 -1
  1910. package/dist/init/write-contracts.js.map +1 -1
  1911. package/dist/init/write-copilot-instructions.d.ts.map +1 -1
  1912. package/dist/init/write-copilot-instructions.js.map +1 -1
  1913. package/dist/init/write-copilot-settings.d.ts.map +1 -1
  1914. package/dist/init/write-copilot-settings.js.map +1 -1
  1915. package/dist/init/write-profile-hooks.d.ts +5 -0
  1916. package/dist/init/write-profile-hooks.d.ts.map +1 -0
  1917. package/dist/init/write-profile-hooks.js +12 -0
  1918. package/dist/init/write-profile-hooks.js.map +1 -0
  1919. package/dist/init/write-type-script-configs.d.ts.map +1 -1
  1920. package/dist/init/write-type-script-configs.js.map +1 -1
  1921. package/dist/layout/chain-links.js.map +1 -1
  1922. package/dist/layout/fit-block.js.map +1 -1
  1923. package/dist/layout/fit-declaration.js.map +1 -1
  1924. package/dist/layout/fit-source.js.map +1 -1
  1925. package/dist/layout/fit-statement.js.map +1 -1
  1926. package/dist/layout/index.d.ts.map +1 -1
  1927. package/dist/layout/index.js.map +1 -1
  1928. package/dist/layout/open-callback.js.map +1 -1
  1929. package/dist/layout/split-top-level.js.map +1 -1
  1930. package/dist/lint/format-verdict.d.ts.map +1 -1
  1931. package/dist/lint/lint-verdict.d.ts.map +1 -1
  1932. package/dist/lint/parse-lint-answer.js.map +1 -1
  1933. package/dist/markers/index.d.ts.map +1 -1
  1934. package/dist/markers/index.js.map +1 -1
  1935. package/dist/markers/insert-in-region.js.map +1 -1
  1936. package/dist/markers/merge-imports.js.map +1 -1
  1937. package/dist/markers/replace-in-region.js.map +1 -1
  1938. package/dist/markers/replace-region.js.map +1 -1
  1939. package/dist/measures/author-measures.d.ts +7 -0
  1940. package/dist/measures/author-measures.d.ts.map +1 -0
  1941. package/dist/measures/author-measures.js +2 -0
  1942. package/dist/measures/author-measures.js.map +1 -0
  1943. package/dist/measures/branch-commit.d.ts +14 -0
  1944. package/dist/measures/branch-commit.d.ts.map +1 -0
  1945. package/dist/measures/branch-commit.js +2 -0
  1946. package/dist/measures/branch-commit.js.map +1 -0
  1947. package/dist/measures/branch-commits.d.ts +8 -0
  1948. package/dist/measures/branch-commits.d.ts.map +1 -0
  1949. package/dist/measures/branch-commits.js +32 -0
  1950. package/dist/measures/branch-commits.js.map +1 -0
  1951. package/dist/measures/by-author-of.d.ts +5 -0
  1952. package/dist/measures/by-author-of.d.ts.map +1 -0
  1953. package/dist/measures/by-author-of.js +16 -0
  1954. package/dist/measures/by-author-of.js.map +1 -0
  1955. package/dist/measures/current-branch.d.ts +4 -0
  1956. package/dist/measures/current-branch.d.ts.map +1 -0
  1957. package/dist/measures/current-branch.js +5 -0
  1958. package/dist/measures/current-branch.js.map +1 -0
  1959. package/dist/measures/duration-text.d.ts +3 -0
  1960. package/dist/measures/duration-text.d.ts.map +1 -0
  1961. package/dist/measures/duration-text.js +13 -0
  1962. package/dist/measures/duration-text.js.map +1 -0
  1963. package/dist/measures/file-at.d.ts +4 -0
  1964. package/dist/measures/file-at.d.ts.map +1 -0
  1965. package/dist/measures/file-at.js +5 -0
  1966. package/dist/measures/file-at.js.map +1 -0
  1967. package/dist/measures/finding.d.ts +6 -0
  1968. package/dist/measures/finding.d.ts.map +1 -0
  1969. package/dist/measures/finding.js +2 -0
  1970. package/dist/measures/finding.js.map +1 -0
  1971. package/dist/measures/findings-of.d.ts +7 -0
  1972. package/dist/measures/findings-of.d.ts.map +1 -0
  1973. package/dist/measures/findings-of.js +32 -0
  1974. package/dist/measures/findings-of.js.map +1 -0
  1975. package/dist/measures/format-measures.d.ts +4 -0
  1976. package/dist/measures/format-measures.d.ts.map +1 -0
  1977. package/dist/measures/format-measures.js +40 -0
  1978. package/dist/measures/format-measures.js.map +1 -0
  1979. package/dist/measures/hours.d.ts +3 -0
  1980. package/dist/measures/hours.d.ts.map +1 -0
  1981. package/dist/measures/hours.js +5 -0
  1982. package/dist/measures/hours.js.map +1 -0
  1983. package/dist/measures/incident-record-of.d.ts +6 -0
  1984. package/dist/measures/incident-record-of.d.ts.map +1 -0
  1985. package/dist/measures/incident-record-of.js +25 -0
  1986. package/dist/measures/incident-record-of.js.map +1 -0
  1987. package/dist/measures/incident-record.d.ts +9 -0
  1988. package/dist/measures/incident-record.d.ts.map +1 -0
  1989. package/dist/measures/incident-record.js +2 -0
  1990. package/dist/measures/incident-record.js.map +1 -0
  1991. package/dist/measures/marker-lines-of.d.ts +8 -0
  1992. package/dist/measures/marker-lines-of.d.ts.map +1 -0
  1993. package/dist/measures/marker-lines-of.js +16 -0
  1994. package/dist/measures/marker-lines-of.js.map +1 -0
  1995. package/dist/measures/measures-request.d.ts +8 -0
  1996. package/dist/measures/measures-request.d.ts.map +1 -0
  1997. package/dist/measures/measures-request.js +2 -0
  1998. package/dist/measures/measures-request.js.map +1 -0
  1999. package/dist/measures/measures-summary-of.d.ts +5 -0
  2000. package/dist/measures/measures-summary-of.d.ts.map +1 -0
  2001. package/dist/measures/measures-summary-of.js +24 -0
  2002. package/dist/measures/measures-summary-of.js.map +1 -0
  2003. package/dist/measures/measures-summary.d.ts +23 -0
  2004. package/dist/measures/measures-summary.d.ts.map +1 -0
  2005. package/dist/measures/measures-summary.js +2 -0
  2006. package/dist/measures/measures-summary.js.map +1 -0
  2007. package/dist/measures/measures-view.d.ts +15 -0
  2008. package/dist/measures/measures-view.d.ts.map +1 -0
  2009. package/dist/measures/measures-view.js +2 -0
  2010. package/dist/measures/measures-view.js.map +1 -0
  2011. package/dist/measures/median.d.ts +3 -0
  2012. package/dist/measures/median.d.ts.map +1 -0
  2013. package/dist/measures/median.js +12 -0
  2014. package/dist/measures/median.js.map +1 -0
  2015. package/dist/measures/overlaps-of.d.ts +4 -0
  2016. package/dist/measures/overlaps-of.d.ts.map +1 -0
  2017. package/dist/measures/overlaps-of.js +10 -0
  2018. package/dist/measures/overlaps-of.js.map +1 -0
  2019. package/dist/measures/read-measures.d.ts +6 -0
  2020. package/dist/measures/read-measures.d.ts.map +1 -0
  2021. package/dist/measures/read-measures.js +37 -0
  2022. package/dist/measures/read-measures.js.map +1 -0
  2023. package/dist/measures/repeated-incident.d.ts +8 -0
  2024. package/dist/measures/repeated-incident.d.ts.map +1 -0
  2025. package/dist/measures/repeated-incident.js +24 -0
  2026. package/dist/measures/repeated-incident.js.map +1 -0
  2027. package/dist/measures/repeats-across.d.ts +6 -0
  2028. package/dist/measures/repeats-across.d.ts.map +1 -0
  2029. package/dist/measures/repeats-across.js +15 -0
  2030. package/dist/measures/repeats-across.js.map +1 -0
  2031. package/dist/measures/report-measures-of.d.ts +4 -0
  2032. package/dist/measures/report-measures-of.d.ts.map +1 -0
  2033. package/dist/measures/report-measures-of.js +29 -0
  2034. package/dist/measures/report-measures-of.js.map +1 -0
  2035. package/dist/measures/report-measures.d.ts +14 -0
  2036. package/dist/measures/report-measures.d.ts.map +1 -0
  2037. package/dist/measures/report-measures.js +2 -0
  2038. package/dist/measures/report-measures.js.map +1 -0
  2039. package/dist/measures/repository.d.ts +7 -0
  2040. package/dist/measures/repository.d.ts.map +1 -0
  2041. package/dist/measures/repository.js +2 -0
  2042. package/dist/measures/repository.js.map +1 -0
  2043. package/dist/measures/review-measures.d.ts +12 -0
  2044. package/dist/measures/review-measures.d.ts.map +1 -0
  2045. package/dist/measures/review-measures.js +2 -0
  2046. package/dist/measures/review-measures.js.map +1 -0
  2047. package/dist/measures/review-reading-of.d.ts +10 -0
  2048. package/dist/measures/review-reading-of.d.ts.map +1 -0
  2049. package/dist/measures/review-reading-of.js +25 -0
  2050. package/dist/measures/review-reading-of.js.map +1 -0
  2051. package/dist/measures/review-reading.d.ts +12 -0
  2052. package/dist/measures/review-reading.d.ts.map +1 -0
  2053. package/dist/measures/review-reading.js +2 -0
  2054. package/dist/measures/review-reading.js.map +1 -0
  2055. package/dist/measures/rework-of.d.ts +11 -0
  2056. package/dist/measures/rework-of.d.ts.map +1 -0
  2057. package/dist/measures/rework-of.js +32 -0
  2058. package/dist/measures/rework-of.js.map +1 -0
  2059. package/dist/measures/rework.d.ts +10 -0
  2060. package/dist/measures/rework.d.ts.map +1 -0
  2061. package/dist/measures/rework.js +2 -0
  2062. package/dist/measures/rework.js.map +1 -0
  2063. package/dist/measures/signatures-of.d.ts +7 -0
  2064. package/dist/measures/signatures-of.d.ts.map +1 -0
  2065. package/dist/measures/signatures-of.js +20 -0
  2066. package/dist/measures/signatures-of.js.map +1 -0
  2067. package/dist/measures/span.d.ts +7 -0
  2068. package/dist/measures/span.d.ts.map +1 -0
  2069. package/dist/measures/span.js +2 -0
  2070. package/dist/measures/span.js.map +1 -0
  2071. package/dist/measures/story-commits-of.d.ts +6 -0
  2072. package/dist/measures/story-commits-of.d.ts.map +1 -0
  2073. package/dist/measures/story-commits-of.js +16 -0
  2074. package/dist/measures/story-commits-of.js.map +1 -0
  2075. package/dist/measures/story-commits.d.ts +13 -0
  2076. package/dist/measures/story-commits.d.ts.map +1 -0
  2077. package/dist/measures/story-commits.js +2 -0
  2078. package/dist/measures/story-commits.js.map +1 -0
  2079. package/dist/measures/story-files-of.d.ts +4 -0
  2080. package/dist/measures/story-files-of.d.ts.map +1 -0
  2081. package/dist/measures/story-files-of.js +13 -0
  2082. package/dist/measures/story-files-of.js.map +1 -0
  2083. package/dist/measures/story-files.d.ts +10 -0
  2084. package/dist/measures/story-files.d.ts.map +1 -0
  2085. package/dist/measures/story-files.js +2 -0
  2086. package/dist/measures/story-files.js.map +1 -0
  2087. package/dist/measures/story-history.d.ts +8 -0
  2088. package/dist/measures/story-history.d.ts.map +1 -0
  2089. package/dist/measures/story-history.js +2 -0
  2090. package/dist/measures/story-history.js.map +1 -0
  2091. package/dist/measures/story-line-of.d.ts +4 -0
  2092. package/dist/measures/story-line-of.d.ts.map +1 -0
  2093. package/dist/measures/story-line-of.js +28 -0
  2094. package/dist/measures/story-line-of.js.map +1 -0
  2095. package/dist/measures/story-measures-of.d.ts +5 -0
  2096. package/dist/measures/story-measures-of.d.ts.map +1 -0
  2097. package/dist/measures/story-measures-of.js +42 -0
  2098. package/dist/measures/story-measures-of.js.map +1 -0
  2099. package/dist/measures/story-measures.d.ts +36 -0
  2100. package/dist/measures/story-measures.d.ts.map +1 -0
  2101. package/dist/measures/story-measures.js +2 -0
  2102. package/dist/measures/story-measures.js.map +1 -0
  2103. package/dist/measures/story-reading-of.d.ts +14 -0
  2104. package/dist/measures/story-reading-of.d.ts.map +1 -0
  2105. package/dist/measures/story-reading-of.js +27 -0
  2106. package/dist/measures/story-reading-of.js.map +1 -0
  2107. package/dist/measures/story-reading.d.ts +16 -0
  2108. package/dist/measures/story-reading.d.ts.map +1 -0
  2109. package/dist/measures/story-reading.js +2 -0
  2110. package/dist/measures/story-reading.js.map +1 -0
  2111. package/dist/measures/subsection-of.d.ts +3 -0
  2112. package/dist/measures/subsection-of.d.ts.map +1 -0
  2113. package/dist/measures/subsection-of.js +11 -0
  2114. package/dist/measures/subsection-of.js.map +1 -0
  2115. package/dist/measures/timeline-of.d.ts +11 -0
  2116. package/dist/measures/timeline-of.d.ts.map +1 -0
  2117. package/dist/measures/timeline-of.js +36 -0
  2118. package/dist/measures/timeline-of.js.map +1 -0
  2119. package/dist/measures/timeline.d.ts +10 -0
  2120. package/dist/measures/timeline.d.ts.map +1 -0
  2121. package/dist/measures/timeline.js +2 -0
  2122. package/dist/measures/timeline.js.map +1 -0
  2123. package/dist/merge/abort-merge.js.map +1 -1
  2124. package/dist/merge/accept-in-merge-message.js.map +1 -1
  2125. package/dist/merge/apply-resolutions.d.ts.map +1 -1
  2126. package/dist/merge/apply-resolutions.js.map +1 -1
  2127. package/dist/merge/base-point.d.ts.map +1 -1
  2128. package/dist/merge/base-query.d.ts.map +1 -1
  2129. package/dist/merge/classify-conflict.d.ts +1 -1
  2130. package/dist/merge/classify-conflict.d.ts.map +1 -1
  2131. package/dist/merge/classify-conflict.js +3 -2
  2132. package/dist/merge/classify-conflict.js.map +1 -1
  2133. package/dist/merge/commit-merge.d.ts.map +1 -1
  2134. package/dist/merge/commit-merge.js +3 -2
  2135. package/dist/merge/commit-merge.js.map +1 -1
  2136. package/dist/merge/conflicted-paths.d.ts.map +1 -1
  2137. package/dist/merge/conflicted-paths.js.map +1 -1
  2138. package/dist/merge/continue-merge.d.ts.map +1 -1
  2139. package/dist/merge/continue-merge.js.map +1 -1
  2140. package/dist/merge/ensure-mergeable.js.map +1 -1
  2141. package/dist/merge/for-you-entry.d.ts.map +1 -1
  2142. package/dist/merge/for-you-entry.js.map +1 -1
  2143. package/dist/merge/format-merge-report.d.ts.map +1 -1
  2144. package/dist/merge/format-merge-report.js.map +1 -1
  2145. package/dist/merge/git-path.js.map +1 -1
  2146. package/dist/merge/git-version.js.map +1 -1
  2147. package/dist/merge/land-drizzle.d.ts.map +1 -1
  2148. package/dist/merge/land-drizzle.js.map +1 -1
  2149. package/dist/merge/landed-commit.js.map +1 -1
  2150. package/dist/merge/landed-point.d.ts.map +1 -1
  2151. package/dist/merge/landed-point.js.map +1 -1
  2152. package/dist/merge/lost/changed-paths.js.map +1 -1
  2153. package/dist/merge/lost/collapsed-files.d.ts.map +1 -1
  2154. package/dist/merge/lost/collapsed-files.js.map +1 -1
  2155. package/dist/merge/lost/commit-of.js.map +1 -1
  2156. package/dist/merge/lost/conflict-markers.d.ts.map +1 -1
  2157. package/dist/merge/lost/deleted-specs.d.ts.map +1 -1
  2158. package/dist/merge/lost/deleted-specs.js.map +1 -1
  2159. package/dist/merge/lost/finding-sections.d.ts.map +1 -1
  2160. package/dist/merge/lost/format-merge-verification.d.ts.map +1 -1
  2161. package/dist/merge/lost/format-merge-verification.js.map +1 -1
  2162. package/dist/merge/lost/hunks-of.d.ts.map +1 -1
  2163. package/dist/merge/lost/in-progress-merge.d.ts.map +1 -1
  2164. package/dist/merge/lost/in-progress-merge.js.map +1 -1
  2165. package/dist/merge/lost/is-line-checked.d.ts +1 -1
  2166. package/dist/merge/lost/is-line-checked.d.ts.map +1 -1
  2167. package/dist/merge/lost/is-line-checked.js +3 -2
  2168. package/dist/merge/lost/is-line-checked.js.map +1 -1
  2169. package/dist/merge/lost/kept-rows.d.ts.map +1 -1
  2170. package/dist/merge/lost/kept-rows.js.map +1 -1
  2171. package/dist/merge/lost/line-counts.js.map +1 -1
  2172. package/dist/merge/lost/line-findings.d.ts.map +1 -1
  2173. package/dist/merge/lost/line-findings.js.map +1 -1
  2174. package/dist/merge/lost/lost-lines.d.ts.map +1 -1
  2175. package/dist/merge/lost/lost-lines.js.map +1 -1
  2176. package/dist/merge/lost/lost-migrations.d.ts.map +1 -1
  2177. package/dist/merge/lost/lost-tests.d.ts.map +1 -1
  2178. package/dist/merge/lost/lost-tests.js.map +1 -1
  2179. package/dist/merge/lost/merge-base-of.d.ts.map +1 -1
  2180. package/dist/merge/lost/merge-base-of.js.map +1 -1
  2181. package/dist/merge/lost/merge-check.d.ts.map +1 -1
  2182. package/dist/merge/lost/merge-of-record.d.ts.map +1 -1
  2183. package/dist/merge/lost/merge-of-record.js.map +1 -1
  2184. package/dist/merge/lost/merge-records.js.map +1 -1
  2185. package/dist/merge/lost/merge-repository-of.d.ts.map +1 -1
  2186. package/dist/merge/lost/merge-repository-of.js +4 -2
  2187. package/dist/merge/lost/merge-repository-of.js.map +1 -1
  2188. package/dist/merge/lost/merge-repository.d.ts +3 -0
  2189. package/dist/merge/lost/merge-repository.d.ts.map +1 -1
  2190. package/dist/merge/lost/merge-verification.d.ts.map +1 -1
  2191. package/dist/merge/lost/merges-since.d.ts.map +1 -1
  2192. package/dist/merge/lost/merges-since.js.map +1 -1
  2193. package/dist/merge/lost/rewritten-in-place.d.ts.map +1 -1
  2194. package/dist/merge/lost/rewritten-in-place.js.map +1 -1
  2195. package/dist/merge/lost/side-hunks.d.ts.map +1 -1
  2196. package/dist/merge/lost/side-hunks.js.map +1 -1
  2197. package/dist/merge/lost/since-of.js.map +1 -1
  2198. package/dist/merge/lost/superseded-lines.d.ts.map +1 -1
  2199. package/dist/merge/lost/verify-merge.d.ts.map +1 -1
  2200. package/dist/merge/lost/verify-merge.js.map +1 -1
  2201. package/dist/merge/lost/verify-merges.d.ts.map +1 -1
  2202. package/dist/merge/lost/verify-merges.js.map +1 -1
  2203. package/dist/merge/lost-lines-gate.d.ts.map +1 -1
  2204. package/dist/merge/lost-lines-gate.js.map +1 -1
  2205. package/dist/merge/merge-client-manifest.js.map +1 -1
  2206. package/dist/merge/merge-context.d.ts.map +1 -1
  2207. package/dist/merge/merge-context.js.map +1 -1
  2208. package/dist/merge/merge-message.d.ts.map +1 -1
  2209. package/dist/merge/merge-report.d.ts.map +1 -1
  2210. package/dist/merge/merge-slices-rows.js.map +1 -1
  2211. package/dist/merge/merge-state.d.ts.map +1 -1
  2212. package/dist/merge/merge-state.js.map +1 -1
  2213. package/dist/merge/merge-steps.d.ts.map +1 -1
  2214. package/dist/merge/merge-steps.js.map +1 -1
  2215. package/dist/merge/merge-stored-events-lock.js.map +1 -1
  2216. package/dist/merge/merge-trunk.d.ts.map +1 -1
  2217. package/dist/merge/merge-trunk.js.map +1 -1
  2218. package/dist/merge/migrations-at.d.ts.map +1 -1
  2219. package/dist/merge/migrations-at.js.map +1 -1
  2220. package/dist/merge/patch-ids-of.js.map +1 -1
  2221. package/dist/merge/plain-git-merge.d.ts.map +1 -1
  2222. package/dist/merge/plain-git-merge.js.map +1 -1
  2223. package/dist/merge/preview-merge.js.map +1 -1
  2224. package/dist/merge/recorded-base.d.ts.map +1 -1
  2225. package/dist/merge/recorded-base.js.map +1 -1
  2226. package/dist/merge/registry-union.d.ts.map +1 -1
  2227. package/dist/merge/registry-union.js.map +1 -1
  2228. package/dist/merge/renumber-adrs.d.ts.map +1 -1
  2229. package/dist/merge/renumber-adrs.js.map +1 -1
  2230. package/dist/merge/renumber-migrations.js.map +1 -1
  2231. package/dist/merge/resolution.d.ts.map +1 -1
  2232. package/dist/merge/resolve-conflict.d.ts.map +1 -1
  2233. package/dist/merge/resolve-conflict.js.map +1 -1
  2234. package/dist/merge/resume-merge.d.ts.map +1 -1
  2235. package/dist/merge/resume-merge.js.map +1 -1
  2236. package/dist/merge/settle-regions.d.ts.map +1 -1
  2237. package/dist/merge/sharing-branches.js.map +1 -1
  2238. package/dist/merge/start-merge.d.ts.map +1 -1
  2239. package/dist/merge/start-merge.js.map +1 -1
  2240. package/dist/merge/trunk-of.js.map +1 -1
  2241. package/dist/merge/unmerged-entries.d.ts.map +1 -1
  2242. package/dist/merge/unmerged-entries.js.map +1 -1
  2243. package/dist/migration/branch-migrations.d.ts.map +1 -1
  2244. package/dist/migration/branch-migrations.js.map +1 -1
  2245. package/dist/migration/delete-branch-migrations.d.ts.map +1 -1
  2246. package/dist/migration/delete-branch-migrations.js.map +1 -1
  2247. package/dist/migration/drizzle-kit-bin.js.map +1 -1
  2248. package/dist/migration/drizzle-run.d.ts.map +1 -1
  2249. package/dist/migration/find-project-formatter.d.ts.map +1 -1
  2250. package/dist/migration/find-project-formatter.js.map +1 -1
  2251. package/dist/migration/format-written-files.d.ts.map +1 -1
  2252. package/dist/migration/format-written-files.js.map +1 -1
  2253. package/dist/migration/generate-and-read.d.ts.map +1 -1
  2254. package/dist/migration/generate-and-read.js.map +1 -1
  2255. package/dist/migration/generate-drizzle-migration.d.ts.map +1 -1
  2256. package/dist/migration/generate-drizzle-migration.js.map +1 -1
  2257. package/dist/migration/index.d.ts.map +1 -1
  2258. package/dist/migration/index.js.map +1 -1
  2259. package/dist/migration/plan-replay.d.ts.map +1 -1
  2260. package/dist/migration/plan-replay.js.map +1 -1
  2261. package/dist/migration/previous-primary-keys.d.ts.map +1 -1
  2262. package/dist/migration/previous-primary-keys.js.map +1 -1
  2263. package/dist/migration/primary-key-order-finding.d.ts.map +1 -1
  2264. package/dist/migration/primary-key-order-findings.d.ts.map +1 -1
  2265. package/dist/migration/primary-key-order-findings.js.map +1 -1
  2266. package/dist/migration/rename-branch-migrations.d.ts.map +1 -1
  2267. package/dist/migration/rename-branch-migrations.js.map +1 -1
  2268. package/dist/migration/replay-drizzle-migrations.d.ts.map +1 -1
  2269. package/dist/migration/replay-drizzle-migrations.js.map +1 -1
  2270. package/dist/migration/replay-plan.d.ts.map +1 -1
  2271. package/dist/migration/restore-migration-folder.d.ts.map +1 -1
  2272. package/dist/migration/restore-migration-folder.js.map +1 -1
  2273. package/dist/migration/sql-statements.d.ts.map +1 -1
  2274. package/dist/migration/table-change.d.ts.map +1 -1
  2275. package/dist/migration/table-changes.d.ts.map +1 -1
  2276. package/dist/migration/tidy-written-migration.d.ts.map +1 -1
  2277. package/dist/migration/tidy-written-migration.js.map +1 -1
  2278. package/dist/migration/warn-primary-key-order.d.ts.map +1 -1
  2279. package/dist/migration/warn-primary-key-order.js.map +1 -1
  2280. package/dist/model-modules/context-tree.d.ts +9 -0
  2281. package/dist/model-modules/context-tree.d.ts.map +1 -0
  2282. package/dist/model-modules/context-tree.js +6 -0
  2283. package/dist/model-modules/context-tree.js.map +1 -0
  2284. package/dist/model-modules/declared-module.d.ts +7 -0
  2285. package/dist/model-modules/declared-module.d.ts.map +1 -0
  2286. package/dist/model-modules/declared-module.js +16 -0
  2287. package/dist/model-modules/declared-module.js.map +1 -0
  2288. package/dist/model-modules/declared-modules.d.ts +4 -0
  2289. package/dist/model-modules/declared-modules.d.ts.map +1 -0
  2290. package/dist/model-modules/declared-modules.js +5 -0
  2291. package/dist/model-modules/declared-modules.js.map +1 -0
  2292. package/dist/model-modules/index.d.ts +19 -0
  2293. package/dist/model-modules/index.d.ts.map +1 -0
  2294. package/dist/model-modules/index.js +18 -0
  2295. package/dist/model-modules/index.js.map +1 -0
  2296. package/dist/model-modules/into-module.d.ts +3 -0
  2297. package/dist/model-modules/into-module.d.ts.map +1 -0
  2298. package/dist/model-modules/into-module.js +10 -0
  2299. package/dist/model-modules/into-module.js.map +1 -0
  2300. package/dist/model-modules/is-context-level.d.ts +7 -0
  2301. package/dist/model-modules/is-context-level.d.ts.map +1 -0
  2302. package/dist/model-modules/is-context-level.js +10 -0
  2303. package/dist/model-modules/is-context-level.js.map +1 -0
  2304. package/dist/model-modules/is-role-folder.d.ts +3 -0
  2305. package/dist/model-modules/is-role-folder.d.ts.map +1 -0
  2306. package/dist/model-modules/is-role-folder.js +6 -0
  2307. package/dist/model-modules/is-role-folder.js.map +1 -0
  2308. package/dist/model-modules/module-layers.d.ts +3 -0
  2309. package/dist/model-modules/module-layers.d.ts.map +1 -0
  2310. package/dist/model-modules/module-layers.js +3 -0
  2311. package/dist/model-modules/module-layers.js.map +1 -0
  2312. package/dist/model-modules/module-name-flaw.d.ts +16 -0
  2313. package/dist/model-modules/module-name-flaw.d.ts.map +1 -0
  2314. package/dist/model-modules/module-name-flaw.js +38 -0
  2315. package/dist/model-modules/module-name-flaw.js.map +1 -0
  2316. package/dist/model-modules/module-placement.d.ts +26 -0
  2317. package/dist/model-modules/module-placement.d.ts.map +1 -0
  2318. package/dist/model-modules/module-placement.js +71 -0
  2319. package/dist/model-modules/module-placement.js.map +1 -0
  2320. package/dist/model-modules/module-split.d.ts +15 -0
  2321. package/dist/model-modules/module-split.d.ts.map +1 -0
  2322. package/dist/model-modules/module-split.js +21 -0
  2323. package/dist/model-modules/module-split.js.map +1 -0
  2324. package/dist/model-modules/modules-by-context.d.ts +5 -0
  2325. package/dist/model-modules/modules-by-context.d.ts.map +1 -0
  2326. package/dist/model-modules/modules-by-context.js +4 -0
  2327. package/dist/model-modules/modules-by-context.js.map +1 -0
  2328. package/dist/model-modules/placed-imports.d.ts +7 -0
  2329. package/dist/model-modules/placed-imports.d.ts.map +1 -0
  2330. package/dist/model-modules/placed-imports.js +23 -0
  2331. package/dist/model-modules/placed-imports.js.map +1 -0
  2332. package/dist/model-modules/role-directories-of.d.ts +6 -0
  2333. package/dist/model-modules/role-directories-of.d.ts.map +1 -0
  2334. package/dist/model-modules/role-directories-of.js +6 -0
  2335. package/dist/model-modules/role-directories-of.js.map +1 -0
  2336. package/dist/model-modules/role-file.d.ts +6 -0
  2337. package/dist/model-modules/role-file.d.ts.map +1 -0
  2338. package/dist/model-modules/role-file.js +2 -0
  2339. package/dist/model-modules/role-file.js.map +1 -0
  2340. package/dist/model-modules/role-files-of.d.ts +6 -0
  2341. package/dist/model-modules/role-files-of.d.ts.map +1 -0
  2342. package/dist/model-modules/role-files-of.js +6 -0
  2343. package/dist/model-modules/role-files-of.js.map +1 -0
  2344. package/dist/model-modules/role-folders-of.d.ts +10 -0
  2345. package/dist/model-modules/role-folders-of.d.ts.map +1 -0
  2346. package/dist/model-modules/role-folders-of.js +14 -0
  2347. package/dist/model-modules/role-folders-of.js.map +1 -0
  2348. package/dist/model-modules/role-folders.d.ts +6 -0
  2349. package/dist/model-modules/role-folders.d.ts.map +1 -0
  2350. package/dist/model-modules/role-folders.js +15 -0
  2351. package/dist/model-modules/role-folders.js.map +1 -0
  2352. package/dist/model-modules/without-module.d.ts +6 -0
  2353. package/dist/model-modules/without-module.d.ts.map +1 -0
  2354. package/dist/model-modules/without-module.js +6 -0
  2355. package/dist/model-modules/without-module.js.map +1 -0
  2356. package/dist/move-to-module/index.d.ts +2 -0
  2357. package/dist/move-to-module/index.d.ts.map +1 -0
  2358. package/dist/move-to-module/index.js +2 -0
  2359. package/dist/move-to-module/index.js.map +1 -0
  2360. package/dist/move-to-module/module-move.d.ts +6 -0
  2361. package/dist/move-to-module/module-move.d.ts.map +1 -0
  2362. package/dist/move-to-module/module-move.js +2 -0
  2363. package/dist/move-to-module/module-move.js.map +1 -0
  2364. package/dist/move-to-module/move-to-module.d.ts +17 -0
  2365. package/dist/move-to-module/move-to-module.d.ts.map +1 -0
  2366. package/dist/move-to-module/move-to-module.js +40 -0
  2367. package/dist/move-to-module/move-to-module.js.map +1 -0
  2368. package/dist/move-to-module/moves-into-module.d.ts +16 -0
  2369. package/dist/move-to-module/moves-into-module.d.ts.map +1 -0
  2370. package/dist/move-to-module/moves-into-module.js +71 -0
  2371. package/dist/move-to-module/moves-into-module.js.map +1 -0
  2372. package/dist/naming/assert-past-fact.d.ts.map +1 -1
  2373. package/dist/naming/assert-past-fact.js.map +1 -1
  2374. package/dist/naming/event-name.d.ts.map +1 -1
  2375. package/dist/naming/index.d.ts.map +1 -1
  2376. package/dist/naming/index.js.map +1 -1
  2377. package/dist/naming/is-past-fact.js.map +1 -1
  2378. package/dist/naming/looks-like-past-fact.d.ts.map +1 -1
  2379. package/dist/naming/looks-like-past-fact.js.map +1 -1
  2380. package/dist/naming/parse-concept-name.d.ts.map +1 -1
  2381. package/dist/naming/parse-concept-name.js.map +1 -1
  2382. package/dist/naming/parse-context-name.d.ts.map +1 -1
  2383. package/dist/naming/parse-context-name.js.map +1 -1
  2384. package/dist/naming/to-name.d.ts.map +1 -1
  2385. package/dist/naming/to-name.js.map +1 -1
  2386. package/dist/package-manager/default-package-manager.d.ts.map +1 -1
  2387. package/dist/package-manager/dialects.d.ts.map +1 -1
  2388. package/dist/package-manager/in-dialect.d.ts.map +1 -1
  2389. package/dist/package-manager/in-dialect.js.map +1 -1
  2390. package/dist/package-manager/lockfiles.d.ts.map +1 -1
  2391. package/dist/package-manager/package-manager-of.d.ts.map +1 -1
  2392. package/dist/package-manager/package-manager-of.js.map +1 -1
  2393. package/dist/package-manager/package-manager-vars.d.ts.map +1 -1
  2394. package/dist/package-manager/package-manager-vars.js.map +1 -1
  2395. package/dist/package-manager/pinned-package-managers.d.ts.map +1 -1
  2396. package/dist/plan/batched-waves.d.ts.map +1 -1
  2397. package/dist/plan/batched-waves.js.map +1 -1
  2398. package/dist/plan/cycles-of.d.ts.map +1 -1
  2399. package/dist/plan/format-plan.d.ts.map +1 -1
  2400. package/dist/plan/merge-order.d.ts.map +1 -1
  2401. package/dist/plan/other-stories.d.ts.map +1 -1
  2402. package/dist/plan/other-stories.js.map +1 -1
  2403. package/dist/plan/plan-problems.d.ts.map +1 -1
  2404. package/dist/plan/plan-problems.js.map +1 -1
  2405. package/dist/plan/plan-waves.d.ts.map +1 -1
  2406. package/dist/plan/plan-waves.js.map +1 -1
  2407. package/dist/plan/rows-to-plan.d.ts.map +1 -1
  2408. package/dist/plan/wave-numbers.d.ts.map +1 -1
  2409. package/dist/platform-folders/flat-files.js.map +1 -1
  2410. package/dist/platform-folders/flat-relocation.d.ts.map +1 -1
  2411. package/dist/platform-folders/flat-relocation.js.map +1 -1
  2412. package/dist/platform-folders/index.d.ts.map +1 -1
  2413. package/dist/platform-folders/index.js.map +1 -1
  2414. package/dist/platform-folders/keep-flat-platform.d.ts.map +1 -1
  2415. package/dist/platform-folders/keep-flat-platform.js.map +1 -1
  2416. package/dist/platform-folders/moved-specifier.d.ts.map +1 -1
  2417. package/dist/platform-folders/placements.d.ts.map +1 -1
  2418. package/dist/platform-folders/placements.js.map +1 -1
  2419. package/dist/platform-folders/platform-folder-names.js.map +1 -1
  2420. package/dist/platform-folders/platform-folders.d.ts.map +1 -1
  2421. package/dist/platform-folders/platform-folders.js.map +1 -1
  2422. package/dist/platform-folders/platform-moves.d.ts.map +1 -1
  2423. package/dist/platform-folders/platform-moves.js.map +1 -1
  2424. package/dist/platform-folders/unknown-flat-files.d.ts.map +1 -1
  2425. package/dist/platform-folders/unknown-flat-files.js.map +1 -1
  2426. package/dist/platform-folders/with-moved-imports.d.ts.map +1 -1
  2427. package/dist/platform-folders/with-moved-imports.js.map +1 -1
  2428. package/dist/platform-layout/index.d.ts.map +1 -1
  2429. package/dist/platform-layout/index.js.map +1 -1
  2430. package/dist/platform-layout/platform-file-in.d.ts.map +1 -1
  2431. package/dist/platform-layout/platform-file-in.js.map +1 -1
  2432. package/dist/platform-layout/platform-file-paths.d.ts.map +1 -1
  2433. package/dist/platform-layout/platform-file-paths.js.map +1 -1
  2434. package/dist/platform-layout/platform-file.d.ts.map +1 -1
  2435. package/dist/platform-layout/platform-layout.d.ts +5 -1
  2436. package/dist/platform-layout/platform-layout.d.ts.map +1 -1
  2437. package/dist/platform-layout/platform-layout.js +5 -1
  2438. package/dist/platform-layout/platform-layout.js.map +1 -1
  2439. package/dist/presets/apply-preset.d.ts.map +1 -1
  2440. package/dist/presets/apply-preset.js.map +1 -1
  2441. package/dist/presets/grant-to-signed-in.d.ts.map +1 -1
  2442. package/dist/presets/grant-to-signed-in.js.map +1 -1
  2443. package/dist/presets/identity-preset.d.ts.map +1 -1
  2444. package/dist/presets/identity-preset.js.map +1 -1
  2445. package/dist/presets/identity-refusal.d.ts.map +1 -1
  2446. package/dist/presets/identity-terms.d.ts.map +1 -1
  2447. package/dist/presets/no-flags.d.ts.map +1 -1
  2448. package/dist/presets/organisations-as-tenants.d.ts.map +1 -1
  2449. package/dist/presets/organisations-as-tenants.js.map +1 -1
  2450. package/dist/presets/preset-decision.d.ts.map +1 -1
  2451. package/dist/presets/preset-decision.js.map +1 -1
  2452. package/dist/presets/preset-files.d.ts.map +1 -1
  2453. package/dist/presets/preset-files.js.map +1 -1
  2454. package/dist/presets/preset-named.d.ts.map +1 -1
  2455. package/dist/presets/preset-named.js.map +1 -1
  2456. package/dist/presets/preset-step.d.ts.map +1 -1
  2457. package/dist/presets/preset.d.ts.map +1 -1
  2458. package/dist/progress/format-progress.d.ts.map +1 -1
  2459. package/dist/progress/progress.d.ts.map +1 -1
  2460. package/dist/progress/read-progress.d.ts.map +1 -1
  2461. package/dist/progress/read-progress.js.map +1 -1
  2462. package/dist/progress/read-remaining.d.ts.map +1 -1
  2463. package/dist/progress/read-remaining.js +4 -3
  2464. package/dist/progress/read-remaining.js.map +1 -1
  2465. package/dist/progress/read-slice-rules.d.ts.map +1 -1
  2466. package/dist/progress/read-slice-rules.js.map +1 -1
  2467. package/dist/progress/read-slices.d.ts.map +1 -1
  2468. package/dist/progress/read-slices.js.map +1 -1
  2469. package/dist/progress/remaining-in.d.ts.map +1 -1
  2470. package/dist/progress/remaining-in.js.map +1 -1
  2471. package/dist/progress/slices-in.d.ts.map +1 -1
  2472. package/dist/progress/slices-in.js.map +1 -1
  2473. package/dist/progress/status-row-of.d.ts.map +1 -1
  2474. package/dist/refresh-declarations.js.map +1 -1
  2475. package/dist/refusals/aggregates-of.d.ts.map +1 -1
  2476. package/dist/refusals/aggregates-of.js +3 -2
  2477. package/dist/refusals/aggregates-of.js.map +1 -1
  2478. package/dist/refusals/applied-moves.d.ts.map +1 -1
  2479. package/dist/refusals/apply-named-plan.d.ts.map +1 -1
  2480. package/dist/refusals/apply-named-plan.js +2 -0
  2481. package/dist/refusals/apply-named-plan.js.map +1 -1
  2482. package/dist/refusals/apply-plan.d.ts.map +1 -1
  2483. package/dist/refusals/apply-plan.js +8 -4
  2484. package/dist/refusals/apply-plan.js.map +1 -1
  2485. package/dist/refusals/code-without-imports.js.map +1 -1
  2486. package/dist/refusals/concept-errors.d.ts +1 -1
  2487. package/dist/refusals/concept-errors.d.ts.map +1 -1
  2488. package/dist/refusals/concept-errors.js +8 -12
  2489. package/dist/refusals/concept-errors.js.map +1 -1
  2490. package/dist/refusals/concept-imports.d.ts.map +1 -1
  2491. package/dist/refusals/concept-imports.js.map +1 -1
  2492. package/dist/refusals/concept-leftovers.js.map +1 -1
  2493. package/dist/refusals/concept-named.js.map +1 -1
  2494. package/dist/refusals/concerns.d.ts.map +1 -1
  2495. package/dist/refusals/cut-factories.d.ts.map +1 -1
  2496. package/dist/refusals/cut-factories.js.map +1 -1
  2497. package/dist/refusals/earlier-guidance.d.ts.map +1 -1
  2498. package/dist/refusals/factory-for-parameter.js.map +1 -1
  2499. package/dist/refusals/factory-name-for.js.map +1 -1
  2500. package/dist/refusals/first-parameter.js.map +1 -1
  2501. package/dist/refusals/ignore-code-types.d.ts.map +1 -1
  2502. package/dist/refusals/ignore-code-types.js.map +1 -1
  2503. package/dist/refusals/imports-used-by.js.map +1 -1
  2504. package/dist/refusals/leave-origins.d.ts.map +1 -1
  2505. package/dist/refusals/leave-origins.js.map +1 -1
  2506. package/dist/refusals/legacy-errors.d.ts +1 -1
  2507. package/dist/refusals/legacy-errors.d.ts.map +1 -1
  2508. package/dist/refusals/legacy-errors.js +8 -12
  2509. package/dist/refusals/legacy-errors.js.map +1 -1
  2510. package/dist/refusals/legacy-move.d.ts.map +1 -1
  2511. package/dist/refusals/markdown-files.d.ts.map +1 -1
  2512. package/dist/refusals/migration-draft.d.ts.map +1 -1
  2513. package/dist/refusals/migration-plan.d.ts.map +1 -1
  2514. package/dist/refusals/move-named-specs.d.ts.map +1 -1
  2515. package/dist/refusals/move-named-specs.js.map +1 -1
  2516. package/dist/refusals/named-moves.d.ts.map +1 -1
  2517. package/dist/refusals/named-moves.js +2 -1
  2518. package/dist/refusals/named-moves.js.map +1 -1
  2519. package/dist/refusals/named-plan.d.ts.map +1 -1
  2520. package/dist/refusals/own-factory.d.ts.map +1 -1
  2521. package/dist/refusals/own-factory.js.map +1 -1
  2522. package/dist/refusals/path-from-contexts.d.ts +7 -0
  2523. package/dist/refusals/path-from-contexts.d.ts.map +1 -0
  2524. package/dist/refusals/path-from-contexts.js +9 -0
  2525. package/dist/refusals/path-from-contexts.js.map +1 -0
  2526. package/dist/refusals/plan-target.d.ts.map +1 -1
  2527. package/dist/refusals/plan-target.js.map +1 -1
  2528. package/dist/refusals/planned-move.d.ts.map +1 -1
  2529. package/dist/refusals/project-sources.d.ts.map +1 -1
  2530. package/dist/refusals/propose-named-plan.d.ts.map +1 -1
  2531. package/dist/refusals/propose-named-plan.js.map +1 -1
  2532. package/dist/refusals/propose-plan.d.ts.map +1 -1
  2533. package/dist/refusals/propose-plan.js.map +1 -1
  2534. package/dist/refusals/read-concept-error.d.ts.map +1 -1
  2535. package/dist/refusals/read-concept-error.js.map +1 -1
  2536. package/dist/refusals/read-legacy-error.d.ts.map +1 -1
  2537. package/dist/refusals/read-legacy-error.js.map +1 -1
  2538. package/dist/refusals/read-named-plan.d.ts.map +1 -1
  2539. package/dist/refusals/read-named-plan.js.map +1 -1
  2540. package/dist/refusals/read-plan.d.ts.map +1 -1
  2541. package/dist/refusals/read-plan.js.map +1 -1
  2542. package/dist/refusals/refusal-class-file.d.ts.map +1 -1
  2543. package/dist/refusals/refusal-class-file.js.map +1 -1
  2544. package/dist/refusals/refuse-scattered.d.ts +14 -0
  2545. package/dist/refusals/refuse-scattered.d.ts.map +1 -0
  2546. package/dist/refusals/refuse-scattered.js +23 -0
  2547. package/dist/refusals/refuse-scattered.js.map +1 -0
  2548. package/dist/refusals/rename-concept.js.map +1 -1
  2549. package/dist/refusals/render-factory.d.ts.map +1 -1
  2550. package/dist/refusals/replace-in-code.d.ts.map +1 -1
  2551. package/dist/refusals/replace-in-code.js.map +1 -1
  2552. package/dist/refusals/rewrite-concept-usages.d.ts.map +1 -1
  2553. package/dist/refusals/rewrite-concept-usages.js.map +1 -1
  2554. package/dist/refusals/rewrite-named-usages.d.ts.map +1 -1
  2555. package/dist/refusals/rewrite-named-usages.js.map +1 -1
  2556. package/dist/refusals/rewrite-usages.d.ts.map +1 -1
  2557. package/dist/refusals/rewrite-usages.js.map +1 -1
  2558. package/dist/refusals/say-refusals.js.map +1 -1
  2559. package/dist/refusals/spec-parts.js.map +1 -1
  2560. package/dist/refusals/split-concept-spec.d.ts.map +1 -1
  2561. package/dist/refusals/split-concept-spec.js.map +1 -1
  2562. package/dist/refusals/stale-mentions.d.ts.map +1 -1
  2563. package/dist/refusals/stale-mentions.js.map +1 -1
  2564. package/dist/refusals/undefined-words.d.ts.map +1 -1
  2565. package/dist/refusals/undefined-words.js.map +1 -1
  2566. package/dist/refusals/with-codes.js.map +1 -1
  2567. package/dist/refusals/write-refusal-classes.d.ts.map +1 -1
  2568. package/dist/refusals/write-refusal-classes.js +5 -3
  2569. package/dist/refusals/write-refusal-classes.js.map +1 -1
  2570. package/dist/run.d.ts.map +1 -1
  2571. package/dist/run.js +4 -0
  2572. package/dist/run.js.map +1 -1
  2573. package/dist/sdk/client-document.d.ts.map +1 -1
  2574. package/dist/sdk/client-files.d.ts.map +1 -1
  2575. package/dist/sdk/client-files.js.map +1 -1
  2576. package/dist/sdk/client-manifest.js.map +1 -1
  2577. package/dist/sdk/client-operation.d.ts.map +1 -1
  2578. package/dist/sdk/client-tsconfig.js.map +1 -1
  2579. package/dist/sdk/contract-documents.d.ts.map +1 -1
  2580. package/dist/sdk/contract-documents.js.map +1 -1
  2581. package/dist/sdk/edit-json-file.d.ts.map +1 -1
  2582. package/dist/sdk/edit-json-file.js.map +1 -1
  2583. package/dist/sdk/error-codes.d.ts.map +1 -1
  2584. package/dist/sdk/generated-header.d.ts.map +1 -1
  2585. package/dist/sdk/index.d.ts.map +1 -1
  2586. package/dist/sdk/index.js.map +1 -1
  2587. package/dist/sdk/instruct-agents.d.ts.map +1 -1
  2588. package/dist/sdk/instruct-agents.js.map +1 -1
  2589. package/dist/sdk/is-input-optional.d.ts.map +1 -1
  2590. package/dist/sdk/operation-description.d.ts.map +1 -1
  2591. package/dist/sdk/operation-names.js.map +1 -1
  2592. package/dist/sdk/planned-client.d.ts.map +1 -1
  2593. package/dist/sdk/planned-clients.d.ts.map +1 -1
  2594. package/dist/sdk/planned-clients.js.map +1 -1
  2595. package/dist/sdk/put-file.d.ts.map +1 -1
  2596. package/dist/sdk/read-client-document.d.ts.map +1 -1
  2597. package/dist/sdk/read-client-document.js.map +1 -1
  2598. package/dist/sdk/read-operation.d.ts.map +1 -1
  2599. package/dist/sdk/read-operation.js.map +1 -1
  2600. package/dist/sdk/read-responses.d.ts.map +1 -1
  2601. package/dist/sdk/read-responses.js.map +1 -1
  2602. package/dist/sdk/read-schemes.d.ts.map +1 -1
  2603. package/dist/sdk/read-schemes.js.map +1 -1
  2604. package/dist/sdk/read-security.js.map +1 -1
  2605. package/dist/sdk/render-client.d.ts.map +1 -1
  2606. package/dist/sdk/render-client.js.map +1 -1
  2607. package/dist/sdk/render-errors.d.ts.map +1 -1
  2608. package/dist/sdk/render-errors.js.map +1 -1
  2609. package/dist/sdk/render-index.d.ts.map +1 -1
  2610. package/dist/sdk/render-index.js.map +1 -1
  2611. package/dist/sdk/render-input.d.ts.map +1 -1
  2612. package/dist/sdk/render-input.js.map +1 -1
  2613. package/dist/sdk/render-operation.d.ts.map +1 -1
  2614. package/dist/sdk/render-operation.js.map +1 -1
  2615. package/dist/sdk/render-operations.d.ts.map +1 -1
  2616. package/dist/sdk/render-operations.js.map +1 -1
  2617. package/dist/sdk/render-readme.d.ts.map +1 -1
  2618. package/dist/sdk/render-readme.js.map +1 -1
  2619. package/dist/sdk/render-result.d.ts.map +1 -1
  2620. package/dist/sdk/render-result.js.map +1 -1
  2621. package/dist/sdk/render-schemas.d.ts.map +1 -1
  2622. package/dist/sdk/render-schemas.js.map +1 -1
  2623. package/dist/sdk/schema-type-name.js.map +1 -1
  2624. package/dist/sdk/schema-types.js.map +1 -1
  2625. package/dist/sdk/set-up-sdk.d.ts.map +1 -1
  2626. package/dist/sdk/set-up-sdk.js.map +1 -1
  2627. package/dist/sdk/unlocked-clients.d.ts.map +1 -1
  2628. package/dist/sdk/unlocked-clients.js.map +1 -1
  2629. package/dist/sdk/wire-sdk.d.ts.map +1 -1
  2630. package/dist/sdk/wire-sdk.js.map +1 -1
  2631. package/dist/sdk/with-client-paths.d.ts.map +1 -1
  2632. package/dist/sdk/with-client-paths.js.map +1 -1
  2633. package/dist/sdk/with-knip-workspaces.js.map +1 -1
  2634. package/dist/sdk/write-clients.d.ts.map +1 -1
  2635. package/dist/sdk/write-clients.js.map +1 -1
  2636. package/dist/slice/changed-entries.d.ts.map +1 -1
  2637. package/dist/slice/changed-entries.js.map +1 -1
  2638. package/dist/slice/format-slice-verification.d.ts.map +1 -1
  2639. package/dist/slice/format-slice-verification.js.map +1 -1
  2640. package/dist/slice/near-the-limit.d.ts.map +1 -1
  2641. package/dist/slice/plan-staging.d.ts.map +1 -1
  2642. package/dist/slice/plan-staging.js +2 -1
  2643. package/dist/slice/plan-staging.js.map +1 -1
  2644. package/dist/slice/record-verification.d.ts.map +1 -1
  2645. package/dist/slice/record-verification.js.map +1 -1
  2646. package/dist/slice/run-script.d.ts.map +1 -1
  2647. package/dist/slice/script-call.d.ts.map +1 -1
  2648. package/dist/slice/slice-to-verify.d.ts.map +1 -1
  2649. package/dist/slice/slice-verification.d.ts.map +1 -1
  2650. package/dist/slice/verify-slice.d.ts.map +1 -1
  2651. package/dist/slice/verify-slice.js.map +1 -1
  2652. package/dist/slice/worker-slice-of.js.map +1 -1
  2653. package/dist/stack/alias-vars.d.ts +2 -1
  2654. package/dist/stack/alias-vars.d.ts.map +1 -1
  2655. package/dist/stack/alias-vars.js +3 -1
  2656. package/dist/stack/alias-vars.js.map +1 -1
  2657. package/dist/stack/audit-vars.d.ts.map +1 -1
  2658. package/dist/stack/authentication-vars.d.ts.map +1 -1
  2659. package/dist/stack/authentication-vars.js.map +1 -1
  2660. package/dist/stack/broker-vars.d.ts.map +1 -1
  2661. package/dist/stack/broker-vars.js +3 -3
  2662. package/dist/stack/broker-vars.js.map +1 -1
  2663. package/dist/stack/cache-vars.d.ts.map +1 -1
  2664. package/dist/stack/error-vars.d.ts.map +1 -1
  2665. package/dist/stack/error-vars.js.map +1 -1
  2666. package/dist/stack/event-vars.d.ts.map +1 -1
  2667. package/dist/stack/event-vars.js.map +1 -1
  2668. package/dist/stack/files-vars.d.ts.map +1 -1
  2669. package/dist/stack/files-vars.js.map +1 -1
  2670. package/dist/stack/one.js.map +1 -1
  2671. package/dist/stack/persistence-vars.d.ts.map +1 -1
  2672. package/dist/stack/persistence-vars.js.map +1 -1
  2673. package/dist/stack/redis-vars.d.ts.map +1 -1
  2674. package/dist/stack/stack-vars.d.ts.map +1 -1
  2675. package/dist/stack/stack-vars.js.map +1 -1
  2676. package/dist/stack/uses-legacy-decorators.d.ts.map +1 -1
  2677. package/dist/stories/forecast-merge.d.ts.map +1 -1
  2678. package/dist/stories/forecast-merge.js.map +1 -1
  2679. package/dist/stories/format-stories.d.ts.map +1 -1
  2680. package/dist/stories/format-story-phases.d.ts.map +1 -1
  2681. package/dist/stories/merge-forecast.d.ts.map +1 -1
  2682. package/dist/stories/open-stories.d.ts.map +1 -1
  2683. package/dist/stories/open-stories.js.map +1 -1
  2684. package/dist/stories/open-story-scope.d.ts +5 -0
  2685. package/dist/stories/open-story-scope.d.ts.map +1 -1
  2686. package/dist/stories/open-story-scope.js +31 -3
  2687. package/dist/stories/open-story-scope.js.map +1 -1
  2688. package/dist/stories/origin-of.d.ts +8 -0
  2689. package/dist/stories/origin-of.d.ts.map +1 -0
  2690. package/dist/stories/origin-of.js +32 -0
  2691. package/dist/stories/origin-of.js.map +1 -0
  2692. package/dist/stories/origin-phase.d.ts +10 -0
  2693. package/dist/stories/origin-phase.d.ts.map +1 -0
  2694. package/dist/stories/origin-phase.js +29 -0
  2695. package/dist/stories/origin-phase.js.map +1 -0
  2696. package/dist/stories/read-stories.d.ts.map +1 -1
  2697. package/dist/stories/read-stories.js.map +1 -1
  2698. package/dist/stories/read-story-phases.d.ts +2 -1
  2699. package/dist/stories/read-story-phases.d.ts.map +1 -1
  2700. package/dist/stories/read-story-phases.js +55 -21
  2701. package/dist/stories/read-story-phases.js.map +1 -1
  2702. package/dist/stories/read-story-place.d.ts.map +1 -1
  2703. package/dist/stories/read-story-place.js +2 -0
  2704. package/dist/stories/read-story-place.js.map +1 -1
  2705. package/dist/stories/regression-phase.d.ts +9 -0
  2706. package/dist/stories/regression-phase.d.ts.map +1 -0
  2707. package/dist/stories/regression-phase.js +24 -0
  2708. package/dist/stories/regression-phase.js.map +1 -0
  2709. package/dist/stories/regression-specs-in.d.ts +3 -0
  2710. package/dist/stories/regression-specs-in.d.ts.map +1 -0
  2711. package/dist/stories/regression-specs-in.js +12 -0
  2712. package/dist/stories/regression-specs-in.js.map +1 -0
  2713. package/dist/stories/review-file-of.d.ts.map +1 -1
  2714. package/dist/stories/stories-view.d.ts.map +1 -1
  2715. package/dist/stories/story-crossing.d.ts.map +1 -1
  2716. package/dist/stories/story-kind.d.ts +4 -0
  2717. package/dist/stories/story-kind.d.ts.map +1 -0
  2718. package/dist/stories/story-kind.js +2 -0
  2719. package/dist/stories/story-kind.js.map +1 -0
  2720. package/dist/stories/story-phase.d.ts +1 -1
  2721. package/dist/stories/story-phase.d.ts.map +1 -1
  2722. package/dist/stories/story-place.d.ts +5 -0
  2723. package/dist/stories/story-place.d.ts.map +1 -1
  2724. package/dist/stories/story-scope.d.ts +7 -0
  2725. package/dist/stories/story-scope.d.ts.map +1 -1
  2726. package/dist/stories/story-state.d.ts.map +1 -1
  2727. package/dist/stories/trunk-phase.d.ts.map +1 -1
  2728. package/dist/stories/trunk-phase.js.map +1 -1
  2729. package/dist/story/attribute-markers.d.ts.map +1 -1
  2730. package/dist/story/attribute-markers.js.map +1 -1
  2731. package/dist/story/attributed-marker.d.ts.map +1 -1
  2732. package/dist/story/blamed-lines.d.ts.map +1 -1
  2733. package/dist/story/change-gated.d.ts +15 -0
  2734. package/dist/story/change-gated.d.ts.map +1 -0
  2735. package/dist/story/change-gated.js +25 -0
  2736. package/dist/story/change-gated.js.map +1 -0
  2737. package/dist/story/closing-of.d.ts +4 -1
  2738. package/dist/story/closing-of.d.ts.map +1 -1
  2739. package/dist/story/closing-of.js +12 -2
  2740. package/dist/story/closing-of.js.map +1 -1
  2741. package/dist/story/commit-rows.d.ts.map +1 -1
  2742. package/dist/story/commit-rows.js.map +1 -1
  2743. package/dist/story/compromises-in.d.ts +7 -0
  2744. package/dist/story/compromises-in.d.ts.map +1 -0
  2745. package/dist/story/compromises-in.js +29 -0
  2746. package/dist/story/compromises-in.js.map +1 -0
  2747. package/dist/story/design-departure.d.ts +19 -0
  2748. package/dist/story/design-departure.d.ts.map +1 -0
  2749. package/dist/story/design-departure.js +2 -0
  2750. package/dist/story/design-departure.js.map +1 -0
  2751. package/dist/story/design-departures.d.ts +13 -0
  2752. package/dist/story/design-departures.d.ts.map +1 -0
  2753. package/dist/story/design-departures.js +100 -0
  2754. package/dist/story/design-departures.js.map +1 -0
  2755. package/dist/story/format-story-closing.d.ts +2 -1
  2756. package/dist/story/format-story-closing.d.ts.map +1 -1
  2757. package/dist/story/format-story-closing.js +43 -3
  2758. package/dist/story/format-story-closing.js.map +1 -1
  2759. package/dist/story/may-keep-open.d.ts.map +1 -1
  2760. package/dist/story/may-keep-open.js.map +1 -1
  2761. package/dist/story/project-contexts.d.ts.map +1 -1
  2762. package/dist/story/read-story-closing.d.ts +5 -1
  2763. package/dist/story/read-story-closing.d.ts.map +1 -1
  2764. package/dist/story/read-story-closing.js +11 -2
  2765. package/dist/story/read-story-closing.js.map +1 -1
  2766. package/dist/story/story-closing.d.ts +9 -1
  2767. package/dist/story/story-closing.d.ts.map +1 -1
  2768. package/dist/story/story-plan.d.ts +8 -0
  2769. package/dist/story/story-plan.d.ts.map +1 -1
  2770. package/dist/story/story-scope.d.ts.map +1 -1
  2771. package/dist/story/story-scope.js.map +1 -1
  2772. package/dist/story/unclosed-stories.d.ts.map +1 -1
  2773. package/dist/story/unclosed-stories.js.map +1 -1
  2774. package/dist/story/unreferenced-commit.d.ts +17 -0
  2775. package/dist/story/unreferenced-commit.d.ts.map +1 -0
  2776. package/dist/story/unreferenced-commit.js +2 -0
  2777. package/dist/story/unreferenced-commit.js.map +1 -0
  2778. package/dist/story/unreferenced-commits.d.ts +17 -0
  2779. package/dist/story/unreferenced-commits.d.ts.map +1 -0
  2780. package/dist/story/unreferenced-commits.js +63 -0
  2781. package/dist/story/unreferenced-commits.js.map +1 -0
  2782. package/dist/templating/index.d.ts.map +1 -1
  2783. package/dist/templating/index.js.map +1 -1
  2784. package/dist/templating/list-templates.js.map +1 -1
  2785. package/dist/templating/read-template.js.map +1 -1
  2786. package/dist/templating/render-template.d.ts.map +1 -1
  2787. package/dist/templating/render-template.js.map +1 -1
  2788. package/dist/templating/render.d.ts.map +1 -1
  2789. package/dist/templating/render.js.map +1 -1
  2790. package/dist/templating/rendering.d.ts.map +1 -1
  2791. package/dist/templating/rendering.js.map +1 -1
  2792. package/dist/templating/template-exists.js.map +1 -1
  2793. package/dist/value-objects/apply-edits.d.ts.map +1 -1
  2794. package/dist/value-objects/inline-results.d.ts.map +1 -1
  2795. package/dist/value-objects/inline-results.js.map +1 -1
  2796. package/dist/value-objects/is-asserted-use.js.map +1 -1
  2797. package/dist/value-objects/is-converted-call.d.ts.map +1 -1
  2798. package/dist/value-objects/is-converted-call.js.map +1 -1
  2799. package/dist/value-objects/leftovers.js.map +1 -1
  2800. package/dist/value-objects/refusal-assertions.d.ts.map +1 -1
  2801. package/dist/value-objects/refusal-assertions.js.map +1 -1
  2802. package/dist/value-objects/result-method-declarations.d.ts.map +1 -1
  2803. package/dist/value-objects/result-method-declarations.js.map +1 -1
  2804. package/dist/value-objects/rewrite-usages.d.ts.map +1 -1
  2805. package/dist/value-objects/rewrite-usages.js.map +1 -1
  2806. package/dist/value-objects/statement-end.js.map +1 -1
  2807. package/dist/value-objects/ternary-returns.d.ts.map +1 -1
  2808. package/dist/value-objects/ternary-returns.js.map +1 -1
  2809. package/dist/value-objects/throwing-source.js.map +1 -1
  2810. package/dist/value-objects/throwing-value-objects.d.ts.map +1 -1
  2811. package/dist/value-objects/throwing-value-objects.js.map +1 -1
  2812. package/dist/value-objects/tidy-imports.js.map +1 -1
  2813. package/dist/value-objects/without-unwrap.d.ts.map +1 -1
  2814. package/dist/value-objects/without-unwrap.js.map +1 -1
  2815. package/dist/version.d.ts +1 -1
  2816. package/dist/version.js +1 -1
  2817. package/dist/worker/add-worktree.js.map +1 -1
  2818. package/dist/worker/base-of.d.ts.map +1 -1
  2819. package/dist/worker/base-of.js.map +1 -1
  2820. package/dist/worker/branch-exists.js.map +1 -1
  2821. package/dist/worker/branch-standing.d.ts.map +1 -1
  2822. package/dist/worker/branch-standing.js.map +1 -1
  2823. package/dist/worker/briefed-rows.d.ts.map +1 -1
  2824. package/dist/worker/briefed-rows.js.map +1 -1
  2825. package/dist/worker/briefed-slice.d.ts.map +1 -1
  2826. package/dist/worker/briefing-of.d.ts.map +1 -1
  2827. package/dist/worker/briefing-of.js.map +1 -1
  2828. package/dist/worker/changed-files.js.map +1 -1
  2829. package/dist/worker/design-line.d.ts.map +1 -1
  2830. package/dist/worker/design-note.d.ts.map +1 -1
  2831. package/dist/worker/ensure-contains-base.js.map +1 -1
  2832. package/dist/worker/ensure-ignored.js.map +1 -1
  2833. package/dist/worker/find-worker.d.ts.map +1 -1
  2834. package/dist/worker/find-worker.js.map +1 -1
  2835. package/dist/worker/format-resume.d.ts.map +1 -1
  2836. package/dist/worker/format-resume.js.map +1 -1
  2837. package/dist/worker/format-workers.d.ts.map +1 -1
  2838. package/dist/worker/format-workers.js.map +1 -1
  2839. package/dist/worker/install-dependencies.d.ts.map +1 -1
  2840. package/dist/worker/install-dependencies.js.map +1 -1
  2841. package/dist/worker/install-notes.d.ts.map +1 -1
  2842. package/dist/worker/install-notes.js.map +1 -1
  2843. package/dist/worker/is-worktree.js.map +1 -1
  2844. package/dist/worker/landed-rows.d.ts.map +1 -1
  2845. package/dist/worker/list-worktrees.js.map +1 -1
  2846. package/dist/worker/next-step-of.d.ts.map +1 -1
  2847. package/dist/worker/open-worker-scope.d.ts.map +1 -1
  2848. package/dist/worker/open-worker-scope.js.map +1 -1
  2849. package/dist/worker/overlaps-of.d.ts.map +1 -1
  2850. package/dist/worker/progress-of.d.ts.map +1 -1
  2851. package/dist/worker/progress-of.js.map +1 -1
  2852. package/dist/worker/read-agent-record.d.ts.map +1 -1
  2853. package/dist/worker/read-agent-record.js.map +1 -1
  2854. package/dist/worker/read-verification.d.ts.map +1 -1
  2855. package/dist/worker/read-verification.js.map +1 -1
  2856. package/dist/worker/read-worker-file.d.ts.map +1 -1
  2857. package/dist/worker/read-worker-file.js.map +1 -1
  2858. package/dist/worker/read-workers.d.ts.map +1 -1
  2859. package/dist/worker/read-workers.js.map +1 -1
  2860. package/dist/worker/repository-prefix.js.map +1 -1
  2861. package/dist/worker/resume-briefing.d.ts.map +1 -1
  2862. package/dist/worker/resume-briefing.js.map +1 -1
  2863. package/dist/worker/resume-message.d.ts.map +1 -1
  2864. package/dist/worker/resume-message.js.map +1 -1
  2865. package/dist/worker/resume-worker.d.ts.map +1 -1
  2866. package/dist/worker/resume-worker.js.map +1 -1
  2867. package/dist/worker/row-commits.js.map +1 -1
  2868. package/dist/worker/rows-on-branches.d.ts.map +1 -1
  2869. package/dist/worker/stale-names-block.d.ts.map +1 -1
  2870. package/dist/worker/stale-names-block.js.map +1 -1
  2871. package/dist/worker/state-line-of.d.ts.map +1 -1
  2872. package/dist/worker/upstream-of.js.map +1 -1
  2873. package/dist/worker/worker-generators.d.ts.map +1 -1
  2874. package/dist/worker/worker-generators.js.map +1 -1
  2875. package/dist/worker/worker-place.d.ts.map +1 -1
  2876. package/dist/worker/worker-scope.d.ts.map +1 -1
  2877. package/dist/worker/workers-status.d.ts.map +1 -1
  2878. package/dist/worker/worktree-home.js.map +1 -1
  2879. package/dist/worker/worktree-of.js.map +1 -1
  2880. package/dist/workspace/index.d.ts.map +1 -1
  2881. package/dist/workspace/index.js.map +1 -1
  2882. package/dist/workspace/todos-in.d.ts.map +1 -1
  2883. package/dist/workspace/workspace-report.d.ts.map +1 -1
  2884. package/dist/workspace/workspace.d.ts +29 -7
  2885. package/dist/workspace/workspace.d.ts.map +1 -1
  2886. package/dist/workspace/workspace.js +83 -11
  2887. package/dist/workspace/workspace.js.map +1 -1
  2888. package/dist/worktree/open-worktree.d.ts.map +1 -1
  2889. package/dist/worktree/open-worktree.js.map +1 -1
  2890. package/dist/worktree/worktree-scope.d.ts.map +1 -1
  2891. package/dist/yaml/from-yaml.js.map +1 -1
  2892. package/dist/yaml/read-scalar.js.map +1 -1
  2893. package/package.json +3 -3
  2894. package/templates/e2e/e2e-reaction.spec.ts.tpl +1 -1
  2895. package/templates/gateway/adapter.declared.ts.tpl +1 -1
  2896. package/templates/gateway/adapter.ts.tpl +1 -1
  2897. package/templates/gateway/platform-test.declared.tpl +1 -1
  2898. package/templates/gateway/platform.declared.tpl +1 -1
  2899. package/templates/gateway/wiring.tsyringe.tpl +1 -1
  2900. package/templates/init/AGENTS.md.tpl +11 -1
  2901. package/templates/init/README.md.tpl +4 -4
  2902. package/templates/init/REVIEW.md.tpl +23 -0
  2903. package/templates/init/hooks/change-reference.mjs +45 -0
  2904. package/templates/init/hooks/production-gate.mjs +67 -0
  2905. package/templates/init/jest.config.js.tpl +1 -0
  2906. package/templates/init/platform/audit/search-audit-entries/audit-entries-filter-of.ts.tpl +26 -0
  2907. package/templates/init/platform/audit/search-audit-entries/audit-entries-parameters.ts.tpl +36 -0
  2908. package/templates/init/platform/audit/search-audit-entries/audit-entry-view-of.ts.tpl +28 -0
  2909. package/templates/init/platform/audit/search-audit-entries/audit-entry-view.ts.tpl +90 -0
  2910. package/templates/init/platform/audit/search-audit-entries/audit-outcomes.ts.tpl +4 -0
  2911. package/templates/init/platform/audit/search-audit-entries/search-audit-entries.controller.ts.tpl +15 -166
  2912. package/templates/init/platform/audit/search-audit-entries/search-audit-entries.route.ts.tpl +12 -173
  2913. package/templates/init/platform/auth/authorization/create-authorizer.abac.ts.tpl +1 -1
  2914. package/templates/init/platform/auth/authorization/create-authorizer.rbac.ts.tpl +1 -1
  2915. package/templates/init/platform/auth/authorization/create-authorizer.rebac.ts.tpl +2 -7
  2916. package/templates/init/platform/auth/custom/custom-authorizer.ts.tpl +20 -3
  2917. package/templates/init/platform/auth/relationships/relationship-schema.ts.tpl +11 -6
  2918. package/templates/init/platform/buses/create-command-bus.manual.ts.tpl +87 -0
  2919. package/templates/init/platform/buses/create-query-bus.manual.ts.tpl +26 -0
  2920. package/templates/init/platform/composition/compose-application.manual.ts.tpl +2 -1
  2921. package/templates/init/platform/composition/compose-application.tsyringe.ts.tpl +24 -14
  2922. package/templates/init/platform/composition/create-platform.manual.ts.tpl +37 -300
  2923. package/templates/init/platform/composition/lay-foundations.manual.ts.tpl +118 -0
  2924. package/templates/init/platform/composition/platform-options.manual.ts.tpl +55 -0
  2925. package/templates/init/platform/composition/platform.module.tsyringe.ts.tpl +4 -4
  2926. package/templates/init/platform/config/environment.ts.tpl +123 -0
  2927. package/templates/init/platform/config/load-config.ts.tpl +65 -180
  2928. package/templates/init/platform/config/read-files.local.ts.tpl +15 -13
  2929. package/templates/init/platform/config/read-files.s3.ts.tpl +9 -24
  2930. package/templates/init/platform/config/read-tracing.ts.tpl +13 -26
  2931. package/templates/init/platform/database/inert-persistence.memory.ts.tpl +1 -1
  2932. package/templates/init/platform/database/inert-persistence.pooled.ts.tpl +5 -5
  2933. package/templates/init/platform/database/inert-persistence.prisma.ts.tpl +5 -5
  2934. package/templates/init/platform/database/inert-persistence.typeorm.ts.tpl +5 -5
  2935. package/templates/init/platform/database/open-persistence.pooled.ts.tpl +1 -3
  2936. package/templates/init/platform/database/open-test-database.drizzle.ts.tpl +19 -110
  2937. package/templates/init/platform/database/open-test-database.knex.ts.tpl +9 -10
  2938. package/templates/init/platform/database/open-test-database.prisma.ts.tpl +8 -9
  2939. package/templates/init/platform/database/open-test-database.typeorm.ts.tpl +8 -9
  2940. package/templates/init/platform/database/persistence-over.drizzle.ts.tpl +4 -4
  2941. package/templates/init/platform/database/persistence-over.knex.ts.tpl +10 -10
  2942. package/templates/init/platform/database/persistence-over.prisma.ts.tpl +4 -1
  2943. package/templates/init/platform/database/persistence.memory.ts.tpl +1 -1
  2944. package/templates/init/platform/database/persistence.orm.ts.tpl +1 -1
  2945. package/templates/init/platform/database/schema.drizzle.ts.tpl +15 -9
  2946. package/templates/init/platform/database/schema.knex.ts.tpl +6 -5
  2947. package/templates/init/platform/database/schema.typeorm.ts.tpl +5 -2
  2948. package/templates/init/platform/database/table-statements.drizzle.ts.tpl +102 -0
  2949. package/templates/init/platform/events/aggregate-key-of.ts.tpl +15 -15
  2950. package/templates/init/platform/events/create-event-provider.kafka.ts.tpl +1 -1
  2951. package/templates/init/platform/events/create-event-provider.nats.ts.tpl +1 -1
  2952. package/templates/init/platform/events/create-event-provider.rabbitmq.ts.tpl +1 -1
  2953. package/templates/init/platform/events/create-event-provider.redis.ts.tpl +1 -1
  2954. package/templates/init/platform/events/platform-events.ts.tpl +57 -0
  2955. package/templates/init/platform/http/start-http-server.express.ts.tpl +16 -7
  2956. package/templates/init/platform/http/start-http-server.fastify.ts.tpl +20 -8
  2957. package/templates/init/platform/http/start-http-server.hono.ts.tpl +21 -8
  2958. package/templates/init/platform/http/start-http-server.nest.ts.tpl +40 -38
  2959. package/templates/init/platform/http/{refusal-for.ts.tpl → too-many-requests-for.ts.tpl} +16 -12
  2960. package/templates/init/platform/jobs/configured-job-scheduler.ts.tpl +17 -10
  2961. package/templates/init/platform/jobs/job-settings.ts.tpl +2 -2
  2962. package/templates/init/platform/observability/create-logger.winston.ts.tpl +5 -5
  2963. package/templates/init/platform/observability/errors.ts.tpl +3 -3
  2964. package/templates/init/platform/observability/tracing.ts.tpl +9 -11
  2965. package/templates/init/platform/resilience/adapters-with-own-policy.ts.tpl +6 -0
  2966. package/templates/init/platform/resilience/{adapter-aspects.ts.tpl → default-policy.ts.tpl} +6 -5
  2967. package/templates/init/platform/resilience/{default-resilience.ts.tpl → default-resilience-settings.ts.tpl} +1 -1
  2968. package/templates/init/platform/resilience/own-policy.ts.tpl +2 -2
  2969. package/templates/init/rules/platform.md.tpl +2 -2
  2970. package/templates/integration-event/audited.tpl +1 -1
  2971. package/templates/integration-handler/integration-handler.declared.ts.tpl +1 -1
  2972. package/templates/integration-handler/integration-handler.spec.ts.tpl +1 -1
  2973. package/templates/integration-handler/integration-handler.ts.tpl +2 -2
  2974. package/templates/integration-handler/wiring.manual.tpl +2 -2
  2975. package/templates/integration-handler/wiring.tsyringe.tpl +1 -1
  2976. package/templates/pipeline/github/workflows/claude-review.yml +91 -0
  2977. package/templates/pipeline/github/workflows/claude-triage.yml +84 -0
  2978. package/templates/pipeline/github/workflows/intent-to-spec.yml +72 -0
  2979. package/templates/pipeline/gitlab/claude-review.gitlab-ci.yml.tpl +95 -0
  2980. package/templates/pipeline/gitlab/gitlab-ci.yml.tpl +8 -0
  2981. package/templates/pipeline/lefthook.yml +4 -0
  2982. package/templates/pipeline/package-scripts.json +1 -1
  2983. package/templates/projection/projection.spec.ts.tpl +1 -1
  2984. package/templates/projection/projection.ts.tpl +1 -1
  2985. package/dist/declared/single-file-notice.d.ts +0 -8
  2986. package/dist/declared/single-file-notice.d.ts.map +0 -1
  2987. package/dist/declared/single-file-notice.js +0 -9
  2988. package/dist/declared/single-file-notice.js.map +0 -1
  2989. package/templates/init/platform/auth/relationships/permission-mapping.ts.tpl +0 -7
  2990. package/templates/init/platform/resilience/self-governed.ts.tpl +0 -2
  2991. /package/templates/init/platform/buses/{create-command-bus.ts.tpl → create-command-bus.tsyringe.ts.tpl} +0 -0
  2992. /package/templates/init/platform/buses/{create-query-bus.ts.tpl → create-query-bus.tsyringe.ts.tpl} +0 -0
package/README.md CHANGED
@@ -68,7 +68,7 @@ ddd-ts-kit init [--http express|fastify|hono|nest|none]
68
68
  [--schemas shared|per-route]
69
69
  [--package-manager npm|pnpm]
70
70
  [--allow-no-outbox "<reason>"] [--import-alias '$<name>/']
71
- [--import-extension none|js] [--sdk]
71
+ [--import-extension none|js] [--sdk] [--agent-profile regulated|none]
72
72
  [--context <name>:<core|supporting|generic>]...
73
73
  [--preset identity]...
74
74
  [--dry-run] [--force]
@@ -95,10 +95,14 @@ value of a gateway, the settings of a job) is not, and a note says so. A config
95
95
  read is replaced.
96
96
 
97
97
  The pipeline uses free tools only. `--ci-extras` adds jobs that need a paid plan on a private
98
- repository, or report into a merge request only in a paid tier: `codeql`, `dependency-review`
99
- (GitHub), `gitlab-sast`, `gitlab-secret-detection`, `gitlab-dependency-scanning` (GitLab). The
100
- list is recorded as `ci.extras` in the config; an unknown name, or a job of a platform `--ci` does
101
- not cover, is refused. The table of every tool and its conditions:
98
+ repository, report into a merge request only in a paid tier, or spend API tokens on every run:
99
+ `codeql`, `dependency-review` (GitHub), `gitlab-sast`, `gitlab-secret-detection`,
100
+ `gitlab-dependency-scanning` (GitLab), `claude-review` and `claude-triage` (both platforms: Claude
101
+ Code reviews each pull or merge request and posts one comment that neither approves nor blocks,
102
+ and triages a failed run in three lines, read-only; the `gate` job never needs them), and `intent-to-spec` (GitHub: the story skill run
103
+ headless on each intent a merge accepts, its specification opened as a pull request). The list is
104
+ recorded as `ci.extras` in the config; an unknown name, or a job of a platform `--ci` does not
105
+ cover, is refused. The table of every tool, its cost and its conditions:
102
106
  [pipeline/README.md](../../pipeline/README.md#free-by-default-paid-on-request).
103
107
 
104
108
  An import of a file of the project is written without an extension
@@ -136,7 +140,7 @@ module file of the context: `builder.bind(Port).toClass(Adapter, [Ports])`,
136
140
  metadata, and only `@ddd-ts-kit/di` (on tsyringe) turns them into bindings.
137
141
  `--assembly` says how a declared context reaches the composition root: `barrel` (the default) is
138
142
  generated files, `<context>.declarations.ts` at the root of the context re-exporting the
139
- declarations of each role folder, static, followed by a bundler, by knip and by dependency-cruiser; `discovery` writes `await discoverContext(...)` instead, with the knip entry
143
+ declarations of each layer, static, followed by a bundler, by knip and by dependency-cruiser; `discovery` writes `await discoverContext(...)` instead, with the knip entry
140
144
  and the dependency-cruiser exception the discovered files need (publishers and jobs included: they
141
145
  are discovered like the rest), and inlines `@ddd-ts-kit/di` in the two vitest configs, so that the
142
146
  files it imports itself are compiled by the runner. Discovery is accepted behind a broker: a
@@ -298,8 +302,8 @@ nothing in its decorator (`@CommandHandler(IssueInvoiceCommand)`): each construc
298
302
  is typed by one class, its token (`declarations/constructor-injection`). `generate`, `docs` and
299
303
  the `dev` script read the signatures, with the zero-dependency scanner of the checker and no
300
304
  compiler, and write `injected(Class, [Tokens])` statements in the generated files of each
301
- context: the `<folder>.declarations.ts` of each role folder, next to the classes it registers,
302
- which `<context>.declarations.ts` re-exports, or `<context>.dependencies.ts` under discovery. `@ddd-ts-kit/di` injects from there. `emitDecoratorMetadata` is never relied on: it
305
+ context: the `<layer>.declarations.ts` of each layer, above the role folders whose classes it
306
+ registers, which `<context>.declarations.ts` re-exports, or `<context>.dependencies.ts` under discovery. `@ddd-ts-kit/di` injects from there. `emitDecoratorMetadata` is never relied on: it
303
307
  is absent with standard decorators and under `tsx`. `init` writes
304
308
  `"stack.dependencies": "signature"`; a config without the key is `listed`, the 0.1 form
305
309
  (`@CommandHandler(M, [Ports])`), which keeps working untouched, and
@@ -307,14 +311,14 @@ is absent with standard decorators and under `tsx`. `init` writes
307
311
  what each class is given. Every generated file exports one class, interface or function and is named
308
312
  after it.
309
313
 
310
- ![How a declared context reaches the composition root: the role files carry their decorator and type their constructor parameters by classes; generate, docs and the dev script read those signatures and write the declarations of each role folder, one export per role file of the folder and one injected statement per class that takes something, and a summary at the root of the context that re-exports them; the composition root includes the summary with contextModule and @ddd-ts-kit/di injects from it; check and docs --check report generated declarations that no longer match the role files](https://raw.githubusercontent.com/gbourgeat/ddd-ts-kit/main/docs/assets/diagrams/cli-declared-barrel.svg)
314
+ ![How a declared context reaches the composition root: the role files carry their decorator and type their constructor parameters by classes; generate, docs and the dev script read those signatures and write the declarations of each layer, one export per role file of the layer and one injected statement per class that takes something, and a summary at the root of the context that re-exports them; the composition root includes the summary with contextModule and @ddd-ts-kit/di injects from it; check and docs --check report generated declarations that no longer match the role files](https://raw.githubusercontent.com/gbourgeat/ddd-ts-kit/main/docs/assets/diagrams/cli-declared-barrel.svg)
311
315
 
312
316
  An excerpt of the declarations of the `notification` context of the example application, as
313
- the CLI writes them (never by hand): one file per role folder, next to the classes it registers,
314
- and a summary at the root of the context that only re-exports them.
317
+ the CLI writes them (never by hand): one file per layer, above the role folders whose classes it
318
+ registers, and a summary at the root of the context that only re-exports them.
315
319
 
316
320
  ```ts
317
- // src/contexts/notification/application/commands/commands.declarations.ts
321
+ // src/contexts/notification/application/application.declarations.ts
318
322
  import { injected } from '@ddd-ts-kit/kernel/declarations';
319
323
  import { WithdrawReminderHandler } from '@/contexts/notification/application/commands/withdraw-reminder/withdraw-reminder.handler';
320
324
  import { ReminderRepository } from '@/contexts/notification/domain/repositories/reminder.repository';
@@ -324,7 +328,7 @@ export * from '@/contexts/notification/application/commands/withdraw-reminder/wi
324
328
 
325
329
  injected(WithdrawReminderHandler, [ReminderRepository]);
326
330
 
327
- // src/contexts/notification/infrastructure/persistence/persistence.declarations.ts
331
+ // src/contexts/notification/infrastructure/infrastructure.declarations.ts
328
332
  import { KnexReminderRepository } from '@/contexts/notification/infrastructure/persistence/knex-reminder.repository';
329
333
  import { Clock, ExecutionScope } from '@ddd-ts-kit/kernel';
330
334
  import { KnexContext } from '@ddd-ts-kit/knex';
@@ -334,8 +338,9 @@ export * from '@/contexts/notification/infrastructure/persistence/knex-reminder.
334
338
  injected(KnexReminderRepository, [KnexContext, ExecutionScope, Clock]);
335
339
 
336
340
  // src/contexts/notification/notification.declarations.ts
337
- export * from '@/contexts/notification/application/commands/commands.declarations';
338
- export * from '@/contexts/notification/infrastructure/persistence/persistence.declarations';
341
+ export * from '@/contexts/notification/application/application.declarations';
342
+ export * from '@/contexts/notification/infrastructure/infrastructure.declarations';
343
+ export * from '@/contexts/notification/presentation/presentation.declarations';
339
344
  ```
340
345
 
341
346
  and the one line of the composition root that adds the whole context:
@@ -520,24 +525,24 @@ config, `docsUi`, `ci` and `logger` included.
520
525
  | `package.json` | scripts and dependencies of the stack (below); `build` is the compiler, then `ddd-ts-kit build-aliases` |
521
526
  | `tsconfig.json`, `tsconfig.build.json` | strict, NodeNext, `rootDir` `.` and `outDir` `dist`, and `paths`: the one declaration of the import alias (`@/*` to `./src/*`, `$test/*`, `$scripts/*`, and `$generated/*` with Prisma), derived from `importAlias` (`--import-alias '$<name>/'`, `@/` by default; `#<name>/` and `@<name>/` are refused with the reason); the build config extends the other and declares no `paths`; `experimentalDecorators` (and `emitDecoratorMetadata`) only for nest or class-validator, whose decorators are legacy ones: the declarations and the aspects serve both modes |
522
527
  | `src/main.ts` | composition root: tracing first (error reporting second with `--errors sentry`), config, persistence, application (`log`, `traceConsumers: config.tracing.consumers`, `resilience`, `jobs: { start: config.runJobs, settings: jobSettings(process.env) }`), outbox relay, HTTP server; on `SIGTERM` or `SIGINT` it closes the server, stops the relay, stops the application, closes the persistence and shuts the tracing down |
523
- | `src/platform/` | one export per file, each named after it, in one folder per concern, no file at its root (a project generated before the folders keeps them flat until `npx ddd-ts-kit platform-folders`). `composition/` (`compose-application.ts`, then `platform.module.ts`, `platform-test.module.ts` and `lay-foundations.ts` on tsyringe, `platform.ts` and `create-platform.ts` wired by hand); `jobs/` (`job-settings.ts`, `jobSettings(environment, context?)`: one line per job, `JOB_<CONTEXT>_<JOB>_ENABLED=false` switches one off). `config/` (`app-config.ts`, `load-config.ts`, `config-error.ts`, `read-tracing.ts`: fail-fast on `DATABASE_URL`, `LOG_LEVEL`, `LOG_FORMAT`, `LOG_SCRUB_MESSAGES`, the `OUTBOUND_*` policy, `RUN_JOBS` and the tracing variables below); `observability/` (`tracing.ts`, the first import of every entry point; `errors.ts` with `--errors sentry`; `create-logger.ts`, see `--logger`; `create-metrics.ts`: a `NoopMetrics` behind a `TODO(platform)`); `resilience/` (`resilience-settings.ts`, `default-resilience.ts`, `adapter-aspects.ts`: retry with backoff and a timeout for `external` and `gateway`, `own-policy.ts` for an adapter that states its own, `self-governed.ts`); `events/`, `database/`, `auth/`, `audit/`, `redis/` (below); `http/` (`start-http-server.ts`, `with-documentation.ts`: `/docs` and `/openapi.json`, or `/openapi/<name>.json` per document of a split contract, off in production unless `API_DOCS=true`; `openapi-documents.ts`, the split written by `ddd-ts-kit docs` from `openapi.documents`). With `--di tsyringe`: `compose-application.ts` (`composeApplication(persistence, options, contexts?)`: `kernelModule({...})`, the platform module, the authorization module, the contexts; installs the aspect runtime), `lay-foundations.ts` (one execution scope, clock, id generator, logger, metrics, instrumentation and audit, built before any module), `platform.module.ts` (what replaces the in-process defaults of the kernel: unit of work, processed-event store, the storage class, `OutboxStore`, `EventSubscribers` behind a broker, `ErrorMapper`, and `builder.around(['external', 'gateway'], ...)`, the resilience of every adapter that leaves the process), `platform-test.module.ts` (what a handler spec lists next to its context: the storage class bound to a factory that throws), `buses/create-command-bus.ts` and `create-query-bus.ts` (outermost first: `errorReportingMiddleware`, `loggingMiddleware`, `metricsMiddleware`, the permission, the span of the use case, the audit entry, then the unit of work of a command). With `--di manual` or `nest`: `compose-application.ts`, `platform.ts` (`interface Platform`, with `jobs: JobScheduler` and `adapter`, which wraps what a module file instantiates), `create-platform.ts`, `jobs/configured-job-scheduler.ts` (applies `job-settings.ts` to what a module registers) |
528
+ | `src/platform/` | one export per file, each named after it, in one folder per concern, no file at its root (a project generated before the folders keeps them flat until `npx ddd-ts-kit platform-folders`). `composition/` (`compose-application.ts` and `lay-foundations.ts` in both families, then `platform.module.ts` and `platform-test.module.ts` on tsyringe, `platform.ts`, `platform-options.ts` and `create-platform.ts` wired by hand); `jobs/` (`job-settings.ts`, `jobSettings(environment, context?)`: one line per job, `JOB_<CONTEXT>_<JOB>_ENABLED=false` switches one off). `config/` (`app-config.ts`; `environment.ts`, the reader of the variables of the process, `env.url('DATABASE_URL')`, `env.integer('PORT', { fallback, min, max })`, `env.flag`, `env.oneOf`, which keeps every problem by variable name and reports them at once; `load-config.ts`, `config-error.ts`, `read-tracing.ts`: fail-fast on `DATABASE_URL`, `LOG_LEVEL`, `LOG_FORMAT`, `LOG_SCRUB_MESSAGES`, the `OUTBOUND_*` policy, `RUN_JOBS` and the tracing variables below); `observability/` (`tracing.ts`, the first import of every entry point; `errors.ts` with `--errors sentry`; `create-logger.ts`, see `--logger`; `create-metrics.ts`: a `NoopMetrics` behind a `TODO(platform)`); `resilience/` (`resilience-settings.ts`, `default-resilience-settings.ts`, `default-policy.ts`: retry with backoff and a timeout for `external` and `gateway`, `own-policy.ts` for an adapter that states its own, `adapters-with-own-policy.ts`, the set the default policy leaves alone); `events/`, `database/`, `auth/`, `audit/`, `redis/` (below); `http/` (`start-http-server.ts`, `with-documentation.ts`: `/docs` and `/openapi.json`, or `/openapi/<name>.json` per document of a split contract, off in production unless `API_DOCS=true`; `openapi-documents.ts`, the split written by `ddd-ts-kit docs` from `openapi.documents`). With `--di tsyringe`: `compose-application.ts` (`composeApplication(persistence, options, contexts?)`: `kernelModule({...})`, the platform module, the authorization module, the contexts; installs the aspect runtime), `lay-foundations.ts` (one execution scope, clock, id generator, logger, metrics, instrumentation and audit, built before any module), `platform.module.ts` (what replaces the in-process defaults of the kernel: unit of work, processed-event store, the storage class, `OutboxStore`, `EventSubscribers` behind a broker, `ErrorMapper`, and `builder.around(['external', 'gateway'], ...)`, the resilience of every adapter that leaves the process), `platform-test.module.ts` (what a handler spec lists next to its context: the storage class bound to a factory that throws), `buses/create-command-bus.ts` and `create-query-bus.ts` (outermost first: `errorReportingMiddleware`, `loggingMiddleware`, `metricsMiddleware`, the permission, the span of the use case, the audit entry, then the unit of work of a command). With `--di manual` or `nest`: `compose-application.ts`, `platform.ts` (`interface Platform`, with `jobs: JobScheduler` and `adapter`, which wraps what a module file instantiates), `platform-options.ts`, `lay-foundations.ts` (the same foundations as on tsyringe, the log of the decisions or the audit sources included), `create-platform.ts` (the assembly: the domain events, the guard, the two buses, the event ports, the files and what wraps every adapter), `buses/create-command-bus.ts` and `create-query-bus.ts` (the same chains as on tsyringe, given the guard and the storage), `events/platform-events.ts` (the publisher, the subscribers and, behind Varnish, the purges), `jobs/configured-job-scheduler.ts` (applies `job-settings.ts` to what a module registers) |
524
529
  | tracing | wired once, by the platform (`tracing/platform-only`): no `decorate` hook, no `decorate-bindings.ts`. `tracing.ts` starts `initTracing` of `@ddd-ts-kit/tracing/node` before any other module, on what `config/read-tracing.ts` validates: `OTEL_EXPORTER_OTLP_ENDPOINT` (a URL; left out, no span leaves the process), `TRACE_SAMPLE_RATIO` (0 to 1) and `TRACE_CONSUMERS` (`continue`, the default: a consumed event stays in the trace of its publication; `link`: each delivery starts a trace linked to it). With `--di tsyringe`: `lay-foundations.ts` builds `traceApplication({ consumers })`, `compose-application.ts` hands it to `kernelModule({ instrumentation })` (one span per use case, repository call, domain event, publication, consumer and job) and gives the outbox relay `tracedPublisher(bus)`. With hand wiring: `create-platform.ts` applies the members of `traceApplication()` itself (`useCase` on both buses, `domainEvents`, `publisher`, `binding` around every adapter, `job`, `executionScope`, `errorReporter`), with `tracedSubscriber` and `tracedPublisher` around the provider. With an HTTP stack, in both families, `auth/authentication/http-boundary.ts` sets `around: tracedRoutes()`: one `SERVER` span per request, named by its route |
525
530
  | `--logger` | `src/platform/observability/create-logger.ts`, one per choice: `stdout` (the default) is the `StdoutLogger` of `@ddd-ts-kit/aspects`, JSON lines, credentials not redacted; `pino` is `createPinoLogger` of `@ddd-ts-kit/pino` (dependencies `pino` and `pino-pretty`); `winston` is `createWinstonLogger` of `@ddd-ts-kit/winston`; these two redact the credential keys of the kernel. Every entry carries `traceLogFields(scope)`: the correlation id, origin, actor and tenant of the work in progress and the ids of the active trace. `LOG_LEVEL`, `LOG_FORMAT` (`json`, the default, or `pretty`; with `stdout`, which has no pretty format, `pretty` is refused when the configuration is loaded) and `LOG_SCRUB_MESSAGES` (`[message removed]` in place of the message of a logged error that is not a `DomainError`) are validated in `config/load-config.ts`. Stopping the application flushes the error reporter, then the logger, last: `container.stop()` does it on tsyringe, `compose-application.ts` flushes explicitly with hand wiring. The tools and the tests compose the application without `log` and write nothing |
526
531
  | `src/platform/auth/` | one folder per question: `authentication/` (who is calling), `authorization/` (what they may do, whatever the model) and the folder of the model `stack.authz` names (`roles/`, `attributes/`, `relationships/` or `custom/`). A project generated before the folders keeps its files flat: the generators read them there, `npx ddd-ts-kit doctor` says so and `npx ddd-ts-kit platform-folders` moves them with every import |
527
532
  | `src/platform/auth/authentication/` | `create-authenticator.ts` (`--authn jwt`: `JwtAuthenticator` on `AUTH_ISSUER`, `AUTH_AUDIENCE`, `AUTH_JWKS_URI`; `--authn keycloak`: `keycloakAuthenticator` on `KEYCLOAK_URL`, `KEYCLOAK_REALM`, `KEYCLOAK_AUDIENCE` and the optional `KEYCLOAK_CLIENT_ID`; `--authn none`: `development-header-authenticator.ts` and `development-actor-header.ts`, which read `x-development-actor` and throw in production), `principal-of.ts`, `security-schemes.ts`, `offline-authenticator.ts`, `http-boundary.ts` (`resolvePrincipal` answering a `Session`, `executionScope`, `errorMapper` and `onError`, spread into the mount options: every request runs inside the execution scope, with its correlation id). Without an HTTP stack there is no authenticator and no boundary, and no folder |
528
533
  | `src/platform/auth/authorization/` | `create-authorizer.ts`, `authorization.ts` (`authorizationModule` with tsyringe) or `use-case-protection.ts` (the guard of the hand-wired buses), `access-policies.ts`, `role.ts` (the roles a credential carries, with roles or attributes, or once a guard names one), `permissions.ts` (the registry of every permission, with relationships or an authorizer of your own), `signed-in-grants.ts` once a context preset grants every signed-in person, and with `--audit off` `log-decisions.ts` (one log entry per decision, ids and codes only) |
529
- | `src/platform/auth/<model>/` | `roles/roles.ts` (with the role `system` every system actor holds); `attributes/attribute-policies.ts`; `relationships/`: `relationship-schema.ts`, `create-tuple-store.ts` and its contract spec, `relation-tuples.ts`, `relate-system-actors.ts`, `permission-mapping.ts`; `custom/`: `custom-authorizer.ts` and its `authorizerContract` spec |
534
+ | `src/platform/auth/<model>/` | `roles/roles.ts` (with the role `system` every system actor holds); `attributes/attribute-policies.ts`; `relationships/`: `relationship-schema.ts`, `create-tuple-store.ts` and its contract spec, `relation-tuples.ts`, `relate-system-actors.ts`; `custom/`: `custom-authorizer.ts` and its `authorizerContract` spec |
530
535
  | `--representations negotiated`, `--forms on` | `src/platform/http/presentation-of.ts` (`Representations.standard()` with `negotiated`, and `fieldDeciderOf` over the `Access` of the application), spread into the HTTP boundary and given to the contract script; with `--forms on`, `src/platform/http/with-forms.ts` adds `formRoutes` to the routes and `scripts/openapi.ts` writes `openapi/forms/<operationId>.json`. Both are the default with an HTTP stack; `json` and `off` leave them out ([docs/CONFIG.md](../../docs/CONFIG.md)) |
531
- | `--audit on` | `src/platform/audit/`: `create-audit.ts` (the trail, the `onDecision` of the authorization, the refusals of the guards at the edge given to the HTTP boundary as `onGuardRefusal`, the middleware before the unit of work, the integration events subscribed under the consumer name `audit`), `audited-events.ts` (the registry `generate integration-event` adds to), `audit.module.ts`, and with an HTTP stack the read side: `audit.permissions.ts` (`audit:trail.read`), then in `search-audit-entries/`: `search-audit-entries.query.ts`, its handler, `search-audit-entries.route.ts` (`GET /audit/entries`: cursor pages, filters `actorId`, `action`, `outcome`, `correlationId`). It is a capability of the platform, not a bounded context: no model, one protected query over the `AuditReader` port, bounded by the tenant of the actor (with `--tenancy shared-table`, by the tenant of the work through `TenantAuditReader`: platform staff read across tenants only inside `acrossTenants`). The refusals of a caller without a credential are not recorded. A scheduled job is audited like a request: origin `schedule`, actor `system:<context>.<job>`. With knex the two tables and their append-only triggers are created by the first migration; with drizzle the tables are in `schema.ts` and `npm run db:audit-guard` prints the trigger statements for a custom migration; with prisma, typeorm, `custom` or no ORM the trail is an `InMemoryAuditTrail` behind a `TODO(platform)`. The test databases leave the audit schema out of `reset()` |
536
+ | `--audit on` | `src/platform/audit/`: `create-audit.ts` (the trail, the `onDecision` of the authorization, the refusals of the guards at the edge given to the HTTP boundary as `onGuardRefusal`, the middleware before the unit of work, the integration events subscribed under the consumer name `audit`), `audited-events.ts` (the registry `generate integration-event` adds to), `audit.module.ts`, and with an HTTP stack the read side: `audit.permissions.ts` (`audit:trail.read`), then in `search-audit-entries/`: `search-audit-entries.query.ts`, its handler, `search-audit-entries.route.ts` or `.controller.ts` (`GET /audit/entries`: cursor pages, filters `actorId`, `action`, `outcome`, `correlationId`), which starts with the endpoint and takes what it receives and answers from `audit-entries-parameters.ts`, `audit-entries-filter-of.ts`, `audit-entry-view.ts`, `audit-entry-view-of.ts` and `audit-outcomes.ts`. It is a capability of the platform, not a bounded context: no model, one protected query over the `AuditReader` port, bounded by the tenant of the actor (with `--tenancy shared-table`, by the tenant of the work through `TenantAuditReader`: platform staff read across tenants only inside `acrossTenants`). The refusals of a caller without a credential are not recorded. A scheduled job is audited like a request: origin `schedule`, actor `system:<context>.<job>`. With knex the two tables and their append-only triggers are created by the first migration; with drizzle the tables are in `schema.ts` and `npm run db:audit-guard` prints the trigger statements for a custom migration; with prisma, typeorm, `custom` or no ORM the trail is an `InMemoryAuditTrail` behind a `TODO(platform)`. The test databases leave the audit schema out of `reset()` |
532
537
  | `--tenancy shared-table` | recorded as `stack.tenancy`; Knex or Drizzle only. Every `generate repository` is tenant-scoped (as `--tenant-scoped`), through `tenantTable` and `ownTenantTable` or `tenantCondition` and `ownTenantCondition`; the outbox keeps the tenant of each event (`createOutboxTables(knex, { tenant: true })` and `KnexOutboxStore`'s `tenant: true`, or `tenantOutboxTable`), so consumers run in it; `tenancy/scoped-statement` judges the adapters. Row-level security, schema per tenant and database per tenant are refused, with what to wire by hand ([Multitenancy](../../docs/concepts/multitenancy.md)) |
533
538
  | `--queue database\|redis\|memory` | recorded as `stack.queue`. `database` (the default on Knex or Drizzle with tsyringe): `createJobTable` and `createProcessTable`, or `jobsTable` and `processesTable`, in the `messaging` schema, `Persistence` gains `jobs` and `processes`, and the platform module rebinds `JobStore` and `ProcessStore` to them, so a job enqueued by a command is written in its transaction; `redis` (with `--cache redis`): `RedisJobStore` on the connection of the cache, the processes in the database; `memory` (the default otherwise): nothing is written, the kernel module keeps both in the process. Refused off tsyringe, `database` with another ORM, `redis` without the cache |
534
- | `--cache redis` | `src/platform/redis/open-redis.ts` (`RedisServices`: the cache bound to the kernel `Cache`, the limiter to `RateLimiter`, the lock to `Lock`, which keeps a scheduled job to one instance, the relay signal as the `wakeOn` of the outbox relay with `relayWakeUpMiddleware` on the command bus), `http/refusal-for.ts` (one sliding window per caller address, 429 `application/problem+json` with `retry-after`; `RATE_LIMIT_MAX`, `RATE_LIMIT_WINDOW_MS`), `GET /health/ready` on the HTTP server, `REDIS_URL` validated, a compose service `cache` running Dragonfly with a healthcheck. Without a server (tools, tests without `REDIS_URL`) the same ports stay in the memory of the process |
539
+ | `--cache redis` | `src/platform/redis/open-redis.ts` (`RedisServices`: the cache bound to the kernel `Cache`, the limiter to `RateLimiter`, the lock to `Lock`, which keeps a scheduled job to one instance, the relay signal as the `wakeOn` of the outbox relay with `relayWakeUpMiddleware` on the command bus), `http/too-many-requests-for.ts` (one sliding window per caller address, 429 `application/problem+json` with `retry-after`; `RATE_LIMIT_MAX`, `RATE_LIMIT_WINDOW_MS`), `GET /health/ready` on the HTTP server, `REDIS_URL` validated, a compose service `cache` running Dragonfly with a healthcheck. Without a server (tools, tests without `REDIS_URL`) the same ports stay in the memory of the process |
535
540
  | `--http-cache varnish` | a compose service `varnish` (Varnish 9.1.0, reaching the API on `host.docker.internal`) with its VCL in `docker/varnish/default.vcl` (only answers whose `Cache-Control` allows them by `max-age` or `s-maxage` are kept, filed under their `xkey` tags, purged by `PURGE` from the machine of Varnish or with `VARNISH_PURGE_KEY`, `x-cache: HIT\|MISS`), `VARNISH_URL` and `VARNISH_PURGE_KEY` validated, `cacheTags: { header: CacheTagHeader.xkey }` in the HTTP boundary, and the outbox relay of `main.ts` and of every `generate service` entry point publishing through `PurgingPublisher` with `VarnishCachePurger` (the end-to-end application records the purges in `purges`); on `--di manual` and `nest` the platform gains `cacheInvalidation`; with `--tenancy`, the tags of the answers and the purges are filed under the tenant (`perTenant`) and the tenant of a request is read from `x-tenant-id`. Needs an HTTP framework and `--events outbox`: a purge is a row of the outbox |
536
541
  | `--errors sentry` | unexpected failures reported to Sentry or GlitchTip (one protocol, only the DSN differs) through the kernel `ErrorReporter`, bound to `@ddd-ts-kit/sentry`. `src/platform/observability/errors.ts` (`initSentry` on the validated configuration, then `reportProcessFailures`), the second import of `main.ts`, of `apps/<context>/main.ts` and of `apps/worker/main.ts`, right after `tracing.ts`; `errors` handed to `composeApplication`, which gives it to the kernel module on tsyringe (`errorReporter`, flushed by `container.stop()` before the logger, `errorReportingMiddleware` first on both buses, the default scheduler observing with `reportFailedRuns`) or to `createPlatform` by hand (the same middleware, `onRun: reportFailedRuns(errors)`, `platform.errors`, flushed two seconds at most when the application stops); `reportHttpErrors` in `auth/authentication/http-boundary.ts` for every request answered 5xx; `DeadLetterReports` on the `onFailure` hook of a provided broker (`createEventProvider(config, errors)`, with `observing` around each consumer) and of the outbox relay. `SENTRY_DSN`, `SENTRY_ENVIRONMENT` (default: `NODE_ENV`), `SENTRY_RELEASE` and `SENTRY_SCRUB_MESSAGES` validated in `config/load-config.ts` as `errorReporting`: without a DSN the application starts and reports nothing; a DSN that is not a URL refuses the start. Dependencies `@ddd-ts-kit/sentry` and `@sentry/node`. A compose profile `errors` running GlitchTip 6.2.6 with its own PostgreSQL and Valkey (`GLITCHTIP_PORT`, loopback only, development bootstrap), and a section of the generated README saying how to read its DSN. The tools and the tests compose the application without a reporter. It goes with every other choice of the stack; with `--errors none` nothing of this is written |
537
542
  | `--authn keycloak` | a compose service `keycloak` (Keycloak 26.8.0, `start-dev --import-realm`, profile `identity`) and `docker/keycloak/<project>-realm.json`: the API client, a public client `<project>-local` with the direct grant, its audience and `tenant_id` mappers, the realm role `admin`, and the demo users `demo-admin` and `demo-user`, for local development only |
538
543
  | `--storage local\|s3` | recorded as `stack.storage`: where the content of files lives, never in the database. `src/platform/config/read-files.ts` and `src/platform/files/open-files.ts`, one per choice: `local`, a directory in development (`FILES_DIRECTORY`, `.data/files`) and the signed links answered by the application under `/files` (`FILES_PUBLIC_URL` and `FILES_SIGNING_SECRET` required in production); `s3`, a bucket of any provider of the S3 protocol through `@ddd-ts-kit/s3` (the `S3_*` variables, MinIO in the compose stack); the memory of the process in the tests and the tools, either way. With `--di tsyringe`: `files/bind-files.ts`, `files/files.module.ts` and `files/staging-uploads.ts`; with hand wiring `files/create-files.ts`; with an HTTP stack `files/file-routes.ts`. They bind `FileStorage`, `FileKeys`, `FileScanner` and `FileStaging`, register the hourly purge of staged files and stage the file a command carries before its transaction; `generate file-upload` needs them. `--storage none` writes none of this ([File storage](../../docs/concepts/file-storage.md)) |
539
544
  | `src/platform/events/` | `event-provider.ts` (`bus`, `forConsumer(name)`, `start()`, `close()`), `in-process-events.ts`, and for `--broker` `create-event-provider.ts`: `RabbitMqEventBus` (`AMQP_URL`), `KafkaEventBus` (`KAFKA_BROKERS`, with `aggregate-key-of.ts` for per-aggregate order), `NatsEventBus` (`NATS_URL`) or `RedisStreamsEventBus` of `@ddd-ts-kit/redis/event-bus` (`REDIS_URL`: Redis, Dragonfly or Valkey), each with one subscriber per consuming context (`forConsumer`), `assertTopology` at start, its address validated and a compose service with a healthcheck; or `custom-event-bus.ts` with its `eventBusContract` spec. `start-outbox-relay.ts` with the outbox. `--broker redis` with `--cache redis` is one server and one compose service, `cache`; alone, the service is `streams` |
540
- | `src/platform/database/` | `persistence.ts` (`interface Persistence`: unit of work, outbox and processed-event stores of the ORM package, the storage handle), `open-persistence.ts`, `persistence-over.ts`, `inert-persistence.ts`, the connection (`connect-to-database.ts`, `create-client.ts` or `create-data-source.ts`), `schema.ts`, `open-test-database.ts` (PostgreSQL in process, or the server named by a URL; with Vitest each spec opens a copy of the cluster `test/support/test-database-template.ts`, the global setup of the run, initialised once, and creates its tables there). The storage class a repository adapter names in its dependency list: `database.ts` with drizzle and prisma (`abstract class Database extends` the context type of the ORM package), `KnexContext` of `@ddd-ts-kit/knex`, `TypeOrmContext` of `@ddd-ts-kit/typeorm` |
545
+ | `src/platform/database/` | `persistence.ts` (`interface Persistence`: unit of work, outbox and processed-event stores of the ORM package, the storage handle), `open-persistence.ts`, `persistence-over.ts`, `inert-persistence.ts`, the connection (`connect-to-database.ts`, `create-client.ts` or `create-data-source.ts`), `schema.ts` (`MESSAGING_SCHEMA`, the schema of what the kit stores for the application), `open-test-database.ts` (PostgreSQL in process, or the server named by a URL; with Vitest each spec opens a copy of the cluster `test/support/test-database-template.ts`, the global setup of the run, initialised once, and creates its tables there; with drizzle from `table-statements.ts`, the SQL of the tables of `schema.ts`, since drizzle-kit writes migrations, not tables). The storage class a repository adapter names in its dependency list: `database.ts` with drizzle and prisma (`abstract class Database extends` the context type of the ORM package), `KnexContext` of `@ddd-ts-kit/knex`, `TypeOrmContext` of `@ddd-ts-kit/typeorm` |
541
546
  | migration tooling | `drizzle.config.ts`, `knexfile.js` and `migrations/00000000000000_initial.js`, `prisma/schema.prisma` and `prisma.config.ts`, or `data-source.ts` |
542
547
  | `scripts/openapi.ts`, `scripts/events.ts` | write `openapi/openapi.yaml` (one file per document of `openapi.documents`), `docs/integration/asyncapi.yaml` and `docs/integration/event-catalog.md`, in JSON under `openapi.format: json`; `--check` fails on a difference |
543
548
  | `docker-compose.yml`, `.env.example`, `Dockerfile`, `.dockerignore` | the database with a healthcheck and a named volume, `jaegertracing/jaeger:2.22.0` behind the `observability` profile (its UI and its OTLP port bound to 127.0.0.1), ports from `.env`; a multi-stage, non-root image with production dependencies only |
@@ -549,12 +554,14 @@ config, `docsUi`, `ci` and `logger` included.
549
554
  | `biome.json` | the formatter: Biome with its linter and its import organiser off, line width 120; `npm run format` writes, `npm run format:check` checks, and what the CLI generates is already formatted |
550
555
  | `knip.json` | dead code: entry points are `main.ts` and `apps/*/main.ts`, the scripts, the specs and the fakes, the module files in the explicit style, the role files under discovery (jobs and publishers included) |
551
556
  | `vitest.config.ts` | unit and integration projects, the coverage thresholds read from `ddd-ts-kit.config.json` (`governedCoverage`), per context and layer, in the standard decorator mode `decorators()` of `@ddd-ts-kit/testing/vitest`, which compiles the files holding a decorator with the compiler of the project (Vitest does not lower standard decorators; it lowers legacy ones itself, so a project with `experimentalDecorators` gets no plugin), and under `--assembly discovery` `server.deps.inline: ['@ddd-ts-kit/di']` |
552
- | `lefthook.yml`, `commitlint.config.mjs` | pre-commit (ESLint, the format check and `check` on the staged files, `check --commit-size --staged`, which never blocks), pre-push (types, unit tests) and commit-msg hooks (`npm run hooks:install`), each run by the lefthook of the checkout it fires in (`lefthook: node_modules/.bin/lefthook`: a worktree without its dependencies fails the commit instead of skipping the checks), conventional commits |
553
- | `--ci github` | `.github/workflows/ci.yml`, `pr-title.yml`, `copilot-setup-steps.yml` (Node and the dependencies, installed before the Copilot cloud agent starts), `.github/dependabot.yml`, `.github/branch-protection.md`, `renovate.json`; `codeql.yml` with `--ci-extras codeql` |
554
- | `--ci gitlab` | `.gitlab-ci.yml` (architecture findings as a Code Quality report through `check --format gitlab`), `.gitlab/merge-request-settings.md`, `renovate.json` |
555
- | `README.md`, `AGENTS.md`, `CLAUDE.md`, `.claude/rules/*.md`, `.github/instructions/*.instructions.md` | how to run it; a slim guide in `AGENTS.md`, which Codex, Copilot and most coding agents read and `CLAUDE.md` imports (commands, how to read less, the map of the rules, generated files, compiler note, the skills of the plugin: `/ddd-ts-kit:start`, `glossary`, `use-case`, `document`, `quality-gate`) and the invariants in seven rule files, `domain.md`, `application.md`, `published-language.md`, `infrastructure.md`, `presentation.md`, `platform.md` and `tests.md`, each scoped by a `paths` frontmatter, and the same seven for GitHub Copilot, each scoped by `applyTo` |
557
+ | `lefthook.yml`, `commitlint.config.mjs` | pre-commit (ESLint, the format check and `check` on the staged files, `check --commit-size --staged`, which never blocks, and `secrets`: gitleaks on the staged changes when its binary is on the path, one line and no refusal otherwise, the pipeline scanning the whole history anyway), pre-push (types, unit tests) and commit-msg hooks (`npm run hooks:install`), each run by the lefthook of the checkout it fires in (`lefthook: node_modules/.bin/lefthook`: a worktree without its dependencies fails the commit instead of skipping the checks), conventional commits |
558
+ | `--ci github` | `.github/workflows/ci.yml`, `pr-title.yml`, `copilot-setup-steps.yml` (Node and the dependencies, installed before the Copilot cloud agent starts), `.github/dependabot.yml`, `.github/branch-protection.md`, `renovate.json`; `codeql.yml` with `--ci-extras codeql`, `claude-review.yml` and `claude-triage.yml` with `--ci-extras claude-review,claude-triage`; `intent-to-spec.yml` with `--ci-extras intent-to-spec` |
559
+ | `--ci gitlab` | `.gitlab-ci.yml` (architecture findings as a Code Quality report through `check --format gitlab`), `.gitlab/merge-request-settings.md`, `renovate.json`; `.gitlab/claude-review.gitlab-ci.yml` with `--ci-extras claude-review,claude-triage` |
560
+ | `README.md`, `AGENTS.md`, `CLAUDE.md`, `.claude/rules/*.md`, `.github/instructions/*.instructions.md` | how to run it; a slim guide in `AGENTS.md`, which Codex, Copilot and most coding agents read and `CLAUDE.md` imports (commands, how to read less, the map of the rules, generated files, the verification commands with the lines each prints when it passes, to run before reporting done, the mistakes seen here, a section the team owns under the rule of two, compiler note, the skills of the plugin: `/ddd-ts-kit:start`, `glossary`, `use-case`, `document`, `quality-gate`) and the invariants in seven rule files, `domain.md`, `application.md`, `published-language.md`, `infrastructure.md`, `presentation.md`, `platform.md` and `tests.md`, each scoped by a `paths` frontmatter, and the same seven for GitHub Copilot, each scoped by `applyTo` |
561
+ | `REVIEW.md` | the review policy of the project: the passes of a review (bugs, security, compliance against the design review of the row, the acceptance of the story, the records of `docs/adr/` and the rules), what Important means, at most five nits (a recurring one becomes a line of `AGENTS.md` under `## Mistakes seen here` or a rule of the config), what is not reported (generated files, what `npm run verify` refuses). Read by the `architecture-reviewer` agent on top of its method, by a human reviewer and by any review bot. Written once, for the team to edit: `--force` leaves it alone, `doctor` says when it is missing |
556
562
  | `.github/copilot/settings.json` | the plugin of the kit, declared for GitHub Copilot (`extraKnownMarketplaces`, `enabledPlugins`): its cloud agent installs it, the Copilot CLI and VS Code recommend it; an existing file keeps what it holds and gains the two entries |
557
- | `.claude/settings.json` | permissions only: the checks and generators run without asking, `.env` files are unreadable (`.env.example` stays readable), the three generated documents are not edited by hand, `git push`, `npm publish` and any edit of the files that hold the rules and the pipeline (`ddd-ts-kit.config.json`, `eslint.config.mjs`, `biome.json`, `.dependency-cruiser.cjs`, `knip.json`, `lefthook.yml`, `.gitlab-ci.yml`, `.github/workflows/**`, `.claude/settings.json`, `.github/copilot/settings.json`) ask first |
563
+ | `.claude/hooks/production-gate.mjs`, `.claude/hooks/change-reference.mjs` | with `--agent-profile regulated`: the two hooks of the profile, registered under `hooks.PreToolUse` of `.claude/settings.json`, written once for the team to edit (`--force` writes them again). The gate blocks a command that names the production environment with a release action unless `RELEASE_APPROVAL` names an approver and a change; the reference asks before an edit of a migration or of the containers, for the `Change: <id>` trailer of the commit ([Sandboxing coding agents](../../docs/guides/agent-sandbox.md#the-regulated-profile)) |
564
+ | `.claude/settings.json` | permissions (and, with `--agent-profile regulated`, the sandbox block below): the checks and generators run without asking, `.env` files are unreadable (`.env.example` stays readable), the three generated documents are not edited by hand, `git push`, `npm publish` and any edit of the files that hold the rules and the pipeline (`ddd-ts-kit.config.json`, `REVIEW.md`, `eslint.config.mjs`, `biome.json`, `.dependency-cruiser.cjs`, `knip.json`, `lefthook.yml`, `.gitlab-ci.yml`, `.github/workflows/**`, `.claude/settings.json`, `.github/copilot/settings.json`) ask first, and so does an edit of what reaches production otherwise than through the code: the migrations of the ORM (`migrations/**` with drizzle, knex and typeorm, `prisma/migrations/**` with prisma, nothing with a custom persistence or none), `Dockerfile`, `docker-compose.yml` and `docker/**`. The compose file reads `.env` at the root, which the deny list already covers; nothing under `docker/` holds a secret |
558
565
  | `.gitignore` | `node_modules`, `dist`, `coverage`, `.env`, `*.tsbuildinfo`, `.ddd-ts-kit/`, where `worker-scope` writes, and `.worktrees/`, where the worktrees live |
559
566
 
560
567
  `--ci both` writes the two pipelines, `--ci none` neither (and no `renovate.json`). The pipeline
@@ -562,6 +569,18 @@ files are copies of the assets of the repository's `pipeline/` directory, shippe
562
569
  `templates/pipeline/`; a test fails when a copy differs from its source by more than its
563
570
  documented placeholders.
564
571
 
572
+ `--agent-profile regulated` records `agents.profile` in the config, with or without `--force`
573
+ (`--agent-profile none` removes it), and writes the `sandbox` block of Claude Code next to the
574
+ permissions: enabled, failing when the sandbox is unavailable, no unsandboxed retry, the npm
575
+ registry and the git host of the project (from `repository` of `package.json`, else the `origin`
576
+ remote) as the only hosts, the credential files (`~/.ssh`, `~/.aws`, `~/.config/gcloud`,
577
+ `~/.azure`) and the usual secret variables denied to every sandboxed command; a key the project
578
+ already set is kept. It also prints, as a note, the block of managed settings a project file
579
+ cannot set (`allowManagedHooksOnly`, `allowManagedPermissionRulesOnly`,
580
+ `permissions.disableBypassPermissionsMode`, `strictKnownMarketplaces` with the marketplace of
581
+ the kit, `requiredMinimumVersion`), for the platform team to paste, and writes the two hooks of
582
+ the profile under `.claude/hooks/` ([Sandboxing coding agents](../../docs/guides/agent-sandbox.md#the-regulated-profile)).
583
+
565
584
  An existing `.claude/settings.json` is never overwritten: the missing permissions are appended
566
585
  to its lists, everything else is kept, and the notes of the command list what was added. The
567
586
  `.env` rule relies on the gitignore semantics of permission patterns: `Read(./.env.*)` is
@@ -646,7 +665,7 @@ would create src/contexts/notification/application/commands/archive-notification
646
665
  would create src/contexts/notification/test/unit/archive-notification.handler.spec.ts
647
666
  would update src/contexts/notification/CONTEXT.md
648
667
  would update src/contexts/notification/application/authorization/notification.permissions.ts
649
- would update src/contexts/notification/application/commands/commands.declarations.ts
668
+ would update src/contexts/notification/application/application.declarations.ts
650
669
 
651
670
  Next, in this order: the language of the context first, then the business decisions only you can make
652
671
  src/contexts/notification/application/commands/archive-notification/archive-notification.command.ts:9 declare the input of "archive notification" as a constructor with the actor first, ...
@@ -746,19 +765,19 @@ Next, in this order: the language of the context first, then the business decisi
746
765
  `system` subject operate a context. With `--authz custom`, a removed region, a remodelled
747
766
  relationship schema or a permission the generator cannot read, nothing is written and the job
748
767
  file carries the `TODO(domain)` naming the actor and the permission.
749
- - **The declarations are derived.** Each role folder of a context that holds a declared role
750
- file has its `<folder>.declarations.ts`, in that folder: `application/commands/commands.declarations.ts`,
751
- `infrastructure/persistence/persistence.declarations.ts`, `presentation/http/http.declarations.ts`
752
- (the files of a use case or of a route roll up to the folder at `<layer>/<folder>/`; a role file
753
- sitting directly in its layer goes to `<layer>/<layer>.declarations.ts`). It holds one
754
- `export *` per role file of the folder, sorted by path, then one `injected(Class, [Tokens])` per
768
+ - **The declarations are derived.** Each layer of a context that holds a declared role file has
769
+ its `<layer>.declarations.ts`, directly in the layer: `application/application.declarations.ts`,
770
+ `infrastructure/infrastructure.declarations.ts`, `presentation/presentation.declarations.ts`,
771
+ and the same in each module of the model. It holds one
772
+ `export *` per role file of the layer, sorted by path, then one `injected(Class, [Tokens])` per
755
773
  class whose constructor takes something, read from its signature, with the imports they need.
756
774
  `<context>.declarations.ts`, at the root of the context, only re-exports these files, sorted by
757
- path. Every `generate`, and `docs`, rewrite them and delete the declarations of a folder that
758
- holds no role file any more; `docs --check` and `check` (`declarations/barrel-current`) report
775
+ path. Every `generate`, and `docs`, rewrite them and delete the declarations of a layer that
776
+ holds no role file any more, and the `<folder>.declarations.ts` of each role folder that 0.85 and
777
+ 0.86 wrote; `docs --check` and `check` (`declarations/barrel-current`) report
759
778
  one that a role file written by hand left behind or whose constructor changed since, naming the
760
779
  class
761
- (`stale src/contexts/billing/application/commands/commands.declarations.ts: the dependency list of IssueInvoiceHandler is stale: ...`).
780
+ (`stale src/contexts/billing/application/application.declarations.ts: the dependency list of IssueInvoiceHandler is stale: ...`).
762
781
  The `dev` script loads `ddd-ts-kit/dist/refresh-declarations.js` before the application, on
763
782
  every start and reload of `tsx watch`: a port added to a constructor is injected on the
764
783
  reload that follows the save. The same module is the binary `ddd-ts-kit-refresh-declarations`.
@@ -845,16 +864,24 @@ Regenerates what is derived from the config and the code, and nothing else:
845
864
  kept; on first creation the four written sections are laid out with hints.
846
865
  - the generated lists of every `CONTEXT.md` (aggregates, published events, permissions, scheduled
847
866
  jobs as a table of name, schedule and command, relationships);
848
- - the generated declarations of every declared context: the `<folder>.declarations.ts` of each
849
- role folder, with what each constructor is injected, read from its signature, and
850
- `<context>.declarations.ts`, which re-exports them (the declarations of a folder left without a
867
+ - the generated declarations of every declared context: the `<layer>.declarations.ts` of each
868
+ layer, with what each constructor is injected, read from its signature, and
869
+ `<context>.declarations.ts`, which re-exports them (the declarations of a layer left without a
851
870
  role file are deleted), or under discovery `<context>.dependencies.ts`, which holds the lists
852
871
  alone;
853
872
  - the reference of every `CONTEXT.md`: the facts of `describe`, as tables under `## Reference`,
854
873
  between `ddd-ts-kit:reference` markers; a `CONTEXT.md` that has no such section gets it after its
855
874
  last generated list;
856
875
  - `docs/integration/README.md`, created once and never rewritten; its Provider section starts with
857
- the strategy of the chosen broker.
876
+ the strategy of the chosen broker;
877
+ - `CODEOWNERS` at the root (GitHub and GitLab both read it there), between `# ddd-ts-kit:code-owners`
878
+ markers, once `contexts.<name>.owners` or `owners.platform` names an owner in the config: each
879
+ context's tree and its `published-language/` to its owners, with the consumers of that language
880
+ named in a comment to ask as reviewers; `src/shared-kernel/` to the owners of every context
881
+ that imports it (to the platform owners while none does); `src/platform/`, `src/main.ts`,
882
+ `ddd-ts-kit.config.json`, the pipeline files, `REVIEW.md`, `AGENTS.md` and `docs/adr/` to the
883
+ platform owners. A file the team wrote keeps its lines, the block appended after them; without
884
+ any owner nothing is written.
858
885
 
859
886
  `--stored-events` also records in `stored-events.lock.json` the shape of each version of a stored
860
887
  event declared in the codecs of `infrastructure/persistence/`, never rewriting a recorded version:
@@ -1043,8 +1070,7 @@ spelling is guessed.
1043
1070
  code, a comment, a template or a regular expression, is left alone. Lines never move and the
1044
1071
  source maps are not touched.
1045
1072
  - Idempotent: a second run rewrites nothing.
1046
- - It exits 2 and writes nothing when an alias names no emitted file, when it names a directory
1047
- (an alias names one file: `.../published-language/index`), when it is written in the spelling
1073
+ - It exits 2 and writes nothing when an alias names no emitted file, when it is written in the spelling
1048
1074
  the config does not ask for, when `import()` is given an alias completed at run time (a
1049
1075
  template with an interpolation, a concatenation), or when the output directory does not
1050
1076
  exist. Each refusal says the file, the line and what to write instead.
@@ -1196,6 +1222,69 @@ prints
1196
1222
  `story` being `null` for a row whose id names none and `batch` `null` for a row the context asked
1197
1223
  for does not show.
1198
1224
 
1225
+ ## acceptance
1226
+
1227
+ ```
1228
+ ddd-ts-kit acceptance [<story>] [--gate written|passing] [--lock]
1229
+ ```
1230
+
1231
+ The acceptance scenarios of each story (`test/acceptance/<story>.acceptance.spec.ts`, written by
1232
+ `generate acceptance <story>`) against its rows in `docs/architecture/slices.md` and the criteria
1233
+ of `docs/architecture/stories/<story>.md`: the rows and criteria each scenario names in its title
1234
+ (`#US5.02 AC1 ...`), the scenarios left to write (`it.todo`), those wrapped in `pending(...)` until
1235
+ their code is built, and what is inconsistent. `--gate written` holds a story before the code of
1236
+ its rows: every slice row and criterion has a written scenario, and the acceptance is locked;
1237
+ `--gate passing` before it closes: none is pending either. `--lock` writes
1238
+ `test/acceptance/<story>.acceptance.lock.json`, the fingerprint of each criterion and of each
1239
+ scenario (`pending(...)`, layout and comments aside); after it, a scenario changes only with its
1240
+ criterion, and a criterion, or a scenario whose criteria stayed, only with a `Verdict: amend` of
1241
+ the `acceptance-judge` agent on that very version (`test/acceptance/verdicts/*.md`), which the lock
1242
+ keeps as an amendment for the owner to validate. It never runs a test. Exits 1 while a gate is not
1243
+ met, or, without one, on an inconsistency or a drift from the lock. `--json` prints
1244
+ `{ gate, met, stories: [{ story, file?, specification?, rows, criteria, scenarios, regression?, lock?, amendments, problems }] }`.
1245
+
1246
+ ### The regression specs of a fix
1247
+
1248
+ A fix is a story file whose `## Regression` section lists the spec files that prove it, one path
1249
+ per item, relative to the project root, with or without backticks:
1250
+
1251
+ ```md
1252
+ # FIX-412 A cancelled order frees its slot
1253
+
1254
+ ## Statement
1255
+
1256
+ A customer cancels an order after it was shipped, and the order is still marked cancelled.
1257
+
1258
+ ## Regression
1259
+
1260
+ - src/contexts/ordering/test/unit/order.aggregate.spec.ts
1261
+ - test/unit/cancel-order.handler.spec.ts
1262
+ ```
1263
+
1264
+ Such a story needs no row of `slices.md` and no acceptance spec: `acceptance FIX-412` reads each
1265
+ listed file and fingerprints each of its `it` or `test` as it fingerprints a scenario. `--gate
1266
+ written` holds that each listed file exists and holds at least one test (an `it.todo` is still to
1267
+ write; a test the runner puts aside is reported whatever the gate), and that the lock is written;
1268
+ `--lock` records the tests under `regression` of `test/acceptance/fix-412.acceptance.lock.json`
1269
+ (`{ file, title, fingerprint }` each) and refuses while a listed spec is missing or holds no test.
1270
+ A locked test changed or removed is reported as a changed scenario is, as the subject
1271
+ `test "<title>" of <file>` with its fingerprint, until the `acceptance-judge` agent lets that
1272
+ version through, the `## Statement` of the fix being the criterion; a new test only needs locking
1273
+ again. `--gate passing` holds that each locked test is there, unchanged and no longer wrapped in
1274
+ `pending(...)`; the test runner, not this command, proves it passes. The guard of the plugin reads
1275
+ the same lock in the worktree of a fix (`"kind": "fix"` in `.ddd-ts-kit/story.json`): it opens the
1276
+ code once the lock exists and refuses every edit of a locked spec (skill `fix`,
1277
+ [story workflow](../../docs/guides/story-workflow.md)).
1278
+
1279
+ ```
1280
+ $ npx ddd-ts-kit acceptance FIX-412 --gate written
1281
+ FIX-412 fix, 2 regression specs, locked
1282
+ specification docs/architecture/stories/FIX-412.md: no acceptance criterion stated
1283
+ src/contexts/ordering/test/unit/order.aggregate.spec.ts: 1 test, 1 active
1284
+ test/unit/cancel-order.handler.spec.ts: 1 test, 1 active
1285
+ gate written: met
1286
+ ```
1287
+
1199
1288
  ## story-check
1200
1289
 
1201
1290
  ```
@@ -1227,16 +1316,44 @@ of other stories does not block, and is counted. A Context cell that names no co
1227
1316
  project (`all`, `platform`) adds none: outside the contexts, only a marker attributed to one of its
1228
1317
  rows counts. `--strict` makes every marker of its contexts block, whoever it belongs to.
1229
1318
 
1319
+ A done row also holds to its design. Every name the `## #<id>` section of the design review of
1320
+ the story (`docs/architecture/reviews/<code>.md`) cites as inline code, read as `cited` reads them
1321
+ (a path under the source root or relative to the context, a `Class.member`, a PascalCase name;
1322
+ a name whose sentence records that it was removed or renamed is history and is left out), must
1323
+ exist in the tree: the path exists; the class, interface, type or function is declared by a source
1324
+ under the source root, or imported by one (`Clock` of the kernel); the member is named in a file
1325
+ declaring the class. A name that does not is listed under `### Compromises` of `## Report` in
1326
+ `docs/architecture/stories/<code>.md`, as inline code, with why; a name that neither exists nor
1327
+ is listed blocks, with its `file:line` in the review. The tree is read only when a section of a
1328
+ done row cites a name. `--strict` changes nothing here. The guard of the plugin says it once at
1329
+ the stop of a session in the worktree of a story, without blocking. The comparison of the built
1330
+ code with its design comes from [the AI-native SDLC playbook of Anthropic](https://cdn.prod.website-files.com/6889473510b50328dbb70ae6/6aba736348bdf4f08183f463_AI%20Native%20SDLC%20Playbook_designv2%20(1).pdf).
1331
+
1332
+ A commit of the story also carries its change reference. Each commit on the current branch that
1333
+ changes a migration or a container file (the same paths the `change-reference` hook of the
1334
+ regulated profile watches: `migrations/`, `prisma/migrations/`, `docker/`, `Dockerfile`,
1335
+ `docker-compose.yml`; the two lists are kept aligned in the kit) and belongs to the story (its
1336
+ `Slice: <row id>` trailer, else its message naming a row of it, else its subject naming the story,
1337
+ word-bounded) must carry a `Change: <id>` trailer, the id the change process of the team gives.
1338
+ One without it is listed with its short sha, its subject and the files, under "Without a change
1339
+ reference"; it blocks the story when the config says `agents.profile: regulated` or with
1340
+ `--strict`, and is listed without blocking otherwise. The fix: add the trailer before the pull
1341
+ request, `git commit --amend` for the last commit, an interactive rebase of the branch for an
1342
+ earlier one. Three git calls at most, on the commits that touch such a file.
1343
+
1230
1344
  It reads the files and git only. It exits 0 when the story can close (one line, then the markers
1231
1345
  listed without blocking, if any), 1 when something keeps it open, each blocker with why it is its
1232
1346
  own (`names #M1.01`, `written by a782a19 Slice: M1.02`, `no other open story in payments`), its
1233
1347
  `file:line` and its fix (handle it, or dismiss it by a decision record,
1234
- `npx ddd-ts-kit generate adr "<title>"`, then delete the marker), and 2 on a code no row carries or
1235
- without a slices table. `--json` prints
1236
- `{ story, rows, contexts, unread, strict, open: [{ id, context, slice, status }], markers, unattributed, others, canClose }`,
1348
+ `npx ddd-ts-kit generate adr "<title>"`, then delete the marker), each name of its design the
1349
+ code lacks with its `file:line` in the review, each commit without its change reference, and 2
1350
+ on a code no row carries or without a slices table. `--json` prints
1351
+ `{ story, rows, contexts, unread, strict, open: [{ id, context, slice, status }], markers, unattributed, others, design, unreferenced, regulated, canClose }`,
1237
1352
  each marker being `{ kind, context, file, line, text, attribution: { by, rows, commit? } }`, with
1238
1353
  `why`, `sharedWith` and `fix` in `markers` and `unattributed`; `by` is `text`, `commit`, `worker`
1239
- or `none`.
1354
+ or `none`; each name of `design` being `{ row, document, line, cited, kind, why, fix }`; each
1355
+ commit of `unreferenced` being `{ sha, subject, files, rows, fix }`, and `regulated` true under
1356
+ the regulated profile.
1240
1357
 
1241
1358
  ```
1242
1359
  $ npx ddd-ts-kit story-check M1
@@ -1259,6 +1376,30 @@ Not blocking: 1 marker of these contexts belongs to rows of US2.
1259
1376
  Once each is settled: npx ddd-ts-kit story-check M1
1260
1377
  ```
1261
1378
 
1379
+ A done row whose section cites what was not built:
1380
+
1381
+ ```
1382
+ $ npx ddd-ts-kit story-check US5
1383
+ US5 cannot close: every row done, 0 markers of its own left, 1 name of its design not in the code.
1384
+
1385
+ Departed from its design (1): update the section of the row in docs/architecture/reviews/US5.md to what it built, or list the name under `### Compromises` of `## Report` in docs/architecture/stories/US5.md with why
1386
+ docs/architecture/reviews/US5.md:12 `OrderNumberTaken` (#US5.02, no class, interface, type or function OrderNumberTaken is declared or imported under the source root)
1387
+
1388
+ Once each is settled: npx ddd-ts-kit story-check US5
1389
+ ```
1390
+
1391
+ A migration commit of the story without its change reference, under the regulated profile:
1392
+
1393
+ ```
1394
+ $ npx ddd-ts-kit story-check M1
1395
+ M1 cannot close: every row done, 0 markers of its own left, 1 commit without a change reference.
1396
+
1397
+ Without a change reference (1, agents.profile regulated): add the trailer `Change: <id>` to the commit, with the id the change process of the team gives (`git commit --amend` for the last commit, an interactive rebase of the branch for an earlier one), before the pull request
1398
+ a782a19 feat(billing): add the paid_at column to invoices (Slice: M1.02; src/platform/database/migrations/0002_paid_at.sql)
1399
+
1400
+ Once each is settled: npx ddd-ts-kit story-check M1
1401
+ ```
1402
+
1262
1403
  Once the three are settled:
1263
1404
 
1264
1405
  ```
@@ -1271,6 +1412,65 @@ Not blocking, unattributed (1): settle each, or name its row in the marker (`TOD
1271
1412
  Not blocking: 1 marker of these contexts belongs to rows of US2.
1272
1413
  ```
1273
1414
 
1415
+ ## measures
1416
+
1417
+ ```
1418
+ ddd-ts-kit measures [--since <date>] [--story <code>] [--by-author] [--format text|json]
1419
+ ```
1420
+
1421
+ What the loop of a story costs and leaves, read from the git history of the current branch
1422
+ (`git log`, nothing else) and the files of `docs/architecture/` (the stories, the reviews, the
1423
+ intents under `intents/`, the incidents under `incidents/`, `slices.md`) and of
1424
+ `test/acceptance/` (the locks and the verdicts): the indicators the
1425
+ [AI-native SDLC playbook of Anthropic](https://cdn.prod.website-files.com/6889473510b50328dbb70ae6/6aba736348bdf4f08183f463_AI%20Native%20SDLC%20Playbook_designv2%20(1).pdf)
1426
+ names for each of its plays, in the terms of the kit. One line per story of
1427
+ `docs/architecture/stories/`, then the medians and the shares of the period. It reads, writes
1428
+ nothing and asks nothing of the platform.
1429
+
1430
+ | Measure | From |
1431
+ |---|---|
1432
+ | design time | the first commit of `docs/architecture/stories/<code>.md` to the commit of `test/acceptance/<code>.acceptance.lock.json` |
1433
+ | build time | the lock commit to the first commit whose `## Report` holds text |
1434
+ | lead time | the first commit of the story file to the commit of the current branch whose subject names `story/<code>` (a merge commit first, else a squash commit that names the branch); `open` without one |
1435
+ | requirements rework | the commits that changed `## Acceptance criteria` after the first commit carrying a `Slice: <code>.<n>` trailer; the amendments of the lock (each an `amend` verdict); the `refuse` verdicts of `test/acceptance/verdicts/` |
1436
+ | provisional decisions | the `D<n>` lines of the story file |
1437
+ | compromises | the items under `### Compromises` of the report |
1438
+ | review | the `TODO(review)` lines the commits of the story removed (settled) and wrote (opened), from `git log -S`; the items under `## Findings` of `docs/architecture/reviews/<code>.md` by pass (a `### <pass>` heading, else the word before the colon of the item, else `unsorted`); the repeats: a rule id or a remark text seen in two stories, the mistake the guide of the team should have caught |
1439
+ | verification | whether the report has a `### Verification` block naming `npm run verify` |
1440
+ | parallelism | the other stories whose first and last commits overlap this one in time |
1441
+ | origin | whether `## Origin` names an intent (`intents/<name>.md`), a ticket (`SHOP-12`, `#12`, a URL) or an incident (`incidents/<name>.md`) |
1442
+ | repeat incidents | a story whose origin names an incident whose record carries the same `message` or `error_code` (a line of its front matter or of a list) as an earlier record of `docs/architecture/incidents/` |
1443
+
1444
+ A commit belongs to a story when it carries a `Slice: <code>.<n>` trailer or touches one of its
1445
+ files. Times are in hours (`5h`, `1d 2h`); the summary gives the median of each over the stories
1446
+ that have it, lead time over the closed ones. On a trunk where every pull request is squashed,
1447
+ the phases of a story collapse into one commit and its design and build times read as zero: run
1448
+ the command on the branch of the story (its worktree) before it lands, or keep merge commits.
1449
+
1450
+ - `--since <date>` keeps the stories whose first commit is on or after that day (ISO 8601).
1451
+ - `--story <code>` keeps one story, whatever the case of its code.
1452
+ - `--by-author` adds who opened each story and a table per author (stories, closed, median lead
1453
+ time). Off by default: a measure read per person changes what people do, and the playbook's
1454
+ measures are of the loop, not of its people. Ask for it when the team agreed on it.
1455
+ - `--format json` (or `--json`) gives the same as data for a dashboard:
1456
+ `{ branch, since?, stories: [{ story, file, author?, opened?, designHours?, buildHours?, leadHours?, merged?, rework: { criteriaChanges, amendments, refusals }, decisions, compromises, verification, origin?, review: { settled, opened, findings, repeats }, overlaps, repeatIncident? }], summary, byAuthor?, notComputed }`.
1457
+
1458
+ Not computed in this version, because they come from the platform and its API is not read: the
1459
+ time to the first review of a pull request and whether its CI was green on the first run. A
1460
+ later version may read them with `gh` or `glab`; nothing is sent anywhere.
1461
+
1462
+ ```
1463
+ $ npx ddd-ts-kit measures --since 2026-03-01
1464
+ Measures of main since 2026-03-01: 2 stories, 1 closed (merged on this branch).
1465
+
1466
+ US5 opened 2026-03-01 design 1d build 3d lead 5d (merged 991050c) rework 1 criteria change(s), 1 amendment(s), 0 refusal(s) decisions 2 compromises 2 review 1 settled, 1 opened, repeats language/glossary-term verification yes origin ticket overlaps US6
1467
+ US6 opened 2026-03-03 design open build open lead open rework 0 criteria change(s), 0 amendment(s), 0 refusal(s) decisions 0 compromises 0 review 0 settled, 0 opened, findings 2 bugs, 1 security, repeats language/glossary-term verification no origin incident (repeats docs/architecture/incidents/inc-1.md) overlaps US5
1468
+
1469
+ Medians: design 1d, build 3d, lead 5d over 1 closed; 0.5 criteria change(s), 1 decision(s), 1 compromise(s), 0.5 marker(s) settled per story.
1470
+ Verification: 1 of 2 report(s) name `npm run verify`. Origin: 2 of 2 name an intent, a ticket or an incident. Parallel: 2 built while another one was. Repeats across stories: 1 (language/glossary-term). Repeat incidents: 1.
1471
+ Not computed: time to first review and first-run CI status come from the platform (its API is not read).
1472
+ ```
1473
+
1274
1474
  ## doctor
1275
1475
 
1276
1476
  ```
@@ -1279,11 +1479,16 @@ ddd-ts-kit doctor [--strict]
1279
1479
 
1280
1480
  What an upgrade left to do: the scripts, the packages of the kit (at the ranges of this version)
1281
1481
  and the permissions of the agents that this version writes and the project lacks or writes
1282
- otherwise, then the git hooks. `lefthook.yml` must hold `lefthook: node_modules/.bin/lefthook`,
1482
+ otherwise (under `agents.profile: "regulated"`, each line of the sandbox block too, as
1483
+ `permission sandbox.<key>`, and each hook of the profile the settings do not register, as
1484
+ `permission hooks.<name>`), then the git hooks. `lefthook.yml` must hold `lefthook: node_modules/.bin/lefthook`,
1283
1485
  which makes each checkout and each worktree run its own lefthook and fail a commit, loudly,
1284
1486
  when its dependencies are missing; the fix is that line, or `init --force` for the whole file.
1285
1487
  The pre-commit hook under `git rev-parse --git-path hooks` must exist and come from lefthook;
1286
- the fix is `npm run hooks:install`, once per clone.
1488
+ the fix is `npm run hooks:install`, once per clone. Then the guidance written once for the team
1489
+ to own: `REVIEW.md`, the review policy, and under the regulated profile the two hooks of
1490
+ `.claude/hooks/`, are reported missing (`guidance`) and `init` writes them again without touching
1491
+ anything else.
1287
1492
 
1288
1493
  Then what this checkout lacks to run the project, the state of a clone or a new worktree rather
1289
1494
  than of the project, read from its files without network: the running Node against
@@ -1305,8 +1510,8 @@ installed or at another version, a submodule not initialised. A script written o
1305
1510
  this clone has not installed, a Node `.nvmrc` does not name while `engines.node` accepts it, and a
1306
1511
  lockfile changed since the install (a checkout may rewrite it with what `node_modules` already
1307
1512
  holds) are said without failing it. `--json` prints `{ version, findings: [{ area, name, problem,
1308
- expected, found }] }`, `area` being `script`, `package`, `permission`, `hook`, `node`, `install`
1309
- or `submodule`.
1513
+ expected, found }] }`, `area` being `script`, `package`, `permission`, `hook`, `guidance`, `node`,
1514
+ `install` or `submodule`.
1310
1515
 
1311
1516
  ## worker-scope
1312
1517
 
@@ -1366,6 +1571,51 @@ the worktrees of a context two workers build: choose one with `--worktree` or `-
1366
1571
  `--json` prints `{ context, worktree, root, branch, base, progress, next, sendMessage, briefing,
1367
1572
  notes }`.
1368
1573
 
1574
+ ## story-scope
1575
+
1576
+ ```
1577
+ ddd-ts-kit story-scope <story> [--from <file>] [--kind story|fix] [--base <ref>] [--worktree <path>] [--branch <name>] [--no-install] [--dry-run]
1578
+ ```
1579
+
1580
+ Opens the worktree of one story, where one session takes it from its questions to its pull
1581
+ request while other sessions take other stories: `.worktrees/<story>` of the main checkout on the
1582
+ branch `story/<story>`, cut from `--base` (by default the branch the current one follows,
1583
+ `origin/main` from the trunk; refused from the worktree of another story, whose branch would
1584
+ become the base), its clean install unless `--no-install`, and `.ddd-ts-kit/story.json`
1585
+ (`{ story, base, baseCommit, branch, kind, from }`). An existing worktree of the story is kept
1586
+ and the story resumes there; a story open in another worktree is refused: two sessions never take
1587
+ the same one. The other open stories are named with the contexts their rows change. `--dry-run`
1588
+ creates, writes and installs nothing.
1589
+
1590
+ `--kind` says what the story is: `story` (the default), or `fix`, a story built behind the
1591
+ regression specs listed under `## Regression` of its file and locked, as the `fix` skill writes
1592
+ it. `--from <file>` records where the story comes from: an intent,
1593
+ `docs/architecture/intents/<slug>.md`, refused unless its header says `Status: accepted`, or an
1594
+ incident record, `docs/architecture/incidents/<id>.md`, accepted as it is. Both are written to
1595
+ `story.json`, relative to the project root, and kept when the story resumes without them. While
1596
+ `docs/architecture/stories/<story>.md` does not exist, the `Next:` line says that the story skill
1597
+ seeds its statement from the origin. `--json` prints `{ story, kind, from, seeds, dryRun,
1598
+ worktree, branch, base, created, install, others, notes }`.
1599
+
1600
+ ## story
1601
+
1602
+ ```
1603
+ ddd-ts-kit story [<story>] [--gate build|close]
1604
+ ```
1605
+
1606
+ Where a story stands, phase by phase, and the next step: its specification and criteria
1607
+ (`docs/architecture/stories/<story>.md`), its rows in `slices.md`, a design review section per
1608
+ row not done (`docs/architecture/reviews/<story>.md`, `## #<id>`), its acceptance written and
1609
+ locked, its rows done with no marker of its own left, its acceptance passing, its trunk merged
1610
+ in, its `## Origin` (`From:` and `Built with:`), its `## Report` with `### Verification` naming
1611
+ `npm run verify`. In the worktree of a story, the story is its own. `--gate build` exits 1 until
1612
+ the first four phases are met (the code may start: the guard of the plugin opens the contexts);
1613
+ `--gate close` until all are. For a story of kind `fix` (its `story.json`, or a `## Regression`
1614
+ section in its file), the rows and their design are optional, the acceptance phase reads the
1615
+ specs listed under `## Regression` instead of `test/acceptance/`, each of which must exist, and
1616
+ no passing phase is read: the regression specs run with the tests of the project. `--json`
1617
+ prints `{ story, gate, met, next, phases }`.
1618
+
1369
1619
  ## cited
1370
1620
 
1371
1621
  ```
@@ -1730,7 +1980,7 @@ const due = handler.isDueNow(new Reminder(new Date('2026-03-01T09:00:00Z'))); //
1730
1980
  | `context/declared-relationship` | an import of a published language whose context is not a declared upstream |
1731
1981
  | `context/published-language-is-a-contract` | `published-language/` importing anything but its allow-list and other published languages |
1732
1982
  | `context/no-cycle` | a cycle in the declared upstreams, with its path |
1733
- | `tree/closed` | a directory outside the canonical tree and `extraDirectories`; a source file outside a role directory; in the declared style `<context>.declarations.ts` is accepted at the root of a context, and the `<folder>.declarations.ts` of a role folder in that folder |
1983
+ | `tree/closed` | a directory outside the canonical tree and `extraDirectories`; a source file outside a role directory; in the declared style `<context>.declarations.ts` is accepted at the root of a context, and the `<layer>.declarations.ts` of a layer in that layer |
1734
1984
  | `tree/context-doc` | a missing `CONTEXT.md`, a missing section, a classification that contradicts the config |
1735
1985
  | `naming/suffix` | a file without the suffix of its role, or not in kebab-case. `application/scheduling/` holds `*.job.ts`; a use case folder accepts `*.result.ts` next to its message and its handler; `presentation/http/<context>.routes.ts`, named after its context instead of a role, is accepted in both styles |
1736
1986
  | `naming/one-concept-per-file` | several exported classes in an aggregate, entity, value object, event, command, query, handler, event handler, integration event handler or job file; in the declared style, several classes carrying a declaration decorator in one role file |
@@ -1762,7 +2012,7 @@ const due = handler.isDueNow(new Reminder(new Date('2026-03-01T09:00:00Z'))); //
1762
2012
  | `clean/file-size` | a file of more than 350 lines, sources and tests; a path with a segment `generated` and declaration files are exempt |
1763
2013
  | `composition/only-in-module` | `new X`, or `bind(..).toClass(X, ..)` and `rebind(..).toClass(X, ..)`, of a class imported from `infrastructure/`, outside the module file, `main.ts`, the platform and tests; in a file importing `@ddd-ts-kit/di`, a call of `contextModule`, `discoverContext` or `.include(` outside those places and `apps/<context>/main.ts` |
1764
2014
  | `imports/alias-only` | under the source root, `test/` and `scripts/`: an `import`, `export ... from` or `import()` with a relative specifier, the same directory included (the fix names the alias to write; `eslint --fix` writes it); an alias specifier with a `.` or `..` segment |
1765
- | `imports/extension` | under the source root, `test/` and `scripts/`: with `importExtension` `none`, an alias specifier that ends with `.js`, `.mjs`, `.cjs`, `.ts`, `.mts` or `.cts`, or that names a directory holding an `index.ts`; with `js` (or no key), an alias specifier that does not end with `.js` (the fix names the specifier to write; `eslint --fix` writes it). A package subpath is never judged |
2015
+ | `imports/extension` | under the source root, `test/` and `scripts/`: with `importExtension` `none`, an alias specifier that ends with `.js`, `.mjs`, `.cjs`, `.ts`, `.mts` or `.cts`; with `js` (or no key), an alias specifier that does not end with `.js` (the fix names the specifier to write; `eslint --fix` writes it). A package subpath is never judged |
1766
2016
  | `imports/alias-declared` | an `importAlias` that is not `@/` or `$<name>/`, or that is `$test/`, `$scripts/`, `$generated/`; a `paths` entry of `tsconfig.json` missing or different from what `importAlias` gives (the fix gives the entry); another `paths` entry under an alias; a `baseUrl`; a `tsconfig.build.json` whose `paths` differ; `paths` of `knip.json` mapping an alias; a script that compiles (`tsc` without `--noEmit`) and does not run `ddd-ts-kit build-aliases` afterwards; a script running `tsx --tsconfig` on another file; a `vitest` config at the root without `tsconfigPaths: true`, a `jest` config without the derived `moduleNameMapper` entries, or `.dependency-cruiser.cjs` without `tsConfig`; `module` and `moduleResolution` of `tsconfig.json` (or of a `tsconfig.build.json` that sets its own) that are not what `importExtension` gives: `ESNext`, `Bundler` and `customConditions` holding `node` under `none`, and under `js` a written value that is not a Node resolution; a jest mapping whose pattern does not end as the imports do. A project without `package.json` is not judged |
1767
2017
  | `config/valid` | unknown upstream, classification, relationship, rule id, `guard` mode or `importExtension`; a context missing on disk or in the config; a `commit` limit that is not a positive integer |
1768
2018
  | `config/suppression-needs-reason` | a suppression without a rule id or a reason (kept as an alias next to `governance/recorded-deviation`, which judges the reason) |
@@ -1788,7 +2038,7 @@ const due = handler.isDueNow(new Reminder(new Date('2026-03-01T09:00:00Z'))); //
1788
2038
  | `context/extractable` | a module file importing another context outside its published language; persistence importing another context's infrastructure or naming its schema; a handler importing another context's repository; `export let` or an exported `new Map`, `Set`, `WeakMap` at module level; `deployable: true` without `apps/<context>/main.ts`; in the declared style, a role file importing anything of a port file of another context |
1789
2039
  | `governance/recorded-deviation` | a `ddd-ts-kit-disable` or `eslint-disable` comment whose reason names no `ADR-<number>` with a file `docs/adr/<number>-*.md`; a rule set to `off` (or to `warn` below its default), an extra directory, an extra allowed package, a `guard` other than `enforce` or `stack.events` off the outbox, without a `deviations` entry `{ what, adr, reason }` pointing to an existing record |
1790
2040
  | `declarations/role-declared` | declared style only: a role file (other than `*.command.ts` and `*.query.ts`, held by `authz/declared`; `*.job.ts` under `application/scheduling/` with `@Scheduled` and `*.publisher.ts` with `@DomainEventHandler` are roles) exporting no class with the decorator of its suffix and folder, or one carrying another declaration; a declared class in a file that is not a role file; a `consumer` or `name` option that is missing, empty, a variable, a concatenation or a template with a substitution; any declaration decorator on a class under `domain/` |
1791
- | `declarations/barrel-current` | declared style only: with `stack.assembly: barrel`, a missing `<folder>.declarations.ts` of a role folder or one that differs from one `export *` per role file of the folder sorted by path followed by one `injected(Class, [Tokens])` per class of the folder whose constructor takes something (read from the signatures, with their imports), a `<context>.declarations.ts` that is missing or differs from one `export *` per such file sorted by path, and the declarations of a folder that holds no role file any more; with `discovery`, generated declarations that still exist, and a `<context>.dependencies.ts` that differs from those `injected` statements (absent is accepted while it would hold none). The message names the missing role file or the class whose list is stale. A context still declared in the single `<context>.declarations.ts` of 0.84, exactly as that version would write it and with no declarations file in a role folder yet, is a warning in this version (`docs --check` passes and prints it, `docs` moves it) and an error in a later minor version. It needs the tree, so `check-file` does not run it |
2041
+ | `declarations/barrel-current` | declared style only: with `stack.assembly: barrel`, a missing `<layer>.declarations.ts` of a layer or one that differs from one `export *` per role file of the layer sorted by path followed by one `injected(Class, [Tokens])` per class of the layer whose constructor takes something (read from the signatures, with their imports), a `<context>.declarations.ts` that is missing or differs from one `export *` per such file sorted by path, and the declarations of a layer that holds no role file any more; with `discovery`, generated declarations that still exist, and a `<context>.dependencies.ts` that differs from those `injected` statements (absent is accepted while it would hold none). The message names the missing role file or the class whose list is stale. A context still declared as an earlier version wrote it, exactly as that version would write it (the single `<context>.declarations.ts` of 0.84, or one `<folder>.declarations.ts` per role folder as 0.85 and 0.86 wrote them), is a warning in this version (`docs --check` passes and prints it, `docs` moves it) and an error in a later minor version. It needs the tree, so `check-file` does not run it |
1792
2042
  | `declarations/constructor-injection` | declared style only, in a role file: on a class whose decorator lists nothing, a constructor parameter that is optional, has a default value, is a rest parameter or is destructured, has no type, or is typed by anything but one class name (type arguments aside): a union, an intersection, an array, a qualified name, a type of the language, an interface, a type alias, an enum or an unexported class of the file or of the file of the project it is imported from; a class that inherits its constructor from a class the project cannot read. Under `stack.dependencies: signature`, a decorator that carries a list although the constructor can be read: one that repeats it, one that differs |
1793
2043
  | `declarations/port-adapter-wired` | a class of `infrastructure/` implementing a port that nothing wires: no `@Repository`, `@Gateway` or `@Adapter` in the declared style, and no file of the composition root (`<context>.module.ts`, `main.ts`, `apps/<context>/main.ts`, the platform) importing it, once the file carries no `TODO(domain)` or `TODO(platform)` left; one kept on purpose carries `// ddd-ts-kit-disable-next-line declarations/port-adapter-wired -- ADR-NNNN: <why>` |
1794
2044
  | `ports/abstract-class` | in a port file (`domain/repositories/*.repository.ts`, `application/ports/*.port.ts`): a class that is not `abstract`; a member that is not an abstract method or property (`static readonly tokenKey = '<text>'` apart): a constructor, a body, an initializer, a `private`, `protected` or `#` member; an exported `interface` (a `type` alias, a data shape, is not reported) |