Skip to content

feat(storage): add research project schema#46

Merged
hubab1 merged 1 commit into
mainfrom
32b-research-project-schema
Jul 26, 2026
Merged

feat(storage): add research project schema#46
hubab1 merged 1 commit into
mainfrom
32b-research-project-schema

Conversation

@hubab1

@hubab1 hubab1 commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Summary

  • add append-only schema V5 with research-project and project-keyword membership models
  • preserve released V1 through V4 schemas and use a lightweight V4-to-V5 migration
  • keep query, ranking, metric, and difficulty evidence shared when a project is deleted
  • use independent project UUIDs rather than fake App Store IDs
  • make project and membership identity immutable and rotate incarnation UUIDs after delete/recreate

Current-main restack

The schema commit was reconstructed on current main after the exact V4 fixture merged. The refreshed PR contains one conventional commit and only the intended schema, migration, and persistence-test files.

Validation

  • focused research-persistence, migration, and exact-fixture suites passed
  • full project suite: 479 tests passed
  • Swift 6.2 complete strict-concurrency build passed
  • Xcode project validation and git diff --check passed
  • no application launch or live user-store access

Review gate

This changes the persistent schema from V4 to V5. It remains a separate PR so the migration can be reverted or diagnosed independently of project lifecycle and UI work.

Contributes to #3.

@hubab1
hubab1 force-pushed the 32b-research-project-schema branch from 3d012b0 to 07b2696 Compare July 19, 2026 08:28
@hubab1
hubab1 force-pushed the 32a-v4-migration-fixture branch from 85e61bc to 95da8d0 Compare July 26, 2026 08:59
@hubab1
hubab1 force-pushed the 32b-research-project-schema branch from 07b2696 to b6db5f3 Compare July 26, 2026 09:09
@hubab1
hubab1 changed the base branch from 32a-v4-migration-fixture to main July 26, 2026 09:09
@hubab1
hubab1 marked this pull request as ready for review July 26, 2026 09:14
@hubab1
hubab1 merged commit 87fbf67 into main Jul 26, 2026
2 checks passed
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