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 c073a58. Discussion 48. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Squashed from fix/door-no-colophon into main.
3 files changed,
+12
−8
internal/memoria/app.go+4 −3internal/memoria/handlers.go+1 −2internal/memoriatest/signin_door_test.go+7 −3
CI failed — run details
CI log
=== vet ===
go vet ./...
go vet -tags browser ./internal/memoriatest/
=== fmt ===
=== test ===
go test ./...
? amadan.net/oficina/memoria/cmd/memoria [no test files]
? amadan.net/oficina/memoria/cmd/memoria-contract [no test files]
--- FAIL: TestBreakerCountersAreSealedAndTheAskerIsOneWay (0.01s)
breaker_test.go:367: the counts are legible at rest: how much one person was refused is a fact about that person
FAIL
FAIL amadan.net/oficina/memoria/internal/memoria 11.400s
ok amadan.net/oficina/memoria/internal/memoria/chunk 0.004s
ok amadan.net/oficina/memoria/internal/memoria/fact 0.677s
? amadan.net/oficina/memoria/internal/memoria/icons [no test files]
ok amadan.net/oficina/memoria/internal/memoria/index 0.056s
ok amadan.net/oficina/memoria/internal/memoria/notion 0.029s
ok amadan.net/oficina/memoria/internal/memoria/provider 10.644s
ok amadan.net/oficina/memoria/internal/memoria/query 0.003s
ok amadan.net/oficina/memoria/internal/memoria/seal 0.004s
ok amadan.net/oficina/memoria/internal/memoria/sibling 3.034s
? amadan.net/oficina/memoria/internal/memoria/teamstate [no test files]
ok amadan.net/oficina/memoria/internal/memoriatest 5.099s
? amadan.net/oficina/memoria/scripts/writeestilo [no test files]
? amadan.net/oficina/memoria/tools/bench [no test files]
? amadan.net/oficina/memoria/tools/drive [no test files]
? amadan.net/oficina/memoria/tools/seed [no test files]
? amadan.net/oficina/memoria/tools/vendorassets [no test files]
FAIL
make: *** [Makefile:63: test] Error 1
amadan: step test failed: exit status 2
amadan: job failed at step test — its output is above, not at the tail of this log
diff --git a/internal/memoria/app.go b/internal/memoria/app.go| index 02bf15c..2f321e5 100644 |
| --- a/internal/memoria/app.go |
| +++ b/internal/memoria/app.go |
| @@ -147,9 +147,10 @@ func AppWith(d *db.DB, cfg Config, logger *slog.Logger) (*http.ServeMux, *app, e |
| }) |
| // Where Sign out lands, standalone and with Home alike. |
| r.Get("/signed-out", a.signedOut) |
| - // The Open source page is public: the sign-in page links to it (spec |
| - // §8.4), and it says nothing about the team. It still shows the |
| - // viewer's own chrome when somebody is signed in. |
| + // The Open source page is public, and it says nothing about the team. |
| + // The sign-in page no longer links to it (Paul, 2026-11-19, superseding |
| + // spec §8.4's link). It still shows the viewer's own chrome when |
| + // somebody is signed in. |
| r.Get("/help/open-source", a.credits) |
| r.With(a.requireSession).Get("/account/home", func(w http.ResponseWriter, r *http.Request) { |
| if a.home == nil { |
diff --git a/internal/memoria/handlers.go b/internal/memoria/handlers.go| index bd61a64..33523df 100644 |
| --- a/internal/memoria/handlers.go |
| +++ b/internal/memoria/handlers.go |
| @@ -1509,8 +1509,7 @@ type signinConfirm struct { |
| func (a *app) door(r *http.Request) chrome.SignIn { |
| return chrome.SignIn{ |
| Icon: assets.Path("static/brand/icon.svg"), App: appName, Sky: sky.For(r.Host), |
| - Action: "/auth/begin", |
| - OpenSource: &chrome.Link{Href: "/help/open-source", Label: "Open source"}, |
| + Action: "/auth/begin", |
| } |
| } |
diff --git a/internal/memoriatest/signin_door_test.go b/internal/memoriatest/signin_door_test.go| index 3fdbb10..2f704a0 100644 |
| --- a/internal/memoriatest/signin_door_test.go |
| +++ b/internal/memoriatest/signin_door_test.go |
| @@ -40,10 +40,8 @@ func TestSigninPageIsTheDoor(t *testing.T) { |
| "estilo-door", |
| `<span>Memoria</span>`, |
| `<h1>Sign in</h1>`, |
| - // The suite's copy (shared chrome §9.2): the help under the field, |
| - // and Open source reachable while signed out (§8.4). |
| + // The suite's copy (shared chrome §9.2): the help under the field. |
| "We’ll email you a link that signs you in. It works once and expires in 15 minutes.", |
| - `href="/help/open-source"`, |
| `action="/auth/begin"`, |
| // Paul, 2026-10-01: the door's button says "Sign in". |
| `>Sign in</button>`, |
| @@ -54,6 +52,12 @@ func TestSigninPageIsTheDoor(t *testing.T) { |
| t.Errorf("the sign-in page lacks %q", want) |
| } |
| } |
| + // Paul, 2026-11-19: no Colophon link on the sign-in door ("makes no |
| + // sense at all"). The page stays reachable signed out; the door does |
| + // not link it. |
| + if strings.Contains(body, `href="/help/open-source"`) { |
| + t.Error("the sign-in page links Open source") |
| + } |
| // Retired (§9.2): "Email me a link" (Paul, 2026-10-01), the lede |
| // "Memoria holds your team's work…", and the |
| // footer's egress claim, which is about searching and is said only to |