oficina / home Public

MIGRATING: MintedPerson returns (Person, bool)

Fable's re-check at 117cab1 (APPROVE) noted the step-6 example didn't
compile. Docs only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev c91a3739326ab8fa22a7b3531f780db849078381 parent 117cab1
1 file changed, +3 −3
  • connect/MIGRATING.md +3 −3

CI passed — run details

CI log
amadan: .amadan/timeout: this job's budget is 20m0s (this runner allows up to 30m0s)
=== vet ===
CGO_ENABLED=0 go vet ./...
CGO_ENABLED=0 go vet -tags browser ./internal/home/
cd handoff && CGO_ENABLED=0 go vet ./...
cd roster && CGO_ENABLED=0 go vet ./...
cd dashboard && CGO_ENABLED=0 go vet ./...
cd connect && CGO_ENABLED=0 go vet ./...
cd teammode && CGO_ENABLED=0 go vet ./...
=== fmt ===
=== build ===
CGO_ENABLED=0 go build ./...
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build ./cmd/home ./cmd/oficina ./internal/operatorlaunch
cd handoff && CGO_ENABLED=0 go build ./...
cd roster && CGO_ENABLED=0 go build ./...
cd dashboard && CGO_ENABLED=0 go build ./...
cd connect && CGO_ENABLED=0 go build ./...
cd teammode && CGO_ENABLED=0 go build ./...
=== go-test ===
CGO_ENABLED=0 go test -count=1 ./...
?   	amadan.net/oficina/home/cmd/home	[no test files]
ok  	amadan.net/oficina/home/cmd/home-placeholder	0.772s
?   	amadan.net/oficina/home/cmd/oficina	[no test files]
ok  	amadan.net/oficina/home/internal/guardstest	0.144s
ok  	amadan.net/oficina/home/internal/home	51.115s
ok  	amadan.net/oficina/home/internal/home/directorydata	1.430s
ok  	amadan.net/oficina/home/internal/home/logtest	0.004s
ok  	amadan.net/oficina/home/internal/home/seal	0.002s
ok  	amadan.net/oficina/home/internal/home/sealtest	0.004s
ok  	amadan.net/oficina/home/internal/home/wisp	0.056s
ok  	amadan.net/oficina/home/internal/operator	6.454s
ok  	amadan.net/oficina/home/internal/operatorlaunch	4.148s
ok  	amadan.net/oficina/home/internal/provisioner	49.523s
cd handoff && CGO_ENABLED=0 go test -count=1 ./...
ok  	amadan.net/oficina/home/handoff	0.661s
ok  	amadan.net/oficina/home/handoff/seal	0.002s
cd roster && CGO_ENABLED=0 go test -count=1 ./...
ok  	amadan.net/oficina/home/roster	5.118s
cd dashboard && CGO_ENABLED=0 go test ./...
ok  	amadan.net/oficina/home/dashboard	(cached)
cd connect && CGO_ENABLED=0 go test -count=1 ./...
ok  	amadan.net/oficina/home/connect	1.404s
ok  	amadan.net/oficina/home/connect/linkstore	0.416s
cd teammode && CGO_ENABLED=0 go test -count=1 ./...
ok  	amadan.net/oficina/home/teammode	0.098s
?   	amadan.net/oficina/home/teammode/teammodetest	[no test files]
=== race ===
go test -race -count=1 ./internal/home/ ./internal/operator/ ./internal/operatorlaunch/ ./internal/home/directorydata/
ok  	amadan.net/oficina/home/internal/home	316.530s
ok  	amadan.net/oficina/home/internal/operator	82.506s
ok  	amadan.net/oficina/home/internal/operatorlaunch	22.395s
ok  	amadan.net/oficina/home/internal/home/directorydata	23.501s
ok  	amadan.net/oficina/home/internal/provisioner	397.018s
cd handoff && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/handoff	12.804s
ok  	amadan.net/oficina/home/handoff/seal	1.014s
cd roster && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/roster	6.953s
cd dashboard && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/dashboard	1.062s
cd connect && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/connect	6.195s
ok  	amadan.net/oficina/home/connect/linkstore	6.272s
cd teammode && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/teammode	1.934s
?   	amadan.net/oficina/home/teammode/teammodetest	[no test files]
diff --git a/connect/MIGRATING.md b/connect/MIGRATING.md
index ce00f15..2f3585a 100644
--- a/connect/MIGRATING.md
+++ b/connect/MIGRATING.md
@@ -81,9 +81,9 @@ drawn by estilo's `estilo-signin-screen`:
chrome.OficinaGlyph}`. Set none when it is `""`: on `/signin/local`, and on
any step-up.
5. **Remember Oficina ID** in `Config.MintHomeSession`, after the session is
- stored: `RememberJar().Remember(w, lastsignin.Record{Method:
- MethodFederated, Provider: ProviderOficina, Address:
- connect.MintedPerson(r).Label})`. Never carry over an address from the
+ stored: `p, _ := connect.MintedPerson(r)`, then
+ `RememberJar().Remember(w, lastsignin.Record{Method: MethodFederated,
+ Provider: ProviderOficina, Address: p.Label})`. Never carry over an address from the
jar. A failure to remember must not fail the sign-in.
6. **Signed out.** Set `RoutesConfig.ForgetPath` to where `auth.Forget` is
mounted, and draw `chrome.SignInNotice{…}.SignedOut(p.Action).Forgetting(p.ForgetAction, "")`