JS-090 LOW: modularity cleanup batch — dead checkout.apply, 3 short-hex resolvers, duplicated helpers

A batch of low-severity modularity nits surfaced across the JS tree: dead code whose header still advertises an unused API, three overlapping short-hex resolvers, and helpers (ancestor walk, sub-traversal, stdout writers, require idioms) re-implemented per module instead of shared. One TODO per item; each is independently landable. Method: Issues.

Input

Context

Goals

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome