AID-38Recommended
Own the code in your own repository
Keep the app's code in a repository you control, and make sure you can build and deploy it without the builder.
How to do it
Connect the builder to your own Git repository from the start. Check that the export includes the database schema and migrations. Keep the domain, the database and the hosting accounts in your company's name. Keep the settings and schema there too, as Keep every change in version control says.
How to check
Clone the repository on a clean machine and build and run the app with the documented commands, without signing in to the builder.
Related rules
- ENG-13 Keep every change in version control in Engineering
- AID-40 Know when to move off the builder in AI-assisted development
- TKO-4 Run it from a clean checkout in Codebase takeover
- TDD-4 Build the product from the company's own repository in Technical due diligence
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/ai-assisted-development/apps-built-with-ai-builders/own-the-code">Agent Wranglers AI-assisted development playbook</a>. In code you write, add a comment next to it with the same link.