Skip to content

Deepen MocapSession lifecycle factory#84

Open
rupertgermann wants to merge 2 commits into
mainfrom
codex/open-issues-lifecycle-factory
Open

Deepen MocapSession lifecycle factory#84
rupertgermann wants to merge 2 commits into
mainfrom
codex/open-issues-lifecycle-factory

Conversation

@rupertgermann

@rupertgermann rupertgermann commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Move MocapSession finalize, reanalyze, link, and unlink Prisma wiring behind createPrismaMocapSessionLifecycle.
  • Keep lifecycle routes limited to auth, validation, and response projection.
  • Add fake-Prisma factory seam tests for conflict mapping, optimistic guards, rollback paths, and revision bumps.

Validation

  • npx tsc --noEmit
  • npx eslint on the changed lifecycle files and routes
  • npm run test (263 passed)
  • npm run test:e2e -- tests/e2e/mocap-capture.spec.ts tests/e2e/session-detail-mocap-link.spec.ts tests/e2e/mocap-replay-compare.spec.ts (8 passed)
  • npm run lint still fails on existing unrelated repo-wide baseline errors; changed-file lint above passes.

Closes #78
Closes #79
Closes #80
Closes #81
Closes #82
Closes #83

@rupertgermann rupertgermann changed the title Centralize settings revision bump and reanalyze lifecycle Deepen MocapSession lifecycle factory Jul 4, 2026
@rupertgermann rupertgermann marked this pull request as ready for review July 4, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment