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.

Cleanup unused pipes

Louis Choquel6ba8dfe01601
diff --git a/pipelex/libraries/pipelines/builder/builder.plx b/pipelex/libraries/pipelines/builder/builder.plx
index 19203113a..71f0ff833 100644
--- a/pipelex/libraries/pipelines/builder/builder.plx
+++ b/pipelex/libraries/pipelines/builder/builder.plx
@@ -217,89 +217,3 @@ definition = "Compile the pipelex bundle spec."
inputs = { pipe_specs = "PipeSpec", concept_specs = "ConceptSpec", domain_information = "DomainInformation" }
output = "PipelexBundleSpec"
function_name = "assemble_pipelex_bundle_spec"
-
-# [pipe.validate_pipelex_bundle_loading]
-# type = "PipeSequence"
-# definition = "Validate the pipelex bundle spec with iterative fixing."
-# inputs = { pipelex_bundle_spec = "PipelexBundleSpec", failed_concepts = "ConceptFailure", fixed_concepts = "ConceptSpec", fixed_pipes = "PipeSpec", failed_pipes = "PipeFailure" }
-# output = "PipelexBundleSpec"
-# steps = [
-# { pipe = "validate_loading", result = "validation_result" }
-# { pipe = "handle_validation_result", result = "pipelex_bundle_spec" }
-# ]
-
-# [pipe.validate_pipelex_bundle_dry_run]
-# type = "PipeSequence"
-# definition = "Validate the pipelex bundle spec with iterative fixing."
-# inputs = { pipelex_bundle_spec = "PipelexBundleSpec", failed_concepts = "ConceptFailure", fixed_concepts = "ConceptSpec", fixed_pipes = "PipeSpec", failed_pipes = "PipeFailure" }
-# output = "PipelexBundleSpec"
-# steps = [
-# { pipe = "validate_bundle_spec", result = "validation_result" },
-# { pipe = "handle_validation_result", result = "pipelex_bundle_spec" }
-# ]
-
-
-# [pipe.handle_validation_result]
-# type = "PipeCondition"
-# definition = "Handle validation result - continue if success or fix failures once."
-# inputs = { pipelex_bundle_spec = "PipelexBundleSpec", validation_result = "ValidationResult", failed_concepts = "ConceptFailure", fixed_concepts = "ConceptSpec", fixed_pipes = "PipeSpec", failed_pipes = "PipeFailure" }
-# output = "PipelexBundleSpec"
-# expression_template = "{% if validation_result.failed_concepts %}fix_concepts{% elif validation_result.failed_pipes %}fix_pipes{% else %}continue{% endif %}"
-
-# [pipe.handle_validation_result.pipe_map]
-# fix_concepts = "fix_failing_concepts_once"
-# fix_pipes = "fix_failing_pipes_once"
-# continue = "continue"
-
-# [pipe.fix_failing_concepts_once]
-# type = "PipeSequence"
-# definition = "Fix failing concepts once and return the result."
-# inputs = { pipelex_bundle_spec = "PipelexBundleSpec", failed_concepts = "ConceptFailure", fixed_pipes = "PipeSpec", failed_pipes = "PipeFailure" }
-# output = "PipelexBundleSpec"
-# steps = [
-# { pipe = "fix_failing_concept", batch_over = "failed_concepts", batch_as = "failed_concept", result = "fixed_concepts" },
-# { pipe = "reconstruct_bundle_with_all_fixes", result = "pipelex_bundle_spec" },
-# { pipe = "validate_pipelex_bundle_loading", result = "pipelex_bundle_spec" },
-# { pipe = "validate_pipelex_bundle_dry_run", result = "pipelex_bundle_spec" }
-# ]
-
-# [pipe.fix_failing_pipes_once]
-# type = "PipeSequence"
-# definition = "Fix failing pipes once and return the result."
-# inputs = { pipelex_bundle_spec = "PipelexBundleSpec", failed_pipes = "PipeFailure", fixed_concepts = "ConceptSpec", failed_concepts = "ConceptFailure" }
-# output = "PipelexBundleSpec"
-# steps = [
-# { pipe = "fix_failing_pipe", batch_over = "failed_pipes", batch_as = "failed_pipe", result = "fixed_pipes" },
-# { pipe = "reconstruct_bundle_with_all_fixes", result = "pipelex_bundle_spec" },
-# { pipe = "validate_pipelex_bundle_loading", result = "pipelex_bundle_spec" },
-# { pipe = "validate_pipelex_bundle_dry_run", result = "pipelex_bundle_spec" }
-# ]
-
-# [pipe.validate_loading]
-# type = "PipeFunc"
-# definition = "Validate loading of the bundle spec and return the first error."
-# inputs = { pipelex_bundle_spec = "PipelexBundleSpec" }
-# output = "ValidationResult"
-# function_name = "validate_loading"
-
-# [pipe.validate_bundle_spec]
-# type = "PipeFunc"
-# definition = "Validate the dry running the bundle's pipes and report only failed pipes."
-# inputs = { pipelex_bundle_spec = "PipelexBundleSpec" }
-# output = "ValidationResult"
-# function_name = "validate_bundle_spec"
-
-# [pipe.continue]
-# type = "PipeCompose"
-# definition = "Continue with successful validation - return the bundle unchanged."
-# inputs = { pipelex_bundle_spec = "PipelexBundleSpec" }
-# output = "PipelexBundleSpec"
-# jinja2 = "{{ pipelex_bundle_spec }}"
-
-# [pipe.reconstruct_bundle_with_all_fixes]
-# type = "PipeFunc"
-# definition = "Reconstruct the bundle spec with all the fixed pipes."
-# inputs = { pipelex_bundle_spec = "PipelexBundleSpec", fixed_pipes = "Dynamic", fixed_concepts = "Dynamic" }
-# output = "PipelexBundleSpec"
-# function_name = "reconstruct_bundle_with_all_fixes"
-