Skip to content

cctoolkit 2.22.1

Choose a tag to compare

@pierrebelin pierrebelin released this 24 Nov 11:01
· 1 commit to main since this release
  • cctoolkit /cctoolkit:run-change: the draft now judges how big the change is, not how many rules it touches. It takes the change when it fits one batch: one bounded context, at most five cycles and twelve production files, no new aggregate, entity, use case, endpoint or migration. Inside that, rules added (their ids taken with next-id) or rewritten, an existing use case adjusted, a field added to a request or a command, a port extended and a decision overturned are all in. Before, it stopped on anything but one existing rule changed, so a short change such as a new choice on an existing command (a value typed or generated, as at creation) was sent to /business-spec. An open point is settled on what the code already does elsewhere (the request says "as at creation" → what creation does) and listed as an assumption to validate; the run stops AMBIGUOUS only when the request contradicts itself or nothing in the code chooses. OUT_OF_SCOPE becomes TOO_BIG. The result lists every object of the delta, before and after, instead of one rule.