Skip to content

turri 0.3.0

Choose a tag to compare

@zanjonke zanjonke released this 20 Nov 08:44
npm install -g @turri-dev/cli
turri doctor

Breaking

  • Launch replaces release: the chat has one tool, launch, which returns at once. turri exports the commit from .plaingit into dist/<module> - the working tree never touched - and the launch agent starts it in the background, on a launch track: a codebase's launches one at a time, the newest commit waiting winning, and no pulse waits on it. The release and activate tools, turri release and halt's activated are gone - launch, turri launch and /halt launched take their place. release-after-pulse is now launch-after-pulse, renamed in place in your config files on the first read.
  • A module's config comes from its requires chain: a module is built with config.turri.yaml and, over it, its own config.turri.<module>.yaml - else the one of a module it requires, all the way down. Nobody chooses a stack any more: the chat's engine and stack tools, /engine, /stack, --stack and TURRI_STACK are gone. /turri-config is now /settings, and the chat has a settings tool that reads and writes settings when you ask, refusing what is yours alone to change.
  • pulses is the one tool for a pulse: live state, what runs next, the next pulse's prompt, why one failed - this session's or an earlier one's. glimpse and turri glimpse are gone (pulses with a file, or turri regenerate --dry-run, look ahead - and the plan is kept, so regenerate starts it without planning again). change_plain, diagnose, ledger, turri change-plain and turri ledger are gone too; the chat has no lineage tool (/lineage and turri lineage stay).
  • Conformance tests are yours to turn on: the chat's conform is refused while they are off, and says why it wants them; /conform turns them on. The test advisor is gone with its test-advisor key: with tests on, the chat judges itself which functional specs need scenarios.
  • The sentinel launches nothing: it checks every pulse in order, in what is launched, once its codebase's launches are settled.
  • For hosts: onLaunch; lookAhead and plannedPulse replace dryRun, firsts, previewJobs and promptOf; evaluateTests, readAdvisor and textHash are gone; the banner's config lines are { kind, file, text }.

New

  • Write conformance tests again: /conform with functional specs named writes their tests anew instead of answering "written already"; /conform ... from scratch rewrites the module's tests, and whole chain every one of its chain's.
  • /conform writes what is missing at once - test reqs, the conformance testing script, scenarios - and regenerates, without asking you again.
  • Left-behind servers are stopped: what a killed turri session launched is stopped as the next one starts and before each launch, so an old build no longer holds the port. A launch counts as launched only while something it started is running.
  • Pulse reports are the agent's own account of what it did, handed over at the end, rather than whatever it wrote last.
  • Pulse titles say what changes: "Changes to top-words", not "Changes to what is built".
  • Why a pulse failed is kept in .turri/pulses/<id>.md past its session, whatever the debug setting.
  • Unread config keys are named under the banner - a misspelt or retired setting no longer does nothing silently.

Fixed

  • /conform gives the chat the steps it needs first as guidance, not a red error.
  • With nobody to answer (print, json, rpc modes), the chat leaves your testing scripts, config and files as they are.
  • A waiting regenerate or conform reports the pulses it ran once, instead of the chat answering two or three times.
  • A skill's shell refuses running turri itself and changes to the machine, as the chat's does.
  • The sentinel tests with inputs that tell the ***plain's way from the others, writes in $TMPDIR, and never runs the code in plain_modules.
  • The job panel keeps each line to one row; an agent's messages stay separate paragraphs.
  • A config rewritten within the same clock tick is no longer read stale.
  • turri help prints the usage; turri regenerate --dry-run says what runs it.
  • turri in the Docker image no longer tells you to update it with npm.