Docs

Checked releases

Let Wilow prepare, build and check a new version on your computer, stop and ask, and publish only when you say so.

A release is the version people install or download. Wilow makes it for you: it prepares, builds and checks the new version on your computer, and publishes it only if every check passes. You choose whether it publishes by itself or waits for you.

Who publishes

On the project's Release card in the Control Panel, the owner chooses:

  • Wilow, by itself (the default). Each change you approve becomes part of the next version, which Wilow builds, checks and publishes. Changes approved while a version is being built go out together in the one after it.
  • Me, for things people install. Apps, tools and packages wait for your Publish. A website still goes live when a change merges.
  • Me, for everything. The website waits too: each merge builds it, and it goes live when you press Publish the website.

In both cases the card lists what is approved but not released yet, and the chat line of a merged change says when the people who use your product will get it.

App stores

For a store, Publish means the new version was sent to the store. Stores review every version, so for a release marked with store: Wilow suggests publishing by hand.

What a release does

Whoever starts it, a release runs the project's own steps in order:

  1. Prepare. Wilow sets the new version; your steps update whatever else names it.
  2. Build. Your build commands make the files to publish.
  3. Check. Your checks decide whether what was built may go out.
  4. The stop (when you publish by hand). Wilow says what each check reported and shows the release notes, which you can change here before you press Publish. Nothing has left your computer.
  5. Publish. By itself when publishing is automatic; otherwise only after you press Publish for that version.
  6. Confirm. Your steps check that what is now public is what was built.

The project chat says the same in words at every turn, so you can follow a release, and publish it, from your phone.

A release and the AI take turns

Building and checking a product takes a lot of the computer's memory, and so does the AI when it builds or tests. Before each build or check step, a release waits while the AI is in the middle of a piece of work on that computer, or while memory is short; the Release card says what it is waiting for. It goes on by itself, at the latest after 30 minutes of waiting in all. While a release builds, work Wilow starts by itself (autopilot, merging pull requests) waits for it. Your own messages are never held back.

The release notes

When a version is built and checked, the card shows the release notes people will read, in a box you can change before you press Publish. The box says "This is what people will read. Change it if something is missing or unclear.". Edit it and press Save notes (only offered when the text changed and is not empty); while you have unsaved changes, Publish is off and the card says to save or press Undo changes. The card confirms the save — it saysNotes saved. only once Wilow holds your text, and says it could not save them otherwise. Nothing is public until Publish, so a correction here is always in time.

Wilow writes a first draft from the change records merged since the last version: the whole first paragraph of each record's intent, one line per sentence (at most five lines per record; a piece of three words or fewer — a short sentence, or one that opens with a short phrase like "Try again." — is joined to the line before it, so a bullet is never a fragment), so a record that fixed three things names all three. A change's description writes in double quotes what a person sees on screen — the card says "Notes saved." once Wilow has it — so such a phrase never splits a bullet. TheNot released yet list and changes/INDEX.md keep the first sentence only.

What a publish step should do

RELEASE_NOTES is a file holding the notes as you left them. A publish step must read it at publish time, not a copy it made while preparing, so an edit you made in the card after the build still reaches the release. Wilow's own release does exactly that: prepare writes the notes file fromRELEASE_NOTES, and publish builds it again from the same file before publishing.

Declaring it

In governance/release.yaml. /kickoff and /autonomy write it when the product is something people install or download; you can also ask Wilow for it in a workstream.

releases:
  - name: app
    version: package.json            # a JSON file whose "version" is the current version
    try: built                       # optional: a preview stack that runs what was built
    prepare:                         # may change files (release notes, other version numbers)
      - node scripts/release/prepare.mjs
    build:
      - { in: app, run: npm run dist, minutes: 30 }
    check:
      - node scripts/release/check.mjs
    publish:                         # the only steps that leave your computer
      - node scripts/release/publish.mjs
    confirm:                         # after publishing: is it really out
      - node scripts/release/confirm.mjs
KeyMeaning
versionA JSON file inside the project. Wilow reads the current version there and writes the new one.
prepareOptional steps that change files in the project. They are committed with the release.
buildRequired. The commands that make what will be published.
checkOptional, and the point of it all: each step that fails stops the release.
publishRequired. Runs only after you press Publish, with your own sign-ins.
confirmOptional steps after publishing and pushing.
tryOptional: the name of a preview stack that runs what was built.
storeOptional: the store this goes to, in one word (apple, google). Wilow then suggests publishing by hand.

A step is one command, or { in: <folder>, run: <command>, minutes: <limit> }. A command is one line of plain words: a runtime (node, npm, npx, python, uv and the like) and paths inside the project. Put anything longer in a script of your project and run that.

What every step receives

VariableMeaning
RELEASE_VERSIONThe version being released.
RELEASE_PREVIOUSThe version before it.
RELEASE_NAMEThe release's name.
RELEASE_STAGEprepare, build, check, publish or confirm.
RELEASE_WORK_DIRA folder outside the project, kept per version, for downloads and anything to stage.
RELEASE_NOTESA file holding the notes as you left them — the draft Wilow made from the change records, or what you changed in the Release card. A publish step reads it at publish time.

The last line a step prints is what the Release card shows for it, so let a check end with one sentence saying what it found.

What Wilow guarantees

  • A release starts only from the project's main version, with nothing uncommitted, level with the repository, and for a version higher than the current one.
  • Nothing is uploaded, pushed or published before every check has passed, and, when you publish by hand, before you press Publish.
  • If a step fails, or you cancel, the project's folder is put back exactly as it was. What the release had changed is kept aside in git (a stash named after the release), not thrown away.
  • Publish works only for the version that is waiting, and only while the folder is still what was checked. If anything changed since, Wilow refuses and you start again.
  • While a release runs or waits, changes waiting to merge wait too.
  • After the publish steps Wilow commits what the release changed as one commit, pushes it, then runs the confirm steps.

If publishing stops half-way

A publish step that fails stops the release there. Part of it may already be public, so Wilow undoes nothing. Fix the cause and press Try publishing again: it continues from the step that failed.

Trying what was built

With try:, the stop also offers Open the built version. It opens the named preview stack from the project's folder: on its own test data, marked as a preview, beside the real product. Mark a stack for: release when it runs the build's output and not the source; such a stack is offered only here and is never asked for when a change is reviewed.

Limits

  • Only the project's owner releases, on their own computer.
  • A release builds for the computer it runs on. Builds for another system are a separate step.
  • Wilow keeps the order, the stop and the clean-up. How thorough the checks are is the project's.
  • A published release is not taken back automatically.