Repository navigation
v0.6.0
Highlights
Update with:
npm i -D @trivoallan/ontrack@0.6.0review 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
- The AGENTS.md block. The block opens with
## Project instructions (ontrack). Runontrack applyonce to rewrite it, then commit.planandapplyprintAGENTS.md: instructions block ..., andcheckprintsadr: <path>after a fail line: update any script that matches the old strings. - Error lines. An error line starts with
ontrack[E<nnn>]:where it started withontrack:. The message after the colon and the exit code1are 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 withontrack:. The message after the colon and the exit code1are 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)