Commit Graph

9 Commits

Author SHA1 Message Date
Mikhail Chusavitin
688b87e98d Add SQL migration file format, Docker testing, and authoring pitfalls to go-database contract
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 22:45:37 +03:00
Mikhail Chusavitin
52444350c1 Automate migration backups and add session rollback on failure
- Replace operator-driven backup requirement with automatic migration engine responsibility
- Full DB backup when new migrations are detected, before any step runs
- Per-table backup before each migration step affecting that table
- Session rollback (or per-table restore) on any migration failure
- Update local-first-recovery to reflect automatic backup requirement

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-22 00:05:22 +03:00
Mikhail Chusavitin
5a69e0bba8 Add local-first recovery contract 2026-03-07 23:16:57 +03:00
Mikhail Chusavitin
d2e11b8bdd Strengthen backup and secret handling contracts 2026-03-07 22:03:49 +03:00
Mikhail Chusavitin
f55bd84668 Require application-owned backups for migrations 2026-03-07 21:56:51 +03:00
Mikhail Chusavitin
61ed2717d0 Extract shared backup management contract 2026-03-07 21:49:07 +03:00
Mikhail Chusavitin
548eb70d55 Add mandatory DB backup rule 2026-03-07 21:39:50 +03:00
0c829182a1 Add Version: 1.0 to all contracts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 17:16:50 +03:00
d9204f2210 Rename kit/ to rules/
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 16:57:06 +03:00