Commit b58c9f1
#3 Grey the whole workflow on a blocked run (it never routed)
A blocked run (duplicate) fails a control at intake before any gate routes, so the
block step emits empty approval `steps`. The graph then drew the full workflow with no
statuses, reading as if the bill routed normally through Manager -> Director -> Post,
which is misleading. Detect a blocked run (approval outcome `blocked`, or matching
verdict `duplicate`) and mark every step `skipped`, so the canvas greys out to show the
workflow was NOT taken; the red outcome banner carries the why.
Reuses the existing `skipped` node style (already greyed at 45%) — no new concept, no
layout change.
NOTE: typechecks and reuses a tested style path; not confirmed live (the blocked run's
vision extraction kept it mid-run past the screenshot window). To verify: run INV-2041
(the duplicate) and check the graph greys once it resolves.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 7a2f641 commit b58c9f1
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
124 | 135 | | |
125 | 136 | | |
126 | 137 | | |
| |||
131 | 142 | | |
132 | 143 | | |
133 | 144 | | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
134 | 158 | | |
135 | 159 | | |
136 | 160 | | |
| |||
0 commit comments