When developing apps for the AppExchange, we use a development workflow in which each developer has their own DE org, but commits to a common source code repository (git in this case). We then use a continuous integration tool (Bamboo) to pull code from the repo into a common org from which we declare the namespace and create the managed package (the "packaging org"). (See http://www.soliantconsulting.com/blog/2013/03/salesforcecomforcecom-team-development).
The problem I've encountered today is that I need to create a "Connected App" in my dev org, but it does not appear that I can "fetch" it out of my DE org using the Metadata API in order to add it to the repo and eventually to push it to the "packaging" org for inclusion in the managed package.
Is this workflow possible for Connected Apps? Or do I need to create the Connected App directly in the packaging org, in which case I would (a) not be able to save the Connected App metadata in the repo and (b) violate our rule that we do not do any development work in the packaging org itself.