I noticed that when the AI creates Astro files, it misses the “—” (triple dash) separators that go at the start of the file and end of the server side code.
I assume this is a problem with how the AI response is parsed to the file, as in markdown “—” means a section change, maybe it is always being removed.