5.1 KiB
Project Memory
Last updated: 2026-11-11
This working tree develops the isolated 3.0 model: a shared Rust core across
Server, Native and Browser/WASM, with one shared Web UI for rooms, conversation,
screen sharing, selective watching, voice and App control. Go tooling builds the
separately pinned Cloudflared helper. Status
owns the current implementation and delivery snapshot.
The product hierarchy is Site → Room / 站点 → 房间. Technical Domain and
existing Channel identifiers refer to the site's authority/runtime; the
naming owner governs user-facing terminology.
Published 2.x has its own compatibility index. Its maintained behavior and deployment belong to the canonical 2.x standards and status. The 3.0 owners below define this tree's domain, room and participant model.
Authority And Lifetimes
- The domain owns persistent user identity, membership, room-host bindings and directory summaries. A room's detailed policy and history belong to its room runtime; the directory is a projection of those facts.
- Live identity summaries and bounded profile reads keep historical users separate from endpoint capacity. The same Browser display cache supplies names and pictures to conversation, offline people and mention search.
- Opening a site establishes or restores a user's identity without a separate site invitation or passphrase. Users create and manage their own rooms; private access belongs to each room. The site operator maintains site metadata and backups, without automatically reading or managing another user's room.
- Room admission permits conversation, voice, sharing and watching without role groups. Domain/room management follows ownership; remote input still requires the source owner's consent.
- Each room owner operates that room in a Browser or Native runtime. Participants can share, watch, speak and forward independently of room ownership. One user may have separate Browser and App endpoints; identity, live connection and personal activity remain distinct.
- Browser hosting ends with its page. App hosting follows its Native endpoint and process; Server explicitly supplies unattended hosting. Connecting an App does not transfer existing Browser rooms. Personal captures, voice, watches and input consent remain page-owned; changing views does not stop other activities.
- Browser room data uses IndexedDB through the shared WASM core; Native uses SQLite. Room confirmation follows the owner's storage commit. Saved identity, policy and history survive runtime retirement; live transports, captures and grants do not become saved activities. There is no automatic room takeover.
- Conversation uses the existing domain WebSocket to reach the actual room host, which alone authorizes, stores and signs confirmations. The domain forwards plaintext without retaining history. Reading and writing need no peer path.
- One room routing owner plans its base tree and source-specific screen delivery. Voice and file bytes/control reuse base paths; selected viewers and necessary relays receive pictures. Shared physical connections retain their own leases, so retiring one flow does not retire unrelated work. Browser WebRTC and the Native RTC SDK own congestion control and transport adaptation; Piik owns source clocks, output demand and resource lifetimes.
- Attachment descriptions and bounded image originals or previews belong to confirmed history; other complete file copies belong to participants. Ordinary URLs and manual bookmarks locate domains. App approval belongs to an exact site origin, independently of saved domain identity and room data.
The network model owns authority, routing and activity lifetimes. The room-data model owns persistence, history, file delivery and identity recovery. Their accepted boundaries govern implementation; this memory is only a compact map.
Working References
- Engineering maps and source index locate module, interface and resource owners.
- Server/App reference owns runtime setup and shared UI flows; Native reference owns media/platform setup and dependency provenance; Android runtime owns its shell.
- Visual language and naming and copy own shared presentation.
- Versioning owns compatibility and identifier roles; delivery and deployment own their workflows.
- TODO is the remaining-work ledger; verification status owns evidence and platform limits. Release metadata owns exact artifact identity; Git and PRs own completed history.