Repository navigation
v0.2.0
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 planreports what importing the sources would change, without
writing anything. Its exit code lets a CI job detect an out-of-date
repository.ontrack applyimports new ADRs, moves files from the flat layout, and
keeps the rules block ofAGENTS.mdcurrent. It never touches an ADR you
already decided on.ontrack instructionspreviews the decided traits as the block coding
agents read.ontrack reviewprints a prompt asking a coding agent to rule the proposed
ADRs, or to supersede an accepted one.ontrack checkruns 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 planchanged: arevisedline 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:
revisedlines 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)