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

Small honest answers the f2f experiment's agents tripped on: origins, merges,… #16407

shipped production is serving it opened this has it

Landed in pull #16521 · run

opened this

Small honest answers the f2f experiment's agents tripped on: origins, merges, browse, sign-up email

From the forge-to-forge experiment (three hosted forges proposing to the main forge, 2026-11-25 ~16:30–16:47Z), each a place the forge answered truly but unhelpfully:

  1. POST /api/v1/users with email: [email protected] → 422 invalid_email (example.com is accepted). .invalid, .test and .example are reserved names a test persona uses on purpose; either accept them or say why the address was refused ("a reserved name that can never receive mail").
  2. POST /api/v1/user/origins again with an rw token for an origin connected read-only → 422 already_connected. Let the same call upgrade the connection's scope (or answer with the one call that does), not DELETE and reconnect.
  3. A pull merge on a forge answers {"merged":true,"carried":false} with no words for carried. Say what it means and what to do when false.
  4. /api/v1/user/origins/{id}/browse/{o}/{n}/pulls hides closed pulls by default and says nothing; name the filter in the answer and take state=all.

Each with a test at its route.

Files: src/actions/users.ts, src/origins/, src/http/api/, src/actions/merge.ts

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs