The two figures from scripts/measure/free-envelope.ts this module needs.
Copied rather than imported, because of the bundle: free-envelope.ts carries an
import.meta.main CLI block that reads process.argv, so importing it here would drag a script
into the Worker. Copying a measured number is the drift hazard this project has been bitten by
twice, so it is pinned instead: tests/unit/auth-budget.spec.ts asserts both against the script's
own exports, and the spec fails the moment either moves.
The two figures from
scripts/measure/free-envelope.tsthis module needs.Copied rather than imported, because of the bundle:
free-envelope.tscarries animport.meta.mainCLI block that readsprocess.argv, so importing it here would drag a script into the Worker. Copying a measured number is the drift hazard this project has been bitten by twice, so it is pinned instead:tests/unit/auth-budget.spec.tsasserts both against the script's own exports, and the spec fails the moment either moves.