mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
The dashboard stored, in each switch-only entry, the Agents it applied to at the moment the switch was flipped. Changing the project's targets afterwards left that list behind: it kept an Agent the project had dropped and missed one it had added, and nothing on the page said so. Getting it right depended on doing things in one order. A switch that names no targets is now worked out on every plan: the Agents the project uses that have a per-project switch and, under mcp.projects, that the global server of that name is written to. Pi takes the global server's piExtension. The dashboard saves the switch that way, so the result no longer depends on the order of edits. An entry that lists its targets is still taken as written, and an unsupported Agent in that list is still an error. One that inherited its targets used to fail on an Agent without a switch; it now skips it. Refs #289