No description
  • C# 58.7%
  • HLSL 39.2%
  • PowerShell 2.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-05-23 19:17:23 +01:00
docs Improve Epiphany Aquarium visitor docs 2026-05-23 19:17:23 +01:00
scripts Split Epiphany client from Fensalir engine 2026-05-23 18:54:26 +01:00
src Split Epiphany client from Fensalir engine 2026-05-23 18:54:26 +01:00
state Improve Epiphany Aquarium visitor docs 2026-05-23 19:17:23 +01:00
.gitignore Preserve realtime volumetrics research 2026-05-08 20:51:14 +01:00
AGENTS.md Split Epiphany client from Fensalir engine 2026-05-23 18:54:26 +01:00
EpiphanyAquarium.sln Split Epiphany client from Fensalir engine 2026-05-23 18:54:26 +01:00
global.json Bootstrap Stride-hosted engine shell 2026-05-08 00:32:51 +01:00
NuGet.config Pin synth DSL as local package 2026-05-13 00:19:02 +01:00
README.md Improve Epiphany Aquarium visitor docs 2026-05-23 19:17:23 +01:00

Epiphany Aquarium

Epiphany Aquarium is the Epiphany-facing visual client that runs on the Fensalir native runtime. It owns the living scene semantics: agent bodies, camera behavior, CultCache state, CultNet interpretation, Face voice routing, and Epiphany-specific shaders.

Fensalir owns the host and renderer. This repo tells that runtime what Epiphany looks like and how it behaves.

What Runs

The runtime in src/Aquarium.Epiphany implements IAquariumRuntime. Fensalir loads it, calls its update/frame methods, and renders the declared scene:

Fensalir host
  -> Aquarium.Epiphany runtime
  -> Epiphany render plan + scene state
  -> agent/body SDF proxy shaders
  -> CultCache-backed client state
  -> optional Face realtime voice audio

The visible scene currently has:

  • a Grid/height-field surface driven by Epiphany brush state;
  • Self plus seven role-agent SDF bodies: Face, Imagination, Eyes, Body, Hands, Soul, and Life;
  • a cursor body;
  • Epiphany-authored body shaders under src/Aquarium.Epiphany/Shaders;
  • a debug panel for runtime controls, state flushing, Face voice endpoints, and local realtime transcript counters.

Projects

  • src/Aquarium.Epiphany: runtime, render plan, scene builder, persistent state, voice routing, camera rig, and shaders.
  • src/Aquarium.Epiphany.AgentPreview: isolated preview tool for rendering one Epiphany agent body through the real Fensalir renderer.
  • scripts: thin wrappers around Fensalir dev scripts, plus the agent preview renderer.
  • docs: client visual grammar and engine/client boundary notes.
  • state: repo-local memory, map, evidence, and scratch state.

Dependency

This repo currently references sibling Fensalir source projects at E:\Projects\Fensalir. That is intentional until Fensalir has a packaged API.

Do not copy engine contracts or renderer helpers into this repo. If Epiphany needs new renderer authority, add it in Fensalir and consume it through the contract.

Build

Requirements:

  • Windows
  • .NET SDK matching global.json
  • sibling repos at E:\Projects\Fensalir and E:\Projects\CultLib
dotnet build EpiphanyAquarium.sln

Run

Launch through Fensalir:

.\scripts\dev-reload.ps1

Run headless:

.\scripts\dev-reload.ps1 -Headless -RetainSlots 4

Watch and reload on source changes:

.\scripts\dev-watch.ps1

Render isolated agent preview frames:

.\scripts\render-agent-preview.ps1 -Agent Soul

State

Epiphany Aquarium persists typed client state through CultCache:

  • camera target, yaw, pitch, distance, and runtime time;
  • renderer presentation settings owned by shared contracts;
  • Face voice endpoint rows, prompts, routing state, and transport settings.

Speech transcript counters are local runtime surface, not durable Epiphany memory.

Docs

  • docs/epiphany-agent-sdf-visual-language.md: renderer-facing visual grammar for Epiphany organs.
  • docs/engine-client-boundary.md: what this repo owns versus Fensalir.
  • docs/cult-runtime-surface.md: client CultCache document surface.
  • state/README.md: persistent state machinery.