Class: Lyra::Verification::CrudLifecycleWorkflow
- Inherits:
-
PetriFlow::Workflow
- Object
- PetriFlow::Workflow
- Lyra::Verification::CrudLifecycleWorkflow
- Defined in:
- lib/lyra/verification/crud_lifecycle_workflow.rb
Overview
Petri Net model for verifying CRUD→Event mapping correctness.
This workflow models the lifecycle of an entity through CRUD operations and verifies that:
- Every CRUD operation generates exactly one event
- Entity state transitions are valid (can't update/destroy before create)
- All terminal states are reachable
- No deadlocks in the event flow