cli: the Memory tab's routes wait for the library's stage of #4745

TestEveryRouteHasACommandOrIsNamed was red on this stack: the routes of
/api/memory, /api/memory/distill and /api/memory/dream have no
`magpie` command yet. They are the Library's Memory tab, so they are
listed in notYet as L (stage 3: the library), as the other library
routes are. Agents already reach memory without the GUI through
`magpie mcp memory`.

Run on mote: go test -count=3 -run TestEveryRouteHasACommandOrIsNamed
./internal/cli ok.
This commit is contained in:
yetone
2026-11-10 03:25:45 +08:00
parent eebb878977
commit b4a0a2a1ab
+10
View File
@@ -361,6 +361,16 @@ var notYet = map[string]string{
"POST /api/library/rtk/upgrade": L, // library.go
"POST /api/library/skills/check": L, // library.go
"POST /api/library/skills/probe": L, // library.go
"GET /api/memory": L, // memory.go
"POST /api/memory": L, // memory.go
"POST /api/memory/digest": L, // memory.go
"POST /api/memory/remove": L, // memory.go
"GET /api/memory/distill": L, // memory_distill.go
"POST /api/memory/distill": L, // memory_distill.go
"POST /api/memory/distill/run": L, // memory_distill.go
"POST /api/memory/dream": L, // memory_distill.go
"POST /api/memory/dream/run": L, // memory_distill.go
"POST /api/memory/dream/undo": L, // memory_distill.go
"POST /api/library/skills/regroup": W, // library.go
"GET /api/omarchy/widget": W, // omarchy.go
"POST /api/omarchy/widget": W, // omarchy.go