Repository navigation
v0.0.12 "Cuito Cuanavale"
November 2026
A release about trusting what generation does. No compass-ng command touches a file unless its content changes. Every changed file says what produced it, and drift that was already stale apart from your change stays out of it. Alongside, the last of ORE Studio's data moves out of compass's code, so its Python code generator and two more scripts can go.
✅ Highlights
-
A file is touched only when its content changes. Every write path was audited. Generate already compared content: on a settled ORE Studio tree of 62,662 files, a second generate touched none. Two paths didn't:
compass env generaterewrote.envand.env.oldon every run, because its timestamp line changed. It now writes nothing when only the time differs, and.env.oldonly when.envchanges.env version newrewrote its document in place.
Every write now goes to a temporary file renamed into place, so an interrupted run leaves no half-written file, and a rewritten file keeps its mode. On ORE Studio, one line added to the config-parser template's source changed the modification time of exactly 19 files: the source, the template and its 17 outputs.
-
Each change says what produced it, and stale drift stays apart.
compass generateandcompass diffname the codec, unit and template behind each changed file. They split the files into from your change and already stale at HEAD: HEAD already generates the same thing, and its committed file differs.--skip-staleleaves stale files unwritten and lists them.--scope <path>keeps only what units reading that path produce, following through tangle and codegen.diff --blamenames the commits behind stale files. On ORE Studio, editing the two config-parser templates gave 36 files from the change and its 13 files of existing drift as stale. -
Pending models name compass. Their description and "Do not edit" line say
compass generate, notderive_pending_models.py. That was the last thing compass needed for ORE Studio to delete its Python code generator. -
Skill levels are the project's data.
skill_levelsreads each skill's level from a:CODEC: skill_levelscheck document, with four tables:- Levels: the skill, its level and the reason;
- Systems: the level order, and whether each level is advisory, binding or cross;
- Read-only verbs;
- Settings.
compass's code no longer lists a project's skills.
compass generatestamps#+level:on eachSKILL.org, andcompass checkreports a level that differs as drift. A new region on the levels page lists each level's slice: what a session at that level sees, binding or advisory. A skill without a row isskill_without_level, and a row without a skill islevel_without_skill. On ORE Studio's main, one generate leaves all 76 skill pages byte-identical to what itsapply_skill_levels.pywrote. -
model_rulesreads its published areas from the route inventory's check document. A document whose:CODEC:namesroute_inventory model_rulesserves both. The published areas are the areas its Rules and Exemptions give a route, less theno areasetting. So the list is held once, andmodel_rulesno longer readsroute_classification.py. -
Fixed: an include of a psql variable reported as missing.
sql_reachabilityno longer follows or reports\i :name. Only the run that sets the variable knows which file it names, as with\if :{?name}guards. -
Fixed: the route inventory's coverage text named a script. It now names the Pairs and Families tables of the check document.
-
Fixed: two builds on macOS's libc++. One erased a map entry by a string view, which needs C++23's heterogeneous
erase. One test compared file times, which Catch2 cannot print there.
⚠️ Upgrading
skill_levelsneeds its check document. A project withskill_levelson adds the document in the same change as the upgrade. Without it, v0.0.12 reportsskill_levels/unreadable. An earlier compass stops on the document, because itsskill_levelstakes no data tables.model_rulesreads the route inventory document. A project withmodel_ruleson addsmodel_rulesto that document's:CODEC:. Theclassificationoption is gone.- The store formats are unchanged. The changed codecs' versions are bumped, so they run once again.
📦 Packages
Linux (.tar.gz, .deb), macOS (.tar.gz, .dmg) and Windows (.zip, installer), each with its SHA-256 file.