Skip to content

Specification

Revision 0.2.0 (2026-08-28)

Copyright 2026 by Ben Slavin

Abstract

The Workfile Standard defines a declarative workflow language designed to support both lightweight and durable execution, as well as a manifest format for declaring the connectors and actions that workflows can use.

Workfile lets authors describe their intended work in a compact, portable, and readable form, while a runtime engine executes it using the declared connectors.

  • Introduction to Workfile — The goals and design principles of the Workfile Standard.
  • Scope — What the Standard defines, what it leaves to deployments, and its optional features.
  • Prior Art — The languages, standards, and systems that informed Workfile.
  • Terminology — The defined terms used throughout the specification.
  • Conformance and Requirement Language — Normative language, dependencies, behavior classes, and requirement identifiers.
  • Workfile Format Overview — The document model, execution model, constructs, and optional features at a glance.
  • Serialization — The restricted YAML subset and document processing rules.
  • Data Model — Workfile values, types, comparison, conversion, strings, and time values.
  • Workfile Documents — Document structure, names, bindings, steps, modifiers, and triggers.
  • Expressions and Templates — Expressions, interpolation, built-in filters, templates, and evaluation faults.
  • Workflow Constructs — Values, branching, iteration, waiting, calls, and termination.
  • Execution Semantics — Run lifecycle, outcomes, failure, retry, ambiguity, and scheduling variation.
  • Versioning the Standard — Revisions, compatibility, transitions, errata, and version selection.
  • Syntax Reference — The collected grammar for Workfile expressions and type expressions.
  • Registries — Standard codes, capabilities, profiles, namespaces, and reserved names.
  • Companion Publications — The status and authority of schemas, suites, guides, and registry artifacts.