Pipeline template

From peteromallet/Arnold · View interactive version

Pipeline template is an AI agent skill from the GitHub repository peteromallet/Arnold. Reference contract for the canonical Arnold native-first pipeline template scaffold.

How to use this skill

Skill file

Skill: Pipeline Template Reference

The canonical scaffold is arnold_pipelines/_template/. It shows the minimum

required contract for a native-first pipeline:

non-null native_program.

supported_modes containing "native".

@decision, parallel, compile_pipeline, and project_graph.

Native-First Authoring Shape

For native-first authoring, organise components as package-local exports:

pipelines.py owns the native declaration topology. Supporting modules

(steps.py, prompts.py, policies.py, schemas.py, subflows.py)

may be imported by the native declaration, but the declaration itself

is the single source of topology truth.

The build_pipeline() entrypoint compiles the native program and projects

it into a Pipeline shell. The shell exists for discovery and validation.

The runtime executes the native program directly.

Dispatch Substrate Boundary

The native_program field is a dispatch substrate, not a final

compositional surface. It proves the package is executable by the native

runtime, but it does not lock in panel synthesis, join delegation,

parallel merge strategy, subpipeline ownership, or Capsule projection.

Those concerns belong to later Megaplan layers above the dispatch

boundary.

What NOT to Use

Do not use these patterns in new packages built from the template:

is native-first and single-mode.

packages, or temporary wrapper modules.

_forward_m2_m3 graph objects in build_pipeline().

Derived manifests, catalogs, and projection artifacts are compiler output,

not package source.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.