Skip to content

Fix durable V014 migration preview - #1360

Merged
azurras merged 4 commits into
mainfrom
codex/domain-v014-lifecycle-order
Aug 12, 2026
Merged

Fix durable V014 migration preview#1360
azurras merged 4 commits into
mainfrom
codex/domain-v014-lifecycle-order

Conversation

@azurras

@azurras azurras commented Aug 12, 2026

Copy link
Copy Markdown
Owner

What changed

  • accept the two exact V014 migration-record lifecycle field orders witnessed from fresh conversion and durable completion
  • keep every existing V014 identity, checksum, value, BSON type, class, and source-authority check
  • add real-Mongo negative coverage for third-order, missing/extra-field, wrong-class/type, and missing-source records

Root cause

The guarded preview accepted only the fresh converter order. Production has the equally valid durable lifecycle order produced when Spring Data inserts _class and later appends completedAt, so preview failed closed before any effect.

Safety

  • no production record rewrite or normalization
  • no command/result, manifest, ledger, backup, cutover, rollback, or deletion behavior change
  • cutover remains blocked until this fix is merged and the protected read-only preview passes

Validation

  • disposable Mongo migration harness: 3/3, including 468 interruption boundaries
  • Node syntax checks and contracts: 9/9
  • cbell-lib: 123/123
  • website Java: 1,876 tests, 0 failures/errors, 75 guarded skips
  • full :cbell-lib:test :website:check :website:bootJar: green
  • production PowerShell suite: 672 passed, 0 failed, 28 guarded skips
  • independent task review and final scoped review: zero Critical/Important findings

@azurras
azurras merged commit af66f34 into main Aug 12, 2026
8 checks passed
@azurras
azurras deleted the codex/domain-v014-lifecycle-order branch August 14, 2026 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant