Skip to content

feat: add stable document node identities - #16

Merged
yuyukosama2004 merged 1 commit into
mainfrom
codex/r3-stable-node-ids
Jul 18, 2026
Merged

yuyukosama2004 merged 1 commit into
mainfrom
codex/r3-stable-node-ids

Conversation

@yuyukosama2004

Copy link
Copy Markdown
Owner

Summary

  • upgrade newly saved scene documents to novelflow.tiptap.v2 with stable UUIDs on addressable block nodes
  • preserve frozen v1 history and Canon hashes; no historical document rewrite or database migration
  • repair missing, invalid, and duplicate IDs deterministically on the backend
  • assign IDs to new Tiptap nodes in the editor and load authoritative content_json instead of rebuilding from Markdown

Verification

  • backend: Ruff, mypy, 88 pytest tests
  • frontend: ESLint, 62 Vitest tests, production build
  • explicit tests for deterministic repair, duplicate handling, new-node identity, and version-switch identity preservation

@yuyukosama2004
yuyukosama2004 merged commit 35ebef5 into main Jul 18, 2026
2 checks passed
@yuyukosama2004
yuyukosama2004 deleted the codex/r3-stable-node-ids branch July 18, 2026 12:36
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