agent_clone_source_invalid
The source agent's saved configuration no longer validates, so it cannot be copied into a draft. Update the source first.
Problem shape
Every non-2xx response is an RFC 9457 application/problem+json body. The type URI below is stable and machine-matchable, so branch on the final path segment (the code) and treat the status as redundant confirmation. See the error-handling guide.
{
"type": "https://docs.vocapable.com/errors/agent_clone_source_invalid",
"title": "…",
"status": 422,
"detail": "…",
"instance": "/v1/…"
}