oficina / calendar Public

The sign-in door no longer links the Colophon

Paul, 2026-11-19: "Why is the Colophon on this screen? That makes no
sense at all." / "Remove now." Calendar was missed in the first pass (docs,
slides, calls, memoria, mapa); Fable's estilo review found it. The
open-source page keeps its route, stays public and stays under Help. A test
now forbids the link on /signin/local, sent and signed-out.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 58b061a4e8f0b73bdc81525e1ad8085a70935cb9 parent 3ae0e6b
2 files changed, +7 −1
  • internal/calendar/home_door_test.go +7 −0
  • internal/calendar/signin.go +0 −1

CI passed — run details

CI log
=== vet ===
go vet ./...
go vet -tags browser ./internal/calendartest/
=== fmt ===
=== test ===
go test ./...
ok  	amadan.net/oficina/calendar/cmd/calendar	0.082s
?   	amadan.net/oficina/calendar/cmd/calendar-contract	[no test files]
ok  	amadan.net/oficina/calendar/internal/calendar	25.302s
?   	amadan.net/oficina/calendar/internal/calendar/icons	[no test files]
?   	amadan.net/oficina/calendar/internal/calendar/keymailtest	[no test files]
?   	amadan.net/oficina/calendar/internal/calendar/seal	[no test files]
?   	amadan.net/oficina/calendar/internal/calendar/teamstate	[no test files]
ok  	amadan.net/oficina/calendar/internal/calendartest	3.745s
ok  	amadan.net/oficina/calendar/internal/guardstest	0.085s
?   	amadan.net/oficina/calendar/scripts/writeestilo	[no test files]
=== migration-check ===
go tool rastrillo migration check
rastrillo migration check: models and migrations agree
diff --git a/internal/calendar/home_door_test.go b/internal/calendar/home_door_test.go
index b00bb28..d5982b7 100644
--- a/internal/calendar/home_door_test.go
+++ b/internal/calendar/home_door_test.go
@@ -26,6 +26,13 @@ func TestHomeSignInPagesAreTheDoor(t *testing.T) {
}
}
}
+ // Paul, 2026-11-19: no Colophon link on the sign-in door ("makes no
+ // sense at all"). The open-source page stays public and under Help.
+ for _, path := range []string{"/signin/local", "/signin/local?sent=1", "/signed-out"} {
+ if body := f.do("GET", path, "").Body.String(); strings.Contains(body, `href="/help/open-source"`) {
+ t.Errorf("GET %s links the open-source page from the door", path)
+ }
+ }
if body := f.do("GET", "/signed-out", "").Body.String(); strings.Contains(body, "Home") {
t.Errorf("/signed-out names Home to people:\n%s", body)
}
diff --git a/internal/calendar/signin.go b/internal/calendar/signin.go
index 44dce25..f1510ad 100644
--- a/internal/calendar/signin.go
+++ b/internal/calendar/signin.go
@@ -96,7 +96,6 @@ func (h *handlers) renderSignin(w http.ResponseWriter, r *http.Request, status i
q := r.URL.Query()
form := door(r)
form.Action = "/signin"
- form.OpenSource = &chrome.Link{Href: "/help/open-source", Label: "Open source"}
if q.Get("force") != "" {
// A failed Keymail exchange lands here as ?force=1&err=keymail.
// Posting force back asks for an emailed link instead, so the