Change compurer references to superbrain
release gate / check (push) Failing after 7m39s

This commit is contained in:
Andrew S Erwin
2026-10-21 14:44:11 -05:00
parent 18094f9a85
commit 45aa3c80aa
6 changed files with 26 additions and 26 deletions
+4 -4
View File
@@ -28,14 +28,14 @@ capped (100 per bookmark/tag/collection share, 200 per shared date).
| GET, POST | `/api/auth/callback/authelia` | **501**, client-owned callback stub |
The browser's NextAuth `/api/auth/*` endpoints remain on the Next server.
Direct Go API consumers use the `computer_session` cookie from login.
Direct Go API consumers use the `superbrain_session` cookie from login.
Go login accepts JSON and rejects foreign browser origins. Login and signup
are throttled per client IP (429 with `Retry-After`), plus a
consecutive-failure lockout per IP+email on login. Login applies to every
peer, loopback included; signup exempts only a direct loopback peer. Browser
traffic arrives through the trusted Next proxy, which
forwards the observed client IP in `X-Computer-Client-Ip` signed with
HMAC-SHA256 under the shared secret (`X-Computer-Client-Sig`); Go buckets on
forwards the observed client IP in `X-superbrain-Client-Ip` signed with
HMAC-SHA256 under the shared secret (`X-superbrain-Client-Sig`); Go buckets on
that identity only when the signature verifies and falls back to the direct
peer otherwise, so proxied browsers neither share one bucket nor forge
another identity.
@@ -135,7 +135,7 @@ Page hierarchy, internal links and live collection embeds are ordinary
Markdown contained in the page body; the server rebuilds the resolved graph
in the same transaction as every content save:
- `[label](computer:page/<pageId>)` links to another page. `/pages?id=<id>`
- `[label](superbrain:page/<pageId>)` links to another page. `/pages?id=<id>`
and `page/<id>` are accepted as hand-written aliases. Only owned targets
are stored, so a backlink can never reveal another account's page title;
self-links are ignored.