Commit 2f2353e
committed
fix(review): read the merge-readiness-promoted policy in recordGateScoreSignals (#8223)
The pure gate path applies applyMergeReadinessGate(policy) before evaluating,
so a repo with mergeReadinessGateMode: block and slopGateMode unset genuinely
blocks on slop via the composite promotion -- but the writer read the RAW
policy and skipped the write for exactly that case, silently dropping corpus
evidence. Read every field from the promoted policy, mirroring
recordConfiguredGateBlockerSignals, with a composite-promotion regression test.1 parent c540c2a commit 2f2353e
2 files changed
Lines changed: 21 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1159 | 1159 | | |
1160 | 1160 | | |
1161 | 1161 | | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
1162 | 1167 | | |
1163 | 1168 | | |
1164 | 1169 | | |
1165 | 1170 | | |
1166 | 1171 | | |
1167 | | - | |
1168 | | - | |
| 1172 | + | |
| 1173 | + | |
1169 | 1174 | | |
1170 | | - | |
| 1175 | + | |
1171 | 1176 | | |
1172 | 1177 | | |
1173 | 1178 | | |
| |||
1184 | 1189 | | |
1185 | 1190 | | |
1186 | 1191 | | |
1187 | | - | |
1188 | | - | |
1189 | | - | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
1190 | 1195 | | |
1191 | 1196 | | |
1192 | 1197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
270 | 280 | | |
271 | 281 | | |
272 | 282 | | |
| |||
0 commit comments