OpenWOP openwop.dev

Start here.

Five documents, in this order, ground everything else. New to the corpus? Read them top to bottom before browsing the groups below.

  1. 1OpenWOP v2 Core — OverviewThe six axioms, the claim vocabulary, and the rule that decides what is core and what is an extension.
  2. 2Discovery and CapabilitiesOne well-known resource, one closed capability record type, generated from the single declaration file.
  3. 3Versioning and ReleaseHow a major is negotiated (OpenWOP-Version), the version axes, and the one release identity a host reports.
  4. 4RunsThe unit of execution: create, read, stream, cancel, pause, fork, diff — and the one snapshot every host projects.
  5. 5ErrorsOne error registry; clients route on the code, never the message, and unregistered codes are not protocol errors.

Core

The documents every v2 host implements: discovery, versioning, runs, events, errors, and packs. 25 documents.

Extensions

Optional features a host can add. Each is advertised under extensions.<org>.<key> and is never required. 18 documents.

Other reference material

Specs not grouped elsewhere. New additions land here until categorized. 5 documents.

The directory, in full.

The tree's own README: what lives where, and which files are generated.

Status: released · current corpus. The authoritative version is

release.json. Target v2 for new implementations.

OpenWOP v2 is the current protocol major. Its contract is this directory, schemas/v2/, and api/v2/. They are published together as @openwop/spec-artifacts and tested by @openwop/openwop-conformance 2.x.

v1 is still supported during the overlap period. core/versioning.md and core/overview.md define how a host serves both and when v1 ends.

Start here

  1. core/overview.md — scope, conformance target, and lifecycle.
  2. core/versioning.md — discovery and major-version negotiation.
  3. core/capabilities.md — the discovery document.
  4. core/runs.md, core/events.md, and core/interrupt.md — the execution model.
  5. core/security-defaults.md and core/conformance.md — mandatory safety defaults and evidence rules.

Core documents

Source-of-truth map

PathContents
core/The normative protocol documents
ext/Optional extensions and non-core notes (maturity rules)
declaration.jsonInventory of discovery keys, capability families, maturity, witnesses, facets, profiles, and peer-dependency ids
declaration.schema.jsonSchema for the declaration
facets/Capability facet schemas
errors.jsonError-code registry
event-codemap.jsonv1-to-v2 event-name mapping
path-manifest.jsonCanonical operation and channel paths
profiles.jsonProfile predicates (generated)
peer-dependency-aliases.jsonv1 alias mapping (generated)
release.jsonCorpus release identity
migrations.jsonSurfaces a 2.x minor replaced, and the deprecation row that retires each
corrections.jsonCorrections that changed a v2 shape without breaking a conforming host
surface-baseline.jsonEvery v2 surface, used to check that minors only add (generated)

Do not edit generated files by hand; each names its generator in $comment or its header. Machine artifacts are published in @openwop/spec-artifacts, which the conformance package consumes as an exact-version peer dependency.