Rz-coder8848/moon-fsm/examples/incident_workflow does not have a README file
type IncidentContextpub(all) struct RunbookReview {
required_total : Int
required_completed : Int
missing_required : Array[String]
next_owner : String?
complete : Bool
escalation_required : Bool
}pub(all) struct RunbookStep {
name : String
event : String
owner : String
required : Bool
}fn completed_required_steps(runbook : IncidentRunbook, history : Array[TransitionRecord[String, String]]) -> Intfn missing_runbook_events(runbook : IncidentRunbook, history : Array[TransitionRecord[String, String]]) -> Array[String]fn next_runbook_owner(runbook : IncidentRunbook, history : Array[TransitionRecord[String, String]]) -> String?fn next_runbook_step(runbook : IncidentRunbook, history : Array[TransitionRecord[String, String]]) -> RunbookStep?fn owner_has_pending(runbook : IncidentRunbook, history : Array[TransitionRecord[String, String]], owner : String) -> Boolfn pending_steps_for_owner(runbook : IncidentRunbook, history : Array[TransitionRecord[String, String]], owner : String) -> Intfn remaining_required_steps(runbook : IncidentRunbook, history : Array[TransitionRecord[String, String]]) -> Intfn review_runbook(runbook : IncidentRunbook, history : Array[TransitionRecord[String, String]], severity : Int) -> RunbookReviewfn runbook_completion_percent(runbook : IncidentRunbook, history : Array[TransitionRecord[String, String]]) -> Intfn runbook_progress(runbook : IncidentRunbook, history : Array[TransitionRecord[String, String]]) -> Stringfn severity_label(severity : Int) -> String