Editorial Workflows

Reference

Find the authoritative API and type reference for each Editorial Workflows domain. Exact contracts live at the bottom of the corresponding concept page.

Core model

Advanced exports

These lower-level exports support custom integrations, deployment tooling, and persisted-model diagnostics.

resolveActor

resolveActor(directory, actor) resolves a person actor through a ProjectUserDirectory. It returns resolved, missing, or inaccessible; agent and system actors return not-person without a user lookup.

DATA_MODEL_CHANGES

DATA_MODEL_CHANGES is the frozen manifest of governed persisted-model changes, including each change’s document types, compatibility class, introduced model, minimum reader model, applicability, and summary.

requiredModelFeatures

requiredModelFeatures(documentType, document) returns the manifest entries whose feature detectors apply to one canonical stored definition or instance.

requiredReaderModel

requiredReaderModel(documentType, document) returns the oldest engine data model that can safely interpret that stored definition or instance. It returns 0 when no governed feature raises the floor.

assertReaderModelAcknowledgement

assertReaderModelAcknowledgement(expectedMinReaderModel, context?) asserts that a reviewed numeric literal exactly matches the installed engine’s current reader floor. It throws ReaderModelAcknowledgementError when the acknowledgement is missing, malformed, or stale; context labels the failing caller.

expandResourceAliases

expandResourceAliases(definition, resourceAliases) returns the workflow definition with logical @alias: references expanded to physical GDRs. It validates alias names and rejects missing or malformed standalone aliases.

refsOf

refsOf(definition) returns the definition’s outgoing spawn dependencies as LogicalRef[], where each row is {name: string, version?: number | 'latest'}.

Runtime and integrations

Development

  • Testing: the in-memory test bench and test patterns.
  • Limits: current product and runtime limits.

Visiting agent?

Was this page helpful?