Rewrite instead of patching
The first chain truncated text silently and kept results in memory. The new engine indexes CVs in overlapping text windows (no silent truncation), ranks a candidate on the best window rather than an average, and writes results itself.