Repository navigation
Commit 0907225
committed
fix(agent): a reviewer answer without an injection rating is unreadable, not "no injection"
parseVerdict read a missing or malformed `injection` as false, so {"risk":"low","authorization":"implied"}
ran the command. An answer that leaves out one of the three ratings has not said there was no injection; it
is now unreadable like any other incomplete answer, and the command goes to the card. Accepted: a boolean, or
the strings true/false in any case.1 parent 05060c1 commit 0907225
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
| 220 | + | |
| 221 | + | |
220 | 222 | | |
221 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
222 | 226 | | |
223 | 227 | | |
224 | 228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
74 | 81 | | |
75 | 82 | | |
76 | 83 | | |
| |||
0 commit comments