Skip to content

Releases

v0.7.0

Choose a tag to compare

@trivoallan trivoallan released this 26 Nov 16:56
c5cbae2

Highlights

ontrack now helps you write decisions down, not only check them. Two new commands hand the work to your coding agent:

  • npx ontrack suggest, once, when you adopt ontrack: the agent looks through your review comments, git history, AGENTS.md and design notes for the decisions your repository made and never recorded, and proposes at most five, each with its evidence. See Record the decisions you never wrote down.
  • npx ontrack decide, whenever you settle something: the agent records that one decision with you as a local ADR, then runs apply. See Record a decision.

plan no longer ignores a supersedes: entry that matches no ADR. It lists it as unresolved and exits with 2, because the ADR it meant to supersede is still in force.

What you must do

  • Run npx ontrack apply after upgrading. The instructions block now sends your agent to decide when you ask it to record a decision, so check reports it out of date until you do.
  • If plan now reports unresolved lines, fix the supersedes: entries it names: each must match the adr: identifier of the ADR it replaces.

0.7.0 (2026-11-26)

Features

  • cli: add ontrack decide, to record a new decision with the user (#245) (92d806c)
  • cli: add ontrack suggest, an audit of the decisions never recorded (#243) (278f26a)
  • plan: report supersedes entries that designate no ADR (#241) (f3ec014)

Bug Fixes

  • governance: make local/ADR-0027 supersede ADR-0022 (#240) (a03568b)

v0.6.0

Choose a tag to compare

@trivoallan trivoallan released this 16 Nov 18:52
5f2f16b

Highlights

Update with:

npm i -D @trivoallan/ontrack@0.6.0

review starts from what your repository already does

The prompt ontrack review prints now has your coding agent survey the repository first: its files, configuration, CI and history. The conventions your repository already answers come first, each value with the file that shows it; those that need a discussion come after. Each proposed value is marked observed or absent. You can skip an ADR or stop at any time: the repository works with the rest left open.

What a track ships is called a convention

ontrack's vocabulary says convention in its output, its prompts and its documentation. A convention is a shared ADR, proposed to every repository that installs the track; what your repository decides on it is a ruling.

Every command speaks JSON

--json prints what every command reports, and every error, as JSON. Each document starts with the address of its JSON Schema, and every error carries a stable code.

Rename a track's alias without losing its rulings

When you change the npm alias of a track, ontrack apply moves docs/adr/<old>/ to docs/adr/<new>/ with the rulings it holds.

Migrate from 0.5.0

  1. The AGENTS.md block. The block opens with ## Project instructions (ontrack). Run ontrack apply once to rewrite it, then commit. plan and apply print AGENTS.md: instructions block ..., and check prints adr: <path> after a fail line: update any script that matches the old strings.
  2. Error lines. An error line starts with ontrack[E<nnn>]: where it started with ontrack:. The message after the colon and the exit code 1 are unchanged.

Feedback

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


Full changelog

0.6.0 (2026-11-16)

⚠ BREAKING CHANGES

  • the block of AGENTS.md opens with "## Project instructions (ontrack)"; plan and apply print "AGENTS.md: instructions block ..."; check prints "adr: " after a fail line; the prompts of review say "convention". Run "ontrack apply" once to rewrite the block.
  • cli: an error line starts with ontrack[E<nnn>]: where it started with ontrack:. The message after the colon and the exit code 1 are unchanged.

Features

  • apply: rename a track's namespace without losing its rulings (#208) (2139a3f)
  • call what a track ships a convention (#221) (13157a5)
  • cli: give every error a stable code (#214) (08d20c5)
  • cli: print what every command reports, and every error, as JSON (#219) (071ce2e)
  • cli: publish a JSON Schema for each document of --json (#217) (0e1228c)
  • cli: start each document of --json with the address of its schema (#218) (e1e17c0)
  • review: rule from the repository's practice, and mark each value observed or absent (#205) (0b5565e)
  • review: rule what the history answers first, and stop when you choose (#210) (dd26cb9)

Bug Fixes

  • cli: name the cause or the next step in four dead-end messages (#211) (ea5821f)
  • review: say what review prints in one short help line (#213) (f9e6936)

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)

v0.4.0

Choose a tag to compare

@trivoallan trivoallan released this 14 Nov 20:45
1c2ada5

Highlights

Rulings follow the question when a source revises it

When a source revises a question you already answered, ontrack review now puts that ADR back in front of you instead of keeping a ruling that answers the old question.

See every decision at a glance

ontrack plan --all lists every ADR with its verdict, not only the ones that still need work. Use it to audit where a repository stands.

Improvements

  • Tracking without duplicates: review labels the tracking items it opens ontrack and skips the rulings that already have one, so running it twice no longer files the same item twice.
  • Know what to do next: while ADRs are still proposed, apply names the next step on stderr instead of leaving you to guess.

Documentation

  • New "How ontrack works" page, replacing the features list.
  • New reference for the file formats and for the output contracts.
  • New how-to guides: writing a source, finding and publishing one on npm, revising a question, running ontrack in CI.
  • A comparison with rules sync, ADR check and standards tools.

Supply chain

  • Each release now ships a CycloneDX SBOM.
  • Sources install from the npm registry.

Feedback

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


Full changelog

0.4.0 (2026-11-14)

Features

  • apply: name the next step on stderr while ADRs are proposed (#79) (17ad58d)
  • draft a change for every labelled issue (#129) (6051ccd)
  • gate the apply of a change behind an approved pull request (#136) (5450a62)
  • plan: list every ADR with its verdict under --all (#113) (4255764)
  • review: label tracking items ontrack and skip rulings already tracked (#101) (2e7a459)
  • review: rule again the ADRs whose source revised the question (#82) (fe52ff1)
  • tell the pull request where its apply session is and why it stopped (#137) (b22219b)

Bug Fixes

  • draft a proposal for an open issue only (#123) (a2b1cb3)
  • find the apply session's address in the answer that starts it (#138) (ef75999)
  • give the propose workflow its workspace (#122) (4c7b75c)
  • let the proposal agent run its commands (#125) (4a3b803)
  • let the proposal agent write the change (#133) (b1769f7)
  • put the framework's command within the proposal agent's reach (#135) (268e41b)
  • show what stopped the proposal agent (#132) (e7b33fc)
  • show why the proposal agent fails on its first turn (#124) (0b8b87b)

v0.3.0

Choose a tag to compare

@trivoallan trivoallan released this 14 Nov 14:51
3db8d1a

0.3.0 (2026-11-14)

Features

  • check: pass the ADR path to check commands as ONTRACK_ADR (#73) (8d426b6)
  • check: report a command that exits with 78 as unchecked (#72) (7eb5a16)
  • publish to the npm registry as @trivoallan/ontrack (#88) (edf1c28)

v0.2.0

Choose a tag to compare

@trivoallan trivoallan released this 14 Nov 12:19
f718d2b

ontrack 0.2.0: the first tagged release

ontrack imports shared architecture decision records (ADRs) into a repository
from npm sources, and tells you when a decision has to be taken again.

Until now ontrack was installed from main, so nobody could name the version
they ran. From this release on, every version has a tag you can pin:

npm i -D ontrack@git+https://github.com/trivoallan/ontrack.git#v0.2.0

What ontrack does today

  • ontrack plan reports what importing the sources would change, without
    writing anything. Its exit code lets a CI job detect an out-of-date
    repository.
  • ontrack apply imports new ADRs, moves files from the flat layout, and
    keeps the rules block of AGENTS.md current. It never touches an ADR you
    already decided on.
  • ontrack instructions previews the decided traits as the block coding
    agents read.
  • ontrack review prints a prompt asking a coding agent to rule the proposed
    ADRs, or to supersede an accepted one.
  • ontrack check runs the check command of each decided ADR.

For source authors

ontrack now publishes a JSON Schema for the ontrack key of a source's
package.json. Point your editor at it and a missing or mistyped adr is
flagged while you type. The README has the VS Code setting.

If you were installing from main

  • Node 22.18 or later is required (it was 20.19).
  • The lines printed by ontrack plan changed: a revised line now shows the
    ADR's title, and the title is dropped when the file name already carries a
    slug. Update anything that parses that output.

Documentation

The documentation site, https://trivoallan.github.io/ontrack/, now holds
the architecture of ontrack: an arc42 document and a LikeC4 model of its
modules.

The full list of changes follows.


0.2.0 (2026-11-14)

⚠ BREAKING CHANGES

  • Node 22.18 or later is required (was 20.19).
  • plan: drop the title when the ADR name carries a slug (#21)
  • plan: revised lines read <name> <title> (revision a → b) instead of <name> revision a → b.

Features

  • apply: implement ontrack apply (#14) (3593a3f)
  • apply: keep the AGENTS.md rules block up to date (#18) (204873c)
  • apply: keep the check line of imported ADRs in step with the source (#57) (c4823f8)
  • check: run the check command of each decided ADR (#41) (961e8de)
  • cli: CLI skeleton and ontrack plan output contract (#5) (2f435dd)
  • govern ontrack with trivoallan/governance (#12) (5a3a0f9)
  • instructions: print decided ADR traits as a block for AGENTS.md (#17) (0f4b385)
  • migrate the code to TypeScript (#46) (faed0e5), closes #30
  • plan: drop the title when the ADR name carries a slug (#21) (c7b3145)
  • plan: implement ontrack plan (#8) (d13401f), closes #4
  • plan: show each ADR's title (#13) (5a195b8)
  • review: print a prompt asking an agent to rule the proposed ADRs (#22) (2d9372e)
  • review: print a supersession prompt for a named accepted ADR (#49) (9c96d2b)
  • review: propose tracking items for rulings the repository does not follow yet (#29) (ce3e6f3)
  • revision: read an ADR's revision and classify it against upstream (#6) (10bff07)
  • sources: discover ontrack sources from npm dependencies (#7) (6b3c06d)
  • sources: publish a JSON Schema for a source's ontrack key (#54) (3b5fbc1)
  • sources: validate input boundaries with zod (#53) (877e62e)

Bug Fixes

  • cli: do not run a subcommand when an option is unknown (#23) (0635564)
  • instructions: compare trait keys by path, not by top-level key (#27) (e5e0978)