web_search's count had no effect on an image search: one image came
back whatever was asked. magpie did send image_settings.max_results,
and the backend answered with twelve images, but it puts each rule of
80 dashes straight after the page's last word ("...beauty.----...\n"),
and codexPages cut only at "\n"+rule, so the twelve were read as one
page. codexBlocks cuts at 80 dashes ending a line with no dash before
them. Page searches gain too: a real search_query reply had 33 pages,
3 of them glued to the one before (30 blocks old, 33 new).
Run: real Plus account (~/.codex token, read-only), /alpha/search with
image_query "golden gate bridge" and max_results 5: 12 images, rules
glued; reply kept as testdata/codex-image-search.json.
TestImageSearchGivesTheCount (counts 1, 5, 12 from the real bytes) is
red on the old split by hand (count 1 gave one page holding all twelve),
green now; TestCodexBlocksKeepLongDashLines. On mica (mote over its
cores): go test -run 'ImageSearch|CodexBlocks|CodexPages|ImageResults|
SearchScope|CodexSearch|AlphaSearch|Searcher' ./internal/gateway ok;
gofmt -l clean. The whole internal/gateway package was still running on
mica when this was pushed (owner: ship at once).
Not tried: through a running sandbox magpie end to end; GUI untouched.