GIT-032: .git/index (DIRC) reader in dog/git — the stage column

Now
OPEN
Sev
MED
Rep
///dog
On1
GIT-030
See
BEE-022

The GIT-030 waist reads a foreign repo's ODB and nothing else, so the STAGING AREA is invisible: nothing anywhere parses DIRC. BEE-022 wants a stage column, and the same file carries git's stat cache — without it a worktree column means sha1-ing every tracked file on every run. This ticket adds dog/git/DIRC.h in the IDX.h shape (whole mapped const slice, pure, revalidating) plus one binding call, READ-ONLY: bee never writes an index and never refreshes a stat entry, that stays git's own job.

Input

Context

.git/index is git's own binary format, sorted by path, and the one place that knows what is staged and what conflicts.

Goals

One reader, one waist call, entries out in file order with the five fields a status quad and a stat cache actually need.

Constraints

WIP

Design decisions

TODOs

Blockers and bummers

Outcome