Repository navigation
Releases
v0.0.13 "Cabinda"
November 2026
A release about moving a project's data and meta model out of compass's code, and laying the ground for compass to serve a project's documents. Five codecs now find their pages and names in the project's own models and configuration, so ORE Studio can rename pages and move entities without a compass change. The MASD library ships with compass. A new title lint holds knowledge pages to the house style, and the ratchet no longer reports old findings as new. Underneath, compass gains its own PostgreSQL database of a project's documents, with search, HTML rendering and test campaigns, which a later release serves over HTTP and MCP.
✅ Highlights
- Knowledge titles read like paper titles.
knowledge_titlesreports a knowledge page whose#+title:is a sentence (sentence_title), and one whose file name is not its title in snake case (title_file_mismatch). The verbs, the words that are also plural nouns and the determiners are the project's data, in a check document. On ORE Studio it finds 101 sentence titles, which the ratchet excuses as already present. - Codecs find their pages by
:ID:.trade_type_coverage,ore_output_catalogue,rule_identifiersandregistry_exceptionsname their pages by:ID:in.compass.org, androute_inventoryby path, so a project can rename those pages. compass's code names none of them. - Value set names come from the models.
ore_value_sets,parameter_value_setsandcurve_sections_wiringtake their tables, functions, seed paths and writer stamp from each entity's model and a role-to-entity table, so ORE Studio can move its ORE metamodel to another component with no compass change. - The product root is an option. The code generator and three codecs take the product root (
oresfor ORE Studio) as an option rather than from compass's code. - The MASD library ships with compass, in
share/compass/masd. The code generator'slibraryoption takes a list, such as@compass,projects/ores.codegen/library, where later directories override earlier ones;@compassis the library installed beside the binary. - Time-of-day columns. A
:type: timecolumn generatesis_timeandis_optional_time, maps to SQLtimeand TypeScriptstring, and takes its C++ type from:cpp_type:. A template that writes a TypeScript type with no value now fails, naming the template and the field, rather than writing an empty type. - Evidence documents. A document tagged
:evidence:is a record kept for reference: it keeps its.orgname and type, no codec takes it as input or holds it to its type's contract, and its IDs do not clash with the live pages it copies.evidence_locationreports one outside anevidence/directory. - compass's own database.
compass db init,migrate,status,pruneandhooks install, andcompass sync, load a project's documents into a PostgreSQL database per repository, with every environment (worktree, branch, release) sharing one copy of each document. Library functions search them (weighted full-text search with filters and facets), render them as HTML, say what needs testing in a sprint, and record test campaigns. A sync runs at the end ofgenerateandcheck, and in the edit hook, only when a database is configured; without one nothing changes. - Fixed: the ratchet reported every missing script a generated header names as new, because the merge base never computed those findings. It now does, so only a newly named or newly deleted script is new.
⚠️ Upgrading
ORE Studio adopts this release in one change that moves its pin and adds the following. An earlier compass refuses the new options, and this one refuses to run the affected codecs without them.
- In
.compass.org, the options for the codecs that find pages by:ID:and the product root:trade_type_coverage:page,catalogueandstory;ore_output_catalogue:page;rule_identifiers:RS,ESandchecklist;registry_exceptions:standard;route_inventory:page, a path;codegen:product=ores;component_files:library;physical_inventory:directoryandproduct;component_docs:productandexceptions.
- In the value sets check document, the
Value set entitiestable, andcurve_sections_wiringadded to its:CODEC:. - The
knowledge_titlescheck document and its row in.compass.org, if the project wants the lint. install_compass.shinstalls to~/.local/opt/compass/, withbin/andshare/compass/masd/, and linkscompass-ngto it. It removes the old files.- The changed codecs' versions are bumped, so they run once again. ORE Studio's generated output does not change.
📦 Packages
Linux (.tar.gz, .deb), macOS (.tar.gz, .dmg) and Windows (.zip, installer), each with its SHA-256 file.
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.
v0.0.11 "Uíge"
November 2026
A small release so ORE Studio can delete three more Python scripts compass-ng replaced.
✅ Highlights
- The route inventory reads its tables from a check document.
route_inventoryno longer readsbuild/scripts/route_inventory.py. It reads seven tables from a:CODEC: route_inventorydocument: Head, Settings, Rules, Exemptions, Views, Pairs and Families. A missing table or column, an unknown setting, a bad regex or a repeated key isunreadable, naming the document line. On ORE Studio's main, the inventory it writes from the document is byte-identical to the one it wrote from the script. - The backlog indexes and the shell recipe inventory name compass. The backlog bucket pages' notes and table markers, and the shell recipe inventory's head, no longer name
regenerate_backlog_indexes.pyandregenerate_shell_recipe_inventory.py. The old regions are found and renamed in onecompass generate. - Fixed: a race in a test. A test of the scoped temporary directory could see another test process clear the leftover it was creating. It now uses a prefix of its own.
⚠️ Upgrading
- A project with
route_inventoryon adds its check document in the same change as the upgrade. Without it, v0.0.11 reportsroute_inventory/unreadable. An earlier compass stops on the document, because itsroute_inventorytakes no data tables. - 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.
v0.0.10 "Mbanza Kongo"
November 2026
A small release so ORE Studio can delete the last Python scripts compass-ng replaced.
✅ Highlights
- Generated markers name compass. The skill catalogue, type tables, targets and level inventory regions now open with
# BEGIN generated <kind> (compass generate: <codec>), and the HTTP recipe inventory's header says compass generates it. Before, they named the ORE Studio scripts compass replaced. compass finds each region under its old marker too, so onecompass generatemoves a project's pages to the new text. - Lint accepts a marker that names compass.
lint/marker_without_writerpasses acompass generate: <codec>marker for a codec compass ships, reports one naming an unknown codec, and checks script markers as before.
⚠️ Upgrading
- Regenerate with v0.0.10 first. Run
compass generate; it rewrites only the marker lines and the header. Only then deletebuild/scripts/apply_skill_levels.py,build/scripts/generate_skills_catalogue.py,build/scripts/generate_skill_type_tables.pyandprojects/ores.codegen/scripts/regenerate_http_recipe_inventory.py. An earlier compass's lint reports the new markers as naming no script. - 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.
v0.0.9 "Ondjiva"
November 2026
A small release so a project's .env can depend on a flag's value, which ORE Studio needs to turn its connection pooler off.
✅ Highlights
- A row's
whencan compare values. Besides<template>, which holds when its expansion isn't empty, awhencan be<template> = <template>or<template> != <template>. One variable can then have several rows with exclusive conditions, and the active row's line is written in its place. ORE Studio uses this soORES_DB_POOLER_ENABLED=0writes PostgreSQL's port and no listener lines. That output is byte-identical to what its Python wrote. - A skipped row no longer leaks its value. A row whose
whendoesn't hold leaves no value behind for later templates, so it can't overwrite another row of the same name. - A new rule,
env_format/duplicate_variable. It reports two rows of one variable where either has nowhen, since both could be written. It replaces v0.0.8's blanket refusal of a variable with two rows.
⚠️ Upgrading
- A check document that gives one variable two rows needs v0.0.9. v0.0.8 refuses it.
- The store formats are unchanged. The
env_formatcodec moves to version 2, so its result is computed once again.
📦 Packages
Linux (.tar.gz, .deb), macOS (.tar.gz, .dmg) and Windows (.zip, installer), each with its SHA-256 file.
v0.0.8 "Saurimo"
November 2026
A fix release after v0.0.7, from what ORE Studio found adopting it.
✅ Highlights
- Fixed: a false warning about deleted lines. When
generatetook several passes, as it does after a template's org source changes, it warned about each pass's write on its own. A pass that ran the stale template "deleted" hand-written lines that a later pass put back, and the warning said to restore them from git.generatenow warns only of lines the file it finally leaves still lacks. - Clean under GCC's extra warnings again.
g++ -Wall -Wextra -Wshadowreported-Wmissing-field-initializersin code new in v0.0.7: blame's findings, the check inventory, the check documents andcompass.env. A sweep of every source changed since v0.0.6 now reports nothing.
⚠️ Upgrading
Nothing to do beyond raising the pin. The store formats are unchanged from v0.0.7.
📦 Packages
Linux (.tar.gz, .deb), macOS (.tar.gz, .dmg) and Windows (.zip, installer), each with its SHA-256 file.
v0.0.7 "Malanje"
November 2026
A mid-sprint release with two themes. It checks that a service is complete, so nothing a service needs gets left out. And when a check fails, it traces the problem to the change, and the environment, that likely caused it. Sprint 1 is still open, and its full release notes come when it closes.
✅ Highlights
- A service is whole, or compass says what it lacks.
service_integritystarts from the service registry. It names each service that is missing an entry, a part, a build file or an entry in a generated SQL file, or whose application is still the scaffold. What a service needs is a table of obligations in the project's own check document, so compass holds nothing of ORE Studio's. It also reports a second hand-written list of the services anywhere outside the registry. - The service registry's generated files are drift-checked. compass-ng now writes the six files generated from the service registry, so a hand edit to one of them is reported as drift. On ORE Studio's main it found the hand-edited grants file that started this work.
- Exports from hidden-visibility parts.
exported_typesreports any function declared at namespace scope in a public header of a part built with hidden visibility that lacks the part's export macro. compass's own tests now scaffold a flat, a composite and a hidden-visibility component. - Every commit states its work. With
commit_provenanceon,check --ratchetrequires every commit on the branch to name its story, task and environment, and the IDs must resolve to the right documents. If the branch has a pull request, its table must match the commits. The trailer names are the project's settings. - Blame, with a message for whoever broke it. When
compass checkfinds problems already on main, it traces each to the commit, pull request and environment that likely caused it. The method depends on the rule: blame the line, find what was added, compare a drifted file with its inputs, or bisect main's merges with--blame=bisect. It then writes one message per environment, ready for the agent reading it to forward.compass blametraces a single finding. .envgeneration and versioning.compass env generatewrites an environment's.envfrom the variables the project declares. Each variable names the format version that added it, so a variable added without a new version failscompass check.compass env version new … --addsrecords a version.compass env statussays when an environment's.envis out of date. On ORE Studio's main the generated file matches what its Python wrote, byte for byte, apart from new secrets and the timestamp.- A check inventory.
check_inventorywrites a knowledge page listing every check and generator a project runs, with its rules and a link to the check document that defines it. - One
compass generateis enough. When a run rewrote a file that another codec read in the same run, such as a template tangled from its org source, that codec used the old content, and a second generate was needed. generate now runs again until nothing a codec read has changed, and reports a cycle if that takes more than four passes.diffshows what one converged generate writes. - Fixed: git launched through
sh. compass ran git andghthroughsh, whose MSYS build on Windows expands braces in arguments. compass now runs them directly, and blame says why it didn't run, rather than going silent. - Fixed: a test of the export rule read freed memory, which failed on macOS.
⚠️ Upgrading
-
The cache is rebuilt once. Diagnostics now carry a subject, so the dependency record and the action cache move to format 7.- ORE Studio's main reports new findings. All of them are real:
- drift in
iam_service_db_grants_create.sql, which holds hand edits; - about 1,660 unexported functions, almost all from three generator templates;
- once the check documents are added, the gaps
service_integrityfinds.
check --ratchetexcuses findings already on main, so pull requests are not blocked meanwhile. - drift in
-
New check documents.
commit_provenance,service_integrityandenv_formateach read one, and each is off until a project turns it on.
📦 Packages
Linux (.tar.gz, .deb), macOS (.tar.gz, .dmg) and Windows (.zip, installer), each with its SHA-256 file.
v0.0.6, "Lubango"
November 2026
A mid-sprint release that makes the XML bindings generator generic, so it stops carrying ORE Studio's data inside compass. It also stops generated files naming scripts ORE Studio has deleted, and fixes what the nightlies found. Sprint 1 is still open, and its full release notes come when it closes.
✅ Highlights
- XML bindings for any project.
xml_bindingsnow takes everything specific to a project from that project's check document: the families, the exact-decimal members, the schema errata, the settings for directories, prefixes and includes, and the licence comment. Adding a money member is one row in the Exact decimals table, followed bycompass generate. A test project with its own schemas, namespaces and licence generates bindings with nothing of ORE Studio's in them. - Generated files name compass, not deleted scripts. The banners and messages of the value sets, convention kind terms, output catalogue and script library seed no longer send readers to Python scripts ORE Studio has deleted.
- A rule that catches the next one. Every codec that writes files now also checks
names_missing_file. It reports a generated file whose header names a script the checkout doesn't hold. - Fixed: a read of freed memory on Windows. Three loops iterated over views into a temporary string. C++23 keeps that temporary alive, and clang and GCC do; MSVC doesn't. The Windows nightly failed one test about one run in a hundred; 300 runs now pass.
- The GCC debug nightly is back, with working coverage. It builds and passes all 1,341 tests in 36 minutes. Its coverage now uses the
gcovthat matches the compiler. The GCC warnings from v0.0.5 are fixed.
⚠️ Upgrading
ORE Studio commits compass/checks/xml_bindings.org, then runs ./compass.sh generate. That rewrites only the banner lines of the regenerated files: the 26 XML bindings, the value sets and convention kind terms SQL, the output catalogue files and the script library seed. After that, generate_xml_bindings.py, regenerate_xml_bindings.sh and their test can go.
📦 Packages
Linux (.tar.gz, .deb), macOS (.tar.gz, .dmg) and Windows (.zip, installer), each with its SHA-256 file.
v0.0.5, "Kuito"
November 2026
A mid-sprint release that ports the last two ORE Studio gates compass-ng didn't cover, and moves the curated data compass-ng read out of ORE Studio's Python into check documents. Sprint 1 is still open, and its full release notes come when it closes.
✅ Highlights
- Codecs read their data from check documents. A check document whose
* Definitionsays:CODEC: <name>gives built-in codecs their data, as org tables with prose that explains them. Editing a table reruns the codec; editing the prose doesn't.conventions_coverage, the value sets and the output catalogue now read their curated tables this way, from 40 tables, instead of parsing nine of ORE Studio's Python files. On ORE Studio's main their findings and generated files are identical to v0.0.4's, also with damaged data. A missing document, table or file is now a finding that names it, where some codecs used to return silently. - Python the codecs still read is named. Six codecs still read data from ORE Studio's Python until the next phase. When that file is missing or doesn't parse, they now say so, and say compass-ng reads it.
- New codec
single_writer: one writer per table. It portscheck_single_writer.py, which ran only in ORE Studio's CI. It reports a populate script that inserts into a table a DQ publish function also writes. A populate script that writes another tenant's rows, or different rows, says why in acompass:exceptcomment beside the insert. On ORE Studio's main it reports the same 16 populate files and 9 tables as the script. - New codec
xml_bindings: ORE's XML bindings. It writes the C++ records and codec tables ORE generates from ORE's XSD schemas. Its output is byte-identical to ORE Studio's 26 committed files. The script took about 4 s; the codec takes 108 ms before formatting. Its drift rule replacesxml-bindings-drift. - New codec
list_request_table: the list request table. It writes the wire protocol's list request table,list_requests.ts, from the C++ protocol headers. Until now only a Python script, now deleted, wrote it.bff_list_requestskeeps its checks of hand-written requests. - No more pointers to deleted scripts. The trade type coverage page and the ORE renderings header say to run
./compass.sh generate, andheading_numbers' fix no longer names a script. -Wshadowon Linux. The build warns when a declaration hides another, as MSVC already did.
⚠️ Upgrading
An older compass-ng stops on a :CODEC: check document ("the definition names no engine") and runs no check. Install v0.0.5 first, then commit ORE Studio's three check documents: compass/checks/conventions_coverage.org, value_sets.org and ore_output_catalogue.org. conventions_coverage's option propose is now dataset, the directory of its TSV files.
ORE Studio enables single_writer, xml_bindings and list_request_table in .compass.org, adds the 16 single_writer exception comments, then runs ./compass.sh generate. That regenerates three files whose header lines change: list_requests.ts, conventions_renderings.hpp and ore_trade_type_coverage.org. Commit them.
📦 Packages
Linux (.tar.gz, .deb), macOS (.tar.gz, .dmg) and Windows (.zip, installer), each with its SHA-256 file.
v0.0.4, "Huambo"
November 2026
A mid-sprint release that keeps the result cache small. On 2026-11-20, ORE Studio's cache had grown to 19.8 GB in three days, 88% of it unreferenced. This release stores what is the same across worktrees and runs once, and collects the rest as part of the runs. Sprint 1 is still open, and its full release notes come when it closes.
✅ Highlights
- Each file's scan facts are stored once. A scan's result no longer holds a table of every file it covers. Each file's fact and findings are stored once, under the codec's configuration, the path and the content, and every worktree on the same content shares them. On ORE Studio, a second worktree's first run takes 5.0 s instead of 10.2 s.
- Manifests name chunks of inputs. A manifest held up to eight input sets, each listing every file the unit read. Each set is now the keys of content-addressed chunks of about 128 inputs, so an edit changes one chunk. On ORE Studio, an edit to one page and one
.cppfile writes 183 KB instead of 63 MB. - Runs collect the store. A run collects the store once its packs reach 256 MB and have doubled since the last collection. It doesn't wait for another process's lock, and a failed collection doesn't fail the run. Each worktree keeps its last three runs, so switching back to a recent branch still finds its results.
⚠️ Upgrading
The cache format is now version 6, so the first run after upgrading runs every unit again, as any new build does. The first run in a worktree of a large existing store collects it once, and that run takes longer.
📦 Packages
Linux (.tar.gz, .deb), macOS (.tar.gz, .dmg) and Windows (.zip, installer), each with its SHA-256 file.