One code-tree monitor for a process running several engines (#502,
MULTI-REPO.md §8.3 P5). Each engine's loop checks the tree at its own
boundaries, as it always has, but the monitor's debounce counts
consecutive checks, so several loops calling it independently would
confirm a fast-forward sooner the more engines there were.
So the checks are shared by generation. A loop that has not yet seen the
current generation's result gets it without a new check; a loop that has
seen it starts the next generation. With one loop every boundary checks,
exactly as with the monitor itself. With several, the tree is checked about
once per heartbeat whichever loop's heartbeat comes first, a fast-forward is
confirmed after two such checks, and every loop reads the newest status
(latest) before every pass, so a pause idles all of them at once.
One code-tree monitor for a process running several engines (#502, MULTI-REPO.md §8.3 P5). Each engine's loop checks the tree at its own boundaries, as it always has, but the monitor's debounce counts consecutive checks, so several loops calling it independently would confirm a fast-forward sooner the more engines there were.
So the checks are shared by generation. A loop that has not yet seen the current generation's result gets it without a new check; a loop that has seen it starts the next generation. With one loop every boundary checks, exactly as with the monitor itself. With several, the tree is checked about once per heartbeat whichever loop's heartbeat comes first, a fast-forward is confirmed after two such checks, and every loop reads the newest status (
latest) before every pass, so a pause idles all of them at once.