All notable changes to the OpenFlange specifications, schemas and conformance fixtures are recorded here. The format follows Keep a Changelog. Each specification is versioned independently (see COMPATIBILITY.md); entries name the specification they affect.
Nothing in this repository has been published or released yet. Dates are the dates of the drafts.
[Unreleased] #
Added #
- Declared batch mode (RFC 0003, experimental, feature
batch). A pipe with one input and anexecutableorscriptimplementation may declarebatch: {maxItems, maxWaitMs, delivery}; the runner hands it up tomaxItemsitems at a time and never holds an item for longer thanmaxWaitMs. Batch boundaries are not semantic.- Pipe specification 5.7 (declaration, preconditions, invariants), 9.5
(
process_batch(items, params)for Starlark scripts), 14.7. - Pipeline specification 3.8 (node
batchsettings: tighten only,E_PARAM), 6.5 (effective settings in the plan), 8.11 (delivery rule: one batch in flight, one accumulating; at most 2 ×maxItemsitems). - CLI specification 5.1 (one JSON array per line; one answer line per
input line) and 5.2 (
delivery: file: NDJSON batch files, one process per batch with{batch.input}/{batch.output}, or a long-running process acknowledging{"ok": true});batchinOPENFLANGE_CONFIG. - Test specification 3.4: a test may pin
batch. - Not valid on
builtin,expression,pipelineandhttpimplementations (E_MANIFEST); the HTTP Pipe Protocol is unchanged. - Schemas:
pipe(batch,batchOverride),pipeline,plan,test,cli-config. Conformance:manifests/*/batch-*,pipelines/*/batch-*,runs/batch/.
- Pipe specification 5.7 (declaration, preconditions, invariants), 9.5
(
- Usage reporting endpoint (CLI specification 5.3, experimental;
was proposed in section 5).
usage: {url}inOPENFLANGE_CONFIG; an executablePOSTs one or more JSON objects — numbers are counters and are summed, strings are labels — with the configuration's bearer token. Offered to every executable with additional ports and, for single-port pipes, when the manifest sets the newimplementation.usage: true(executable, andscriptoutside Starlark; pipe specification 8). Status codes, limits (64 KiB, 64 members) and the rule that a report never fails a run and is never logged are specified. Schemas:pipe(implementation.usage),cli-config. Conformance:manifests/valid/usage-{executable,script-python},manifests/invalid/usage-{on-starlark,on-expression,not-a-boolean}. - Text assertions (test specification 5, experimental; were proposed):
minLength,maxLengthandpatternontextoutputs. Thetestschema now accepts them inexpect.outputs(it only described them before). Conformance: two tests inruns/std/json-roundtrip. - Batch mode, follow-ups to RFC 0003 (experimental):
- CLI specification 9.1:
--batch [<node>=]<maxItems>[,<maxWaitMs>]onrunandvalidatetightens batch settings from the command line (E_PARAMwhen it would loosen them);openflange test --batchapplies to tests that pin nobatchof their own (test specification 3.4). - Pipeline specification 10 and the
run-reportschema: per-nodebatchstatistics (batches,maxBatchItems,avgBatchItems,waitFlushes,maxFlushes,eofFlushes,highWaterItems). - CLI specification 5.1: on a
windowsinput one window frame is one item of a batch (proposed, like window framing). - CLI specification 5.2: a runner refuses file delivery with
E_UNSUPPORTED, before reading data, when the temporary directory is missing, not writable or has an unsafe path, and should not keep in memory the items it has written to a batch file. - CLI specification 9.1:
--outputand--reportcreate missing parent directories. - RFC 0003 records the above and resolves its open question on usage counters.
- CLI specification 9.1:
Fixed #
- HTTP Pipe Protocol, section 11: the curl example now passes
-X POSTwith-T(it sentPUT, which servers answer with405). - CLI specification, section 3: the rule for which ports use the standard
streams now matches the pipe specification — an
executablebinds whatstdin/stdoutname (by default the sole port; none with several ports and no binding), ascriptin r, python or node binds its first-declared input and output (8.3); every other port uses the loopback endpoints. It said "by default the sole input and the sole output" for both. - CLI specification, section 6.3 rule 3: a runner SHOULD warn when a connected additional input was never attached (it is still discarded).
Changed #
Registry specification, section 3.2: the on-disk layout is now specified. The public registry is an inGitDB database with collections
pipesandpublishers, record filespipes/$records/<publisher>~2F<name>.yaml(key<publisher>/<name>,key_encoding: tilde-v1) andpublishers/$records/<publisher>.yaml, two-layer validation (ingitdb validate, then the registry's own checks), quoted date strings, andx-keys only when declared in the collection definition. Optional publication as an OpenVaultDB database is described; for the public registry it is prepared, not yet live. The logical model, entry fields, index and facets are unchanged, and private or federated registries only need to produce the same portable index.tools/validate.py: the sibling-registry check readspipes/$records/*.yamlandpublishers/$records/*.yaml(not the collection definitions) and checks that entry file names are the tilde-v1 encoding of their key.Parameters (baseline amendment 1):
minLength,maxLengthandpatternforstringparameters, in the pipe specification (section 7) andpipe-v0.1.schema.json. Lengths are counted in Unicode code points;patternis RE2 syntax, unanchored.mask-email.characternow declaresminLength: 1, maxLength: 1, so"**"and""areE_PARAM.Lock integrity (baseline amendment 2): the hash input is length-prefixed,
<path> 0x00 <decimal byte length> 0x00 <content>per file in sorted path order. Lock specification section 4 has a worked example whose hash is recomputed bytools/validate.pyfromexamples/lock-integrity/. Integrity values computed with the earlier draft rule are no longer valid.Pipeline outputs (baseline amendment 3): the shorthand string form (
email: mask.outputs.email) is accepted, in the pipeline specification (section 3.5) andpipeline-v0.1.schema.json.Conformance fixtures for the above. New: manifests
valid/parameter-string-constraintsandinvalid/parameter-{default-violates-maxlength,default-violates-pattern,minlength-above-maxlength,minlength-negative,minlength-on-integer,pattern-not-a-regex}; pipelinesvalid/parameter-string-constraints,valid/pipeline-output-shorthandandinvalid/parameter-{pattern-mismatch,string-too-long,string-too-short}. Removed: pipelinesinvalid/pipeline-output-shorthand(now valid). Changed expectations: inruns/email,character: "**"and""now expectE_PARAM, with one new test through the composite and one for a four-byte single code point. Every copy of themask-emailmanifest in the fixtures gainedminLength: 1, maxLength: 1oncharacter; the expectations of those cases are unchanged.
[0.1.0-draft] - 2026-12-03 #
First complete set of drafts. All contracts are experimental unless
stated; window framing and processing-time windows are proposed.
Added #
- Specification drafts (
version: 0.1.0-draft,status: experimental):openflange.org/pipe/v0.1-specs/pipe/v0.1.md: theOPENFLANGE.mdmanifest, ports, parameters, implementations, permissions, package discovery, the mandatory attribution link.openflange.org/pipeline/v0.1-specs/pipeline/v0.1.md:pipeline.yaml, consumer-side mappings, validation and error codes, the execution plan, and the stream and execution semantics (media types, NDJSON rules, lossless numbers, ordering, backpressure, port and run states, failure and partial output, run report).openflange.org/cli/v0.1-specs/cli/v0.1.md: stdin/stdout protocol, execution configuration and loopback HTTP endpoints for additional ports, and the standaloneopenflangecommand set.openflange.org/http/v0.1-specs/http/v0.1.md: discovery, sessions, independent concurrent input and output streams, status codes, authoritative session status.openflange.org/registry/v0.1-specs/registry/v0.1.md: Git-backed registry entries, publisher namespaces, generated indexes.openflange.org/std/v0.1-specs/std/v0.1.md: the portable standard library (std:pipes).openflange.org/test/v0.1-specs/test/v0.1.md: portable test files.openflange.org/lock/v0.1-specs/lock/v0.1.md:openflange.lock.yaml.openflange.org/package/v0.1-specs/package/v0.1.md: packages and theopenflange.yamlindex.openflange.org/layout/v0.1-specs/layout/v0.1.md:pipeline.layout.yaml.
- Every specification opens with a plain summary, an "At a glance" list,
a minimal example and a citation rule, and cross-references other
specifications by absolute
https://openflange.org/<name>/v0.1#anchorURLs (the intended publication addresses; not live). - Pipe manifest fields
cardinality(one-to-one|any) anddeterministic, and the definition of a function-like pipe. - JSON Schema 2020-12 files under
schemas/, with$ids underhttps://openflange.org/schemas/: pipe manifest frontmatter, pipeline, layout, lockfile, test file, package index, registry entry, registry publisher, registry index, CLI execution configuration, HTTP pipe list, pipe definition, session request, session response and session status, run report, execution plan, structured error, window frame, registry facets. - Portable conformance fixtures under
conformance/: valid and invalid manifests, valid and invalid pipelines, and runnable cases in the portable test format (email fixture, branching, precision passthrough, ordering, empty and disconnected ports, failure after output, windows, standard pipes). - RFC process (
rfcs/README.md), RFC template, and RFC 0001: Window framing and count windows (proposed), and RFC 0002: Pipes as query-language functions (proposed). examples/: transcriptions of the concrete baseline and brief examples, checked against the schemas.tools/validate.pyand a CI workflow that runs it.- Draft governance, contribution, compatibility and brand documents.
- Licence split: CC BY 4.0 for specifications and documentation, Apache-2.0 for schemas, tools, fixtures and code examples.
Known limitations #
std/is empty: the standard library manifests are to be supplied by the Go reference implementation.- The run fixtures have not yet been executed by an OpenFlange runner. They
are checked statically by
tools/validate.py; seeconformance/README.mdfor what was cross-checked and how. - Deferred, not specified in v0.1: event-time watermarks, session windows, checkpointing and recovery, distributed scheduling, WASM implementations, HTTP stream reconnect, dynamic ports.