Apply channel creation and moderation rules at the room and directory owners. Reuse confirmed connections across sources, admit forwarding per payload, and preserve a working subscription when a relay leaves. Private builds use channel protocol 31, App control protocol 21 and the versioned room history format.
4.5 KiB
4.5 KiB
Project Memory
Last updated: 2026-11-18
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 target hierarchy is Channel → Room → Activity / 频道 → 房间 → 业务. The current Web UI uses Site / 站点 for a channel. Technical identifiers keep their published spelling. Naming
Published 2.x maintains its own compatibility index and product standards.
Authority And Lifetimes
- The channel owns identities, room-to-host bindings, creation policy and the permitted directory. The channel owner may remove any room, including a private or offline room. Reading its contents requires ordinary room admission. The room owner manages the room. Senders can delete their own messages, and room moderation runs through the current room writer.
- Creation uses one action. A lightweight channel puts the room on its creator's device. An App starts this mode. A standalone Server can also operate a hosted channel, providing a room writer for every room even when the creators are away. The mode determines storage placement. Room access determines the audience. The public lobby publishes reachable rooms within the channel's discovery policy. Hosting and moderation
- The current room writer owns detailed policy and confirmed conversation. Chat can reach it through channel signaling. Thumbnails and file metadata are message history. Original files are supplied by eligible holders and explicit local saves. A permitted service can forward a live file transfer. Ordinary invitations address a particular origin. An App approval, a channel's saved identity and a browser's local room data have distinct lifetimes.
- A channel has one graph of confirmed endpoint pairs. A room uses its authorized subgraph. Each publication selects directed delivery paths on those pairs, including authorized peer or service relays. A business can request a missing pair. Once confirmed it becomes reusable by other eligible flows. The forwarding limit applies independently to files, voice and screens. Forwarding model and planner
- A person can have separate Browser and App endpoints and can share, watch, speak or forward independently of ownership. Personal captures, voice, watches and remote-input consent follow the activity. Changing the current view preserves those activities. App hosting follows the Native process. Browser hosting follows its page. Connecting an App does not transfer an existing Browser room.
- The prototype stores Browser rooms in IndexedDB through WASM and Native rooms in SQLite. Confirmation follows the writer's storage commit. Runtime activities retire separately from saved identity, policy and history. Live profile summaries and bounded historical profile reads use the same Browser display cache for names, avatars, offline people and mention search.
The current network model and current room-data model describe the running prototype and identify the differences from the target designs.
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.