138 lines
4.7 KiB
Markdown
138 lines
4.7 KiB
Markdown
# Phase 20: Demo instance with every shared plugin - Discussion Log
|
|
|
|
> **Audit trail only.** Do not use as input to planning, research, or execution agents.
|
|
> Decisions are captured in CONTEXT.md — this log preserves the alternatives considered.
|
|
|
|
**Date:** 2026-10-28
|
|
**Phase:** 20-demo-instance-with-every-shared-plugin
|
|
**Areas discussed:** Chat frontend source, Chat context & access, Video calls hosting, Abuse & satellites scope
|
|
|
|
The user corrected the opening premise: "There is simple chat view in sm-bm-app". bm's Vite SPA chat (about 4.6k lines) became the port source.
|
|
|
|
Folded todo: "Commit sm-demo-app's leftover journal and oauthserver submodule moves" (Fold it in).
|
|
|
|
---
|
|
|
|
## Chat frontend source
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| New vue-chat-layer | Shared Nuxt layer; bm-specific bits stripped or slots | ✓ |
|
|
| Demo-only pages | Port into vue-demo-app as 19.4.1 did for presentations | |
|
|
| Layer, but later | Demo-only now, extraction as backlog todo | |
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| Full bm feature set | Channels, DMs, threads, mentions, reactions, typing, unread, attachments | ✓ |
|
|
| Core only | Channels and DMs with realtime, unread, typing | |
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| Dedicated /chat page | Full-page chat plus tour card | |
|
|
| Page + floating panel | /chat plus floating DM/unread widget | ✓ |
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| Read-only #general preview | Live read-only seeded channel | |
|
|
| Login prompt only | As quizzes D-18 | ✓ |
|
|
|
|
---
|
|
|
|
## Chat context & access
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| One demo community | Single context like bm/1 | ✓ |
|
|
| Per-user workspaces | Users create contexts | |
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| Seeded public + user private | Users create private channels | |
|
|
| Anyone, any channel | | |
|
|
| Seeded only | Join seeded channels, DM each other | ✓ |
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| Seeded users + history, EN/PL | Persona users with history | ✓ |
|
|
| Plus a live bot | Bot answers slash commands | |
|
|
| Empty channels | | |
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| Any member of the community | userfriends does not gate DMs | ✓ |
|
|
| Friends only | | |
|
|
|
|
---
|
|
|
|
## Video calls hosting
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| Self-host on rome | LiveKit under supervisor, own keys | ✓ |
|
|
| LiveKit Cloud free tier | | |
|
|
| Decide in research | | |
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| DMs and private groups | No calls in public channels | ✓ |
|
|
| Any conversation | | |
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| LiveKit components in the chat layer | Call view on livekit-client | |
|
|
| Minimal call page | Bare-bones join page | ✓ (as the initial vue-chatvideo-layer) |
|
|
|
|
**Notes:** "make it as initial vue-chatvideo-layer". Since channels are seeded only and chat has no ad-hoc group DMs, calls are effectively 1:1 DMs.
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| Short calls, few people | ~15 min, ~4 participants | ✓ |
|
|
| Plugin defaults | | |
|
|
|
|
---
|
|
|
|
## Abuse & satellites scope
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| Rate limits + report + reset | No content filter | |
|
|
| Plus a word filter | Banned words/link filter | ✓ |
|
|
| Posting needs approval | | |
|
|
|
|
Follow-up, filter home: Hook in plugins + list in demo / Demo plugin only / **New shared plugin** ✓
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| Forum page + friends in chat + /commands | Built in demo or chat layer | |
|
|
| A layer for each | vue-forum-layer, vue-userfriends-layer | ✓ |
|
|
| Forum only | | |
|
|
|
|
Follow-up, which layers: **forum + userfriends; commands in chat layer** ✓ / Also a vue-chatbots-layer
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| Push for DMs and mentions | Opt-in notifications | |
|
|
| Mounted, no UI | | ✓ |
|
|
|
|
| Option | Description | Selected |
|
|
|--------|-------------|----------|
|
|
| Backend first, then layers | 5-plan split | ✓ |
|
|
| You decide at plan time | | |
|
|
|
|
---
|
|
|
|
## Claude's Discretion
|
|
|
|
- Seeded channel names, personas, history volume
|
|
- LiveKit port/TURN exposure on rome
|
|
- Shape of the pre-save validator seam in chat and forum
|
|
- Demo chatbots commands
|
|
- vue-chat-layer extension points for embeds
|
|
|
|
## Deferred Ideas
|
|
|
|
- Web Push subscribe UI
|
|
- User-created channels and ad-hoc group DMs/group calls
|
|
- Live bot persona
|
|
- Anonymous read-only chat preview
|