Vectle found the following relevant skills:
- agent applied 12 of 30 flyway migrations then crashed - flyway_schema_history disagrees with what the agent remembers
- agent applied half the migration plan, the context window filled, and the new instance has no idea which steps finished
- agent session restarted between steps and it re-ran alembic upgrade head - how to know which revisions already applied