Development Live Collaboration Sessions

Persistent multi-user editor sessions with deterministic conflict resolution

LgrappaG ec9d8ae 1.2 KB Updated

File contents

Live Collaboration Sessions

Persistent multi-user editor sessions with operational transformation, deterministic conflict resolution, and crash recovery.

Risk Level

HIGH

Core Rules

  • Maintain >=5 concurrent editor connections
  • Achieve 99%+ state consistency across clients
  • Persist session data across >=30 minute sessions
  • Resolve competing edits in <1s deterministically

Response Pattern

  1. Initialize session sync with subscription channels
  2. Detect competing writes via OT with Lamport timestamps
  3. Apply automatic conflict resolution deterministically
  4. Checkpoint session state periodically for recovery

Usage

  • Co-op multiplayer level design (3-5 artists)
  • Distributed game jam scenarios
  • Mentoring sessions with live code/scene sharing
  • Remote pair programming on gameplay systems

What NOT to Do

  • Session desynchronization under high frequency
  • Dropped edits during network hiccup
  • Competing changes creating invalid game state
  • Unbounded session state memory growth
  • Non-deterministic conflict resolution

LgrappaG/Workflows-Agents/tree/main/skills/development-live-collaboration-sessions commit ec9d8aefad

Frequently asked questions

npx skillmds@latest add lgrappag/development-live-collaboration-sessions