Files
AetherTable/python/tests
John SmithandClaude 3920b10e59 feat(wave11): SRD-grounded narration, end-to-end X-card rewind & honest voice activity
- narrative stream: extract_srd_context() scans player intents against the
  SRD 5.2 bestiary/grimoire and injects stat-block facts (AC/HP/actions,
  spell level/school/description) into both live LLM prompts and the
  deterministic mock generator — the DM can no longer contradict the rules
- new GET /api/v1/compendium/lore-lookup for client-side fact resolution
- safety: X-card now applies a real ledger rewind on the engine session
  (POST /sessions/{id}/safety/x-card) via the orchestrator, recording
  SAFETY_REWIND_APPLIED audit events; client wires the SafetyModal through
- voice: removed the random speaking simulation from WebRTCMeshManager;
  local mic RMS (getUserMedia + AnalyserNode) drives the real speaking
  ring; remote peers stay silent until genuine P2P audio lands
- tests: +7 grounding/x-card suite (53 pytest total pass), cargo clean,
  client ~1s build, MCR 100% / HCI 1.0 / AFPR 0%

Co-Authored-By: Claude <[email protected]>
2026-08-23 01:35:50 -04:00
..