ZeRo Xu on X (10-25) showed the Masking card in a narrow window: the
flow beside the number had its middle squeezed to a sliver, the lines
bunched up and "OpenCode Zen" was cut to "OpenCod…".
The band put the flow beside the number down to a 640px container. Measured
with the reporter's data (Codex 19.6K; openai 14.1K, Codex 3.7K, OpenCode
Zen 1.9K) the flow's middle is 410px at a 1068px container, 162 at 820,
110 at 760 and 80 (its floor) at 700, where the names are cut. Now the
flow goes under the number from a 780px container, as it already did
under 640, so it has the card's whole width; the 640px rules (narrow
side columns and the rest) are unchanged.
Run at this head: GUI masking-records, privacy-usage-stats, privacy-model,
mask-actions, i18n-keys, click-scroll (both engines, all pass); go test
-run Budget ./internal/gui ok. Screenshots at 1280, 1000, 900, 820, 780,
760, 700 and 560 in Chromium and WebKit, before and after.
Not tried: the real Linux (WebKitGTK) and Windows apps; CSS only, no
motion or new API.
The flow's rule for its hairline layer, `.mo-mid svg { position:
absolute; inset: 0 }`, also matched the bird's svg inside .msk-hub, so
the 20px bird was pinned to the 30px ring's top-left corner (5px left
and 5px up). The rule is now `.mo-mid > svg`, and the hub's flex
centring places the bird.
Each agent and provider in the flow has its logo, from the same icon()
and maskWho icon the request rows already use: an agent's after its
name, a provider's before it, both on the side where the lines are. An
"N more" row keeps an empty slot so the names line up.
The test fixture's agent icons were "claude" and "codex", which aren't
icon files. They are now claudecode-color and codex-color, as the real
agents have.
Run at 71fd92ddf + this:
- masking-records.test.cjs + i18n-keys.test.cjs: 36/36 (Chromium and
WebKit, every language, 1100 and 640px)
- go test ./internal/gui -run Budget: ok
- measured: the bird's svg went from the ring's corner (779,160.5) to
(784,165.5), centred in the 30px ring
Broken by hand: the old redact.css fails "the bird in the middle of its
ring"; the old page.js fails the logo check.
Not tried: the real Linux (WebKitGTK) and Windows apps, and the whole
GUI suite. The change is confined to the masking plugin's files, and no
other page uses mo-/msk- classes.
What masking did moves out of Settings › Privacy into a page of its own
under Insights (plugins/redact: client.js, page.js, redact.css, i18n.js).
Privacy keeps how it is found and what to mask, with a "What was masked"
row that opens the page.
- The top card is Privacy's card, made shorter: the flow animation
(agents → this computer → providers) with magpie's bird on the centre
line and "magpie masks it on this computer" under it, so a screenshot
says who masked it; the count and a 7-day bar. Nothing the list repeats.
- The list: one row per masked request, narrowed by kind, by who found it
(rules or the local model), by agent or provider, or to held-back
requests; or by value, each with how often it was put back.
- A request: the message as it went to the vendor beside the original,
each mask marked, unchanged parts folded; picking a value lights every
place it was masked; a held-back request offers "Mask it instead".
- Gateway's masked badge and ?view=masking&key=N (trace.go's mainView)
open one request.
- Classes are msk-: library.css owns mk- (a first cut stacked the flow).
- Budgets lowered to the core's size after the move.
- Not shown: rule names and the local model's confidence; the records
don't keep them.
Run on f5b1d36ff (rebased since onto 344d11484, which only raised the
budgets and changed a dialog's centring and two unrelated files):
- masking-records.test.cjs: 32/32, Chromium and WebKit, 5 languages,
1100px and 640px (card, list, filters, detail, put back, held back,
Gateway badge, deep link, Settings row, no scroll on click), with
key-import and i18n-keys: 48/48.
- go test ./internal/maskrec ./internal/redact ./plugins/redact
./internal/gui ./internal/provider: ok. TestCoreScriptBudget and
TestMainView ok; gofmt -l clean.
- Before the rebase, on 628e18987: go test ./... -timeout 45m, every
package ok; GOOS=linux go vet -tags nogui ./... and GOOS=windows go
vet ./... clean.
- Budgets lowered to the sizes at the pushed head (app.js 1,317,486,
core 1,524,789), ~26KB under what f35c721c4 raised them to after
ce5b23cdb's add-key spinner put the core over.
Broken by hand: the bird's href (#bird → #nobird) turns masking-records
red.
Not run at this head when pushed: internal/gateway, which main's newer
commits touched (run right after; the result goes on the release).
Not tried: the whole GUI suite (hours long, and another session's runs
held the machine), the real Linux (WebKitGTK) and Windows apps.