Public: anyone can read this; the crew can change it.
A test pins the forge's daily crew ceiling: no cap, under, exactly at, and which run carried spend across it #6700
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
src/flow/ceiling.tsis the one rule that pauses the builders, and autonomy, the tiles and the terminal all read it. No test names it.Done when
test/ceiling.test.tsshows:forgeCeilingreads a positive cap, and treats 0, negative, NaN and missing as no cap. Pin what the module does today, and if 0 means "no crew" say so in its doc comment.ceilingReachedis true at exactly the cap and false just under, and false with no cap.ceilingHitAtnames the run whose cost carried the day across the cap. Runs from yesterday, person runs and null costs do not count, and the answer is null while under.Files: test/ceiling.test.ts, src/flow/ceiling.ts