OptionalbeginThe loop is stopping (#502): admit nothing from now on. Optional for test doubles.
OptionalclearOptionaldeferralsRuns held back on the last pass and why (#97); optional for older engines and test doubles.
OptionalhealthAdditive health-file fields (#502), merged after the standard ones; empty when there is nothing to say.
OptionalnoteThe fault boundary (#502): a pass that throws is recorded on the engine,
which logs it with its repository and reports it in its health file; a
pass that completes clears it. Optional for test doubles, whose failures
are logged as tick failed: … as before.
OptionalsubscribeBe woken by the governor when a slot this engine was refused may be free (#501). The loop subscribes its own trigger, so a wake is one more tick through the one path — ticks still never overlap. Optional for test doubles.
The engine surface
runLoopactually drives, narrowed from the concreteEngineclass (which the CLI andgateline uppass in) so tests can supply a fake without fightingEngine's private fields — an object literal can't structurally satisfy a class type carrying private state, but a realEngineinstance satisfies this interface trivially.