Skip to content

turri 0.6.0

Latest

Choose a tag to compare

@zanjonke zanjonke released this 03 Dec 16:42
npm install -g @turri-dev/cli
turri doctor

Added

  • Capture a codebase piece by piece, by what it does: turri capture the billing functionality (or /capture the billing functionality in the chat) captures one functionality into the same plain/ project as the pieces before it, its modules built on theirs; with no words, the rest of the codebase - or all of it, as before. --guide <file> gives the capture guidance to follow: how you see its modules and its ***plain.
  • Go on from the captured project: once a piece is done, turri asks whether to open turri in the ***plain project captured so far, and /capture there captures on into it, from the codebase it recorded.
  • Set a project up inside an existing codebase: turri init-config --existing-codebase [codebase] writes the project in <codebase>/plain, its config saying build-into: .., so turri builds on the code there in place, and asks whether to start turri in it. When ~/.turri/config.turri.yaml names the models, init-config takes them and asks nothing about them.
  • Built on @turri-dev/core 0.6.0: build-into: builds a project's whole requires chain into one folder; a module's exact interface is kept in interface files, and a long req's detail in the module's annex; a headless turri regenerate repairs a testing script a pulse failed on and goes on.

Changed

  • The coding and conformance agents read every linked file whole, from the module's spec folder, instead of a copy cut at 8,000 characters.
  • A halt lifts once a testing script it ran changes, and a testing script written in the chat wakes the work loop.
  • In the chat, a path given to /capture is written as one - ., .. or with a / - as its first word: /capture ./app captures the folder, /capture app the functionality "app". turri capture my-app still captures the folder.

Fixed

  • turri parse refuses a link text that names two files in a module, its scenarios included, instead of letting a pulse stop on it.
  • A capture's report written as its run starts is that run's, though the file's time is a tick behind the clock.
  • A conformance test checks a linked resource against its own copy, not the copy the code keeps for itself.