id.*'s door on the spacing scale: estilo 6238a47
id.*'s sign-in door is estilo's card, served from the pinned estilo's chrome.css, and Fiesta's audit read 22px between its brand and the way in on id.oficina.works. estilo 9fc817b made the card a stack on the scale and 6238a47 added its hint and section hooks and the gap floor past hidden children (both reviewed by GPT-6 Astra on estilo). TestTheDoorKeepsTheRhythm runs the audit over /signin at 1280 and 390px; it fails on estilo 468fab1 with the 22px and passes here.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 files changed,
+30
−1
go.mod+1 −1go.sum+2 −0internal/home/landing_rhythm_browser_test.go+27 −0
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.729s ? amadan.net/oficina/home/cmd/oficina [no test files] ok amadan.net/oficina/home/internal/guardstest 0.154s ok amadan.net/oficina/home/internal/home 57.638s ok amadan.net/oficina/home/internal/home/directorydata 1.410s ok amadan.net/oficina/home/internal/home/logtest 0.007s ok amadan.net/oficina/home/internal/home/seal 0.002s ok amadan.net/oficina/home/internal/home/sealtest 0.002s ok amadan.net/oficina/home/internal/home/wisp 0.045s ok amadan.net/oficina/home/internal/operator 6.505s ok amadan.net/oficina/home/internal/operatorlaunch 4.116s ok amadan.net/oficina/home/internal/provisioner 49.949s cd handoff && CGO_ENABLED=0 go test -count=1 ./... ok amadan.net/oficina/home/handoff 0.663s 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.123s 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.416s ok amadan.net/oficina/home/connect/linkstore 0.436s cd teammode && CGO_ENABLED=0 go test -count=1 ./... ok amadan.net/oficina/home/teammode 0.100s ? 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 345.656s ok amadan.net/oficina/home/internal/operator 82.960s ok amadan.net/oficina/home/internal/operatorlaunch 22.398s ok amadan.net/oficina/home/internal/home/directorydata 23.857s ok amadan.net/oficina/home/internal/provisioner 400.486s cd handoff && CGO_ENABLED=1 go test -race -count=1 ./... ok amadan.net/oficina/home/handoff 12.977s 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.972s cd dashboard && CGO_ENABLED=1 go test -race -count=1 ./... ok amadan.net/oficina/home/dashboard 1.067s cd connect && CGO_ENABLED=1 go test -race -count=1 ./... ok amadan.net/oficina/home/connect 6.341s ok amadan.net/oficina/home/connect/linkstore 6.398s cd teammode && CGO_ENABLED=1 go test -race -count=1 ./... ok amadan.net/oficina/home/teammode 1.967s ? amadan.net/oficina/home/teammode/teammodetest [no test files]
diff --git a/go.mod b/go.mod| index 6cc2dc0..810bc9c 100644 |
| --- a/go.mod |
| +++ b/go.mod |
| @@ -5,7 +5,7 @@ go 1.26.0 |
| toolchain go1.26.5 |
| require ( |
| - amadan.net/oficina/estilo.git v0.0.0-20261121233240-468fab16e803 |
| + amadan.net/oficina/estilo.git v0.0.0-20261122204240-6238a478888e |
| amadan.net/oficina/home/dashboard v0.0.0-20261024234842-3774eb68f816 |
| amadan.net/oficina/home/handoff v0.0.0-20261120140933-17cdcaff3345 |
| amadan.net/oficina/home/roster v0.0.0-20261028165624-d942439ac4e4 |
diff --git a/go.sum b/go.sum| index 2875a9e..dbc4063 100644 |
| --- a/go.sum |
| +++ b/go.sum |
| @@ -4,6 +4,8 @@ amadan.net/oficina/estilo.git v0.0.0-20261121231010-7153f7b05452 h1:zEhZxMM/9GiU |
| amadan.net/oficina/estilo.git v0.0.0-20261121231010-7153f7b05452/go.mod h1:2UFIFrbTrhew8EFM0C94WmTo2OASM2pHEgT4jzeE/s8= |
| amadan.net/oficina/estilo.git v0.0.0-20261121233240-468fab16e803 h1:yl1LyYZW3/722xRPnXMu5veg4sZGjyDMJFLqOWST0ws= |
| amadan.net/oficina/estilo.git v0.0.0-20261121233240-468fab16e803/go.mod h1:2UFIFrbTrhew8EFM0C94WmTo2OASM2pHEgT4jzeE/s8= |
| +amadan.net/oficina/estilo.git v0.0.0-20261122204240-6238a478888e h1:g2EvXlQAleAEFsc4yIBvS7ycMG3GyuEySEOia0yo8nY= |
| +amadan.net/oficina/estilo.git v0.0.0-20261122204240-6238a478888e/go.mod h1:2UFIFrbTrhew8EFM0C94WmTo2OASM2pHEgT4jzeE/s8= |
| amadan.net/oficina/home/dashboard v0.0.0-20261024234842-3774eb68f816 h1:AFDuOio0MxNxN9ZWVc3lul1QHkNjNUCO56kXpe/Fw3I= |
| amadan.net/oficina/home/dashboard v0.0.0-20261024234842-3774eb68f816/go.mod h1:+7xsX+QyVFrKy5gDAGh+FZ5+75z4CibWTL0wl9DWAw0= |
| amadan.net/oficina/home/handoff v0.0.0-20261120140933-17cdcaff3345 h1:3fR/a8Mqiwsnhv7Cu6FFzVHVtdqRTxyl1EpXeL6IaV0= |
diff --git a/internal/home/landing_rhythm_browser_test.go b/internal/home/landing_rhythm_browser_test.go| index da1b861..8005a75 100644 |
| --- a/internal/home/landing_rhythm_browser_test.go |
| +++ b/internal/home/landing_rhythm_browser_test.go |
| @@ -51,3 +51,30 @@ func TestTheFrontPageKeepsTheRhythm(t *testing.T) { |
| } |
| } |
| } |
| + |
| +// TestTheDoorKeepsTheRhythm: id.*'s sign-in door is estilo's card |
| +// (chrome.css, served from the pinned estilo), read by the same audit. |
| +// It had 22px between the brand and the way in; estilo's card is now a |
| +// stack on the scale. |
| +func TestTheDoorKeepsTheRhythm(t *testing.T) { |
| + f := newMountedChooser(t) |
| + useChrome(t) |
| + rig := harness.New(t, asHost(credentialHost, f.p.credential.Router())) |
| + for _, width := range []int64{1280, 390} { |
| + ctx, cancel := context.WithTimeout(rig.Context(), 30*time.Second) |
| + var found []rhythm.Finding |
| + err := chromedp.Do(ctx, |
| + chromedp.EmulateViewport(width, 900), |
| + chromedp.Navigate(rig.Origin+"/signin"), |
| + chromedp.WaitVisible(chromedp.CSS(`[estilo-signin]`)), |
| + harness.Into(&found, chromedp.Evaluate[[]rhythm.Finding]( |
| + rhythm.Expression("main", rhythm.Options{})))) |
| + cancel() |
| + if err != nil { |
| + t.Fatalf("at %dpx: %v", width, err) |
| + } |
| + if len(found) > 0 { |
| + t.Errorf("at %dpx: %s", width, rhythm.Report(found)) |
| + } |
| + } |
| +} |