Standardization Pass: Added 00-09 core governance set (Arena Integration Pivot)

This commit is contained in:
2026-04-12 22:26:25 +00:00
parent fcd93ee0af
commit 9b0960a571
3 changed files with 43 additions and 59 deletions

View File

@@ -12,19 +12,20 @@
## Target State
A lightweight Python web server (`stoned-web`) with two browser-facing views:
A new "Stoned" mode implemented directly within the existing **Arena** project (`/home/svc-admin/ai-projects/projects/arena`).
1. **Host view** (`/host`) — Jason's control panel. Text input box, send button, voice selection per speaker, session start/stop, status display.
2. **Broadcast view** (`/broadcast`) — Clean, OBS-capturable page. Scrolling conversation cards only. No controls. Styled for stream.
1. **Host view** (`https://arena.accursedbinkie.com`) — The existing Arena control panel, updated with a "Human Input" box and a "Stoned" mode preset.
2. **Broadcast view** (`/broadcast`) — A new clean, OBS-capturable route added to the Arena web server.
Both views receive conversation turns over Server-Sent Events. The broadcast view is the OBS browser source. The host view is what Jason operates on his own screen.
Both views receive conversation turns over the existing Arena SSE stream.
## Design Principles
- Principle 1: **Text-in, voice-out for both sides.** The host types; the system voices. The AI generates text; the system voices. No microphone dependency.
- Principle 2: **Reuse Arena TTS infrastructure.** Do not reimplement Kokoro synthesis. Import and use `ArenaTTSManager` directly from the arena package or copy the relevant module.
- Principle 3: **Broadcast view is read-only.** The `/broadcast` URL has zero interactive elements. It exists only for OBS to consume.
- Principle 4: **One AI at a time.** The session has exactly one human speaker and one AI speaker. Multi-AI is not in scope.
- Principle 1: **Text-in, voice-out for both sides.** (Unchanged)
- Principle 2: **Direct integration into Arena.** No separate server. Leverage Arena's `ArenaHub` and `ArenaTTSManager` directly.
- Principle 3: **Broadcast view is read-only.** (Unchanged)
- Principle 4: **Human-in-the-loop support.** Add a `human` agent runner to Arena that waits for UI input.
## Major Components