Watch
0
0
Fork
You've already forked hyperhive
0

swarm-controller: the review classifier reads a diff with 25 lines of context, not 200

The wide diff's context drops from 200 to 25 lines, so a block's
enclosing gate stays in view when it opens within 25 lines above the
change (the forge's own diff carries 3). The fallback note, the doc and
the gate fixture (now 20 lines out, not 47) follow.
This commit is contained in:
atlas 2026-10-15 10:13:23 +02:00 • committed by mara
commit 4098fd6d35

View file

@ -2033,7 +2033,7 @@ mod tests {
let body = narrowed(reason(), true).await;
assert!(
body.ends_with(
"\nThe classifier read the forge's diff, with 3 lines of context, not 200: \
"\nThe classifier read the forge's diff, with 3 lines of context, not 25: \
the PR changes 101 files.\n"
),
"{body}"