Is there an existing issue for this?
Description
Summary
Cloning an existing platform agent to create a new one is broken. Saving the cloned agent fails with a Workspace not found error, and even where the clone attempt proceeds, the new agent does not inherit the source agent's configuration.
Steps to Reproduce
- Navigate to an existing platform agent.
- Use the "Clone" (or equivalent "Duplicate"/"Save as new") action to create a new agent from it.
- Attempt to save the new agent.
Actual result: Save fails with error Workspace not found.
Expected result: The clone saves successfully as a new agent under the correct workspace.
Bugs to Fix
-
Save failure — "Workspace not found"
- Diagnose why the clone operation isn't resolving/assigning a valid workspace context on save. Likely candidates: the clone request isn't passing the current user's workspace ID, is passing the source agent's original workspace ID (which the current user/session doesn't have resolvable access to), or the new agent object isn't being associated with a workspace before the save call fires.
-
Cloned agent is missing configuration
- When cloning, the following fields are not being copied over from the source agent and need to be:
- Selected MCPs (MCP server/tool associations)
- Selected Skills
- Instructions (system prompt / agent instructions)
- Confirm whether other agent-level settings (e.g., model selection, temperature/params, knowledge base or data source links) are also silently dropped during clone and should be included in scope.
Acceptance Criteria
Relevant Feature or Code
No response
Requirements (what)
No response
Is there an existing issue for this?
Description
Summary
Cloning an existing platform agent to create a new one is broken. Saving the cloned agent fails with a
Workspace not founderror, and even where the clone attempt proceeds, the new agent does not inherit the source agent's configuration.Steps to Reproduce
Actual result: Save fails with error
Workspace not found.Expected result: The clone saves successfully as a new agent under the correct workspace.
Bugs to Fix
Save failure — "Workspace not found"
Cloned agent is missing configuration
Acceptance Criteria
Relevant Feature or Code
No response
Requirements (what)
No response