Skip to content

v0.0.13 "Cabinda"

Latest

Choose a tag to compare

@mcraveiro mcraveiro released this 22 Nov 22:16
· 47 commits to main since this release
v0.0.13
8259d8b

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_titles reports 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_identifiers and registry_exceptions name their pages by :ID: in .compass.org, and route_inventory by 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_sets and curve_sections_wiring take 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 (ores for ORE Studio) as an option rather than from compass's code.
  • The MASD library ships with compass, in share/compass/masd. The code generator's library option takes a list, such as @compass,projects/ores.codegen/library, where later directories override earlier ones; @compass is the library installed beside the binary.
  • Time-of-day columns. A :type: time column generates is_time and is_optional_time, maps to SQL time and TypeScript string, 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 .org name 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_location reports one outside an evidence/ directory.
  • compass's own database. compass db init, migrate, status, prune and hooks install, and compass 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 of generate and check, 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, catalogue and story;
    • ore_output_catalogue: page;
    • rule_identifiers: RS, ES and checklist;
    • registry_exceptions: standard;
    • route_inventory: page, a path;
    • codegen: product=ores;
    • component_files: library;
    • physical_inventory: directory and product;
    • component_docs: product and exceptions.
  • In the value sets check document, the Value set entities table, and curve_sections_wiring added to its :CODEC:.
  • The knowledge_titles check document and its row in .compass.org, if the project wants the lint.
  • install_compass.sh installs to ~/.local/opt/compass/, with bin/ and share/compass/masd/, and links compass-ng to 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.