Expand description
Form 3 — pipeline executor.
Threads the deterministic helpers through their stages first
(parallel-where-independent), then dispatches the LLM stages with
the shared-prefix prompt assembled in super::cache. Trust slots
are resolved against the in-flight stage outputs and rendered into
the LLM prompt verbatim, so the explicit-trust contract holds end-
to-end.
Structs§
- Execution
Trace - Full execution trace returned by
IngestExecutor::run. - Ingest
Executor - The orchestrator. Walks a
Pipelinestart-to-finish, runs helpers up front (parallel-where-independent), threads outputs into LLM stages with explicit-trust slots, and returns anExecutionTrace. - Mock
LlmDispatch - Deterministic mock dispatch used by the test suite and the
cookbook demo. Pops canned responses off a queue; returns
Err("mock: queue exhausted")once empty so tests catch over-call bugs. - Ollama
Dispatch - Production binding to the project’s
OllamaClient::generate. Wraps the existing breaker / timeout discipline.
Enums§
- Executor
Error - Structured error surface for the executor.
- Stage
Outcome - Per-stage trace entry produced by the executor.
Constants§
- DEFAULT_
MULTISTEP_ MAX_ CONTENT_ CHARS - Default cap on the number of characters of
contentinlined into a single Form 3 multistep-ingest LLM stage (issue #782 PERF-11). Mirrors the synthesis-prompt cap from Cluster B (PERF-7); operators override per-namespace via [crate::models::GovernancePolicy::multistep_max_content_chars].
Traits§
- LlmDispatch
- LLM dispatch trait — abstracted so tests can wire a deterministic
mock while production binds to
OllamaClient::generateviaOllamaDispatch.