@Jelmer Borst the original use case that I wanted to share was this
https://github.com/backstage/backstage/issues/14416
In summary, Scaffolder Plugin for Backstage allows creating new repositories from code templates. When the template changes, the repository created from the template is not updated. This makes it difficult to maintain consistency within the organization that uses these templates.
@Raquel Pau Fernandez and I originally started talking about this use case and then we arrived at “what if we could use a combination of gumtree + stable diffusion to merge the code.” Stable diffusion is similar to Code Pilot. It can be trained to generate code. Hopefully Gumtree can allow us to merge with structure aware merging. Stable diffusion can run afterwards to glue the merged code with divergent code.