editorzero
Halling · scandi-cool · self-hosted · humans + agents at parity
design preview
A

Dashboard · home

overview · recent docs · spaces · peer activity
editorzero
NA

Good morning, Nomi

Acme Robotics workspace · 14 people · 3 agents online

3 agents working
312
Documents
24 ▲ 6
Edited today
7 sage
Agent suggestions
4
Active spaces

Recent documents

View all →
Q3 Platform Architecture
Engineering edited 12m ago agent suggestion
NA
Onboarding Runbook v4
Handbook edited 1h ago published
JL
MK
API Reference — Capabilities
Engineering edited 3h ago 2 editors
NA
Pricing & Packaging FAQ
Product edited yesterday draft
JL

Spaces

P
Product
48 docs · 6 people
E
Engineering
126 docs · 9 people · 2 agents
D
Design
37 docs · 4 people

Peer activity

live
Atlas agent proposed an edit in Q3 Platform Architecture — “tighten the snapshot retention paragraph”12 minutes ago · awaiting review
NA
Nomi published Onboarding Runbook v41 hour ago
Scout agent created Changelog 0.9 → 1.0 from 14 merged PRs2 hours ago
JL
Jonas accepted 2 suggestions by Atlas in API Reference3 hours ago
B

Documents · inside a space

collections tree · table showing human AND agent editors
editorzero
NA

Architecture

18 documents
DocumentStatusEditorsUpdated
Q3 Platform Architecture
/architecture/q3-platform
In review
NA
12m ago
CRDT Convergence Model
/architecture/crdt-convergence
Published
JL
MK
2h ago
Audit Log & Replay Spec
/architecture/audit-replay
Published
NA
JL
5h ago
Permission Enforcement Floor
/architecture/permission-floor
Draft
MK
Yesterday
Snapshot Retention Policy
/architecture/snapshot-retention
In review
NA
2d ago
Tenant Isolation Threat Model
/architecture/tenant-isolation
Published
JL
4d ago
C

Document · reading view

finished doc · title · rich body · metadata
Engineering / Architecture / Q3 Platform Architecture
v12 · published
Engineering · Architecture

Q3 Platform Architecture

NA
Nomi Ali
author · human
Atlas
co-editor · agent
Updated 12 min ago
·
9 min read
·
v12

editorzero treats humans and AI agents as peer co-editors. This document captures the architecture that makes that parity real across the API, CLI, MCP, and Web surfaces — every capability available to a person is equally available to an agent, under the same permission floor.

The unified write path

All content mutations flow through a single transactional path, ctx.transact(doc_id, fn). There is no second authority that can silently overwrite an edit — the failure class behind most split-brain collaboration bugs. Every mutation produces exactly one audit entry, and the audit log alone can reconstruct the document's final state.

Determinism is a feature. Doc-model changes must preserve CRDT convergence and per-block Markdown fidelity. Concurrent edits from a human and an agent converge to the same state across every replica.

Tracked agent edits

An agent's edit can be recorded as a suggestion attributed to the agent principal, reviewable and acceptable by a human or another authorised agent. Suggestions are anchored on Yjs relative positions, so they survive concurrent edits to the surrounding text rather than landing at the wrong offset.

  • Suggestion anchors use relative positions, never absolute offsets.
  • Accept and reject are conflict-aware capabilities — a stale anchor is surfaced as outdated, never silently applied.
  • Restore appends a converging state; it never rewinds the CRDT in place.
The killer feature is owned, free, and self-hostable — no Pro gate, no unshipped upstream dependency.

Version history

Versions are named Yjs snapshots, dispatcher-mediated, each with author attribution and one audit entry. Restoring a version computes the delta against current state and applies it as a new corrective update:

typescript// restore appends, never rewinds
const delta = diff(current, snapshot.stateVector);
await ctx.transact(docId, (d) => d.applyUpdate(delta));

Because snapshots and changesets are computed over the CRDT rather than in place of it, the CRDT remains the single source of truth at all times.

D

Document · editor  ★ signature

Tiptap-style editor · slash menu · block handles · LIVE agent co-editor + tracked agent suggestion
Engineering / Architecture / Q3 Platform Architecture
3 editing now
NA
JL
Heading 2
Atlas is editing

Q3 Platform Architecture

DRAFT v12·last edit 12s ago·2 open suggestions
The unified write path
All content mutations flow through a single transactional path. There is no second authority that can silently overwrite an editJonas — the failure class behind most split-brain collaboration bugs.
Every mutation produces exactly one a single audit entry, and the audit log alone can reconstruct the document's final state.Atlas
Atlas agent · suggestion
just now
Replace “a single” with “exactly one” to match the invariant wording.
Invariant 3 in the brief says “exactly one audit entry.” Aligning the prose with the canonical phrasing.
anchored · rel-pos · audit on accept
Versions are named Yjs snapshots, each with author attribution and one audit entry.
Scout outdated
23m ago
Suggested adding a sentence about auto-snapshot cadence — but the anchored range was edited concurrently, so this suggestion no longer resolves.
Anchor moved under a concurrent edit — surfaced as outdated, never silently applied.
⚠ anchor unresolved
/heading
Blocks · type to filter
H
Heading 1
Section title
#
H
Heading 2
Sub-section
##
Callout
Highlighted note · lossy tier
</>
Code block
Monospace · syntax
```
Ask an agent…
Draft, summarise, or suggest
@
E

Admin · members

users · teams · spaces · agents as first-class principals
editorzero
Workspace administration
NA

Members & access

Acme Robotics · 14 people, 3 agents · managed by this self-hosted workspace

11 humans 3 agents
MemberTypeRoleTeamsLast active
NA
Nomi Ali
nomi@acme.dev
human Admin
EngProduct
now
Atlas claude-opus
agent:atlas · tok ••••7f3a
agent Editor
Engscoped · rate-limited
editing now
JL
Jonas Lindberg
jonas@acme.dev
human Editor
EngDesign
2m ago
Scout changelog-bot
agent:scout · tok ••••c1d9
agent Editor
Engscoped
2h ago
MK
Maja Kowalski
maja@acme.dev
human Editor
Design
1h ago
Indexer search-sync
agent:indexer · tok ••••9b02
agent Viewer
All spacesread-only
5m ago
editorzero · Halling design system · AGPL-3.0 · open-source fonts only · all surfaces at parity