feat!: signal-driven conditional pipeline with single full/smoke config#4
Merged
Conversation
… routing Add classify-url pipeline step, runIf/skipIf gates, and fallback load-source routing. - src/contracts/pipeline/condition.ts — recursive Condition type (string leaf, all/any/not combinators) - src/core/pipeline/conditions.ts — evaluateCondition, resolveStepGate, isTruthySignal - src/core/pipeline/compiled.ts — runIf/skipIf on CompiledPipelineStep - src/core/pipeline/orchestrator.ts — gate evaluation before step execution - src/builtins/pipeline-steps/classify-url/ — config, step, and descriptor - src/config/yaml/yaml-config.ts — conditionSchema with diagnostic-name validation - src/engine/engine-config.ts — runIf/skipIf on EngineStepConfig - src/shared/diagnostic-names.ts — isDiagnosticName helper - config/llm-context-loader.yaml — clean-combined rewired with classify → docling (runIf:binary_doc) → firecrawl (fallback) → clean (skipIf:code_host) - docs: ARCHITECTURE.md, CUSTOMIZATION.md, ROADMAP.md updated - 69 new focused tests; 388 total passing
…nd standalone docs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace the four shipped pipelines and their ad-hoc knobs with one
signal-driven
fullpipeline (plus a minimalsmoke), and make both externalsource providers pass their options through opaquely.
Conditional execution
a step runs iff (runIf absent or true) AND (skipIf absent or false).
recorded as skipped (run_if_unmet / skip_if_met), not executed.
classify-url step
anyHost; matchers are precompiled at parse time.
Single pipeline (breaking)
full pipeline toggled by *_ENABLED env, plus a small smoke pipeline.
fetch_firecrawl -> fetch_http fallback; readability skipped on code_host.
provider is never required at startup.
Opaque provider options (breaking)
options record (inline YAML object or a JSON-string env blob).
docling-default.
raw-PDF passthrough now detected by the %PDF magic header, not a flag.
Breaking
SOURCE_PROVIDER removed; per-provider timeouts; CLEAN_* / SUMMARIZE_* ->
LLM_CLEAN_* / LLM_SUMMARIZE_*; new *_ENABLED toggles.
Docs, env examples, and Compose files updated to match.