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.63.0
Louis Choquelef5fbc654d30
diff --git a/.badges/tests.json b/.badges/tests.jsonindex b9a6f1d6e..7719ace03 100644--- a/.badges/tests.json+++ b/.badges/tests.json@@ -1,7 +1,7 @@{"schemaVersion": 1,"label": "tests",- "message": "11829",+ "message": "11996","color": "blue","cacheSeconds": 300}diff --git a/.test_durations b/.test_durationsindex 107bca817..da3c906f2 100644--- a/.test_durations+++ b/.test_durations@@ -676,6 +676,10 @@"tests/integration/pipelex/pipeline/test_pipeline_run_id_resubmission.py::TestPipelineRunIdResubmission::test_setup_failure_frees_entry_even_when_tracer_teardown_raises": 0.6068,"tests/integration/pipelex/pipeline/test_pipeline_run_id_resubmission.py::TestPipelineRunIdResubmission::test_setup_failure_self_cleans_and_same_id_resubmits": 0.391,"tests/integration/pipelex/pipeline/test_pipeline_run_id_resubmission.py::TestPipelineRunIdResubmission::test_success_clears_registry_entry": 2.1802,+ "tests/integration/pipelex/pipeline/test_pipeline_run_setup_analytics_groups.py::TestPipelineRunSetupAnalyticsGroups::test_analytics_groups_thread_onto_job_metadata": 1.7073,+ "tests/integration/pipelex/pipeline/test_pipeline_run_setup_analytics_groups.py::TestPipelineRunSetupAnalyticsGroups::test_malformed_groups_are_refused_before_the_run_starts": 0.0011,+ "tests/integration/pipelex/pipeline/test_pipeline_run_setup_analytics_groups.py::TestPipelineRunSetupAnalyticsGroups::test_omitting_them_leaves_an_empty_mapping": 0.075,+ "tests/integration/pipelex/pipeline/test_pipeline_run_setup_analytics_groups.py::TestPipelineRunSetupAnalyticsGroups::test_the_refusal_registers_no_run_and_emits_no_trace_start": 0.0421,"tests/integration/pipelex/pipeline/test_pipeline_run_setup_characterization.py::TestPipelineRunSetupCharacterization::test_empty_inputs_behave_like_no_inputs": 0.4682,"tests/integration/pipelex/pipeline/test_pipeline_run_setup_characterization.py::TestPipelineRunSetupCharacterization::test_failure_after_acquire_restores_outer_current_library": 0.1428,"tests/integration/pipelex/pipeline/test_pipeline_run_setup_characterization.py::TestPipelineRunSetupCharacterization::test_failure_when_outer_is_run_library_clears_instead_of_dangling": 0.3057,@@ -689,6 +693,11 @@"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_pipeline_run_setup_storage_scope_gate.py::TestPipelineRunSetupStorageScopeGate::test_a_traversal_scope_registers_no_run_and_emits_no_trace_start": 0.257,+ "tests/integration/pipelex/pipeline/test_pipeline_run_setup_storage_scope_gate.py::TestPipelineRunSetupStorageScopeGate::test_the_sentinel_itself_still_passes_and_becomes_the_run_id": 0.0752,+ "tests/integration/pipelex/pipeline/test_pipeline_run_setup_storage_scope_gate.py::TestPipelineRunSetupStorageScopeGate::test_the_sentinel_rebinds_to_a_validated_run_id": 0.2655,+ "tests/integration/pipelex/pipeline/test_pipeline_run_setup_telemetry_identity.py::TestPipelineRunSetupTelemetryIdentity::test_the_pipeline_execute_event_is_handed_the_runs_metadata": 0.0427,+ "tests/integration/pipelex/pipeline/test_pipeline_run_setup_telemetry_identity.py::TestPipelineRunSetupTelemetryIdentity::test_the_trace_start_is_handed_the_runs_metadata": 0.3207,"tests/integration/pipelex/pipeline/test_protocol_validate.py::TestProtocolValidate::test_anything_input_produces_a_verdict": 0.7257,"tests/integration/pipelex/pipeline/test_protocol_validate.py::TestProtocolValidate::test_body_failure_mid_window_propagates_over_teardown_failure": 0.9547,"tests/integration/pipelex/pipeline/test_protocol_validate.py::TestProtocolValidate::test_complete_bundle_is_runnable": 1.5915,@@ -1144,6 +1153,10 @@"tests/integration/pipelex/system/pipelex_service/test_setup_with_cache.py::TestSetupWithCache::test_setup_fails_without_cache_dry_run": 0.2463,"tests/integration/pipelex/system/pipelex_service/test_setup_with_cache.py::TestSetupWithCache::test_setup_succeeds_with_stale_cache_dry_run": 0.9718,"tests/integration/pipelex/system/pipelex_service/test_setup_with_cache.py::TestSetupWithCache::test_telemetry_disabled_when_source_cached": 0.8672,+ "tests/integration/pipelex/system/telemetry/test_pipe_span_carries_run_identity.py::TestPipeSpanIdentity::test_a_run_with_no_groups_writes_no_groups_attribute": 0.061,+ "tests/integration/pipelex/system/telemetry/test_pipe_span_carries_run_identity.py::TestPipeSpanIdentity::test_langfuse_gets_the_user_id_when_it_is_enabled": 0.094,+ "tests/integration/pipelex/system/telemetry/test_pipe_span_carries_run_identity.py::TestPipeSpanIdentity::test_the_groups_the_caller_supplied_reach_the_span": 1.7447,+ "tests/integration/pipelex/system/telemetry/test_pipe_span_carries_run_identity.py::TestPipeSpanIdentity::test_the_span_names_the_runs_user": 0.3126,"tests/integration/pipelex/system/test_boot_orchestrator_validation.py::TestBootOrchestratorValidation::test_registered_plugin_name_is_accepted": 0.8699,"tests/integration/pipelex/system/test_boot_orchestrator_validation.py::TestBootOrchestratorValidation::test_unknown_boot_orchestrator_is_rejected[not-a-plugin]": 0.3034,"tests/integration/pipelex/system/test_boot_orchestrator_validation.py::TestBootOrchestratorValidation::test_unknown_boot_orchestrator_is_rejected[temporal]": 0.3605,@@ -6790,6 +6803,10 @@"tests/unit/pipelex/kernel/test_llm_ops_model_resolution.py::TestConcreteLlmModelHandle::test_an_unknown_reference_is_returned_unchanged_rather_than_raising": 0.1205,"tests/unit/pipelex/kernel/test_llm_text_kernel.py::TestLlmTextKernel::test_the_callers_concept_and_output_class_reach_the_memory": 1.5695,"tests/unit/pipelex/kernel/test_llm_text_kernel.py::TestLlmTextKernel::test_the_defaults_are_what_the_method_used_to_hardcode": 0.7152,+ "tests/unit/pipelex/kernel/test_pipelex_kernel_analytics_groups.py::TestPipelexKernelAnalyticsGroups::test_a_malformed_mapping_is_refused_when_the_kernel_is_minted": 0.0304,+ "tests/unit/pipelex/kernel/test_pipelex_kernel_analytics_groups.py::TestPipelexKernelAnalyticsGroups::test_omitting_them_leaves_an_empty_mapping": 0.1612,+ "tests/unit/pipelex/kernel/test_pipelex_kernel_analytics_groups.py::TestPipelexKernelAnalyticsGroups::test_supplied_groups_land_on_the_runs_metadata": 0.2252,+ "tests/unit/pipelex/kernel/test_pipelex_kernel_analytics_groups.py::TestPipelexKernelAnalyticsGroups::test_two_kernels_do_not_share_one_default_mapping": 0.2354,"tests/unit/pipelex/kernel/test_pipelex_kernel_run_state.py::TestPipelexKernelRunState::test_a_step_names_the_pipe_it_is_running_when_told_which": 0.0004,"tests/unit/pipelex/kernel/test_pipelex_kernel_run_state.py::TestPipelexKernelRunState::test_a_supplied_trace_context_becomes_the_runs_identity": 1.0298,"tests/unit/pipelex/kernel/test_pipelex_kernel_run_state.py::TestPipelexKernelRunState::test_an_unnamed_step_does_not_erase_the_runs_own_pipe_code": 0.0012,@@ -9816,6 +9833,19 @@"tests/unit/pipelex/runtime_bridge/test_exceptions_disclosure.py::TestRuntimeBridgeExceptionDisclosure::test_generic_plugin_hint_survives_strict_disclosure[acme]": 0.1287,"tests/unit/pipelex/runtime_bridge/test_exceptions_disclosure.py::TestRuntimeBridgeExceptionDisclosure::test_generic_plugin_hint_survives_strict_disclosure[mistral-workflows]": 0.0005,"tests/unit/pipelex/runtime_bridge/test_exceptions_disclosure.py::TestRuntimeBridgeExceptionDisclosure::test_generic_plugin_hint_survives_strict_disclosure[temporal]": 0.8878,+ "tests/unit/pipelex/runtime_bridge/test_input_analytics_groups.py::TestTheWireRefusesMalformedAnalyticsGroups::test_malformed_groups_are_refused_at_construction[empty-key]": 0.0003,+ "tests/unit/pipelex/runtime_bridge/test_input_analytics_groups.py::TestTheWireRefusesMalformedAnalyticsGroups::test_malformed_groups_are_refused_at_construction[empty-value]": 0.0007,+ "tests/unit/pipelex/runtime_bridge/test_input_analytics_groups.py::TestTheWireRefusesMalformedAnalyticsGroups::test_malformed_groups_are_refused_at_construction[hyphen-in-key]": 0.0008,+ "tests/unit/pipelex/runtime_bridge/test_input_analytics_groups.py::TestTheWireRefusesMalformedAnalyticsGroups::test_malformed_groups_are_refused_at_construction[one-over-the-entry-cap]": 0.0006,+ "tests/unit/pipelex/runtime_bridge/test_input_analytics_groups.py::TestTheWireRefusesMalformedAnalyticsGroups::test_malformed_groups_are_refused_at_construction[space-in-value]": 0.0007,+ "tests/unit/pipelex/runtime_bridge/test_input_analytics_groups.py::TestTheWireRefusesMalformedAnalyticsGroups::test_malformed_groups_are_refused_at_construction[trailing-newline-in-value]": 0.0007,+ "tests/unit/pipelex/runtime_bridge/test_input_analytics_groups.py::TestTheWireRefusesMalformedAnalyticsGroups::test_malformed_groups_are_refused_at_construction[uppercase-key]": 0.0012,+ "tests/unit/pipelex/runtime_bridge/test_input_analytics_groups.py::TestTheWireRefusesMalformedAnalyticsGroups::test_malformed_groups_are_refused_at_construction[value-one-over-the-length-cap]": 0.0013,+ "tests/unit/pipelex/runtime_bridge/test_input_analytics_groups.py::TestTheWireRefusesMalformedAnalyticsGroups::test_the_field_defaults_to_an_empty_mapping": 0.2192,+ "tests/unit/pipelex/runtime_bridge/test_input_analytics_groups.py::TestTheWireRefusesMalformedAnalyticsGroups::test_the_groups_survive_a_json_round_trip": 0.0145,+ "tests/unit/pipelex/runtime_bridge/test_input_analytics_groups.py::TestTheWireRefusesMalformedAnalyticsGroups::test_well_formed_groups_cross_the_wire[empty-mapping]": 0.2285,+ "tests/unit/pipelex/runtime_bridge/test_input_analytics_groups.py::TestTheWireRefusesMalformedAnalyticsGroups::test_well_formed_groups_cross_the_wire[the-hosted-plane-shape]": 0.0169,+ "tests/unit/pipelex/runtime_bridge/test_input_analytics_groups.py::TestTheWireRefusesMalformedAnalyticsGroups::test_well_formed_groups_cross_the_wire[two-group-types]": 1.5976,"tests/unit/pipelex/runtime_bridge/test_input_models.py::TestInputOutputModels::test_dispatch_ack_forbids_output_fields": 0.1075,"tests/unit/pipelex/runtime_bridge/test_input_models.py::TestInputOutputModels::test_dispatch_ack_requires_both_ids": 0.0003,"tests/unit/pipelex/runtime_bridge/test_input_models.py::TestInputOutputModels::test_input_defaults_match_design": 0.7796,@@ -9944,6 +9974,35 @@"tests/unit/pipelex/system/pipelex_service/test_remote_config_cache.py::TestRemoteConfigCache::test_write_creates_parent_dir": 0.0022,"tests/unit/pipelex/system/pipelex_service/test_remote_config_cache.py::TestRemoteConfigCache::test_write_is_atomic": 0.0025,"tests/unit/pipelex/system/pipelex_service/test_remote_config_cache.py::TestRemoteConfigCache::test_write_then_read_roundtrip": 0.0029,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_identity.py::TestExceptionCaptureIdentity::test_a_failing_capture_never_reaches_the_app": 0.027,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_identity.py::TestExceptionCaptureIdentity::test_an_anonymous_stream_captures_an_exception_under_nobody": 1.6189,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_identity.py::TestExceptionCaptureIdentity::test_an_exception_carrying_no_value_is_not_captured": 0.0024,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_identity.py::TestExceptionCaptureIdentity::test_an_identified_stream_captures_an_exception_under_the_configured_id": 0.0011,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_identity.py::TestExceptionCaptureIdentity::test_the_pipelex_stream_captures_an_exception_under_its_deployment": 0.0016,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_identity.py::TestExceptionCaptureIdentity::test_the_pipelex_stream_is_unaffected_by_the_operators_anonymous_mode": 0.0022,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_a_capture_the_redaction_cannot_complete_is_dropped_rather_than_raised_or_sent_raw": 1.6439,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_a_capture_with_no_argument_is_redacted": 0.0007,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_a_chain_longer_than_the_recursion_limit_is_still_sent": 0.0583,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_a_pipelex_error_being_handled_when_another_is_raised_is_redacted": 0.0009,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_a_pipelex_error_inside_an_exception_group_is_redacted": 0.0014,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_a_pipelex_error_raised_as_the_cause_is_redacted": 0.0028,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_a_redacted_error_the_host_already_captured_is_not_sent_again": 0.0044,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_an_argument_less_capture_of_a_redacted_error_is_not_sent_again": 0.001,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_an_argument_the_sdk_would_decline_does_not_raise_into_the_caller[42]": 0.0764,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_an_argument_the_sdk_would_decline_does_not_raise_into_the_caller[malformed1]": 0.0075,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_an_argument_the_sdk_would_decline_does_not_raise_into_the_caller[not an exception]": 0.0074,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_an_error_the_host_already_captured_is_not_sent_again": 0.0047,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_both_streams_record_a_crash_that_is_not_a_pipelex_error": 0.0037,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_both_streams_record_one_crash": 0.2661,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_each_stream_is_recorded_under_its_own_identity": 1.6173,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_no_stream_is_sent_the_message_as_it_was_written": 0.001,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_the_live_exception_is_left_as_it_was": 0.0009,+ "tests/unit/pipelex/system/telemetry/test_exception_capture_sdk_contract.py::TestExceptionCaptureSdkContract::test_the_stand_in_keeps_the_class_that_failed": 0.0206,+ "tests/unit/pipelex/system/telemetry/test_llm_span_carries_run_identity.py::TestLLMSpanIdentity::test_a_run_with_no_groups_writes_no_groups_attribute": 0.0348,+ "tests/unit/pipelex/system/telemetry/test_llm_span_carries_run_identity.py::TestLLMSpanIdentity::test_langfuse_gets_the_user_id_only_when_it_is_enabled": 0.2855,+ "tests/unit/pipelex/system/telemetry/test_llm_span_carries_run_identity.py::TestLLMSpanIdentity::test_langfuse_user_id_is_absent_when_langfuse_is_off": 0.2264,+ "tests/unit/pipelex/system/telemetry/test_llm_span_carries_run_identity.py::TestLLMSpanIdentity::test_the_span_carries_the_runs_groups_serialized": 0.015,+ "tests/unit/pipelex/system/telemetry/test_llm_span_carries_run_identity.py::TestLLMSpanIdentity::test_the_span_names_the_runs_user": 0.2341,"tests/unit/pipelex/system/telemetry/test_load_telemetry_config.py::TestLoadTelemetryConfigLayering::test_commented_project_template_does_not_shadow_global_override": 0.0063,"tests/unit/pipelex/system/telemetry/test_load_telemetry_config.py::TestLoadTelemetryConfigLayering::test_empty_returns_defaults": 4.6766,"tests/unit/pipelex/system/telemetry/test_load_telemetry_config.py::TestLoadTelemetryConfigLayering::test_global_config_applies_when_no_project_config": 0.0019,@@ -9953,6 +10012,9 @@"tests/unit/pipelex/system/telemetry/test_load_telemetry_config.py::TestLoadTelemetryConfigLayering::test_project_layer_skipped_when_project_dir_equals_global_dir": 0.0039,"tests/unit/pipelex/system/telemetry/test_load_telemetry_config.py::TestLoadTelemetryConfigLayering::test_project_override_wins_over_global_on_collision": 0.0026,"tests/unit/pipelex/system/telemetry/test_load_telemetry_config.py::TestLoadTelemetryConfigLayering::test_telemetry_allowed_modes_defaults_from_pydantic": 0.113,+ "tests/unit/pipelex/system/telemetry/test_observer_telemetry_identity.py::TestObserverTelemetryIdentity::test_a_failing_pipe_complete_names_the_run": 0.041,+ "tests/unit/pipelex/system/telemetry/test_observer_telemetry_identity.py::TestObserverTelemetryIdentity::test_a_successful_pipe_complete_names_the_run": 1.6349,+ "tests/unit/pipelex/system/telemetry/test_observer_telemetry_identity.py::TestObserverTelemetryIdentity::test_pipe_run_names_the_run": 0.2938,"tests/unit/pipelex/system/telemetry/test_otel_factory.py::TestOtelFactory::test_make_inputs_json_captures_recorded_absence": 0.0007,"tests/unit/pipelex/system/telemetry/test_otel_factory.py::TestOtelFactory::test_make_inputs_json_neither_value_nor_record_raises": 0.0004,"tests/unit/pipelex/system/telemetry/test_otel_factory.py::TestOtelFactory::test_make_output_json_absent_main_output": 0.7484,@@ -9971,9 +10033,80 @@"tests/unit/pipelex/system/telemetry/test_otel_factory.py::TestOtelFactory::test_pipeline_run_id_to_trace_id_handles_various_formats[simple_id]": 0.0006,"tests/unit/pipelex/system/telemetry/test_otel_factory.py::TestOtelFactory::test_pipeline_run_id_to_trace_id_is_deterministic": 0.0003,"tests/unit/pipelex/system/telemetry/test_otel_factory.py::TestOtelFactory::test_pipeline_run_id_to_trace_id_produces_128_bit_int": 0.0006,+ "tests/unit/pipelex/system/telemetry/test_posthog_span_exporter.py::TestPostHogSpanExporter::test_a_generation_span_resolves_the_same_way": 0.0501,+ "tests/unit/pipelex/system/telemetry/test_posthog_span_exporter.py::TestPostHogSpanExporter::test_a_namespaced_stream_digests_the_user_and_keeps_only_its_own_group": 1.6443,+ "tests/unit/pipelex/system/telemetry/test_posthog_span_exporter.py::TestPostHogSpanExporter::test_a_run_without_groups_sends_none_rather_than_an_empty_mapping": 0.2312,+ "tests/unit/pipelex/system/telemetry/test_posthog_span_exporter.py::TestPostHogSpanExporter::test_a_span_naming_a_user_is_captured_under_that_user": 0.253,+ "tests/unit/pipelex/system/telemetry/test_posthog_span_exporter.py::TestPostHogSpanExporter::test_a_span_naming_no_user_falls_back_to_the_configured_id": 0.0425,+ "tests/unit/pipelex/system/telemetry/test_posthog_span_exporter.py::TestPostHogSpanExporter::test_an_anonymous_stream_sends_no_identity_at_all": 0.3166,+ "tests/unit/pipelex/system/telemetry/test_posthog_span_exporter.py::TestPostHogSpanExporter::test_neither_the_user_nor_the_groups_appear_in_the_properties": 0.0492,+ "tests/unit/pipelex/system/telemetry/test_posthog_span_exporter.py::TestPostHogSpanExporter::test_no_user_and_no_fallback_is_an_anonymous_capture": 0.2812,+ "tests/unit/pipelex/system/telemetry/test_posthog_span_exporter.py::TestPostHogSpanExporter::test_the_fallback_identity_is_not_a_property_either": 0.0436,+ "tests/unit/pipelex/system/telemetry/test_posthog_span_exporter.py::TestPostHogSpanExporter::test_the_runs_groups_ride_the_capture": 0.0278,+ "tests/unit/pipelex/system/telemetry/test_posthog_span_exporter.py::TestPostHogSpanExporter::test_two_spans_of_two_runs_are_captured_under_two_users": 0.0635,"tests/unit/pipelex/system/telemetry/test_redaction.py::TestIsCapturePipeCodesEnabled::test_returns_false_when_no_telemetry_manager": 0.7543,"tests/unit/pipelex/system/telemetry/test_redaction.py::TestIsCapturePipeCodesEnabled::test_returns_property_value_when_false": 0.0966,"tests/unit/pipelex/system/telemetry/test_redaction.py::TestIsCapturePipeCodesEnabled::test_returns_property_value_when_true": 0.0007,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_direct_stream_takes_the_runs_user_and_groups": 0.228,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_json_value_that_is_not_an_object_drops_the_groups": 0.0078,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_namespaced_span_never_forwards_the_spans_groups": 0.2298,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_namespaced_stream_keeps_the_deployment_countable_under_a_caller_digest": 0.0163,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_namespaced_stream_never_forwards_the_runs_groups": 0.0003,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_namespaced_stream_reports_the_namespace_itself_when_the_run_names_nobody": 0.0002,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_namespaced_stream_sends_a_digest_and_never_the_raw_user": 0.0008,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_namespaced_stream_with_no_namespace_is_anonymous_not_raw": 0.0008,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_non_string_user_id_attribute_is_not_used_as_an_identity": 0.0141,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_none_stream_ignores_a_spans_identity_and_its_fallback": 0.2382,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_none_stream_sends_no_identity_at_all_even_with_a_fallback_configured": 0.2186,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_placeholder_user_id_falls_back_to_the_stream[dry-run-no-user]": 0.1653,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_placeholder_user_id_falls_back_to_the_stream[local]": 0.0157,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_placeholder_user_id_falls_back_to_the_stream[single-tenant]": 0.0007,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_placeholder_user_id_keeps_the_runs_groups[dry-run-no-user]": 0.0003,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_placeholder_user_id_keeps_the_runs_groups[local]": 0.0007,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_placeholder_user_id_keeps_the_runs_groups[single-tenant]": 0.0005,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_placeholder_with_no_fallback_is_anonymous_not_the_placeholder[dry-run-no-user]": 0.0004,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_placeholder_with_no_fallback_is_anonymous_not_the_placeholder[local]": 0.0003,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_placeholder_with_no_fallback_is_anonymous_not_the_placeholder[single-tenant]": 0.0003,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_run_with_groups_writes_both_attributes": 0.0003,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_run_without_groups_is_identified_with_an_empty_facet": 0.2259,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_run_without_groups_omits_the_groups_attribute": 0.0003,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_span_carrying_a_placeholder_falls_back_too[dry-run-no-user]": 0.0004,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_span_carrying_a_placeholder_falls_back_too[local]": 1.628,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_span_carrying_a_placeholder_falls_back_too[single-tenant]": 0.0003,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_a_span_carrying_no_identity_resolves_to_the_fallback": 0.0003,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_an_event_with_no_run_falls_back_to_the_configured_id": 0.0211,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_an_event_with_no_run_is_anonymous_on_a_none_stream": 1.6373,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_an_operator_stream_reads_its_policy_off_the_mode[anonymous-none]": 0.0004,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_an_operator_stream_reads_its_policy_off_the_mode[identified-direct]": 0.0007,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_an_operator_stream_reads_its_policy_off_the_mode[off-none]": 0.0006,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_langfuse_gets_the_user_id_in_the_field_it_reserves_for_it": 0.0003,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_langfuse_is_never_handed_a_placeholder_as_a_person[dry-run-no-user]": 0.0401,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_langfuse_is_never_handed_a_placeholder_as_a_person[local]": 0.0003,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_langfuse_is_never_handed_a_placeholder_as_a_person[single-tenant]": 1.6092,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_no_run_and_no_fallback_is_anonymous": 0.2293,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_non_string_entries_are_dropped_and_the_rest_kept": 0.0064,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_one_deployment_counts_the_same_whether_a_run_names_a_caller_or_not": 2.3173,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_the_groups_are_copied_not_shared_with_the_run": 0.0145,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_the_same_caller_resolves_to_the_same_digest_every_time": 0.0004,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_two_callers_of_one_deployment_stay_apart": 0.0003,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_two_deployments_never_collide_on_the_same_caller_name": 0.0003,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_two_deployments_never_share_a_deployment_group": 0.0163,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_undecodable_groups_keep_the_user_and_drop_the_groups": 0.0084,+ "tests/unit/pipelex/system/telemetry/test_telemetry_identity.py::TestTelemetryIdentity::test_what_a_span_site_writes_is_what_the_exporter_reads_back": 0.0003,+ "tests/unit/pipelex/system/telemetry/test_telemetry_manager_identity.py::TestTelemetryManagerIdentity::test_an_anonymous_custom_capture_does_not_mark_the_pipelex_capture": 0.0171,+ "tests/unit/pipelex/system/telemetry/test_telemetry_manager_identity.py::TestTelemetryManagerIdentity::test_an_anonymous_mode_does_not_apply_the_runs_identity": 0.0083,+ "tests/unit/pipelex/system/telemetry/test_telemetry_manager_identity.py::TestTelemetryManagerIdentity::test_an_anonymous_operator_stream_still_identifies_nobody": 0.24,+ "tests/unit/pipelex/system/telemetry/test_telemetry_manager_identity.py::TestTelemetryManagerIdentity::test_an_anonymous_stream_ignores_a_user_id_left_behind_in_the_config": 0.0337,+ "tests/unit/pipelex/system/telemetry/test_telemetry_manager_identity.py::TestTelemetryManagerIdentity::test_an_event_from_a_run_is_attributed_to_the_runs_user": 0.293,+ "tests/unit/pipelex/system/telemetry/test_telemetry_manager_identity.py::TestTelemetryManagerIdentity::test_an_event_with_no_run_falls_back_to_the_gateway_hash": 0.0153,+ "tests/unit/pipelex/system/telemetry/test_telemetry_manager_identity.py::TestTelemetryManagerIdentity::test_an_event_with_no_run_reports_under_the_configured_id": 0.0115,+ "tests/unit/pipelex/system/telemetry/test_telemetry_manager_identity.py::TestTelemetryManagerIdentity::test_an_off_mode_captures_nothing": 0.029,+ "tests/unit/pipelex/system/telemetry/test_telemetry_manager_identity.py::TestTelemetryManagerIdentity::test_the_identity_never_becomes_a_property": 0.0422,+ "tests/unit/pipelex/system/telemetry/test_telemetry_manager_identity.py::TestTelemetryManagerIdentity::test_the_pipelex_stream_digests_the_run_inside_the_gateway_hash": 1.6235,+ "tests/unit/pipelex/system/telemetry/test_telemetry_manager_identity.py::TestTelemetryManagerIdentity::test_the_pipelex_stream_trace_start_is_namespaced_like_its_spans": 0.2605,+ "tests/unit/pipelex/system/telemetry/test_telemetry_manager_identity.py::TestTelemetryManagerIdentity::test_the_trace_start_is_attributed_to_the_run": 0.0082,+ "tests/unit/pipelex/system/telemetry/test_telemetry_manager_identity.py::TestTelemetryManagerIdentity::test_two_deployments_never_merge_on_the_same_caller_name": 0.0461,+ "tests/unit/pipelex/system/telemetry/test_telemetry_manager_identity.py::TestTelemetryManagerIdentity::test_without_a_run_it_keeps_the_configured_identity": 0.022,"tests/unit/pipelex/system/telemetry/test_telemetry_stale_remedy.py::TestNoValueFromAUsersFileIsEverRendered::test_the_planted_key_is_in_the_file_and_in_neither_half_of_the_error": 0.055,"tests/unit/pipelex/system/telemetry/test_telemetry_stale_remedy.py::TestTheErrorSaysWhetherTheFileIsOldOrWrong::test_a_file_that_is_simply_wrong_carries_no_block_at_all": 0.0038,"tests/unit/pipelex/system/telemetry/test_telemetry_stale_remedy.py::TestTheErrorSaysWhetherTheFileIsOldOrWrong::test_a_file_the_ledger_only_half_explains_carries_the_pending_migration": 0.8982,@@ -9982,6 +10115,40 @@"tests/unit/pipelex/system/telemetry/test_telemetry_stale_remedy.py::TestTheErrorSaysWhetherTheFileIsOldOrWrong::test_the_domain_comes_from_the_class_and_the_block_rides_the_report": 0.0534,"tests/unit/pipelex/system/telemetry/test_telemetry_stale_remedy.py::TestTheRemedyIsNamedOnlyWhereItWouldWrite::test_a_file_the_ledger_carries_forward_is_told_to_run_the_command": 0.0512,"tests/unit/pipelex/system/telemetry/test_telemetry_stale_remedy.py::TestTheRemedyIsNamedOnlyWhereItWouldWrite::test_a_file_with_nothing_to_apply_is_told_to_read_the_dry_run": 0.0758,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_an_empty_mapping_is_the_default": 0.0003,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_an_unknown_group_type_is_carried_through": 0.0003,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_copy_with_update_carries_the_groups_through": 0.0003,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[dot-in-key]": 0.0004,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[dot-in-value]": 0.0003,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[empty-key]": 1.5792,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[empty-value]": 0.0003,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[hyphen-in-key]": 0.0009,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[interior-newline-in-value]": 0.0148,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[key-one-over-the-length-cap]": 0.0004,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[key-starting-with-a-digit]": 0.0004,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[key-starting-with-an-underscore]": 0.0146,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[one-over-the-entry-cap]": 0.0003,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[slash-in-value]": 0.0008,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[space-in-key]": 0.0005,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[space-in-value]": 0.0003,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[trailing-carriage-return-in-value]": 1.5962,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[trailing-newline-in-key]": 0.0004,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[trailing-newline-in-value]": 0.0005,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[uppercase-key]": 0.0004,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_malformed_groups_raise_at_construction[value-one-over-the-length-cap]": 0.0005,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_the_copy_does_not_alias_the_parents_mapping": 0.0003,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_the_error_names_the_offending_entry": 0.0009,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_the_helper_raises_value_error_rather_than_a_pydantic_error": 0.0003,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_the_helper_returns_the_mapping_it_was_given": 0.0002,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_the_patterns_are_anchored_by_fullmatch_not_by_the_dollar_sign": 0.0269,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_two_run_metadatas_do_not_share_one_default_mapping": 0.0002,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_well_formed_groups_are_accepted[at-the-entry-cap]": 0.0003,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_well_formed_groups_are_accepted[empty-mapping]": 0.2381,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_well_formed_groups_are_accepted[full-charset]": 0.0003,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_well_formed_groups_are_accepted[longest-key-and-value]": 0.0003,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_well_formed_groups_are_accepted[shortest-key-and-value]": 0.0005,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_well_formed_groups_are_accepted[the-hosted-plane-shape]": 1.6324,+ "tests/unit/pipelex/system/test_analytics_groups.py::TestAnalyticsGroups::test_well_formed_groups_are_accepted[two-group-types]": 0.0003,"tests/unit/pipelex/system/test_config_resolution.py::TestConfigResolution::test_cross_platform_paths": 0.1478,"tests/unit/pipelex/system/test_config_resolution.py::TestConfigResolution::test_effective_config_dir_falls_back_to_global": 0.0021,"tests/unit/pipelex/system/test_config_resolution.py::TestConfigResolution::test_effective_config_dir_is_project_when_exists": 0.0011,diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 07b199b4c..369431bf2 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,23 +1,23 @@# Changelog-## [Unreleased]+## [v0.63.0] - 2026-09-23### Added-- **Every span and event a run produces is attributed to that run's caller**: `PostHogSpanExporter` resolves the identity per span and `track_event` per event, both through one `TelemetryIdentity` value, instead of stamping the single `distinct_id` bound when the telemetry manager was built. A run's `user_id` becomes the capture's `distinct_id` and its `analytics_groups` ride PostHog's groups facet; the span sites write both onto the span as `pipelex.run.user_id` and `pipelex.run.analytics_groups`, so every OpenTelemetry exporter sees the same fact and Langfuse finally receives `langfuse.user.id` — withheld for those placeholders, since that field is the attribution itself and has no later resolution behind it. The configured `user_id` and the Gateway-key hash stay as the fallback for everything that names no caller of its own: an event outside any run, and a run whose `user_id` is one of the placeholders — `local` for a run on your own machine, `dry-run-no-user` for a dry-run sweep, `single-tenant` for every run on a pipelex-api deployment configured with no users — which are the same strings everywhere and so are declined as identities rather than merging every deployment onto one person. The groups ride a fallback capture too, so a host may group its runs without naming their callers. `mode = "anonymous"` identifies nobody, a run's own caller and the configured `user_id` included. Pipelex's own Gateway stream is one shared project across every deployment, so it receives neither: a run's caller reaches it only as a one-way digest taken inside the Gateway-key hash, which keeps two callers of one deployment apart while making a collision between two deployments impossible, and the host's `analytics_groups` are not forwarded to it at all. The Gateway-key hash itself rides that stream's group facet, because the digest consumes it and a shared project would otherwise have no way to count a deployment's usage under the key that produced it. Neither the user id nor the groups ever become an event property or a span name. A host that serves many callers from one process therefore sees each caller's generations on their own timeline rather than everything under one identity per deployment.-- **A run carries opaque analytics groups the runtime never parses**: `RunMetadata` and the runtime-bridge payload gain `analytics_groups`, a host-supplied mapping of group type to group key — `{"organization": "org_acme"}` on a multi-tenant host, nothing at all on a single-user one — threaded through `pipeline_run_setup`, `prepare_pipe_job` and `PipelexKernel.make` beside `user_id` and `storage_scope`. No key is privileged and the runtime never reads one by name, the same boundary that keeps `storage_scope` opaque. It is validated where it enters, on the type and at the wire: a lowercase snake_case group type, a group key from `A-Za-z0-9_-`, and a small fixed number of group types per run, so a malformed mapping is a construction error naming the field rather than a failure inside a telemetry capture.+- **A run carries opaque analytics groups**: `RunMetadata` and the runtime-bridge payload gain `analytics_groups`, a host-supplied mapping of group type to group key (`{"organization": "org_acme"}` on a multi-tenant host, nothing on a single-user one), threaded through `pipeline_run_setup`, `prepare_pipe_job` and `PipelexKernel.make` beside `user_id` and `storage_scope`; like `storage_scope`, the runtime never reads a key by name. It is validated where it enters — a lowercase snake_case group type, a group key from `A-Za-z0-9_-`, and a small fixed number of group types per run — so a malformed mapping is a construction error naming the field rather than a failure inside a telemetry capture.+- **Telemetry is attributed to each run's caller**: spans and events resolve their identity per capture through one `TelemetryIdentity`, so a run's `user_id` becomes the PostHog `distinct_id`, its `analytics_groups` ride PostHog's groups facet, and both are written onto the span as `pipelex.run.user_id` and `pipelex.run.analytics_groups` for every OpenTelemetry exporter, Langfuse's `langfuse.user.id` included. Everything that names no caller of its own — an event outside any run, or a run whose `user_id` is a shared placeholder (`local`, `dry-run-no-user`, `single-tenant`) — falls back to the configured `user_id` and the Gateway-key hash, `mode = "anonymous"` identifies nobody, and neither value ever becomes an event property or a span name. Pipelex's own Gateway stream receives neither the caller nor the groups, only a one-way digest of the caller taken inside the Gateway-key hash, so a host serving many callers from one process sees each caller on their own timeline without that identity leaving its own project.### Changed-- **`RunMetadata` is frozen**: a field can no longer be reassigned once the run exists, and an attempt raises a pydantic `ValidationError` at runtime rather than merely failing a type check. The span sites and both PostHog exporters read a run's identity off it while the run is in flight, so a value that changed underneath them would attribute one run's spans to two different callers. Construct a new `RunMetadata` wherever one used to be mutated.+- **`RunMetadata` is frozen (Breaking)**: a field can no longer be reassigned once the run exists, and an attempt raises a pydantic `ValidationError` at runtime rather than merely failing a type check. Telemetry reads a run's identity off it while the run is in flight, so construct a new `RunMetadata` wherever one used to be mutated.### Fixed-- **A crash no longer sends a `PipelexError`'s message as it was written**: the privacy redaction replaced a `PipelexError`'s message only when the error was handed over bare, and the exception autocapture holds nothing but the `(type, value, traceback)` triple an interpreter excepthook is given — so the one capture nobody asks for was the one sending the message verbatim. Such a message may repeat whatever the caller passed in, a file path or a slice of the document that would not parse, and it travelled on the shipped default, where `custom_posthog.mode = "off"` still builds the Gateway client whose construction installs the hooks. Both forms are redacted now, to a same-class stand-in carrying the privacy notice, the class name and the traceback, and nothing else — and so is every `PipelexError` PostHog would reach from the error it is handed, since it sends the whole `__cause__` and `__context__` chain and every member of an exception group, not only the error at the top. The redaction works on a copy of that chain, so the exception the interpreter prints is left as it was. It goes by class: an error of another class keeps its own message, so one that copied a `PipelexError`'s text into it — `raise RuntimeError(f"failed: {error}") from error` — still sends that text.-- **Both telemetry streams record a crash, rather than whichever one went first**: PostHog stamps an error once a client has captured it and drops every later capture of that same object, a guard against one stream recording one error twice that read two destinations as a repeat. The stamp is cleared between the streams now, so Pipelex's stream — always the second — stops losing every unhandled exception on a machine that also reports to an operator's own project. An error the host had already captured itself before it escaped is still recognised as sent, redacted or not, and is not recorded a second time.-- **An unhandled exception is captured under the same identity as everything else on its stream**: the autocapture was built with the configured `user_id` and the Gateway-key hash and sent them raw, so `mode = "anonymous"` still named you on every crash, and a run's `$exception` landed on a different PostHog person from its own spans and events. Both streams now resolve the identity they use for a capture that belongs to no run — which is what an exception is, since the interpreter hooks are handed nothing but the exception itself.-- **An anonymous capture on your PostHog no longer marks the Gateway capture of the same event**: both streams were handed the same properties dictionary, and the anonymous branch stamped `$process_person_profile = false` onto it before the Gateway capture sent it with a `distinct_id`. Each capture now takes its own copy.-- **A malformed `storage_scope` is refused before the run registers itself**: it was validated only inside `prepare_pipe_job`, which runs below the pipeline registration, the library acquire, the tracer open and the trace-start emission, so a scope carrying `..` announced a trace that cannot be unsent before anything looked at it. `pipeline_run_setup` now gates the caller's scope at its top, and gates the rebound value again when the local sentinel turns it into the caller's `pipeline_run_id`. The existing gate in `prepare_pipe_job` stays: it is the first one for a caller reaching that seam directly.+- **A crash no longer sends a `PipelexError`'s message as written**: the exception autocapture sent the message verbatim — which may repeat a file path or a slice of the document that would not parse — even on the shipped default, because redaction applied only to an error handed over bare. Every `PipelexError` PostHog would reach, across the whole `__cause__` and `__context__` chain and every member of an exception group, is now replaced by a same-class stand-in carrying the privacy notice, the class name and the traceback, on a copy so the exception the interpreter prints is untouched. An error of another class that copied a `PipelexError`'s text into its own message still sends that text.+- **Both telemetry streams record a crash**: PostHog's once-per-error stamp made the second stream — always Pipelex's own — drop every unhandled exception on a machine that also reports to an operator's project. The stamp is cleared between the streams now, and an error the host had already captured itself is still not recorded twice.+- **An unhandled exception is captured under the same identity as everything else on its stream**: the autocapture sent the configured `user_id` and the Gateway-key hash raw, so `mode = "anonymous"` still named you on every crash and a run's `$exception` landed on a different PostHog person from its spans. Both streams now use the identity they resolve for any capture that belongs to no run.+- **An anonymous capture no longer marks the Gateway capture of the same event**: both streams shared one properties dictionary, so the anonymous branch's `$process_person_profile = false` reached the Gateway capture sent with a `distinct_id`. Each capture now takes its own copy.+- **A malformed `storage_scope` is refused before the run registers itself**: it was validated only in `prepare_pipe_job`, after the trace-start emission, so a scope carrying `..` announced a trace that cannot be unsent. `pipeline_run_setup` now gates the caller's scope at its top and again after the local sentinel rebinds it, and `prepare_pipe_job` keeps its gate for callers reaching that seam directly.## [v0.62.0] - 2026-09-21diff --git a/pyproject.toml b/pyproject.tomlindex d32f7fd96..8ddaf95ea 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[project]name = "pipelex"-version = "0.62.0"+version = "0.63.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.lockindex fe43a6016..aea169972 100644--- a/uv.lock+++ b/uv.lock@@ -3303,7 +3303,7 @@ wheels = [[[package]]name = "pipelex"-version = "0.62.0"+version = "0.63.0"source = { editable = "." }dependencies = [{ name = "aiofiles" },