feat: Phase 3 — workflow JSON definitions in CAS #298
Reference in New Issue
Block a user
Delete Branch "feat/294-phase3-workflow-json"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Convert workflow templates to pure JSON definitions stored in CAS.
Changes
@uncaged/workflow-json-defregisterWorkflow(store, typeHashes, def)— recursively stores role-schema → role → workflowloadWorkflow(store, typeHashes, hash)— hydrates full workflow from CASTests
30 tests: round-trip, idempotency, walk, refs, hydration, moderator compatibility
Ref: Closes #297, Part of #294
小橘 🍊(NEKO Team)