3 Commits
Author SHA1 Message Date
OmO Orchestrator 27e29caed6 fix(privacy): default-deny relay push allowlist + self-hostable WebRTC default
runSync pushed every local event type to the pubkey-stamped relay, letting a puller correlate healthpost/sky.morale/wallet under one identity. Push is now a default-deny allowlist (health/mood/lightclock/mentor/fairdraw/testimony stay strictly local; only merge-needing types sync). Default WebRTC signaling is now self-hostable (VITE_SIGNALING_URL -> ws://localhost:4444), public host opt-in only; DEPLOY.md documents self-hosting.
2026-11-20 03:49:44 -05:00
OmO Orchestrator d22361a613 feat: persist synced event-log history across server runs (SQLite relay)
The event relay was an in-memory array that started empty on every process, so
synced history vanished on every API-server restart. Persist it to a gitignored
.data/events.sqlite3 via node:sqlite like the blob store (EVENT_DB_PATH override;
seq rowid pull cursor; UNIQUE(authorPubkey,signature) push idempotency), keeping
the exact exported API. Synced history now survives restarts and keeps growing,
and a fresh device pulls the whole lived-in history on load; ShellLayout adds a
light 6s poll for live cross-device reflection. Adds a dev:all script, isolates
the two integration tests to a temp EVENT_DB_PATH, documents EVENT_DB_PATH.
2026-11-20 02:30:03 -05:00
OmO Orchestrator 779524e89b feat(api): replace the local-fs blob stub with a real self-hosted SQLite-backed store 2026-11-18 23:32:15 -05:00