Skip to content

v0.5.0

Choose a tag to compare

@trivoallan trivoallan released this 15 Nov 16:32
c8a7a0f

Highlights

The reference track, question by question, on the site

The documentation now has a page for the ontrack-engineering track: what a repository gets from it, its domains, and every question it asks, blank, as your repository receives it. Each question links to how ontrack itself answered it.

Packages of questions are called tracks

ontrack's vocabulary says track where it said source, in its output, its errors and its documentation. A track is what you install; its questions become ADRs in your repository.

Your own ADRs live in docs/adr/local/

ontrack apply moves the ADRs your repository wrote itself to docs/adr/local/, next to docs/adr/<alias>/ for each track. Imported and own decisions no longer share a directory.

Call the propose and apply workflows from your repository

Other repositories can call ontrack's propose and apply GitHub workflows instead of copying them.

Migrate from 0.4.0

  1. Output wording and the npm keyword. ontrack plan prints no track found where it printed no ontrack source found, and discovery errors say track "<alias>" where they said source "<alias>". Update any script that matches those strings. A published track is found by the npm keyword ontrack-tracks, no longer ontrack-source: add it to the keywords of your track's package.json and publish again. Exit codes and file formats are unchanged.
  2. Own ADRs move to docs/adr/local/. While your own ADRs sit directly in docs/adr/, ontrack plan exits with 2. Run ontrack apply once to move them, then commit the move; plan exits 0 again. The alias local is now reserved: a track installed under that alias must be renamed in package.json. The propose workflow refuses a new ADR placed directly in docs/adr/.

Feedback

Open an issue: https://github.com/trivoallan/ontrack/issues


Full changelog

0.5.0 (2026-11-15)

⚠ BREAKING CHANGES

  • tracks: ontrack plan prints no track found where it printed no ontrack source found; discovery errors say track "<alias>" where they said source "<alias>"; the npm keyword of a published package is ontrack-tracks, no longer ontrack-source. Exit codes and file formats are unchanged.
  • own ADRs directly in docs/adr/ make ontrack plan exit with 2 until ontrack apply has moved them to docs/adr/local/. A source can no longer be installed under the alias local. The propose workflow refuses a new ADR placed directly in docs/adr/.

Features

  • instructions: point agents at ontrack review in the rules block (#185) (f982ce0)
  • let other repositories call the propose and apply workflows (#156) (e2144ac)
  • move a repository's own ADRs to docs/adr/local (#165) (ef7a712)
  • review: import the new ADRs before ruling them (#175) (43e6bbf)
  • review: title tracking items by bracketed ADR reference (#169) (a194d20)
  • tracks: call a package of questions a track (#168) (f20966c)
  • verify-release-provenance (#134) (1778e73)

Bug Fixes

  • apply: start one apply session per head commit (#160) (4eb88cf)
  • cli: name the package in printed commands when ontrack is not installed (#202) (73d7272)
  • give the apply sessions the secret guard the checks expect (#142) (00d3a7e)
  • keep the apply session silent on the pull request's draft state (#141) (80690b7)
  • review: give the supersedes reference ontrack resolves (#191) (8c125e8)
  • tracks: say where to run from when there is no package.json (#177) (66b9caf)