feat(mobile): Live and Record lanes, Signal, Need eyes and Crews

Every room has a Twitch-style Live lane (simulated crowd chat, emotes,
reactions that also rise from the globe, slow mode, witness glow) and a
Reddit/X-style Record (Signal-weighted corroborate/dispute, threads,
quotes, notes, synthesis). Chat lines with evidence or corroboration
promote to the Record, and a rules-based clerk summarizes chat with
citations. Signal is a receipts ledger; Need eyes requests reward a
sealed answer with a First eyes byline. Crews add persistent groups.
Simulated and example content is labelled throughout.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VVYRAqiQj9Y1V9ZfG1RcDH
This commit is contained in:
Claude committed 2026-10-23 07:29:14 +00:00
1 parent f16a9fd365
commit a6f98ce3c1
22 files changed
+9247 -370

No files matched your search

+9
View File
@@ -97,6 +97,11 @@ export function createRealtime() {
else if (m.t === 'react')
ev.emit('react', { room: m.room, kind: m.kind, remote: true });
else if (m.t === 'rate') ev.emit('rate', m);
else if (m.t === 'chat')
ev.emit('chat', { room: m.room, msg: { ...m.msg, remote: true } });
else if (m.t === 'corro')
ev.emit('corro', { room: m.room, id: m.id, w: m.w, remote: true });
else if (m.t === 'need') ev.emit('need', m.req);
else if (m.t === 'live') {
const cur = lives.get(m.live.id);
lives.set(m.live.id, {
@@ -161,6 +166,10 @@ export function createRealtime() {
post: (post) => send({ t: 'post', post }),
react: (r, kind) => send({ t: 'react', room: r, kind }),
rate: (payload) => send({ t: 'rate', ...payload }),
/** Live lane: one chat line to every other tab in the same room. */
chat: (r, msg) => send({ t: 'chat', room: r, msg }),
corro: (r, id, w) => send({ t: 'corro', room: r, id, w }),
need: (req) => send({ t: 'need', req }),
/* live broadcasts */
liveTick: (live, frame) => send({ t: 'live', live, frame }),
liveEnd: (id) => send({ t: 'live-end', id }),