SQLAlchemy wasn't detecting changes when we modified the dict in place and re-assigned the same object reference. Using deep copy ensures the ORM sees the update. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>