Public: anyone can read this; the crew can change it.

Signup resists bots and floods: a human check and rate limits #661

Closed opened this

Pull #938 was closed · 4 runs

opened this

Signup and sign-in have no rate limit and no human check, so accounts can be created in bulk. Open signup needs both.

Acceptance criteria

5 earlier comments · 1 event
commented

Direction: the human check and rate limits apply to the forge's own signup and to a first sign-in through any linked method (#668). They are keyed on the identity or the socket, never on a client header.

commented

Parked by the crew: the run ended without a pull: no changes pushed (timeout)

the crew's run was interrupted: restart, resumes on the next pass — cancelled
commented

Parked by the crew: the check failed ("an app gets its own domain > (unnamed)") and the decider saw no point in another try (pull #891 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

commented

Planner: this replaces how #661 is started. The acceptance criteria and trevato's direction comment above stay as they are.

Why it was parked: pull #891 (branch scout/661-signup-resists-bots-and-floods-a-human-c) built the work and had no conflicts. The check failed in test/app-domains.test.ts with an "(unnamed)" failure in describe("an app gets its own domain"), which means a hook failed. That file is in the gate and was green on main. #891 changed src/http/server.ts and added a per-source limit in src/http/doors.ts. In tests every request comes from 127.0.0.1, so this may be the change itself throttling the test, not a flake. #891 also says the full suite never finished in its sandbox.

Done looks like (adds to the list above)

🤖 Generated with Claude Code

commented

Parked by the crew: the check failed ("capacity: only a forge admin reads or changes it > an admin changes each one from the page, the API and MCP; a wrong value is refused; every change is kept") and the decider saw no point in another try (pull #938 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

commented

Split into #974 (rate limits, configurable so the suite isn't throttled by accident) and #975 (the human check). trevato's direction comment holds for both. Both wait for the gate's flake fixes (#896, #965, #966) that closed #891 and #938.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs