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.48.0

Louis Choquel133d3fc6a733
diff --git a/.badges/tests.json b/.badges/tests.json
index 3b2c9fb58..c5a369a1b 100644
--- a/.badges/tests.json
+++ b/.badges/tests.json
@@ -1,7 +1,7 @@
{
"schemaVersion": 1,
"label": "tests",
- "message": "10617",
+ "message": "10672",
"color": "blue",
"cacheSeconds": 300
}
\ No newline at end of file
diff --git a/.test_durations b/.test_durations
index 3797e8d50..2f6817d16 100644
--- a/.test_durations
+++ b/.test_durations
@@ -568,6 +568,11 @@
"tests/integration/pipelex/pipeline/test_execution_seams.py::TestExecutionSeams::test_acquire_library_tears_down_on_load_failure": 0.0052,
"tests/integration/pipelex/pipeline/test_execution_seams.py::TestExecutionSeams::test_acquire_library_with_empty_id_adopts_generated_id": 0.0682,
"tests/integration/pipelex/pipeline/test_execution_seams.py::TestExecutionSeams::test_acquire_library_with_empty_id_tears_down_only_the_opened_library": 0.0031,
+ "tests/integration/pipelex/pipeline/test_execution_seams.py::TestExecutionSeams::test_an_unsafe_scope_is_refused_before_anything_is_written[empty]": 0.0196,
+ "tests/integration/pipelex/pipeline/test_execution_seams.py::TestExecutionSeams::test_an_unsafe_scope_is_refused_before_anything_is_written[leading-slash-absolute-key]": 0.0136,
+ "tests/integration/pipelex/pipeline/test_execution_seams.py::TestExecutionSeams::test_an_unsafe_scope_is_refused_before_anything_is_written[trailing-newline]": 0.0357,
+ "tests/integration/pipelex/pipeline/test_execution_seams.py::TestExecutionSeams::test_an_unsafe_scope_is_refused_before_anything_is_written[traversal-interior]": 0.0135,
+ "tests/integration/pipelex/pipeline/test_execution_seams.py::TestExecutionSeams::test_an_unsafe_scope_is_refused_before_anything_is_written[traversal-leading]": 1.3545,
"tests/integration/pipelex/pipeline/test_execution_seams.py::TestExecutionSeams::test_prepare_pipe_job_builds_equivalent_job_against_open_library": 0.0592,
"tests/integration/pipelex/pipeline/test_execution_seams.py::TestExecutionSeams::test_prepare_pipe_job_skips_normalize_for_empty_inputs": 0.219,
"tests/integration/pipelex/pipeline/test_fix_convergence_loop.py::TestFixConvergenceLoop::test_already_valid_bundle_is_a_no_op": 1.7559,
@@ -620,6 +625,8 @@
"tests/integration/pipelex/pipeline/test_pipeline_run_setup_characterization.py::TestPipelineRunSetupCharacterization::test_success_path_leaves_no_per_run_reporting_state": 1.179,
"tests/integration/pipelex/pipeline/test_pipeline_run_setup_emit_gates.py::TestPipelineRunSetupEmitGates::test_costs_only_registers_usage_log_and_sets_flags": 1.0681,
"tests/integration/pipelex/pipeline/test_pipeline_run_setup_emit_gates.py::TestPipelineRunSetupEmitGates::test_graph_only_does_not_register_usage_log": 0.4487,
+ "tests/integration/pipelex/pipeline/test_pipeline_run_setup_emit_gates.py::TestTheLocalScopeIsPerRun::test_a_host_supplied_scope_is_left_alone": 1.3828,
+ "tests/integration/pipelex/pipeline/test_pipeline_run_setup_emit_gates.py::TestTheLocalScopeIsPerRun::test_two_local_runs_get_distinct_scopes": 0.2846,
"tests/integration/pipelex/pipeline/test_pipeline_run_setup_request_id.py::TestPipelineRunSetupRequestId::test_request_id_absent_defaults_to_none": 0.4212,
"tests/integration/pipelex/pipeline/test_pipeline_run_setup_request_id.py::TestPipelineRunSetupRequestId::test_request_id_threads_onto_job_metadata": 1.1609,
"tests/integration/pipelex/pipeline/test_protocol_validate.py::TestProtocolValidate::test_body_failure_mid_window_propagates_over_teardown_failure": 0.9547,
@@ -1072,6 +1079,38 @@
"tests/integration/pipelex/system/test_keyless_boot_forced_dry.py::TestKeylessBootForcedDry::test_keyless_direct_boot_inline_generator_and_forced_dry": 0.9896,
"tests/integration/pipelex/system/test_load_config.py::TestLoadConfig::test_kit_config_matches_defaults": 0.0956,
"tests/integration/pipelex/system/test_load_config.py::TestLoadConfig::test_load_config": 0.985,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_invalid_entry_fails_with_exactly_its_declared_error[NOTSET]": 0.0002,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_the_invalid_arm_bites_on_a_deliberately_broken_bundle": 1.4091,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[controller_batch_crate_labels]": 0.6784,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[controller_condition_parcel_routing]": 0.7452,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[controller_sequence_menu_card]": 0.6682,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[feature_multi_file_library_research_brief]": 0.5275,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[feature_optionals_village_notice]": 0.4234,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[feature_smart_inputs_claims_triage]": 1.5256,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[feature_structured_output_delivery_round]": 0.1904,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[image_from_planting_brief]": 0.4713,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[image_round_trip_room_photo]": 0.7374,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_anything_lost_item]": 0.3821,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_composite_weather_report]": 0.588,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_date_departure]": 1.5999,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_document_invoice_scan]": 0.2189,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_dynamic_tracking_field]": 0.2163,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_html_menu_card]": 0.3367,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_image_parcel_label]": 0.3816,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_json_invoice_totals]": 0.351,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_number_crate_count]": 1.5166,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_page_catalog_leaf]": 0.1857,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_search_result_supplier_lookup]": 0.2646,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_text_and_images_recipe_card]": 0.3442,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_text_delay_notice]": 0.5965,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_time_departure]": 0.4804,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[native_yes_no_urgent_message]": 1.6046,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[operator_compose_delivery_docket]": 0.2075,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[operator_extract_invoice_pages]": 0.1762,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[operator_img_gen_garden_sign]": 0.2609,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[operator_search_supplier_lead]": 0.3547,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_entries.py::TestMthdsCorpusEntries::test_valid_entry_validates[operator_structure_opening_hours]": 0.2286,
+ "tests/integration/pipelex/test_extras/test_mthds_corpus_packaging.py::TestMthdsCorpusPackaging::test_the_corpus_ships_and_its_generator_does_not": 1.2329,
"tests/integration/pipelex/test_inline_structure_concepts.py::TestInlineStructureConcepts::test_auto_detection_structure": 0.002,
"tests/integration/pipelex/test_inline_structure_concepts.py::TestInlineStructureConcepts::test_inline_structure_definition_creation": 1.0471,
"tests/integration/pipelex/test_inline_structure_concepts.py::TestInlineStructureConcepts::test_inline_structure_with_complex_types": 0.0033,
@@ -7331,6 +7370,7 @@
"tests/unit/pipelex/pipe_run/test_delivery_executor.py::TestDeliveryExecutor::test_generate_result_files_usage_artifact_null_when_usage_off": 0.0095,
"tests/unit/pipelex/pipe_run/test_delivery_executor.py::TestDeliveryExecutor::test_generate_result_files_with_pydantic_instances_in_raw": 0.0172,
"tests/unit/pipelex/pipe_run/test_delivery_executor.py::TestDeliveryExecutor::test_generate_result_files_writes_usage_artifact_with_records": 0.012,
+ "tests/unit/pipelex/pipe_run/test_delivery_executor.py::TestDeliveryExecutor::test_key_prefix_inserts_a_level_and_never_supplies_the_leaf": 0.2212,
"tests/unit/pipelex/pipe_run/test_delivery_executor.py::TestDeliveryExecutor::test_raw_fallback_html_escapes_special_chars": 0.0513,
"tests/unit/pipelex/pipe_run/test_delivery_executor.py::TestDeliveryExecutor::test_storage_completion_log_includes_request_id_when_set": 0.3251,
"tests/unit/pipelex/pipe_run/test_delivery_executor.py::TestDeliveryExecutor::test_storage_failure_raises": 0.0102,
@@ -8644,6 +8684,14 @@
"tests/unit/pipelex/runtime_bridge/test_input_models.py::TestInputOutputModels::test_output_required_fields": 0.0003,
"tests/unit/pipelex/runtime_bridge/test_input_models.py::TestInputOutputModels::test_output_requires_main_stuff_name": 0.0007,
"tests/unit/pipelex/runtime_bridge/test_input_models.py::TestInputOutputModels::test_output_round_trip_via_json": 0.0011,
+ "tests/unit/pipelex/runtime_bridge/test_input_models.py::TestTheWireRefusesAnUnusableScope::test_a_usable_scope_still_passes": 0.0148,
+ "tests/unit/pipelex/runtime_bridge/test_input_models.py::TestTheWireRefusesAnUnusableScope::test_an_unsafe_scope_is_refused_at_construction[empty]": 0.0004,
+ "tests/unit/pipelex/runtime_bridge/test_input_models.py::TestTheWireRefusesAnUnusableScope::test_an_unsafe_scope_is_refused_at_construction[four-segments-would-swallow-the-leaf]": 0.0004,
+ "tests/unit/pipelex/runtime_bridge/test_input_models.py::TestTheWireRefusesAnUnusableScope::test_an_unsafe_scope_is_refused_at_construction[leading-slash-absolute-key]": 1.2994,
+ "tests/unit/pipelex/runtime_bridge/test_input_models.py::TestTheWireRefusesAnUnusableScope::test_an_unsafe_scope_is_refused_at_construction[trailing-newline]": 0.0009,
+ "tests/unit/pipelex/runtime_bridge/test_input_models.py::TestTheWireRefusesAnUnusableScope::test_an_unsafe_scope_is_refused_at_construction[trailing-slash-empty-final-segment]": 0.0007,
+ "tests/unit/pipelex/runtime_bridge/test_input_models.py::TestTheWireRefusesAnUnusableScope::test_an_unsafe_scope_is_refused_at_construction[traversal-interior]": 0.3491,
+ "tests/unit/pipelex/runtime_bridge/test_input_models.py::TestTheWireRefusesAnUnusableScope::test_an_unsafe_scope_is_refused_at_construction[traversal-leading]": 0.2697,
"tests/unit/pipelex/runtime_bridge/test_missing_bundle_validator_error.py::TestMissingBundleValidatorError::test_direct_mode_reports_a_boot_or_discovery_problem": 0.1157,
"tests/unit/pipelex/runtime_bridge/test_missing_bundle_validator_error.py::TestMissingBundleValidatorError::test_unregistered_mode_carries_generic_plugin_hint[acme]": 0.0008,
"tests/unit/pipelex/runtime_bridge/test_missing_bundle_validator_error.py::TestMissingBundleValidatorError::test_unregistered_mode_carries_generic_plugin_hint[mistral-workflows]": 0.0004,
@@ -8830,6 +8878,38 @@
"tests/unit/pipelex/system/test_reporting_config_validation.py::TestReportingConfigValidation::test_cost_report_unit_scale_must_be_positive[-1.0]": 0.0006,
"tests/unit/pipelex/system/test_reporting_config_validation.py::TestReportingConfigValidation::test_cost_report_unit_scale_must_be_positive[0.0]": 0.7836,
"tests/unit/pipelex/system/test_reporting_config_validation.py::TestReportingConfigValidation::test_cost_report_unit_scale_positive_value_accepted": 0.088,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestAcceptedScopes::test_one_to_three_path_safe_segments_are_accepted[A-Z_az-09]": 0.0003,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestAcceptedScopes::test_one_to_three_path_safe_segments_are_accepted[dry-run-no-storage]": 0.0005,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestAcceptedScopes::test_one_to_three_path_safe_segments_are_accepted[local]": 0.0148,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestAcceptedScopes::test_one_to_three_path_safe_segments_are_accepted[org_acme/mt_x/run_1]": 0.0003,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestAcceptedScopes::test_one_to_three_path_safe_segments_are_accepted[tenant/run_1]": 0.0003,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestAcceptedScopes::test_one_to_three_path_safe_segments_are_accepted[tenant]": 1.3149,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestAcceptedScopes::test_the_two_named_constants_are_valid_scopes": 1.3092,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_a_prefix_of_another_tenant_is_still_its_own_scope": 0.0003,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[backslash]": 1.3194,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[current-dir-interior]": 0.0003,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[current-dir-segment]": 0.0009,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[empty-interior-segment]": 0.0008,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[empty]": 0.0008,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[four-segments-would-swallow-the-leaf]": 0.0198,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[fragment]": 0.0175,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[interior-newline]": 0.0006,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[leading-slash-absolute-key]": 0.0007,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[newline-alone]": 1.3136,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[percent-encoded-traversal]": 0.0004,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[query-string]": 0.0008,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[single-segment-trailing-newline]": 0.0004,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[space]": 0.1769,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[trailing-carriage-return]": 0.0008,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[trailing-crlf]": 0.0142,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[trailing-newline]": 0.0005,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[trailing-slash-empty-final-segment]": 0.0004,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[traversal-alone]": 0.001,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[traversal-interior]": 0.0195,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestRefusedScopes::test_unsafe_scopes_raise_at_construction[traversal-leading]": 1.325,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestScopeIsRequired::test_omitting_it_is_an_error_rather_than_a_default": 0.0005,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestTheTelemetryPlaceholderStaysOutOfIdentity::test_no_module_uses_it_as_an_identity_or_a_scope": 0.2869,
+ "tests/unit/pipelex/system/test_storage_scope.py::TestTheTelemetryPlaceholderStaysOutOfIdentity::test_the_dry_run_identity_is_not_the_telemetry_placeholder": 0.0172,
"tests/unit/pipelex/test_base_exceptions.py::TestErrorReportColdImport::test_error_report_constructable_without_cogt_exceptions_loaded": 1.1613,
"tests/unit/pipelex/test_class_registry_scoping.py::TestHubClassRegistry::test_get_class_registry_library_without_registry_falls_back_to_global": 0.0007,
"tests/unit/pipelex/test_class_registry_scoping.py::TestHubClassRegistry::test_get_class_registry_with_library_id_returns_library_registry": 0.0009,
@@ -8906,6 +8986,29 @@
"tests/unit/pipelex/test_error_report_problem_document.py::TestErrorReportProblemDocument::test_strict_mode_passes_through_detail_for_caller_facing_report": 0.0009,
"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_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_loader.py::TestMthdsCorpusLoader::test_entries_are_yielded_in_name_order": 0.0043,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_loader.py::TestMthdsCorpusLoader::test_entry_names_are_unique": 0.0031,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_loader.py::TestMthdsCorpusLoader::test_every_entry_loads_and_resolves_its_bundle": 0.0033,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_loader.py::TestMthdsCorpusLoader::test_filters_compose_conjunctively": 0.015,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_loader.py::TestMthdsCorpusLoader::test_get_entry_returns_the_named_entry_and_refuses_an_unknown_one": 0.0009,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_loader.py::TestMthdsCorpusLoader::test_granularity_arms_partition_the_corpus": 0.0093,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_loader.py::TestMthdsCorpusLoader::test_tag_filter_requires_every_requested_tag": 0.0066,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_loader.py::TestMthdsCorpusLoader::test_the_corpus_is_not_empty": 1.3085,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_loader.py::TestMthdsCorpusLoader::test_tier_filter_is_a_ceiling_and_really_excludes": 0.0542,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_loader.py::TestMthdsCorpusLoader::test_validity_arms_partition_the_corpus": 1.3331,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_manifest.py::TestMthdsCorpusManifest::test_empty_covers_is_rejected": 0.0003,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_manifest.py::TestMthdsCorpusManifest::test_invalid_entry_must_declare_its_expected_error": 0.0007,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_manifest.py::TestMthdsCorpusManifest::test_minimal_manifest_parses": 0.2471,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_manifest.py::TestMthdsCorpusManifest::test_non_snake_case_name_is_rejected": 1.3176,
+ "tests/unit/pipelex/test_extras/test_mthds_corpus_manifest.py::TestMthdsCorpusManifest::test_repeated_tag_is_rejected": 0.0126,
+ "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_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,
"tests/unit/pipelex/test_fix_op_union.py::TestFixOpUnion::test_a_field_the_handler_reads_cannot_be_omitted": 0.0003,
"tests/unit/pipelex/test_fix_op_union.py::TestFixOpUnion::test_a_field_the_kind_does_not_have_is_refused": 0.0008,
"tests/unit/pipelex/test_fix_op_union.py::TestFixOpUnion::test_a_remap_needs_a_non_empty_mapping": 0.1282,
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 84d31c418..17baf84f0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,27 +1,22 @@
# Changelog
-## [Unreleased]
+## [v0.48.0] - 2026-08-20
### Added
-- **The MTHDS Test Corpus: one canonical, tagged set of `.mthds` methods, with coverage of the language surface turned into a gate instead of a thing somebody has to remember**: Every repo in the workspace had grown its own pile of `.mthds` fixtures, each shaped by its own consumer, and coverage of the MTHDS language surface — a cross-repo invariant — was asserted locally in each of them against a private pile. The result was exactly what that arrangement predicts: the `Time` native concept had no pipelex fixture at all, while another repo had independently patched the same gap in its own corpus without either side knowing. The corpus lives at `pipelex/test_extras/mthds_corpus/` and ships in the wheel, so a consumer that already depends on `pipelex` reads it through `iter_entries()` / `get_entry()` with no copy and no drift — lockstep by construction via the pinned version. Each entry is a directory holding the method, an optional `inputs.json`, and an `entry.toml` declaring what it exercises: `covers` (the axes, drawn from a closed vocabulary), `tier` (the cheapest conformance tier at which it is meaningful), `granularity`, and `validity` — plus, for a deliberately invalid entry, the exact wire `error_type` it must produce. Metadata lives beside the bundle and never inside it, so a bundle stays a pure language artifact. The `native.*` tag vocabulary is **generated** from `NativeConceptCode` by `make generate-corpus-vocabulary` and committed, so a consumer reads the closed tag set without a registry walk; the generator itself stays unshipped dev tooling. Three gates hold it: regeneration must reproduce the committed vocabulary byte for byte, every non-excluded tag must have a `focused` entry covering it, and every entry must mean what its manifest claims — a valid one validating, an invalid one failing with exactly its declared error, both checked against the local runtime rather than a deployed API that lags it, and both run over every entry regardless of tier so an `inference`-tier entry that broke is caught without spending a token. The exhaustivity gate is the one that closes the hole: the moment a registry grows a code, regeneration adds its tag and the build stays red until an entry covers it. The corpus is seeded with a focused entry for every native concept, and no code needed excluding — each one turned out to support a real entry. Entry subject matter is ordinary-world by rule, never AI and never MTHDS's own vocabulary, because an entry exists so a red gate can be narrated in one sentence and *"the model output the model"* is not one. The cross-repo contract is the workspace spec `docs/specs/mthds-test-corpus.md`; the working guide is `docs/contribute/mthds-test-corpus.md`.
-
-- **MTHDS Test Corpus: the `operator.*` and `controller.*` tag axes.** The corpus tag vocabulary now covers every executable pipe kind alongside the native concepts, generated from `PipeType` and split into the two namespaces by that enum's own `category` property — one registry walk, so a pipe kind added later lands in the right namespace with nothing to update. Local names drop the `Pipe` prefix each code carries, since the namespace already says which half it is (`PipeLLM` becomes `operator.llm`), while `code` keeps the registry's spelling. The exhaustivity gate covers both new namespaces, and focused entries land with them: image generation, extraction, search, structuring, composition, and the sequence, batch and condition controllers. `PipeFunc` is the corpus's first recorded exclusion — it names a Python function that the runtime resolves against its function registry at validation time, so no portable entry can declare one.
-- **The `feature.*` tag axis opens, with multi-file libraries as its first tag.** Language features are the one thing the corpus vocabulary cannot generate: a feature is a human-named cluster of behaviour rather than a registry entry — some span several blueprint fields, some none at all — and there is no feature registry to walk. So `feature.*` is hand-maintained in the generator, and a tag there carries a `description` where a generated tag carries `code`, since that sentence is the only place its meaning can live. Each feature tag is declared in the same change that lands its first covering entry, never ahead of it, so the vocabulary never advertises coverage the corpus does not have. The first is `feature.multi_file_library`, covered by a research-brief method built top-down across several files with each pipe forward-declared as a signature before it is written — migrated out of the e2e tree, which now reads it from the corpus.
-
-- **Two more `feature.*` axes: optionals and smart inputs.** A noticeboard line whose house-style hint is optional — guarded in the prompt so an absent value renders nothing and is recorded as absent — and a claims summary whose caller passes bare values (a string, a number, a dict, a list) to be shaped top-down against the declared signature. Both migrated out of the e2e tree, which now reads them from the corpus. Re-themed on the way in, per the corpus rule that an entry's subject matter is ordinary-world and never the machinery it exercises; the tests that asserted on the old qualified concept refs moved with them.
-
-- **`feature.structured_output` joins the vocabulary**, covered by the entry that was already its minimal exemplar — a shop's opening hours read off the door into typed fields — rather than by a near-duplicate written beside it. `feature.dependencies`, the remaining name on the v1 list, is deliberately **not** declared: a method depending on another package needs a `METHODS.toml` manifest and a second package directory reached by a relative path, which is a different shape from the one-directory entry the contract pins. Declaring the tag before an entry can cover it would advertise coverage the corpus does not have.
-
-- **A nested structured-output corpus entry**: a driver's round sheet filed into a shape the corpus had no exemplar for — a list of structured objects, each carrying its own list and an optional field. Written fresh rather than migrated: pipelex's own structure-shape matrices are named for the shapes they test (`ConceptWithNestedStructures`, `ConceptWithOptionals`), which is load-bearing for the tests that read them and precisely what the corpus's subject-matter rule forbids, so re-theming them would have made both sides worse.
-
-- **The corpus is proven to ship, against a wheel that is actually built**: wheel consumers reach the corpus through `importlib.resources`, so a corpus that stopped being packaged would be invisible in this repo and would break every consumer at once, on the release. A packaging test builds the real wheel and looks inside it, deriving what it expects from the corpus tree rather than from a list somebody has to maintain — a new entry, a new file kind or a new namespace is covered the moment it lands. It pins both halves of the split at once: the generated `vocabulary.toml` and every entry file ship, and the generator that writes them stays out. No packaging configuration change was needed, which is what the test now holds true rather than assumes.
-- **Image-payload corpus entries**, so a consumer that needs an `Image` crossing a pipe boundary has one: a sequence that writes a scene and draws it, and a round trip that produces a photograph and reads it back to caption it. Both are `composite`, both sit at the `inference` tier, and — like every other entry — neither names a model. That is a contract property rather than a preference: presets are resolved by the validation engine, so an entry pinning one would fail validation outright on any consumer whose deck does not define it.
+- **MTHDS Test Corpus:** Introduced a canonical, tagged set of `.mthds` methods at `pipelex/test_extras/mthds_corpus/`, replacing scattered per-repo fixtures with a single source of truth that ships in the wheel for synchronized cross-repo consumption. Each entry is a directory holding the method, an optional `inputs.json`, and an `entry.toml` declaring what it exercises — `covers`, `tier`, `granularity`, `validity`, and for a deliberately invalid entry the exact wire `error_type` it must produce. The cross-repo contract is the workspace spec `docs/specs/mthds-test-corpus.md`.
+- **Corpus Loader API:** Added `iter_entries()` and `get_entry()` in `pipelex.test_extras.mthds_corpus.loader` to fetch fixtures programmatically by tag, execution tier, validity, and granularity instead of by file path.
+- **Tag Vocabulary Generation:** Added the `pipelex-dev generate-corpus-vocabulary` CLI command and `Makefile` targets to generate the corpus tag vocabulary (`native.*`, `operator.*`, `controller.*`) directly from runtime registries (`NativeConceptCode`, `PipeType`). The two pipe namespaces come from one registry walk, split by `PipeType.category`, so a pipe kind added later lands in the right namespace with nothing to update. `PipeFunc` is the corpus's first recorded exclusion: it names a Python function the runtime resolves against its function registry at validation time, so no portable entry can declare one.
+- **Feature Tag Axis:** Added a hand-maintained `feature.*` tag namespace for language features spanning multiple blueprint fields or lacking a registry (e.g. `feature.multi_file_library`, `feature.optionals`, `feature.smart_inputs`, `feature.structured_output`). Each feature tag is declared in the same change that lands its first covering entry, so the vocabulary never advertises coverage the corpus does not have.
+- **Strict Corpus CI Gates:** Added test suites enforcing corpus integrity: exhaustivity (every registry code has a focused entry), vocabulary drift (committed `vocabulary.toml` matches registries), manifest validation (strict Pydantic model per `entry.toml`), entry validation (valid entries compile, invalid entries fail with their declared `error_type`), and packaging (builds a real wheel to confirm corpus files ship while excluding the generator script).
+- **New Corpus Entries:** Added inference-tier image payload entries (`image_from_planting_brief`, `image_round_trip_room_photo`), a nested structured-output entry (`feature_structured_output_delivery_round`) for lists of structured objects with optional fields, and focused entries covering batching, conditions, sequences, parallel execution, composition, extraction, and search. No entry names a model: presets are resolved by the validation engine, so an entry pinning one would fail validation on any consumer whose deck does not define it.
+- **Documentation:** Added a contributor guide for the corpus at `docs/contribute/mthds-test-corpus.md`.
### Changed
-- **The image round-trip bundle moved into the corpus** and its integration test re-sources from there. An `Image` produced by one pipe and consumed by the next is a language-level shape, so the corpus owns it; the local copy under `tests/integration/pipelex/pipes/pipelines/` is deleted.
-- **The `Date` and `YesNo` dry-run e2e tests now source their bundles from the corpus** rather than from copies sitting beside them, and those copies are deleted. Nothing in this repo holds a second copy of a language-level `.mthds` method any more.
+- **Centralized Test Fixtures:** Migrated end-to-end and integration tests (Date, YesNo, Smart Inputs, Optionals, Multi-file libraries, Image round-trips) to source their `.mthds` bundles dynamically from the new corpus via `get_entry()`, removing all local duplicated copies previously scattered across `tests/e2e/` and `tests/integration/`. Nothing in this repo holds a second copy of a language-level `.mthds` method any more.
+- **Makefile Targets:** Added `generate-corpus-vocabulary-quiet` to the `cc` (check) and `up` (update) targets to keep the vocabulary current during local development.
+- **VS Code Launch Config:** Updated the integration test target in `.vscode/launch.json` from `test_image_out_in.mthds` to `test_image_inputs.mthds` to match the refactored test structure.
## [v0.47.0] - 2026-08-19
diff --git a/pyproject.toml b/pyproject.toml
index 79e54cd50..74e796d1f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "pipelex"
-version = "0.47.0"
+version = "0.48.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 7f4da850d..b8c03e37b 100644
--- a/uv.lock
+++ b/uv.lock
@@ -3303,7 +3303,7 @@ wheels = [
[[package]]
name = "pipelex"
-version = "0.47.0"
+version = "0.48.0"
source = { editable = "." }
dependencies = [
{ name = "aiofiles" },