Veilid P2P forge sync — ritual-veilid sidecar for decentralized cell sync #3

Closed
opened 2026-06-29 14:48:59 +00:00 by peterswimm · 0 comments
Owner

Wish: 06fe407e — Veilid P2P forge sync — ritual-veilid sidecar

What

Add a Veilid P2P sidecar to forge-core that enables decentralized forge.db sync between forge cells without requiring a central Postgres relay. This is the Phase 4 local-first architecture.

Tasks

  • Scaffold ritual-veilid sidecar crate or binary in forge-core workspace
  • Implement Veilid DHT-backed sync for forge.db change log entries
  • Wire Veilid node identity to actor identity (peterswimm → Veilid keypair)
  • ritual sync push --veilid flag routes sync through P2P instead of Electric-sql
  • P2P discovery: forge cells find each other via Veilid DHT, no static peer config

Acceptance criteria

  • Two forge cells sync wish/frame changes via Veilid without Postgres intermediary
  • Conflict resolution consistent with CRSQLite semantics

Forge wish: 06fe407e

> **Wish:** `06fe407e` — Veilid P2P forge sync — ritual-veilid sidecar ## What Add a Veilid P2P sidecar to forge-core that enables decentralized forge.db sync between forge cells without requiring a central Postgres relay. This is the Phase 4 local-first architecture. ## Tasks - [ ] Scaffold `ritual-veilid` sidecar crate or binary in forge-core workspace - [ ] Implement Veilid DHT-backed sync for forge.db change log entries - [ ] Wire Veilid node identity to actor identity (peterswimm → Veilid keypair) - [ ] `ritual sync push --veilid` flag routes sync through P2P instead of Electric-sql - [ ] P2P discovery: forge cells find each other via Veilid DHT, no static peer config ## Acceptance criteria - [ ] Two forge cells sync wish/frame changes via Veilid without Postgres intermediary - [ ] Conflict resolution consistent with CRSQLite semantics _Forge wish: `06fe407e`_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Toilville/forge-core#3
No description provided.