🤖 Hub CI passed at 0a63310. A full local make test-race rerun is green, so the earlier TestOperatorExpirySweepsRunUnprompted 403 was a flake. make test-browser is green. Waiting for review.
feat/web-straight-in: straight in on the web; every id.* page in the door's card open
On branch feat/web-straight-in
🤖 Claude (claude-opus-5-5), for Paul's ruling of 2026-11-20. Review record for this branch. Not merged, not deployed.
Tip: 0a63310 (one commit on origin/main a3a5ed1).
Straight in
GET /authorize/resumewith a valid id.* session and no forced authentication now mints and renders the existing form-POST delivery (assertion.html: auto-submit via /static/assertion.js, Continue button for scripts off).id_continue.html("Continue to the app") is deleted.- Unchanged:
max_age=300(linking, every step-up) on a standing session still 303s to the door for a fresh gesture before anything is minted; after the gesture, the GET goes straight in. No id.* session still lands on the door. The POST to /authorize/resume is kept (CSRF-protected) for a Continue page still open in a tab. - Safety argument (Fable's review of connect, 2026-11-20) is in the code comment and the spec: a third-party GET binds to the victim's own intent cookie, id.* session and form POST from the victim's browser; worst case signs the victim in to their own account.
/dashboard/resumealready minted on GET. - Spec: slice 1 "Assertion and browser exchange" step 2 amended, dated and attributed, plus a paragraph; smart-door spec's "existing Continue page" sentence updated. The native spec doesn't reference the web page, so it's unchanged.
What still clicks: only the delivery page's Continue with scripts off (and if the auto-submit stalls for more than 1.5 s). Separately, the operator confirm page (operatorconfirmid) and the sign-out pages are deliberate confirmations, not part of this flow.
Door card on every id.* page
id_replace,id_replaced,id_signed_outandid_signout_alljoindoorPages. The id.* error page is the newid_error.html: estilo-error's words in the card, with no new strings.- The card head says Oficina ID on id.* (page.Brand), the same as the sign-in door; directory door pages keep "Oficina".
- The hops (assertion, sign-out-all hop, resolve hop) now use
estilo-door-openwith the brand at the card head. They keep only the sky placeholder (r3 C2), and handoff.css now hides[estilo-door] > [estilo-signin]for 1.5 s. - Not changed: Open source (credits.html) on id.* stays a plain page, because it's a long list shared with the directory.
- Known difference from the live door: these cards use rastrillo's standard buttons, while the door's full-width pill buttons come from rastrillo's signin partial. Matching them belongs in estilo.
Copy
No new strings. Retired: "Continue to the app · Oficina" and "Continue to the app" (marked in implementation/oficina-id-slice1-copy.md). On id.* the card brand reads "Oficina ID" (existing door string). Tab titles are unchanged ("… · Oficina").
Tests
- New: TestIDStraightIn (GET mints; checks the delivery shape and no-store/strict-origin-when-cross-origin; no assertion in the URL, Location, cookies or logs; the intent is cleared; the app finishes; the POST still mints and still refuses a foreign Origin), TestIDStraightInWithoutSessionIsTheDoor and TestIDStraightInNeverSkipsForcedAuthentication.
- Updated: the id.* 404 is in the card, the hop card is branded, and the scriptless cross-site browser test no longer presses Continue.
- Local:
go testis green.make test-browseris green. The firstmake test-racehit TestOperatorExpirySweepsRunUnprompted (403 under race); it passed 3/3 on rerun with -race.
Screenshots (light, 1280 and 390) are local to the session Mac at /tmp/hsi-shots/after.
Review: pending. Per AGENTS.md this needs review by the most capable available model before merge.
🤖 Fable reviewed 0a63310: APPROVE, all findings Low. Findings 1, 3, 5 and 6 are fixed in 9dbc8e5:
- Accepted limits (a) to (d) are recorded in the slice 1 spec ("Accepted limits of Paul's ruling") and in the comment in exchange.go.
- The minting GET refuses
Sec-Purpose/Purposeprefetch or prerender. WhenSec-Fetch-*headers are present it requiresnavigate+document(mintingNavigation; logged asnot_navigation). Covered by TestIDStraightInMintsOnlyForANavigation. - The spec status line is reworded. The spec now says the POST stays behind CSRF and the GET mint is deliberately outside it. The slice 1 Home plan's Continue page is marked superseded.
- TestIDStraightInForeignNonceRefusedAtFinish covers another browser's nonce and a made-up one.
Finding 4 (Callback's Receive vs ReceivePending) is pre-existing and left alone; it's tracked in #143.
Local make test and make test-browser are green. Hub CI passed at 9dbc8e5. Not merged, not deployed.
Fable (claude-fable-5-2) final check at 9dbc8e5: APPROVE. The Sec-Fetch guard is safe for every real navigation path and for older browsers; limits (a)-(d) are accurate. The wording nit in limit (c) (callback, not start) is fixed in the next commit, docs only.