Skip to content

Plan, apply and roll back changes to a production ontology, with a blast radius report and a proof an auditor can re-check.

Merge remote-tracking branch 'origin/main' into pr84

FABIOTESS557b4311419e
diff --cc CHANGELOG.md
index bc708ff2,d256cb21..d86ec38c
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -5,14 -5,29 +5,37 @@@ All notable changes to Open Ontologies
## [Unreleased]
### Added
+- **Versioned SQL type → XSD datatype contract.** `docs/data-pipeline.md` now
+ documents what `SchemaIntrospector::sql_to_xsd` produces for every SQL type it
+ recognises, alongside the declarative `datatype` mapping field it is easy to
+ confuse it with. The table is marked v1 and any row that changes gets a
+ CHANGELOG entry, so a `schema.rs` refactor can no longer alter the shape of
+ generated ontologies invisibly. Also records the decisions the table encodes
+ (parameters stripped, timezone not represented, `xsd:string` catch-all) and
+ what the schema import derives beyond the datatype.
+ - **Build provenance and checksums on release binaries.** The release job now
+ emits a Sigstore attestation via `actions/attest-build-provenance`, binding
+ each published binary to the workflow run and the commit it was built from,
+ and publishes a `SHASUMS.txt` alongside the assets. The release job gains
+ `id-token: write` and `attestations: write` for the signing identity.
+
+ Verify provenance with:
+
+ ```
+ gh attestation verify <binary> --repo fabio-rovai/open-ontologies
+ ```
+
+ Or check the checksum of the binary you downloaded. `SHASUMS.txt` lists all
+ four platforms, so verify the one you have rather than the whole file:
+
+ ```
+ grep open-ontologies-x86_64-unknown-linux-gnu SHASUMS.txt | sha256sum -c -
+ # macOS: ... | shasum -a 256 -c -
+ ```
+
+ A bare `sha256sum -c SHASUMS.txt` expects all four binaries present and exits
+ non-zero when three are missing, which is the normal case. With GNU coreutils
+ you can also pass `--ignore-missing`; the form above works on macOS too.
- **Opt-in persistent triple store.** A new `[storage]` section selects the
backend for the main graph: `mode = "memory"` (default, unchanged behaviour)
or `mode = "persistent"`, which opens a RocksDB-backed Oxigraph store at