1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
use *;
/// Replays the incident's exact numbers (#1967's evidence): `num_ctx`
/// 209,715 (the session's `safe_context`, standing in for an explicit
/// `[backends] num_ctx` the config never set), the poisoned round's
/// real 205,189 input tokens (97.8% of that window — inside the 95%
/// suspect zone), and a turn that DID see an Accepted round elsewhere.
/// A suspect turn-max at 97.8% of the window, following a turn that
/// otherwise completed normally, must not move `max_ok_input` — this
/// fails on current (pre-fix) `main` by construction, since that code
/// path checks only `turn_saw_accepted`.
/// The anti-vacuous twin: a genuinely clean turn — accepted, and its
/// max input nowhere near the window — still ratchets. Proves the fix
/// is a real exclusion, not a change that silently disables the
/// turn-level ratchet altogether.
/// No known `num_ctx` (e.g. a provider that never reports one): nothing
/// to compare against, so `is_truncation_suspect` is never true and an
/// accepted turn ratchets exactly as it always has.