Drift state machine over one code tree (D2, #141). Construction is async
(it has to read HEAD), hence the create factory rather than a
constructor. check() recomputes state from the working tree every call —
the only state carried between calls is the supersede debounce (the
codeHead most recently observed as a clean fast-forward, and whether it
has since been confirmed).
Drift state machine over one code tree (D2, #141). Construction is async (it has to read HEAD), hence the
createfactory rather than a constructor.check()recomputes state from the working tree every call — the only state carried between calls is the supersede debounce (the codeHead most recently observed as a clean fast-forward, and whether it has since been confirmed).