Skip to content

feat(storage): add research project schema#46

Draft
hubab1 wants to merge 1 commit into
32a-v4-migration-fixturefrom
32b-research-project-schema
Draft

feat(storage): add research project schema#46
hubab1 wants to merge 1 commit into
32a-v4-migration-fixturefrom
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 the released V1 through V4 schemas and use a lightweight V4 to V5 migration
  • keep query, ranking, metric, and difficulty records shared when a project is deleted
  • make project and membership identity/canonical scope immutable after construction
  • add durable, unique incarnation UUIDs so delete/recreate cannot make stale handles current again
  • cover exact-fixture and synthetic migration, relationship, generation, and cascade behavior

Validation

  • focused persistence, migration, and dependency tests: 35/35 passed
  • full test suite: 343/343 passed
  • signed Debug build passed; Apple Development signature verified
  • independent P0/P1/P2 review clear after the incarnation-token fix
  • no application launch or live user store access

Review gate

Draft/manual review required because this changes the persistent schema. It is intentionally stacked on #45.

Contributes to #3.

@hubab1
hubab1 force-pushed the 32b-research-project-schema branch from 3d012b0 to 07b2696 Compare July 19, 2026 08:28
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