local.takt.json
benches/rrt/canister/src/workflows/local/local.takt.json
1{2 "$schema": "../../../../../crates/cdk-rsx-takt-generator/schema/workflow-v1.schema.json",3 "FormatVersion": 1,4 "Workflow": {5 "Id": "reactor.fourcans.local",6 "Version": 17 },8 "Modules": {9 "M": "./memory/v1",10 "R": "./Rules",11 "O": "./Operations"12 },13 "Types": {14 "Memory": "M.Memory",15 "Data": "M.Progress",16 "Error": "M.Error",17 "Operations": "O.Operations"18 },19 "Progress": [20 "Request"21 ],22 "Inspection": {23 "Tag": "Local",24 "Authorize": "R.authorized",25 "Details": "R.details",26 "Error": "R.error",27 "StatusType": "R.Status",28 "Status": "R.status"29 },30 "Defaults": {31 "OnExhausted": "Pause",32 "TimeoutMillis": 30000,33 "Retry": [34 {35 "When": "R.retryable",36 "Backoff": {37 "IntervalMillis": 250,38 "MaxDelayMillis": 2000,39 "MaxRetries": 540 }41 }42 ]43 },44 "States": {45 "Open": {46 "Type": "Local",47 "Input": "Request",48 "Output": "Request",49 "Handler": "ops.open",50 "Next": "Audit",51 "Capabilities": [52 "Dispatch",53 "Clock"54 ]55 },56 "Audit": {57 "Type": "Local",58 "Input": "Request",59 "Output": "Request",60 "Handler": "ops.audit",61 "Next": "Done",62 "Capabilities": [63 "Dispatch",64 "Clock"65 ]66 },67 "Done": {68 "Type": "Succeed",69 "Input": "Request"70 }71 },72 "StartAt": "Open"73}