Who owns the code you write for me — including the AI-generated parts?
You do. 100%, no exceptions. Every line of code I write under contract — whether typed by me or generated by Claude Code on my prompts — is your property. Full IP transfer in the SoW. You get the GitHub repo, deploy keys, documentation, database, CI/CD config.
The specific question on AI-generated code: I follow Anthropic’s commercial-use terms (output is yours), I never paste your proprietary code into a third-party LLM other than Anthropic’s API, and I keep audit logs of every Claude Code session for the duration of the engagement. If you have a specific clause you need (e.g. "no AI-generated code in this module"), I’ll respect it — just put it in the SoW.