It can, if used without constraints. AI tends to optimize for the immediate task, not for long-term structure.
We address this in two ways. First, by limiting AI usage to areas where the expected output is clear and verifiable. Second, by enforcing review standards that focus on maintainability, not just correctness.
We also monitor patterns in generated code. If repeated issues appear, we adjust prompts, validation rules, or restrict usage in that area.
Used this way, AI does not remove technical debt, but it does not have to increase it either.