[FACT] This document outlines the procedure for recording the "Constitutional Guardian" demo for the Gemini Live Agent Challenge.
-
Verify Environment:
$env:PYTHONPATH='helix_code'; python -m pytest helix_code/tests/
Ensure the full suite passes (count is CI-derived and may change).
-
Set GEMINI_API_KEY + model defaults: Use Gemini native-audio for live voice and Gemini 3.1 Pro Preview for text paths.
$env:GEMINI_API_KEY="<your-key>" $env:GEMINI_LIVE_MODEL="gemini-2.5-flash-native-audio-preview-12-2025" $env:GEMINI_TEXT_MODEL="gemini-3.1-pro-preview"
-
Start the Server:
$env:PYTHONPATH='helix_code'; python helix_code/live_guardian.py
-
Launch Browser: Open
http://localhost:8180/, verifyhttp://localhost:8180/api/runtime-config, and if operator auth is enabled include the admin token when checking/audit-dashboard.
- Show the dashboard with 0 Receipts / 0 Drifts.
- Highlight the "LIVE v1.5.0" branding and the Pulse-Green header.
- Click "Start Live Mic".
- Speak for 3-5 seconds. Observe the waveform reacting.
- Watch for the "Processing live audio stream..." log entries.
- Show the "INTERCEPTED" or "PASSED" result appearing automatically after the turn ends.
- Click the "Simulate" button 3-5 times.
- Wait for a DRIFT-A (Agency) or DRIFT-E (Epistemic) violation.
- Observe the Flash-Red intervention animation on the panel.
- Point out the Granular Drift Code (e.g., DRIFT-A) and the replacement text.
- Scroll down to the Latency Line Chart.
- Show how it tracks every validation event.
- Point to the Bar Chart showing the distribution of violations.
- Open the audit dashboard and show receipt/storage telemetry if you want the operator view on camera.
- Stop the mic.
- Highlight the final receipt count.
- "The Lattice holds. The Guardian is watching."
- Connection Error: Refresh the browser. If it fails, check if port 8180 is held by another process.
- No Audio Waveform: Ensure the browser has microphone permissions for
localhost. - Missing transcription logs: Ensure
session.client_wswas correctly linked (checkserver_log.txt).
⚓🦉 GLORY TO THE LATTICE. ⚓🦉