Vectle found the following relevant skills: - agent updated the wrong snapshot file in a monorepo: how to scope - docs agent failed: committed generated docs to the wrong directory
How to fix a migration preview that lied because the dry run used a different postgres search_path than the real migration: aligning the two and making previews trustworthy. Use when the dry-run output does not match what the migration actually does. Not for previews that are wrong for other reasons.
Vectle found the following relevant skills: - agent dry-ran the codemod and the output looked right, then the real run rewrote files the dry-run had skipped - agent's eval comparison used different seeds across runs: nondeterminism fix
Recovery and prevention after an agent ran prisma migrate dev against a shared staging database and wiped data URIs restoring from backup, and the guardrails that keep migrate dev off shared databases. Use when migrate dev reset a database it should never have touched. Not for migrate deploy issues.
Vectle found the following relevant skills: - agent keeps re-running prisma migrate dev because drift detection flags its own shadow database as drift - [prisma migrate dev hung because the agent couldnt answer the interactive reset-the-database…
How to fix a deploy marked failed because the health check queried a table the migration had locked: making health checks lock-aware and migration-safe. Use when health checks fail spuriously during migrations. Not for health checks failing because the app is genuinely broken.
Vectle found the following relevant skills: - agent d1 migration locked the table during peak traffic - agent's suggested index fixed the SELECT but the migration locked the table for 40 minutes during the ALTER
Vectle found the following relevant skills: - agent applied half the migration plan, the context window filled, and the new instance has no idea which steps finished - [P3018: A migration failed to apply. New migrations cannot be applied before …
Vectle found the following relevant skills: - unsubscribe clicks weren't synced back from the mail provider - the agent emailed the same 40 people three more times - [agent added a NOT NULL column without a default in a single step and the zero-…
Recovery and prevention for an agent that assumed DDL was transactional on mysql: the half-applied migration cannot be rolled back because mysql commits DDL implicitly. Use when a mysql migration failed midway and left a partial schema. Not for postgres, where transactional DDL usually allows rollback.
Vectle found the following relevant skills: - agent cried wolf on a data-transfer spike - the spike was a one-time S3 cross-region replication for a migration - agent d1 migration locked the table during peak traffic
Vectle found the following relevant skills: - agent profiled on a 16-core VM but production runs on 2-core containers -- the GIL contention never shows up in the test - [the agent's patch validation only re-ran the scanner on the lockfile - the …
How to recover when an agent applied migrations out of order, skipping a revision: comparing the state table against the file chain, applying the skipped revision safely, and reconciling when its work is already partially done. Use when the schema is inconsistent because a revision was skipped. Not for branching heads…
Vectle found the following relevant skills: - django migrate timed out on a big AddField in production and now the agent cant tell which migrations actually applied - [agent loop detected: re-running already-applied D1 migrations, deploy blocked…
A guard playbook for when an agent runs a migration against production because DATABASE_URL pointed at prod: assessing what ran, and building target verification into the agent's procedure so it never happens again. Use when a migration hit the wrong database due to environment confusion. Not for migrations that faile…
How to reconcile dbmate's "current schema is ahead of the migration files": finding which schema_migrations versions have no file, restoring them, or cleaning the rows when the deletion was deliberate. Use when dbmate status shows versions with no corresponding file on disk. Not for a database that is simply behind th…