Skip to content

Releases

turri 0.6.0

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.

turri 0.5.1

Choose a tag to compare

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

Added

  • A capture shows how far it has got: its agent gives a plan first, and above the input its phases are drawn with a bar under them - the percentage, what it is on, how many of how many, and how long it has run. turri capture writes each step to stderr.
  • Open the captured project once a capture is done: turri asks whether to open turri in the newly captured ***plain project, and on yes opens there, its first chat showing the capture's report.
  • A capture's testing scripts are written while it captures - in the background, from its first module - not left for the end.
  • Built on @turri-dev/core 0.5.1: a coding agent is told its shell already starts in its folder.

Fixed

  • Capturing a codebase leaves it as it was: turri no longer writes its ledger or its record of chats in the codebase's folder, only in the plain project the capture writes.
  • A captured project opens with no config warnings: its config.turri.yaml keeps only the settings turri reads, old names written under their new ones.
  • A capture gone on with is done only with this run's report, and the plan of one that finished is not shown again as done.
  • An agent can no longer leave a config.turri.yaml unreadable: a write or edit that would break it is refused, with the line and what is wrong.

turri 0.5.0

Choose a tag to compare

@zanjonke zanjonke released this 02 Dec 13:02
npm install -g @turri-dev/cli
turri doctor

Breaking

  • turri capture is the chat's /capture, run unattended - turri -p "/capture [path]": the chat's own agent captures the codebase from a map of its code, writing a small codebase itself and handing a large one to writers side by side; nobody is asked, and turri ends as the capture does, its working files and report in plain/.turri/capture/. The staged pipeline's options and its progress view are gone, and a chat no longer reopens itself in the captured project: open turri in plain/ to regenerate it.

Added

  • A global config: turri init-config --global writes ~/.turri/config.turri.yaml, which every project reads under its own config.turri.yaml - a project's file overrides any key of it. command-timeout there, or in a project's config, is how long a command and each testing script run may take.
  • Built on @turri-dev/core 0.3.0: a project of long requires chains parses, opens and is mapped in seconds rather than minutes, and agents of a kind share their cached prompt - a chat waiting on its sub-agents keeps its cache on Bedrock.

turri 0.4.2

Choose a tag to compare

@zanjonke zanjonke released this 23 Nov 12:50
npm install -g @turri-dev/cli
turri doctor

Breaking

  • turri cuts the work into pulses by itself: you no longer tell it which functional specs go together or what goes first. The chat's steer is gone, and so are regenerate's guidance and an AGENTS.md section headed for the queue, which turri now ignores. To have something built differently, change the ***plain. /regenerate takes functional specs and from scratch only, and refuses other words instead of passing them on. Steering a pulse while it runs is unchanged: a change to what it is building still reaches its coding agent, which lands the ***plain as it now is.

Fixed

  • Each module is tested with its own stack's testing script: in a project of a backend and a frontend, the frontend's first pulse could run the backend's Python testing script and land code that could not build. When the testing scripts are being written for both modules, the second now waits its turn instead of being turned away, and its module waits with it. A module never takes a script another module's config file names, and one without its own waits for it instead of starting a pulse.
  • Fewer commands refused for nothing: an agent's command with a > or < inside quotes (grep -rl "</content>" .), or one writing a file's text through cat > file <<'EOF', is no longer refused as a redirection or a path outside its folder. A refusal now names the file a command writes, not a 2>/dev/null after it.

turri 0.4.1

Choose a tag to compare

@zanjonke zanjonke released this 22 Nov 11:12
npm install -g @turri-dev/cli
turri doctor

Fixed

  • Launching on Windows: a launch no longer fails before it starts with Could not export <module>'s code ... tar: ... Cannot open: No such file or directory - Git Bash's tar read the backslashes in the project's path as escapes.
  • Paths on Windows: turri tells whether a file is inside a folder, names a codebase's files and the .plain files in a ***plain diff, and hands your testing scripts their folders the same way on Windows as on macOS and Linux. The testing scripts get C:/Users/..., which Git Bash's tools read as it is, and a path on another drive is no longer taken for one inside the project. Windows with Git for Windows' bash is supported as macOS and Linux are, no longer best effort - with no OS sandbox under the agents' commands, the command check and the audit holding alone.
  • PLAIN_TEMPLATE_DIRS is split as PATH is: on ; on Windows, so a C:\ folder is no longer cut in two.
  • The testing scripts turri writes run on macOS, Linux and Windows alike: a Java one no longer needs macOS's java_home, which failed it on Linux - it takes JAVA_HOME, else the java on the PATH; a Python one finds its virtual environment's tools on Windows too, and an interpreter that really runs; a conformance testing script finds its tests folder from a Windows path; and none uses a tool only some machines have. Scripts already in your project stay as they are.
  • A Python unit testing script written from turri's template no longer fails the static checks of a clean build by checking uv's own cache.

