oficina / docs 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." The door stops passing chrome.SignIn.OpenSource;
the open-source page keeps its route, stays public and stays under Help. The
door test now forbids the link.

Reviewed by Fable (claude-fable-5-2): APPROVE; its notes fixed on the branch.
CI passed at 91ad106. Discussion 127.

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

Squashed from fix/door-no-colophon into main.
Paul Campbell pushed by claude agent, operated by paul@keymail.dev d2ef8829c49cf65aea3c8d7936806cb070a7e82b parent 330d6a4
4 files changed, +13 −13
  • internal/docs/app.go +2 −1
  • internal/docs/auth.go +4 −5
  • internal/docs/colophon.go +3 −3
  • internal/docs/colophon_test.go +4 −4

CI cancelled — superseded by a newer push — run details

diff --git a/internal/docs/app.go b/internal/docs/app.go
index 2a5c8d4..0812c70 100644
--- a/internal/docs/app.go
+++ b/internal/docs/app.go
@@ -701,7 +701,8 @@ func New(cfg Config) (*App, error) {
// data, and {"team_mode":false} on an instance not in team mode.
r.Method(http.MethodGet, teamProbePath, teamProbe(store.team))
// Help → Fonts and Help → Colophon (colophon.go): public, like every
- // Oficina app's open-source page; the door links the Colophon.
+ // Oficina app's open-source page. The door does not link it (Paul,
+ // 2026-11-19).
r.Get(fontsPath, h.helpFonts)
r.Get(colophonPath, h.colophon)
r.Get(colophonPath+"/{id}", h.colophonLicence)
diff --git a/internal/docs/auth.go b/internal/docs/auth.go
index 11989b6..259a28a 100644
--- a/internal/docs/auth.go
+++ b/internal/docs/auth.go
@@ -513,11 +513,10 @@ func (h *handlers) signin(w http.ResponseWriter, r *http.Request) {
data.Sent, page = &sent, sent.Page()
} else {
form := &chrome.SignIn{
- Icon: icon,
- App: "Docs",
- Sky: sky.For(r.Host),
- Action: "/signin",
- OpenSource: &chrome.Link{Href: colophonPath, Label: rastrillo.T(r, "docs.help.colophon")},
+ Icon: icon,
+ App: "Docs",
+ Sky: sky.For(r.Host),
+ Action: "/signin",
}
page = form.Page()
if q.Get("force") != "" {
diff --git a/internal/docs/colophon.go b/internal/docs/colophon.go
index 92081ee..1156807 100644
--- a/internal/docs/colophon.go
+++ b/internal/docs/colophon.go
@@ -10,9 +10,9 @@ package docs
// TestColophonsMatchWhatShips fails when it is stale. Build turns it into
// the page at start-up and refuses anything the catalog does not cover.
//
-// Both pages are public, like every Oficina app's open-source page: the
-// door links the Colophon, and a signed-in person gets it from Help with
-// their own chrome. They need no script and download no font.
+// Both pages are public, like every Oficina app's open-source page. A
+// signed-in person gets them from Help with their own chrome; the door does
+// not link them (Paul, 2026-11-19). They need no script and download no font.
import (
_ "embed"
diff --git a/internal/docs/colophon_test.go b/internal/docs/colophon_test.go
index b85bad0..147aa7c 100644
--- a/internal/docs/colophon_test.go
+++ b/internal/docs/colophon_test.go
@@ -31,11 +31,11 @@ func TestHelpOffersFontsAndTheColophon(t *testing.T) {
if fontsAt < 0 || colophonAt < fontsAt || !strings.Contains(group, "docs.help.fonts") || !strings.Contains(group, "docs.help.colophon") {
t.Fatalf("Help does not offer Fonts, then Colophon:\n%s", group)
}
- // Signed out, the door links the Colophon, as every Oficina app's
- // door links its open-source page.
+ // The sign-in door does not link it (Paul, 2026-11-19: a Colophon
+ // link on the door "makes no sense at all"); it lives under Help.
door := getAccept(t, app, nil, "/signin").Body.String()
- if !strings.Contains(door, `href="/help/colophon"`) {
- t.Error("the sign-in door does not link the Colophon")
+ if strings.Contains(door, `href="/help/colophon"`) {
+ t.Error("the sign-in door links the Colophon")
}
}