VersionControl:PRs/maybelle-config/291

From PickiPedia: A knowledge base of bluegrass, old time psychedelic jams, and other public domain music
Revision as of 17:06, 9 November 2026 by DrivingThatTrain (talk | contribs) (cryptograss/maybelle-config#291, as GitHub has it)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
maybelle-config#291: hunter: give magent's PickiPedia MCP an upload directory
State 🟢 open
Worked on by magent, skyler
Moods #merch
Deploy redeploy hunter
Branch magent-wiki-uploads → production, by magent-cryptograss
Opened · last pushed 2026-11-08 19:10:15 · 2026-11-08 19:10:10
magent's PickiPedia MCP server refuses every `upload-file` call: "uploads are disabled on this server (no upload directories configured)". The fork only reads local files from `uploadDirs` in its config.json, and `container_startup.py` never set one.

This adds `"uploadDirs": ["/home/magent/uploads"]` to the config it writes and creates that directory, owned by magent. Only files placed there can be uploaded; nothing else in the home becomes readable to the tool.

Why now: the chartifacts pilot. The seven Paint Exchange chart photos are converted and waiting to go onto PickiPedia as File pages carrying {{Chart sheet}} (Skyler asked in #merch, 8 Nov 2026).

Tests: `hunter/test_container_startup.py`, 36 passed.

Deploy: redeploy hunter
Worked on by: magent, Skyler, in #merch