Age the actual authentication proof in the operator regression
2 files changed,
+6
−1
implementation/oficina-id-slice1-validation.md+5 −0internal/home/operator_ceremony_test.go+1 −1
CI passed — run details
Intent
Human
Build Oficina ID slice 1, part A (Home side), in this clone of oficina/home on branch oficina-id-slice1. Full process. Paul (owner) approved it on 2026-11-13.
diff --git a/implementation/oficina-id-slice1-validation.md b/implementation/oficina-id-slice1-validation.md| index 0cf67f9..1bca12d 100644 |
| --- a/implementation/oficina-id-slice1-validation.md |
| +++ b/implementation/oficina-id-slice1-validation.md |
| @@ -77,3 +77,8 @@ preserve email verification time rather than session-mint time, and require an |
| enrolled passkey before issuing codes. Recovery proofs have a hard row bound. |
| Hosted CI's race pass found two concurrent ResponseRecorder.Result calls in |
| fixtures; cookie snapshots now precede the goroutines. Targeted race tests pass. |
| + |
| +The full gates exposed one final fixture tied to the former magic-link fallback: |
| +it backdated session creation while leaving the newly explicit auth_time fresh. |
| +The fixture now backdates the actual authentication time and passes its full |
| +stale-to-fresh operator ceremony. This changes no production behavior. |
diff --git a/internal/home/operator_ceremony_test.go b/internal/home/operator_ceremony_test.go| index 6e8b049..3022520 100644 |
| --- a/internal/home/operator_ceremony_test.go |
| +++ b/internal/home/operator_ceremony_test.go |
| @@ -146,7 +146,7 @@ func TestOperatorCredentialConfirmStaleSessionGetsAFreshIntentAndNoLoop(t *testi |
| f := newOperatorFixture(t) |
| f.submit(t, "credential", "add-apps", []string{"docs"}) |
| paul := f.paulCredential(t) |
| - backdate(t, f.credential.App, "created_at", time.Now().Add(-time.Hour)) |
| + backdate(t, f.credential.App, "auth_time", time.Now().Add(-time.Hour)) |
| stale := exchangeRequest(f.credential.App, "GET", Origin+operatorConfirm, "", nil, paul) |
| if stale.Code != 303 || stale.Header().Get("Location") != "/signin?return_to=%2Foperator%2Fconfirm" { |
| t.Fatal("stale session", stale.Code, stale.Header().Get("Location")) |