oficina / home Public

rastrillo v0.26.1 -> v0.38.0 in every module (smart-door step 3)

Home moves to rastrillo v0.38.0 (the smart sign-in door, Fiesta 1.5.0) and
estilo main 487cadb. Adaptations, all keeping today's behaviour:
- Home counts its own recovery codes and enforces passkey user
  verification on registration;
- the passkey schema is frozen at 0001;
- the English locale pack;
- the handoff pages' inline styles move to files for the stricter CSP;
- DurableCommits;
- Serve's new /_theme and Speculation-Rules are switched off;
- the renderer parses layout and partials once and clones per page.
New guard tests: no framework sign-in mounted or imported, UV refused on
registration, durable commits, per-page clone isolation, no framework
routes on either origin. Sealed link store, sessions and keymaildev/signin
unchanged. No migration and no new environment.

Reviewed by Claude Fable: APPROVE AFTER FIXES, then APPROVE at 7327594.
CI passed at 7327594.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Squashed from chore/rastrillo-v0.37.0 into main.
claude agent, operated by paul@keymail.dev 5e5ebe54f4c4eacfb6aa053919c91ebce0d05af8 parent c9dadd1
47 files changed, +3,604 −514
  • AGENTS.md +94 −13
  • cmd/home/main.go +5 −7
  • connect/go.mod +5 −5
  • connect/go.sum +14 −18
  • dashboard/go.mod +4 −4
  • dashboard/go.sum +12 −12
  • go.mod +14 −11
  • go.sum +28 −26
  • handoff/go.mod +4 −4
  • handoff/go.sum +12 −12
  • internal/guardstest/framework_signin_test.go +89 −0
  • internal/home/app.go +6 −7
  • internal/home/assertion_fresh_test.go +1 −1
  • internal/home/calma.go +11 −0
  • internal/home/credits/notices.json +65 −5
  • internal/home/exchange_test.go +1 −1
  • internal/home/handoff_reveal_test.go +35 −4
  • internal/home/id_browser_test.go +52 −17
  • internal/home/id_passkey.go +5 −1
  • internal/home/id_passkey_test.go +31 −0
  • internal/home/id_recovery.go +11 −0
  • internal/home/id_review_test.go +1 −1
  • internal/home/locales.go +8 −0
  • internal/home/models.go +37 −4
  • internal/home/noscript_test.go +61 −14
  • internal/home/opendb.go +24 −0
  • internal/home/opendb_test.go +45 −0
  • internal/home/origins_test.go +5 −2
  • internal/home/passkey.go +13 −18
  • internal/home/passkey_test.go +44 −2
  • internal/home/render.go +39 −25
  • internal/home/render_test.go +66 −0
  • internal/home/security.go +8 −1
  • internal/home/serveopts.go +29 −0
  • internal/home/serveopts_test.go +91 −0
  • internal/home/signin_return_factor_test.go +1 −1
  • internal/home/static/handoff-noscript.css +3 −0
  • internal/home/static/handoff.css +7 −0
  • internal/home/static/tokens.css +2,561 −234
  • internal/home/templates/assertion.html +2 −5
  • internal/home/templates/id_signout_all_hop.html +2 −5
  • internal/home/templates/resolve_handoff.html +2 −5
  • internal/home/zoom_browser_test.go +8 −11
  • roster/go.mod +4 −4
  • roster/go.sum +12 −12
  • teammode/go.mod +6 −6
  • teammode/go.sum +26 −16

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.943s
?   	amadan.net/oficina/home/cmd/oficina	[no test files]
ok  	amadan.net/oficina/home/internal/guardstest	0.193s
ok  	amadan.net/oficina/home/internal/home	50.897s
ok  	amadan.net/oficina/home/internal/home/directorydata	1.351s
ok  	amadan.net/oficina/home/internal/home/logtest	0.003s
ok  	amadan.net/oficina/home/internal/home/seal	0.004s
ok  	amadan.net/oficina/home/internal/home/sealtest	0.003s
ok  	amadan.net/oficina/home/internal/home/wisp	0.046s
ok  	amadan.net/oficina/home/internal/operator	6.353s
ok  	amadan.net/oficina/home/internal/operatorlaunch	4.115s
ok  	amadan.net/oficina/home/internal/provisioner	48.443s
cd handoff && CGO_ENABLED=0 go test -count=1 ./...
ok  	amadan.net/oficina/home/handoff	0.652s
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	0.010s
cd connect && CGO_ENABLED=0 go test -count=1 ./...
ok  	amadan.net/oficina/home/connect	1.336s
ok  	amadan.net/oficina/home/connect/linkstore	0.404s
cd teammode && CGO_ENABLED=0 go test -count=1 ./...
ok  	amadan.net/oficina/home/teammode	0.095s
?   	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.021s
ok  	amadan.net/oficina/home/internal/operator	82.254s
ok  	amadan.net/oficina/home/internal/operatorlaunch	22.386s
ok  	amadan.net/oficina/home/internal/home/directorydata	23.319s
ok  	amadan.net/oficina/home/internal/provisioner	396.705s
cd handoff && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/handoff	12.738s
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.941s
cd dashboard && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/dashboard	1.059s
cd connect && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/connect	5.841s
ok  	amadan.net/oficina/home/connect/linkstore	6.195s
cd teammode && CGO_ENABLED=1 go test -race -count=1 ./...
ok  	amadan.net/oficina/home/teammode	1.909s
?   	amadan.net/oficina/home/teammode/teammodetest	[no test files]
AGENTS.md

