DIFF-009: tree diff silently drops files — 1-2 headers on Ubuntu CI, once ALL headers locally — exit 0 either way

be diff:?v1..v2 (test be-diff-17-tree-no-truncate, 80 modified files) intermittently emits fewer file diffs than it should, with exit 0. Two observed signatures: (A) Ubuntu CI drops 1-2 MID-LIST headers with the tail intact (2026-07-06 run 28809192096: 79/80, highest header f079 present; earlier runs: 2 dropped); (B) once locally (musl, default build): tree.got.out entirely EMPTY, still exit 0. Local hammering never reproduces A (33 runs green across gcc/clang x default/Release, then 20 more). A partial fix is drafted (see WIP). Related: DIFF-007 "diff:<largefile> silently empty" (the silent-empty family), DIFF-008 (the per-file BASS rewind this test guards).

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome