Conversation
Replaces the single schema fingerprint with an ordered list of named steps, recorded one row per step. An unapplied step is applied; an applied step can never change. Databases stamped by the previous scheme are adopted in place, with their rows. Adds a guard that refuses an unmarked data-destroying statement, and tests covering both directions. Details are tracked internally as T99 / WI-31. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D5xdKhPXJT4HMWwUyENiu1
Require each migration step to classify its data risk explicitly. Mark post-initial schemas so the previous single-fingerprint build refuses an unsafe rollback.
Contributor
Author
|
T99 exact-head follow-up is in The behavior cases were captured before implementation and pass afterward. Final evidence: 18 focused schema cases, 296 full tests, typecheck, production build, and hosted checks pass. #14 uses this amended head. Detailed findings, trade-offs, and uncertainties are recorded under private T99 / WI-31 in |
Contributor
Author
|
Exact-head validation for
Landing order: merge #15 first, then #14. Merging #14 first would carry these commits transitively, but would make this separate PR redundant; do not deploy or merge the older #15 state after a database has advanced through #14. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tracked as T99 in the private
Morelitea/securityrepository.The finding, reasoning, verification, and review notes live there. This description is deliberately minimal because this repository is public.
Scope: the ordered schema-change contract, compatibility coverage, and documentation. This is the dependency for #14.
Verified: the exact head passes 296 tests, typecheck, production build, and hosted checks. Reviewers should use T99 / WI-31 in
Morelitea/securityfor detail.