When a chat proposal is pending, the app prevents you from also manually editing the agent — but that lock is purely client-side UI state today. No server route actually rejects a manual edit request while a proposal is pending server-side.
Fix: add a server-side check (in the relevant agent-edit route(s)) that rejects a manual edit while a pending proposal exists for that agent, mirroring the client-side lock. Closes the gap where a client that bypasses the UI (or a bug in it) could still cause a collision.
When a chat proposal is pending, the app prevents you from also manually editing the agent — but that lock is purely client-side UI state today. No server route actually rejects a manual edit request while a proposal is pending server-side.
Fix: add a server-side check (in the relevant agent-edit route(s)) that rejects a manual edit while a pending proposal exists for that agent, mirroring the client-side lock. Closes the gap where a client that bypasses the UI (or a bug in it) could still cause a collision.