Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

pipekit-ops Design Doc: the missing operators and execution

pipekit-ops adds the plumbing that real pipelines write as Lambda today: dict and list handling, flow limits, one execution story from serial to distributed, a disk cache, and serialisable observers and checks. It never inspects a carrier and never takes a third-party dependency.

This doc set covers what was missing from pipekit_ops after PR #199 moved the core into packages/pipekit-ops/. It was written against main 903b0c3, and every claim about the code at that commit names the source file it was checked against. Phases P1 to P5 of the roadmap have since shipped, in #209, #210, #211, #215, #216 and #217 (pipekit-ops 0.2.1); only P6, the async-aware wrappers, is still deferred. The pages now mark what ships as today, and where the build departed from the design, an “As built” note says what was built and why; Decisions collects them.

Structure

docs/design/
├── README.md          # This file: index, reading order, sources.
├── vision.md          # The decision, the boundaries, the running example end to end.
├── api/
│   ├── README.md      # The catalogue: one table per group
│   │                  # (Operator · Signature · Semantics · Status).
│   ├── operators.md   # Dict plumbing, iterables, flow, cache + store,
│   │                  # observe + QC: semantics and sketches.
│   └── execution.md   # The main section: Map + executors, ordering,
│                      # errors, backpressure, cancellation, chunking,
│                      # pickling, async, JAX tracers, Prefetch.
├── toolz.md           # Parity table: every toolz name → pipekit-ops status.
├── decisions.md       # ADRs O1 to O16: Recommended / Alternative,
│                      # then the as-built notes.
└── roadmap.md         # Testing gates with pass conditions, phases,
                       # risks, fallbacks and measured results.

Reading order

  1. Vision: what pipekit-ops adds, what it never does, and the Sentinel-2 example that runs through every page.

  2. Operator catalogue: the whole catalogue at a glance.

  3. Execution: the execution design, the largest change.

  4. Operators: the other groups in detail.

  5. toolz parity: where each toolz function lands, and where toolz changed the plan.

  6. Decisions: the commitments, each with its alternative.

  7. Roadmap and testing gates: the order of work, the tests that close each phase, and what they measured.

Sources

Where the agreed gap list and toolz disagree, Decisions records the choice.