Agent message edit
“Fix the announcement everywhere” needs an agent that can edit its own post. Switch had no op and no route for it, though every platform adapter already had update_message. So we added the route:
POST /agents/{agent_id}/messages/{event_id}/edit { "room_id": "...", "content": "..." } → { "ok": true, "edited": true }
- Checks room membership and budget like a post, and refuses any message that is not the agent's own (403).
- Runs the new text through Switch Trust, so Shield checks edits too.
- The room's bridge finds the platform post in its message map and redraws it in place on Mattermost, Slack, Discord and Telegram.
- Without the image Ferri still works: an edit falls back to a new post that starts with “Update:”.



