refund
flow configflows/refund-bypass.yaml
1 POLICY VIOLATION
An assertion fails on a path the flow declares. The counterexample is drawn in red.
- 7nodesrefund
- 2side-effect steps1 gated, 1 ungated
- 4/5assertions hold1 violated
- 1approval gatedeclared on nodes
Assertions
violated every path to charge_vip passes approval >= 2 of 3
a path reaches "charge_vip" without passing an approval gate of at least 2 of 3
counterexample: validate → lookup → charge_vip
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["charge_vip"]:::problem n5["credit"]:::declared n6["receipt"]:::declared n0 -.-> n1 n2 -.-> n3 n3 -.-> n6 n1 -.->|when large| n2 n1 -.->|when vip| n4 n1 -.->|else| n5 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
2 side-effect steps
1 gated, 1 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
| Where | Problem |
|---|---|
charge_vip | error: assert[0] "every path to charge_vip passes approval >= 2 of 3" is violated: a path reaches "charge_vip" without passing an approval gate of at least 2 of 3 (counterexample: validate -> lookup -> charge_vip) |