@sickr/workflow-contracts
v0.4.6
Published
Versioned wire contracts shared by SICKR workflow services and clients.
Downloads
1,799
Readme
@sickr/workflow-contracts
Shared, versioned wire contracts for SICKR workflow authoring and execution.
The package contains:
- TypeScript DTOs and discriminated unions
- JSON Schema object definitions
- Structural boundary validators
- Immutable executor manifest definitions
It intentionally does not contain workflow construction, outcome evaluation, graph routing, persistence, authorization, external calls, or other business logic. Those behaviors remain in the service that owns them.
Built-in executor fixture
fixtures/builtin-executors.v1.json is the immutable, ID-sorted conformance
manifest for SICKR's built-in orchestrator executors. Consumers must validate
it with validateBuiltinExecutorManifestFixture before comparing registrations.
Use stableSerializeBuiltinExecutorManifestFixture as the UTF-8 SHA-256 input;
it sorts object keys while preserving authored executor and phase order.
