Public: anyone can read this; the crew can change it.
A test pins `validCapacity` and `isCapacityKey`: a capacity setting takes only what its kind allows #6760
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Every limit the owner can hit is a setting (
src/core/capacity.ts);validCapacityandisCapacityKeyguard what a person or agent may write, and no test calls them directly.Done when a new test file proves, for every key in
CAPACITY_KEYS:minand itsmaxand refusesmin - 1,max + 1, `,-1,1.5,3,3,1e3and0x10`.isCapacityKeyrefuses an unknown key, `and__proto__`.Test only; a bug it finds is fixed in the same pull.