For knowing how the code works, I find a mental overview of the code can get you really far. You should still know which systems are connected and why, even if you don't know how. It's obviously not the same as writing it yourself but it's a nice enough middleground in my opinion.
For worries on being too reliant on the AI, you can let it expose dev menus to you for things that affect game feel, live comprehensive audio mixers, simulator prototypes before implementation, live spreadsheets, frameworks... Those examples are just really obvious ones but there's a lot you can do and be directly involved in, and I think not being scared by the idea of custom tooling will let you feel like you have a lot more control even if you didn't write what's underneath it.
For knowing how the code works, I find a mental overview of the code can get you really far. You should still know which systems are connected and why, even if you don't know how. It's obviously not the same as writing it yourself but it's a nice enough middleground in my opinion.
For worries on being too reliant on the AI, you can let it expose dev menus to you for things that affect game feel, live comprehensive audio mixers, simulator prototypes before implementation, live spreadsheets, frameworks... Those examples are just really obvious ones but there's a lot you can do and be directly involved in, and I think not being scared by the idea of custom tooling will let you feel like you have a lot more control even if you didn't write what's underneath it.