Sign-in: the smart door (smart-door step 6, Calls)
Calls adopts the smart sign-in door, as Docs, Sheets, Slides and Calendar
did. One bump: rastrillo v0.27.1 to v0.42.0, Home connect/handoff
14c83d7/ff16bf5 to 150d94e, estilo 260f98c to 468fab1.
- The door: rastrillo's one-way screen in estilo's door. With Home,
/signin (Continue with Oficina ID), /signin/local (email only) and
/signin/oficina, all behind an admission probe of requirePerson; any
5xx is undecided, never a refusal. Home storage failures outside team
mode are now a no-store 503, not a 404.
- Guests are not the door's: joining by name is untouched, a guest
session is never judged, refused or ended at the door, and the join
cookie's door stays email only. Native sessions never reach the door
and are never ended by it.
- Refusal ("That email can't sign in to Calls...") and Calls' removal in
the app-problem slot, plain door only; a refused session ended on the
door's own response; Oficina ID forgotten, email kept.
- Oficina ID remembered in MintHomeSession, strictly for an admitted
minted session, with no carry-over.
- Return memory: Calls' sealed cookie, with every protection (Begin never
sees return_to, reset on a post without one, parse errors, /signed-out,
Forget and Sign out clear it), so /continue still takes a pending join
first.
- Signed out: Forget, chained to id.oficina.works with Home.
- Team mode: connect now requires Admit; teamAdmit and the member choice
page.
- sameAnswer is deleted, as on Slides: Begin's answers are honest and the
same for any address.
- rastrillo catch-up: English locale pack, minified assets, doctor clean
(vendoredIsMine, templates migrated, generate stubs), credits
regenerated (Fiesta, minify, parse). Migration: linkstore
0003_choice_proofs (additive, at boot with Home).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AGENTS.md+36 −17Makefile+8 −3api/v1.json+4 −0gen/api.go+19 −0gen/locales/packs.go+19 −0gen/locales/packs_test.go+28 −0gen/router.go+23 −0go.mod+10 −6go.sum+24 −24internal/calls/app.go+30 −7internal/calls/auth.go+70 −242internal/calls/chrome.go+7 −0internal/calls/credits/notices.json+54 −5internal/calls/home.go+83 −41internal/calls/home_connect_item_test.go+2 −2internal/calls/home_consumer_test.go+3 −1internal/calls/home_router_test.go+32 −15internal/calls/keymail_signin_test.go+37 −17internal/calls/native_auth_test.go+1 −1internal/calls/render.go+0 −4internal/calls/serving.go+7 −1internal/calls/signin.go+315 −0internal/calls/signin_admission.go+279 −0internal/calls/signin_browser_test.go+184 −0internal/calls/signin_door_calls_test.go+145 −0internal/calls/signin_door_contract_test.go+154 −0internal/calls/signin_door_forget_test.go+55 −0internal/calls/signin_door_helpers_test.go+222 −0internal/calls/signin_door_refusal_test.go+206 −0internal/calls/signin_door_remember_test.go+121 −0internal/calls/signin_door_return_test.go+208 −0internal/calls/signin_door_states_test.go+151 −0internal/calls/signin_door_team_test.go+130 −0internal/calls/signin_equal_work_test.go+1 −1internal/calls/signin_return.go+167 −7internal/calls/signin_timing_test.go+1 −1internal/calls/static/busy.js+154 −38internal/calls/static/rastrillo.js+197 −22internal/calls/static/select.js+188 −30internal/calls/static/theme.css+116 −0internal/calls/static/tokens.css+2,012 −273internal/calls/team_access.go+0 −38internal/calls/team_fixture_test.go+38 −1internal/calls/team_home_only.go+29 −5internal/calls/templates/agent_once.html+4 −4internal/calls/templates/confirm.html+4 −4internal/calls/templates/credits.html+1 −1internal/calls/templates/errors.html+1 −1internal/calls/templates/guest.html+3 −3internal/calls/templates/home.html+11 −1internal/calls/templates/index.html+8 −8internal/calls/templates/join.html+8 −8internal/calls/templates/layout.html+6 −4internal/calls/templates/link_once.html+3 −3internal/calls/templates/meeting_settings.html+5 −5internal/calls/templates/native.html+4 −4internal/calls/templates/partials/meeting-options.html+3 −3internal/calls/templates/room.html+10 −10internal/calls/templates/settings.html+7 −7internal/calls/templates/share.html+2 −2internal/calls/templates/signedout.html+1 −1internal/calls/templates/signin.html+14 −24internal/calls/templates/welcome.html+2 −2internal/callstest/api_test.go+2 −2internal/callstest/chrome_test.go+26 −15internal/callstest/confirm_test.go+2 −2internal/callstest/harness_test.go+15 −1internal/callstest/join_test.go+12 −12internal/callstest/signin_test.go+25 −24internal/callstest/vendored_test.go+57 −9test/browser/door.mjs+62 −0
CI passed — run details
CI log
=== vet === go vet ./... go: downloading amadan.net/rastrillo/rastrillo v0.42.0 go: downloading amadan.net/oficina/home/connect v0.0.0-20261122114341-150d94e2370f go: downloading amadan.net/oficina/estilo.git v0.0.0-20261121233240-468fab16e803 go: downloading amadan.net/oficina/home/handoff v0.0.0-20261122114341-150d94e2370f go: downloading github.com/go-json-experiment/json v0.0.0-20260820222146-c27c302e5fc3 go: downloading amadan.net/rastrillo/fiesta v1.5.0 go: downloading github.com/modelcontextprotocol/go-sdk v1.8.0 go: downloading github.com/tdewolff/minify/v2 v2.24.19 go: downloading github.com/tdewolff/parse/v2 v2.8.16 go vet -tags browser ./internal/calls/ ./internal/callstest/ === fmt === === test === go test ./... ok amadan.net/oficina/calls/callscore 7.464s ok amadan.net/oficina/calls/cmd/calls 13.474s ? amadan.net/oficina/calls/cmd/calls-contract [no test files] ok amadan.net/oficina/calls/cmd/quality-summary 0.034s ? amadan.net/oficina/calls/gen [no test files] ok amadan.net/oficina/calls/gen/locales 0.006s ok amadan.net/oficina/calls/internal/calls 14.408s ok amadan.net/oficina/calls/internal/calls/apns 0.008s ok amadan.net/oficina/calls/internal/calls/hub 1.124s ? amadan.net/oficina/calls/internal/calls/icons [no test files] ? amadan.net/oficina/calls/internal/calls/keymailtest [no test files] ok amadan.net/oficina/calls/internal/calls/relay 0.005s ok amadan.net/oficina/calls/internal/calls/seal 0.004s ? amadan.net/oficina/calls/internal/calls/teamstate [no test files] ok amadan.net/oficina/calls/internal/callstest 12.623s ok amadan.net/oficina/calls/protocol 0.002s ? amadan.net/oficina/calls/scripts/writeestilo [no test files] === migration-check === go run amadan.net/rastrillo/rastrillo/cmd/rastrillo migration check go: downloading golang.org/x/tools v0.48.0 rastrillo migration check: models and migrations agree === race === CGO_ENABLED=1 go test -race ./internal/... ok amadan.net/oficina/calls/internal/calls 106.656s ok amadan.net/oficina/calls/internal/calls/apns 1.024s ok amadan.net/oficina/calls/internal/calls/hub 4.789s ? amadan.net/oficina/calls/internal/calls/icons [no test files] ? amadan.net/oficina/calls/internal/calls/keymailtest [no test files] ok amadan.net/oficina/calls/internal/calls/relay 1.017s ok amadan.net/oficina/calls/internal/calls/seal 1.012s ? amadan.net/oficina/calls/internal/calls/teamstate [no test files] ok amadan.net/oficina/calls/internal/callstest 49.407s
Intent
AGENTS.mdLoading diff…
MakefileLoading diff…
api/v1.jsonLoading diff…
gen/api.goLoading diff…
gen/locales/packs.goLoading diff…
gen/locales/packs_test.goLoading diff…
gen/router.goLoading diff…
go.modLoading diff…
go.sumLoading diff…
internal/calls/app.goLoading diff…
internal/calls/auth.goLoading diff…
internal/calls/chrome.goLoading diff…
internal/calls/credits/notices.jsonLoading diff…
internal/calls/home.goLoading diff…
internal/calls/home_connect_item_test.goLoading diff…
internal/calls/home_consumer_test.goLoading diff…
internal/calls/home_router_test.goLoading diff…
internal/calls/keymail_signin_test.goLoading diff…
internal/calls/native_auth_test.goLoading diff…
internal/calls/render.goLoading diff…
internal/calls/serving.goLoading diff…
internal/calls/signin.goLoading diff…
internal/calls/signin_admission.goLoading diff…
internal/calls/signin_browser_test.goLoading diff…
internal/calls/signin_door_calls_test.goLoading diff…
internal/calls/signin_door_contract_test.goLoading diff…
internal/calls/signin_door_forget_test.goLoading diff…
internal/calls/signin_door_helpers_test.goLoading diff…
internal/calls/signin_door_refusal_test.goLoading diff…
internal/calls/signin_door_remember_test.goLoading diff…
internal/calls/signin_door_return_test.goLoading diff…
internal/calls/signin_door_states_test.goLoading diff…
internal/calls/signin_door_team_test.goLoading diff…
internal/calls/signin_equal_work_test.goLoading diff…
internal/calls/signin_return.goLoading diff…
internal/calls/signin_timing_test.goLoading diff…
internal/calls/static/busy.jsLoading diff…
internal/calls/static/rastrillo.jsLoading diff…
internal/calls/static/select.jsLoading diff…
internal/calls/static/theme.cssLoading diff…
internal/calls/static/tokens.cssLoading diff…
internal/calls/team_access.goLoading diff…
internal/calls/team_fixture_test.goLoading diff…
internal/calls/team_home_only.goLoading diff…
internal/calls/templates/agent_once.htmlLoading diff…
internal/calls/templates/confirm.htmlLoading diff…
internal/calls/templates/credits.htmlLoading diff…
internal/calls/templates/errors.htmlLoading diff…
internal/calls/templates/guest.htmlLoading diff…
internal/calls/templates/home.htmlLoading diff…
internal/calls/templates/index.htmlLoading diff…
internal/calls/templates/join.htmlLoading diff…
internal/calls/templates/layout.htmlLoading diff…
internal/calls/templates/link_once.htmlLoading diff…
internal/calls/templates/meeting_settings.htmlLoading diff…
internal/calls/templates/native.htmlLoading diff…
internal/calls/templates/partials/meeting-options.htmlLoading diff…
internal/calls/templates/room.htmlLoading diff…
internal/calls/templates/settings.htmlLoading diff…
internal/calls/templates/share.htmlLoading diff…
internal/calls/templates/signedout.htmlLoading diff…
internal/calls/templates/signin.htmlLoading diff…
internal/calls/templates/welcome.htmlLoading diff…
internal/callstest/api_test.goLoading diff…
internal/callstest/chrome_test.goLoading diff…
internal/callstest/confirm_test.goLoading diff…
internal/callstest/harness_test.goLoading diff…
internal/callstest/join_test.goLoading diff…
internal/callstest/signin_test.goLoading diff…
internal/callstest/vendored_test.goLoading diff…
test/browser/door.mjsLoading diff…