Loading diff…

cmd/home/main.go

Loading diff…

connect/go.mod

Loading diff…

connect/go.sum

Loading diff…

dashboard/go.mod

Loading diff…

dashboard/go.sum

Loading diff…

go.mod

Loading diff…

go.sum

Loading diff…

handoff/go.mod

Loading diff…

handoff/go.sum

Loading diff…

internal/guardstest/framework_signin_test.go

Loading diff…

internal/home/app.go

Loading diff…

internal/home/assertion_fresh_test.go

Loading diff…

internal/home/calma.go

Loading diff…

internal/home/credits/notices.json

Loading diff…

internal/home/exchange_test.go

Loading diff…

internal/home/handoff_reveal_test.go

Loading diff…

internal/home/id_browser_test.go

Loading diff…

internal/home/id_passkey.go

Loading diff…

internal/home/id_passkey_test.go

Loading diff…

internal/home/id_recovery.go

Loading diff…

internal/home/id_review_test.go

Loading diff…

internal/home/locales.go

Loading diff…

internal/home/models.go

Loading diff…

internal/home/noscript_test.go

Loading diff…

internal/home/opendb.go

Loading diff…

internal/home/opendb_test.go

Loading diff…

internal/home/origins_test.go

Loading diff…

internal/home/passkey.go

Loading diff…

internal/home/passkey_test.go

Loading diff…

internal/home/render.go

Loading diff…

internal/home/render_test.go

Loading diff…

internal/home/security.go

Loading diff…

internal/home/serveopts.go

Loading diff…

internal/home/serveopts_test.go

Loading diff…

internal/home/signin_return_factor_test.go

Loading diff…

internal/home/static/handoff-noscript.css

Loading diff…

internal/home/static/handoff.css

Loading diff…

internal/home/static/tokens.css

Loading diff…

internal/home/templates/assertion.html

Loading diff…

internal/home/templates/id_signout_all_hop.html

Loading diff…

internal/home/templates/resolve_handoff.html

Loading diff…

internal/home/zoom_browser_test.go

Loading diff…

roster/go.mod

Loading diff…

roster/go.sum

Loading diff…

teammode/go.mod

Loading diff…

teammode/go.sum

Loading diff…