Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

Release v0.51.0

Louis Choquel3580a543ba0f
diff --git a/.badges/tests.json b/.badges/tests.json
index dd1b2584e..e0fc8d6ee 100644
--- a/.badges/tests.json
+++ b/.badges/tests.json
@@ -1,7 +1,7 @@
{
"schemaVersion": 1,
"label": "tests",
- "message": "10725",
+ "message": "10727",
"color": "blue",
"cacheSeconds": 300
}
\ No newline at end of file
diff --git a/.test_durations b/.test_durations
index 49a0e2bf1..2492b68e4 100644
--- a/.test_durations
+++ b/.test_durations
@@ -9040,6 +9040,7 @@
"tests/unit/pipelex/test_error_report_problem_document.py::TestErrorReportProblemDocument::test_strict_mode_redacts_detail_and_drops_disclosure_fields": 0.0009,
"tests/unit/pipelex/test_error_report_problem_document.py::TestErrorReportProblemDocument::test_strict_mode_redacts_detail_for_input_domain_without_caller_facing_flag": 0.0005,
"tests/unit/pipelex/test_extras/test_mthds_corpus_exhaustivity.py::TestMthdsCorpusExhaustivity::test_every_invalid_entry_covers_the_tag_its_expected_error_names": 0.1897,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_exhaustivity.py::TestMthdsCorpusExhaustivity::test_every_required_error_tag_declares_the_layer_it_fails_at": 0.6326,
"tests/unit/pipelex/test_extras/test_mthds_corpus_exhaustivity.py::TestMthdsCorpusExhaustivity::test_every_required_tag_has_a_focused_entry": 0.2063,
"tests/unit/pipelex/test_extras/test_mthds_corpus_exhaustivity.py::TestMthdsCorpusExhaustivity::test_every_tag_an_entry_covers_exists_in_the_vocabulary": 0.026,
"tests/unit/pipelex/test_extras/test_mthds_corpus_exhaustivity.py::TestMthdsCorpusExhaustivity::test_no_valid_entry_claims_an_error_tag": 0.2142,
@@ -9061,6 +9062,7 @@
"tests/unit/pipelex/test_extras/test_mthds_corpus_manifest.py::TestMthdsCorpusManifest::test_tiers_rank_cheapest_first": 0.0129,
"tests/unit/pipelex/test_extras/test_mthds_corpus_manifest.py::TestMthdsCorpusManifest::test_unknown_key_is_rejected": 0.0004,
"tests/unit/pipelex/test_extras/test_mthds_corpus_manifest.py::TestMthdsCorpusManifest::test_valid_entry_must_not_declare_an_expected_error": 0.0008,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_plxt_exclusions.py::TestMthdsCorpusPlxtExclusions::test_the_excluded_entries_are_exactly_the_schema_fault_entries": 0.6368,
"tests/unit/pipelex/test_extras/test_mthds_corpus_vocabulary.py::TestMthdsCorpusVocabulary::test_an_excluded_tag_stays_usable_but_stops_being_required": 0.019,
"tests/unit/pipelex/test_extras/test_mthds_corpus_vocabulary.py::TestMthdsCorpusVocabulary::test_committed_vocabulary_matches_a_fresh_generation": 0.0013,
"tests/unit/pipelex/test_extras/test_mthds_corpus_vocabulary.py::TestMthdsCorpusVocabulary::test_normalization_splits_words_and_keeps_acronyms_whole": 0.1718,
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c192ddd2c..fa1a51e8f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,24 +1,24 @@
# Changelog
-## [Unreleased]
+## [v0.51.0] - 2026-08-21
### Added
-- **Every `error.*` tag in the MTHDS Test Corpus vocabulary now says which layer of checking catches its fault first.** A non-excluded tag carries `fails_at = "schema"` when a pass over the raw document's shape already rejects a bundle carrying the fault — a pipe section with no `type` key, a `type` outside the closed set of pipe kinds — and `fails_at = "runtime"` when the document has to be interpreted to notice, which covers every other fault the corpus exercises. The consumer rule is one sentence: **a structural sweep expects a diagnostic on an entry exactly when its tag says `schema`, and silence on every other entry.**
+- **`fails_at` on every `error.*` tag in the MTHDS Test Corpus vocabulary.** A non-excluded tag now declares the earliest layer of checking that catches its fault: `"schema"` when a pass over the raw document's shape already rejects a bundle carrying it (a pipe section with no `type` key, a `type` outside the closed set of pipe kinds), `"runtime"` when the document has to be interpreted to notice. The consumer rule is one sentence: a structural sweep expects a diagnostic on an entry exactly when its tag says `schema`, and silence on every other entry. `generate-corpus-vocabulary` computes and injects the field from an internally maintained set of schema faults, so it is never hand-written.
- This closes a hole that had every consumer re-deriving the runtime's own knowledge. A JSON-Schema sweep, an editor diagnostic, or a linter run over the corpus previously had to hardcode which faults it believed were structural — a second, downstream reading of this repo's validation-error registry, guaranteed to drift from it. The corpus being swept now carries the answer, and it ships in the wheel, so a consumer that vendors `vocabulary.toml` gets it with no code of its own.
+ The signal lives on the vocabulary tag rather than on each `entry.toml` because the layer is a property of the *error type*: per-entry restatement would let two entries covering one fault disagree, with nothing to catch it. Excluded tags carry no value at all — an excluded tag has no entry, so nothing was measured. Previously every consumer had to hardcode which faults it believed were structural, a downstream re-reading of this repo's validation-error registry guaranteed to drift from it; the corpus now ships the answer in the wheel.
- The signal lives on the vocabulary tag rather than on each `entry.toml`, because it is a property of the *error type*, not of the entry: per-entry restatement would let two entries covering one fault disagree, with nothing to catch it. A `schema` fault is still rejected by the runtime — the field names where a fault is caught first, not who may catch it — which is why a schema-fault entry declares the same `expected_error` as any other invalid entry. The value `schema` is also `plxt`'s own `error[schema]` diagnostic category, so a consumer branching on the field and a human reading a linter's output use one word for one thing.
+- **`schema_fault_tags` property on `CorpusVocabulary`.** Structural consumers — JSON-Schema sweeps, editor diagnostics, linters — read which faults they are expected to catch instead of maintaining their own list.
-- **The exhaustivity gate now requires every `error.*` tag that is owed an entry to declare a `fails_at`**, so a new validation error type cannot land carrying a fault a structural consumer has no way to sweep for. Excluded tags carry no value, deliberately: an excluded tag has no entry, so there is nothing to have measured on.
+- **Gates keeping the signal honest.** The exhaustivity gate now requires every `error.*` tag that is owed an entry to declare a `fails_at`, so a new validation error type cannot land carrying a fault a structural consumer has no way to sweep for. A new `test_mthds_corpus_plxt_exclusions.py` gates `.pipelex/plxt.toml`'s corpus exclusions against the vocabulary, so the linter config and the vocabulary cannot drift apart.
### Changed
-- **The corpus's deliberately invalid entries are linted again — all but the two whose fault the schema is supposed to reject.** `.pipelex/plxt.toml` excluded the whole `invalid_*` population behind one blanket glob, because some of those entries carry a structural fault and the config had no way to say which. `fails_at` is that way, so the exclusion now names exactly the schema-fault entries and every other invalid bundle is linted like any ordinary `.mthds` file in the tree.
+- **The corpus's deliberately invalid entries are linted again — all but the two whose fault the schema is supposed to reject.** `.pipelex/plxt.toml` excluded the whole `invalid_*` population behind one blanket glob, because some of those entries carry a structural fault and the config had no way to say which. The exclusion now names exactly the schema-fault entries (`invalid_missing_pipe_type` and `invalid_unknown_pipe_type`), and every `runtime` entry is covered by `make lint` and `make format` like any ordinary `.mthds` file.
- That also makes this repo the first consumer of its own signal, and it is what keeps the signal *measured* rather than merely asserted: the exclusion list is gated against the vocabulary by `test_mthds_corpus_plxt_exclusions.py`, so declaring a fault `runtime` when the schema in fact rejects it leaves its entry linted and turns `make plxt-lint` red naming it. The config is gated rather than generated because `plxt` is a static binary reading a static file, with nothing to hook a generation step onto.
+ That makes this repo the first consumer of its own signal, and it is what keeps the signal measured rather than merely asserted: declare a fault `runtime` when the schema in fact rejects it and its entry stays linted, so `make plxt-lint` goes red naming it.
-- **Documentation**: `docs/contribute/mthds-test-corpus.md` gains a `fails_at` section covering the consumer rule, why the field sits on the tag, and how the linter config closes the measurement loop. Its invalid-entry authoring warning is corrected to match the narrowed exclusion: only a schema-fault bundle has to be laid out by hand now, since `make lint` and `make format` cover every other invalid entry.
+- **Documentation.** `docs/contribute/mthds-test-corpus.md` gains a `fails_at` section covering the consumer rule, why the field sits on the tag, and how the linter config closes the measurement loop. Its invalid-entry authoring warning is corrected to match the narrowed exclusion: only a schema-fault bundle has to be laid out by hand now.
## [v0.50.0] - 2026-08-20
diff --git a/pyproject.toml b/pyproject.toml
index 94027bb09..49aa0cec4 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "pipelex"
-version = "0.50.0"
+version = "0.51.0"
description = "Execute composable AI methods declared in the MTHDS open standard"
authors = [{ name = "Evotis S.A.S.", email = "[email protected]" }]
maintainers = [{ name = "Pipelex staff", email = "[email protected]" }]
diff --git a/uv.lock b/uv.lock
index 2c2c40c02..5e03cb672 100644
--- a/uv.lock
+++ b/uv.lock
@@ -3303,7 +3303,7 @@ wheels = [
[[package]]
name = "pipelex"
-version = "0.50.0"
+version = "0.51.0"
source = { editable = "." }
dependencies = [
{ name = "aiofiles" },