bin/lib/dag.js — ahead/behind commit divergenceAdd the commit-divergence block (ahead/behind) to bin/status.js via a JS DAG.
Part of JS-027. Method: Issues.
be status prepends ahead/behind cur-vs-tip (GET-021; graf in C). graf is a dog,
so reimplement the ancestry in JS over JS-030 commitParents (bounded BFS).dag.js: aheadBehind(cur, tip) -> {ahead, behind} + the diverging commit:?sha
list, via parent-walk over keeper commits.bin/status.js ahead of the file rows.abc ONLY (no graf linked). Bounded walk; visited set in JS.foster/rebase parents excluded from the FF walk
(match git/graf per dog/git/GIT.h).test/bin/): ahead/behind + the divergence rows match native
be status on a diverged toy repo (local commit + advanced tip).