Repository navigation
console: sync to fold-console@cdd97bafb725 — auth fix, current wordmark - #40
Conversation
Two upstream merges. One of them fixes a bug that is live in shipped binaries. THE BEARER TOKEN FIELD DID NOT WORK. preact/compat aliases React's onChange onto the input event, so the console declaring both onInput and onChange left one handler clobbering the other: keystrokes were swallowed and a pasted token authenticated nothing. Against a gateway with auth on — the only configuration where that field is shown — the console was unusable, and every static check upstream passed while it was. Their new end-to-end suite caught it on its first run. THE WORDMARK WAS THE PRE-v1.9 MARK. Operators have been looking at the stroked geometric lockup that fold's 2026-08-10 identity revision replaced. It is now the outlined Black Ops One derivative, matching fold.run. Two consequences visible in this diff: gateway/console/OFL.txt names Black Ops One alongside the two text faces, because outlines are a derivative of the Font Software even where no font binary ships; and index.html carries a favicon as an inline data: URI, which img-src 'self' data: already admits and which needs no new file in MANIFEST. Upstream also landed a polish pass: a freshness indicator, loading skeletons, a skip link, route announcements, larger pointer targets, and three layout bugs that only a screenshot would have caught. gateway/console grows 241487 -> 247933 bytes, still well inside upstream's 320 KiB budget. The embedded file set is unchanged, so MANIFEST and introspection_test.go need no edit. Reviewing: app.js is minified bundle output, so read the upstream diff on src/ rather than this one. Upstream CI rebuilds and fails on drift between source and dist/, and its suite now includes a test that walks the whole app under this repo's exact CSP and asserts no violation fires. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Retrospective verification recordThis is not an independent review. Written with Claude Code in the same What this shipped, in order of consequenceA fix for a bug that was live in released binaries. A new wordmark, outlined glyph paths derived from Black Ops One (SIL OFL A favicon as an inline Verified
Not reviewedThe minified |
Pin bump only:
f1d5aad→cdd97ba. No change toscripts/sync-console.sh'slogic,
MANIFEST, or any Go code.Upstream: fold-run/fold-console#4 and #5.
The Bearer token field did not work.
preact/compataliases React'sonChangeonto the input event, so declaring bothonInputandonChangeleftone handler clobbering the other. Keystrokes were swallowed and a pasted token
authenticated nothing:
Against a gateway with
authenabled — the only configuration where thatfield is even rendered — the console is unusable. Every static check upstream
passed while that was true; it took an end-to-end test to find it, on the first
run of their new suite.
That alone is the argument for merging this rather than waiting for Monday's
console-sync.The wordmark was the pre-v1.9 mark
Operators have been looking at the stroked geometric lockup that the 2026-08-10
identity revision replaced. It is now the outlined Black Ops One derivative,
matching
fold.run. Upstream also verified the colour tokens againstDESIGN.jsonin the same pass; those had not drifted.Two consequences visible in this diff:
gateway/console/fonts/OFL.txtnow names Black Ops One alongside Plex andGeist. Outlines are a derivative of the Font Software even where no font
binary ships. No new file — the licence bundle already existed, so
MANIFESTis untouched.index.htmlcarries a favicon as an inlinedata:URI.img-src 'self' data:already admits it, and doing it this way avoids adding a file to theembedded set for 300 bytes.
Also in this bump
A polish pass: a freshness indicator in the top bar, loading skeletons, a skip
link, route announcements for screen readers, pointer targets ≥44px on the
controls too small to hit, and three layout bugs that only a screenshot would
have caught (a bare
headerselector indenting every page title by 24px, a gridabsorbing flex slack into a 140px hole on narrow screens, and a wire log that
had stopped following its own tail).
gateway/consolegrows 241,487 → 247,933 bytes, still well inside upstream's320 KiB budget.
Reviewing this
app.jsis minified bundle output. Read the upstream diff onsrc/, notthis one. Upstream CI rebuilds and fails on any drift between source and
dist/, so the bytes here are entailed by it.Worth knowing for a supply-chain read: upstream's suite now includes a test that
walks the whole application under this repo's exact CSP (their preview
server replays
consoleCSP's base policy byte-for-byte) and asserts nosecuritypolicyviolationfires, plus tests that render hostile tool names,upstream errors and labels as text and assert no element or side effect results.
Verification
./scripts/sync-console.sh— vendors 8 files, writes the pinmake console-check—gateway/console matches its pingo build ./...go test ./gateway— full package,okin 8.5s🤖 Generated with Claude Code