The owner (11-12): Memory should have its own icon, a brain. The
Library's Memory tab had a bookmark, and Memory's own requests (the
conversations it reads into memories, made as memdistill.Agent
"memory") were drawn in Routing's graph, Usage and Sessions with the
generic cube under their raw id, since "memory" was no client.
- icons/memory.svg: a brain, 16-grid, stroke 1.4 with round caps and
joins, as the sidebar's marks are; drawn as a one-tone mask.
- navicons.js: the Library's Memory tab draws the same path.
- agent.others: a client "memory", named Memory, with that icon, so
/api/state's clients and agent.Looks (Usage, Sessions) name and draw
it. It has no User-Agent: its requests are known by their token.
- TestEveryClientHasNameAndIcon: memdistill.Agent is among the ids the
gateway records, so it must be a client with a real icon.
- tests/memory-icon.test.cjs: the sidebar's Memory tab draws the path
icons/memory.svg has (and no other tab does), and a request from
"memory" in Routing is drawn with the memory mask, not the cube.
Chromium and WebKit, en/zh/zh-TW/ja/de, 1100 and 420px (no sidebar at
420px, so there the request only).
Run on the tree rebased onto ff8b43711 (same five-file diff; the go packages and the four GUI files first ran at fa7e466ac and again here: TestEveryClientHasNameAndIcon ok, 42 of 42) (mote; mote was at load ~27 and mica ~43, mote was the less loaded):
- go test ./internal/agent ./internal/gui ./internal/memdistill
./internal/usageapi: ok.
- node --test memory-icon nav-sub-icons routing-client-icons i18n-keys:
42 of 42 ok, both engines.
- go vet: darwin agent+gui; GOOS=linux agent (gui needs cgo for wails
on linux); GOOS=windows agent+gui: ok. gofmt -l clean.
Broken by hand (origin/main fa7e466ac with the new tests):
- TestEveryClientHasNameAndIcon: "the gateway records requests as
memory, which isn't among the clients".
- memory-icon.test.cjs with no icons/memory.svg: 2 of 2 red; with the
svg but the old bookmark path: 12 of 22 red, every 1100px case.
Not tried: the real app on any OS; Codex's own memories model row
(MEMORIES in app.js) keeps its notebook, as it is Codex's memories, not
Magpie Memory. The Magpie Memory MCP server keeps magpie's favicon, as
magpie's other servers do.