Run one engine per repository in this process, under one governor, one
code-tree monitor and one shutdown path (#502, MULTI-REPO.md §8). The caller
hands over the list — this package reads no config file — with each entry's
id already derived. Refuses a list that names one repository twice.
Order of startup: every engine is assembled and registered with the
governor, then every engine seeds and reports (each bounded by
startupTimeoutMs), then the loops start together. The handle is returned
then, without waiting for the startup passes. A failure in one engine at
run time — a tick that throws, a closing commit that throws — marks that
engine failed in its own health file and leaves the others running
(triggers.ts, engine.ts).
Run one engine per repository in this process, under one governor, one code-tree monitor and one shutdown path (#502, MULTI-REPO.md §8). The caller hands over the list — this package reads no config file — with each entry's id already derived. Refuses a list that names one repository twice.
Order of startup: every engine is assembled and registered with the governor, then every engine seeds and reports (each bounded by
startupTimeoutMs), then the loops start together. The handle is returned then, without waiting for the startup passes. A failure in one engine at run time — a tick that throws, a closing commit that throws — marks that engine failed in its own health file and leaves the others running (triggers.ts, engine.ts).