Bug Description
When a policy is created for the MCP and assigned to an A2A agent with one of the MCP tasks selected, attempting to edit the policy and reassign it back to the MCP results in the tasks field being displayed as "Unknown".
Expected Behavior
It should only show "Invoke A2A agent".
Affected Version
v1.0.0
Steps to Reproduce
Reproduction steps:
- Create two badges: one for the Weather MCP server and one for the A2A agent.
- Create a policy and assign it to the A2A agent, selecting the
get_weather task, which is one of the tools of the Weather MCP.
- Navigate to the Policies page by clicking the "Policy" button in the sidebar, and attempt to edit the policy you created earlier.
- Attempt to assign that policy to the MCP server.
- Observe that the tasks in the UI are displayed as "Unknown".
Checklist
Bug Description
When a policy is created for the MCP and assigned to an A2A agent with one of the MCP tasks selected, attempting to edit the policy and reassign it back to the MCP results in the tasks field being displayed as "Unknown".
Expected Behavior
It should only show "Invoke A2A agent".
Affected Version
v1.0.0
Steps to Reproduce
Reproduction steps:
get_weathertask, which is one of the tools of the Weather MCP.Checklist