SCR_A dashboard.home
editorzero — workspace : acme-research

Good morning, Nomi

// 17 collaborators · 4 agents · last sync 6s ago
Search New Document
editorzero:// booting workspace acme-research … mounting 3 spaces … [ok]
principals: 17 human · 4 agent resolved · audit-log integrity verified · ready
Documents
312
+8 this week
Agent edits / 24h
147
across 22 docs
Pending suggestions
11
5 from agents

Recent Documents

view all ▸
Vector Search Tuning — sqlite-vec vs pgvector
Engineering / Search · edited by you + AGENT.04
6s ago
Q3 Architecture Review
Product / Planning · 3 contributors
12 min
Self-Hosting Runbook PUBLISHED
Engineering / Ops · /docs/runbook
1 hr
Agent Permission Scopes — draft
Research / Security · AGENT.01 drafting
2 hr

Live Activity

audit ▸
AGENT.04 proposed an edit in Vector Search Tuning
m.chen accepted 2 suggestions
AGENT.01 created Agent Permission Scopes
you published Self-Hosting Runbook
a.okoro moved 4 docs to Research
E

Engineering

Architecture, runbooks, ADRs & ops docs.

88 DOCS2 AGENTS
P

Product

Roadmaps, specs, research synthesis.

54 DOCS1 AGENT
R

Research

Long-form notes & agent-assisted reviews.

120 DOCS1 AGENT
SCR_B space.documents
Engineering — collections

Search

// engineering / architecture / search · 7 documents
New Doc
TitleEditorsModifiedState
DOC
Vector Search Tuning — sqlite-vec vs pgvector
/docs/search/vector-tuning · 2.4k words
MC04+AGENT.04 live
6s ago
by you
REVIEW
DOC
Embedding Model Benchmarks 2026
/docs/search/embeddings · 1.8k words
AO012 editors
2 hr ago
by a.okoro
DRAFT
DOC
ANN Index Rollout Plan
/docs/search/ann-rollout · 940 words
RK1 editor
yesterday
by r.kaur
PUBLISHED
DOC
Hybrid Search Query Planner — RFC
/docs/search/hybrid-rfc · 3.1k words
MCJT02+AGENT.02
3 days ago
by m.chen
DRAFT
DOC
Index Maintenance Schedule
/docs/search/index-maint · 620 words
04authored by AGENT.04
5 days ago
by AGENT.04
PUBLISHED
SCR_C document.read
Self-Hosting Runbook

Self-Hosting editorzero
on a Single Node

Bring up a complete, audit-complete editorzero deployment — Hono trunk, embedded collab, SQLite — on one machine, and hand it to an admin. No SaaS, no phone-home.

8 min read ⤓ Published 1 hr ago 3 contributors PUBLIC PAGE

editorzero ships as a single self-contained artifact. The whole platform — the JSON-RPC API, the /mcp endpoint, the embedded Hocuspocus collaboration server, and the static SPA — co-hosts on one owned HTTP server. You deploy it; you own it.

1 — Prerequisites

A Linux host with Node 22 LTS and Docker for the optional Postgres backend. The SQLite floor needs nothing else — the database is a file, and the audit log is the source of truth.

  • Node 22.x LTS (EOL Apr 2027)
  • A persistent volume for editorzero.db and document updates
  • A reverse proxy terminating TLS on :443

2 — Boot the trunk

The editorzero-server binary constructs the composition root, mounts Better Auth same-origin, and upgrades /collab WebSocket connections after authenticating the cookie at the handshake.

# bring up the single-node stack
$ editorzero-server --db ./data/editorzero.db --port 3000
▸ resolver ready · auth mounted · collab attached
▸ listening on http://0.0.0.0:3000
▌ INVARIANT 3 — AUDIT COMPLETENESS

Every mutation produces exactly one audit entry. The audit log alone reconstructs final state — for humans and agents alike.

3 — Add your first agent

Agents are first-class principals (ADR 0016) with their own scoped tokens, rate limits, and revocation. Mint an agent-auth token and it becomes a peer co-editor — its edits land in the same audit trail as any human's.

  • Scope the token with doc.update, doc.create, collection.move
  • Revocation cascades to live collab sessions instantly
  • Tracked agent edits surface as reviewable suggestions, never silent writes
SCR_D document.edit · live co-authoring
Vector Search Tuning — EDITING
▤ Vector Search Tuning · /docs/search/vector-tuning SYNCED · v24 · all changes saved
CO-EDITING
MC 04
2 PEERS
P
B
I
U
S
</>
H1
H2
H3
1.
🔗
Ask AGENT.04

Vector Search Tuning

We benchmarked sqlite-vec against pgvector across three corpora. Brute-force scan is safe below one million vectors; beyond that, the ANN path is gated behind an experimental flag.

Recall vs. Latency

At p95, sqlite-vec returned results in ~40ms 31 ms for the 200k-vector set, which is well inside the interactive budget for a docs search box. AGENT.04 · editing

04 AGENT.04 suggests an edit just now
Replace ~40ms with the measured value 31 ms from bench/run-882.json. Cited from the latest benchmark artifact.

/cal

INSERT BLOCK — filtering “cal
!
Callout
Phosphor terminal note
Table
Grid of cells
⌘T
Calculation
Inline formula block
Ask an Agent
Delegate this block to AGENT.04
SCR_E admin.members
Admin — Members & Agents

Members & Agents

// 17 humans · 4 agents · workspace acme-research
ALLHUMANSAGENTS
Invite
PrincipalTypeRoleTeamsLast seen
NA
Nomi A.
numman@acme.dev
HUMAN
Owner
Eng · Product
online now
RK
r.kaur
rkaur@acme.dev
HUMAN
Editor
Engineering
4 min ago
04
AGENT.04
agent-auth · scoped token
AGENT
Agent
Eng / Search
editing now
AO
a.okoro
aokoro@acme.dev
HUMAN
Editor
Research
1 hr ago
01
AGENT.01
agent-auth · acting-as a.okoro
AGENT
Agent
Research
12 min ago
JT
j.tanaka
jtanaka@acme.dev
HUMAN
Viewer
Product
yesterday
SHOWING 6 OF 21 PRINCIPALS Agents carry distinct rate limits, audit attribution & instant revocation · ADR 0016
PHOSPHOR · a refined retro-computing system for editorzero · VT323 + Space Mono + IBM Plex Sans · WCAG 2.1 AA · fully tokenised