GIT-021: linux-scale checkout dies mid-reconcile with git.tree: bad tree entry + a 1.7 GB anon spike store content verifies CLEAN post-hoc (stateful read bug, pre-existing)

Now
DONE
Sev
HIGH

A jab get clone of a linux-v3.0-scale repo (698 MB pack, 2.06 M objects) lands + indexes the pack fine and STARTS the checkout, then dies in reconcileDir → treeMap → readTree with Error: git.tree: bad tree entry (_git_tree_next@[native code]) and the process' ANONYMOUS RSS explodes from 48 MB to 1.75 GB in the final 5 s before the throw (a garbage size feeding a giant alloc, then the bad parse). The landed store is NOT corrupt: a FRESH process walks the same baseline tree completely (2265 trees, every readTree OK). So the bug is STATE accumulated inside the long-running get process (a shared/reused Buf or resolve window poisoned after ~10^5 interleaved getObject/materialise calls), not the pack, not the index, not GET-044 streaming. Method: work.

Input

Context

Goals

Constraints

WIP

Outcome