2f86e5b13d
Documents with many short headings (FAQ-style, quick refs) used to fail the heading-tier validator with "too many tiny chunks" and silently fall back to legacy splitting, defeating the purpose of heading-aware mode. Merge physically adjacent sections whose combined size still fits within ChunkSize, deriving a shared breadcrumb via commonHeadingPrefix so the merged chunk's ContextHeader stays meaningful. Tests cover the merge path, position-invariant preservation after merge, ChunkSize ceiling, and the breadcrumb prefix helper. Existing tests that relied on tiny fixtures were grown so each section stays distinct.