refund
flow configflows/refund-v1.yaml
ALL ASSERTIONS HOLD
4 assertions hold on every path the flow declares.
- 6nodesrefund
- 1side-effect step1 gated, 0 ungated
- 4/4assertions hold0 violated
- 1approval gatedeclared on nodes
Assertions
holds every path to charge passes approval >= 2 of 3
holds no side effect after charge
holds every path to a terminal passes validate
holds credit reachable
Flow
Mermaid text
flowchart TD n0["validate"]:::declared n1["lookup"]:::declared n2["review | approval: 2 of 3: ops, finance, risk"]:::declared n3["charge"]:::declared n4["credit"]:::declared n5["receipt"]:::declared n0 -.-> n1 n2 -.-> n3 n3 -.-> n5 n1 -.->|when large| n2 n1 -.->|else| n4 classDef done fill:#d8f0dd,stroke:#2f7d43 classDef halted fill:#fbe0dc,stroke:#b3261e classDef attempted fill:#fff2cc,stroke:#9a6b00 classDef waiting fill:#e3ecfb,stroke:#2b5fb4 classDef notreached fill:#eee,stroke:#999,stroke-dasharray:4
Check
Structural
Types and blocks need your plan.Registry.
details
structural check: types and registered blocks are checked when you embed the viewer with your plan.Registry
Nothing runs: the page shows the flow as declared.
Digest
None
Needs the plan.Registry: the digest commits to the blocks' Go types.
Side effects
1 side-effect step
1 gated, 0 ungated; 1 unknown
details
2 read-only, 2 idempotent: a resume after a crash re-runs them. A side effect halts and asks for its outcome.
1 node: safety unknown without the Registry (the config states none)
Approval gates
1 declared
review: 2 of 3: ops, finance, risk
Problems
None found.