turri 0.4.0

Choose a tag to compare

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

New

  • Launches across a requires chain replace one another: each module of a chain is launched from its own codebase, so the server of the module below used to keep its port and every launch above it failed. Now a launch stops what launches of the modules below it started - their code is in it - waits for one of them under way, and says what it stopped. The newest build of the chain is what answers at its URL.
  • A launch takes what turri's own launches hold: a port held by a server another module's launch started is taken, and said; anything else such a server holds - a socket, a lock or pid file, a container name - the launch agent frees with stop_launched. A process turri did not start, or another running turri's, is never stopped.
  • What holds a port is said truthfully: this turri's launch, an earlier session's, another turri still running, or a program turri did not start - with the launch, module and commit, and how you free it from the chat. No launch claims a server turri started is someone else's.
  • The sentinel tests a lower module's pulse in the launch above it, which holds its code, and asks turri what holds a port with who_holds - its sandboxed shell cannot see other processes.

Fixed

  • Two modules' servers with the same name no longer stop each other, and turri no longer loses track of one.
  • A launch exports the module it was asked for, even when a module is built on it meanwhile.
  • activate gives its log's whole path, so the launch summary points at the right file.
  • turri init-config names turri doctor once, without the removed --models.

For hosts

  • A launch's summary is the launch agent's words alone - where it runs, or why it did not come up. What turri stopped for it is stopped: one entry a process - why (below, held, left-behind), module, launch, commit, name, pid, url, held - filled in as it happens. launchText(launch) puts the two together as the chat reads them; LaunchStopped is exported with it.
  • A launch whose servers a newer launch stopped comes again through onLaunch with replacedBy - which may now name a launch of another module.
  • New ledger events: launch.freed and launch.replaced.

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.

turri 0.2.3

Choose a tag to compare

@zanjonke zanjonke released this 15 Nov 10:55
npm install -g @turri-dev/cli
turri doctor

New

  • /conform: writes and runs a module's conformance tests from the chat - /conform [module | file.plain] [module:func-id ...] [one by one] - the functional specs named, or every one with scenarios, in one pulse or one a functional spec. With conformance tests off, it turns them on first and says so. When it would start nothing - no scenarios, a functional spec named that is not there or has none, no test reqs or no conformance testing script - it says so before anything else, and turri answers at once in the chat: why, and an offer to write what is missing. A host's buttons can send it as they send /regenerate, with no model turn before the pulse.
  • Pi packages without pi: turri install, update, remove and list run pi's own package commands - the pi-claude-code extension a Claude subscription needs installs with turri install, with no pi on the PATH. turri update updates packages only, never the pi inside turri.

Docs

  • The README's intro, quick start, why and how it works, rewritten.

turri 0.2.2

Choose a tag to compare

@zanjonke zanjonke released this 05 Nov 14:02
npm install -g @turri-dev/cli
turri doctor

Fixed

  • Every pulse says what it does: a pulse that makes the whole of an edit in one go - an edit that only rewords functional specs already built, or changes a definition or an implementation req, or one no plan of holds together - was titled just "regenerate". It is now titled by what the edit does (Expired links answer 410 and the stats page goes, Links are kept for 30 days), and when no title can be had, by what it changes first and how many more (Follow-link answers 410 for expired links, and 2 more). No pulse is titled "regenerate" any more. Pulses already in the ledger keep their titles.

turri 0.2.1

Choose a tag to compare

@zanjonke zanjonke released this 05 Nov 06:55
npm install -g @turri-dev/cli
turri doctor

New

  • A Claude subscription: turri runs on the providers your installed pi extensions register - a Claude subscription through pi-claude-code - in the chat and in headless commands, doctor and init-config alike. init-config offers the vendor claude-code; doctor checks the extension, Claude Code on the PATH, its sign-in and subscription. See docs/claude-subscription.md.
  • Which turri runs: turri --version, doctor and the banner say where this turri is, the newest on npm and every turri on the PATH - and how to update when the one running is not the newest. A turri run from a clone is never told to update.
  • The sentinel fixes the project's tooling: it edits the testing scripts and their config itself, resumes the module and tells you with a notice - it never changes ***plain.
  • Nothing installed system-wide: no agent, chat or tool installs anything system-wide or changes a system setting; such a command is refused.
  • For hosts: check({ module, funcIds }) asks the sentinel to check functional specs of a module's release; projectStanding (every module's drift and completion in one call) and requiresOrder; TurriHost.pulseEndsShown.

Faster

  • On a large project, committed records are read once and parses kept across calls: drift 4.9 s to 0.9 s cold and 38 ms after, completion 8.6 s to 1.2 s, the parse and check 8.7 s to 1.1 s.

Fixed

  • Regenerating from scratch says it deletes the code and then starts regeneration.
  • The chat no longer refreshes the stack's needs as a session starts.