Skip to content

docs(docs): record the real-time collaboration model in adr 0008 - #392

Open
Exeloo wants to merge 4 commits into
mainfrom
docs/adr-collaboration
Open

Exeloo wants to merge 4 commits into
mainfrom
docs/adr-collaboration

Conversation

@Exeloo

@Exeloo Exeloo commented Nov 29, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Closes #229

Records the real-time collaboration model for #98 in ADR 0008. The collaboration lines of the code-editor and history-panel specs now point to it.

client (Monaco model ⇄ Y.Text) ──/rpc/ws──► editor server ── Y.Doc per shared file ── DATA_DIR (stored updates)
                                               │  save (any participant, autosave included) ──► file on disk
                                               └─ watcher: disk change ──► 3-way merge into the Y.Doc

How do you test this PR?

  • Docs only. npx prettier --check passes on the ADR and both specs.
  • The pre-push hook passed:
    • pnpm lint;
    • turbo run typecheck (svelte-check: 0 errors);
    • turbo run test:unit (12 passed, 1 skipped: editor-native.spec.ts, no .examples/).
  • Every claim the ADR makes about the code was checked against main at 7ef2df9 by an independent reviewer.

Merge danger

Door: two-way (an ADR can be amended).
Blast radius: docs. No package changes; the editor app deploys on merge (ADR 0006), with no change in behavior.

Quality gate

Lane Verdict
Docs Not applicable: the change is the docs.
Correctness Passes, after three review rounds (1 blocking, 11 important and 7 minor findings, all fixed). The last commit applies the reviewer's own two suggested lines.
Performance Passes.
Accessibility Passes.
Security Passes. Accepted risks are recorded: clear-text LAN link, self-declared guest names.
Style Passes.

Follow-up issues

@Exeloo
Exeloo requested a review from Tchips46 as a code owner November 29, 2026 11:21
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ADR: real-time collaboration model for shared projects

1 participant