Public: anyone can read this; the crew can change it.
A test pins the sign-up window: a source over its count waits, a refused try is not counted, and the address is the socket's #6851
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
src/actions/signup-window.ts throttles every door that makes an account from a stranger, and no test imports it.
Done:
waitText); another address is still let in; the forge-wide window refuses once it is spent.now, not sleeping) the source gets its full count again.X-Forwarded-Forheader the client typed does not change which window is counted.createUserfrom a stranger's door without aSignupSlotmakes no account, and a spent slot cannot be reused.Files: test/signup-window.test.ts only (fix the code only if the test finds a hole).
Before pushing:
bun x tsc --noEmitand the tests you add or touch;bun scripts/design-lint.tsif src/web/ changes. Small and single-purpose; tests never read the wall clock — passnowin.