This single integer is the whole schema-compatibility surface, enforced at two points.
Every workflow document (workflow.json) must declare the format version it is authored
against in its required schemaVersion field; the workflow bundle loaders reject a
document whose declared version does not match SUPPORTED_WORKFLOW_SCHEMA_VERSION,
naming both versions. A shipped-workflow catalog additionally declares the schema version it was
authored against in its agentforge4j-catalog.json manifest
(workflowSchemaVersion); the catalog compatibility gate rejects a catalog whose declared
version does not match, so a catalog built against a newer (or older) workflow schema cannot be
loaded by an incompatible framework. Nested documents of a bundle (blueprints, agents,
artifacts) carry no version field of their own — the workflow document's schemaVersion
names the wire format of the whole bundle.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe single workflow schema version supported by this framework build. -
Method Summary
-
Field Details
-
SUPPORTED_WORKFLOW_SCHEMA_VERSION
public static final int SUPPORTED_WORKFLOW_SCHEMA_VERSIONThe single workflow schema version supported by this framework build.- See Also:
-