Describe Epiphany Aquarium client
This commit is contained in:
parent
c9af2daf0b
commit
3f9cd2afee
3 changed files with 95 additions and 29 deletions
107
README.md
107
README.md
|
|
@ -1,44 +1,102 @@
|
|||
# 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,
|
||||
Epiphany Aquarium is the visual body for Epiphany. It is a native client that
|
||||
runs on the Fensalir runtime and turns agent state into an embodied scene:
|
||||
camera, Grid, Self, role bodies, cursor, voice controls, durable client state,
|
||||
and Epiphany-specific shaders.
|
||||
|
||||
Fensalir owns the host and renderer. This repo tells that runtime what Epiphany
|
||||
looks like and how it behaves.
|
||||
Fensalir owns the host, renderer, hot reload, audio output, and reusable field
|
||||
machinery. This repo owns what the Aquarium is and what its inhabitants mean.
|
||||
|
||||
## What Runs
|
||||
## What The Client Is
|
||||
|
||||
The runtime in `src/Aquarium.Epiphany` implements `IAquariumRuntime`. Fensalir
|
||||
loads it, calls its update/frame methods, and renders the declared scene:
|
||||
The Aquarium is not a dashboard with a decorative viewport. The viewport is the
|
||||
client. It is a live spatial interface where Epiphany appears as bodies in a
|
||||
field:
|
||||
|
||||
- `Self` is the central body and light source.
|
||||
- Seven role agents orbit and inhabit the scene: `Face`, `Imagination`, `Eyes`,
|
||||
`Body`, `Hands`, `Soul`, and `Life`.
|
||||
- The cursor is a scene body with current and previous world-space state.
|
||||
- The Grid is a height-field surface shaped by Self, role wells, and cursor
|
||||
pressure.
|
||||
- The camera is an orbit rig around the Grid center, persisted through
|
||||
CultCache.
|
||||
- Overlay UI exists for runtime control, but the scene is the primary machine.
|
||||
|
||||
The project is currently a client runtime, an isolated agent preview tool, docs,
|
||||
scripts, and persistent repo memory. The rest of the old reusable engine has
|
||||
been moved into the adjacent Fensalir repo.
|
||||
|
||||
## Runtime Loop
|
||||
|
||||
`src/Aquarium.Epiphany` implements `IAquariumRuntime`. Fensalir loads it and
|
||||
calls into it each frame:
|
||||
|
||||
```text
|
||||
Fensalir host
|
||||
-> Aquarium.Epiphany runtime
|
||||
-> Epiphany render plan + scene state
|
||||
-> agent/body SDF proxy shaders
|
||||
-> CultCache-backed client state
|
||||
-> optional Face realtime voice audio
|
||||
-> CultCache state load/save
|
||||
-> orbit camera + input projection
|
||||
-> Epiphany scene builder
|
||||
-> Epiphany render plan
|
||||
-> SDF body shaders + height-field passes
|
||||
-> Face voice routing and optional PCM audio
|
||||
```
|
||||
|
||||
The visible scene currently has:
|
||||
`AquariumRuntime` owns the live client state. It loads typed state documents,
|
||||
keeps camera/runtime settings warm, saves on a short cadence, builds the
|
||||
Epiphany debug panel, accepts runtime UI commands, and composes each frame.
|
||||
|
||||
- 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.
|
||||
The panel currently exposes time pause/scrub, explicit state flush, graphics
|
||||
settings, Face voice endpoint rows, prompts, routing state, transcript counters,
|
||||
and transport status. It is operational surface, not the identity of the app.
|
||||
The app is the embodied scene it controls.
|
||||
|
||||
## Visible Machine
|
||||
|
||||
`EpiphanySceneBuilder` turns time, camera input, persistent state, and voice
|
||||
surface state into an `AquariumSceneState`.
|
||||
|
||||
The current scene contains:
|
||||
|
||||
- a 128x128 R16 height-field target for the Grid;
|
||||
- a Self gravity bowl and wave contribution;
|
||||
- orbiting brush wells for each role agent;
|
||||
- SDF proxy objects for Self, the seven roles, and the cursor;
|
||||
- Self-owned scene light;
|
||||
- cursor projection from screen space onto the Grid plane;
|
||||
- normalized state scalars passed into shaders for each body.
|
||||
|
||||
`EpiphanyRenderPlan` declares the actual pass structure: height-field,
|
||||
HDR scene, SDF proxies, bloom/presentation, DirectWrite overlay, and debug
|
||||
views for the height field and scene. Body appearance lives in
|
||||
`src/Aquarium.Epiphany/Shaders`, including dedicated shaders for Self, Face,
|
||||
Imagination, Eyes, Body, Hands, Soul, Life, and the cursor.
|
||||
|
||||
The visual grammar is documented in
|
||||
`docs/epiphany-agent-sdf-visual-language.md`. Change that before teaching the
|
||||
bodies a new language by accident. Yes, this is how the furniture starts
|
||||
talking back.
|
||||
|
||||
## Face Voice Surface
|
||||
|
||||
Face voice routing is client-owned because it is Epiphany meaning, not engine
|
||||
meaning. The runtime stores endpoint rows, voices, prompts, enablement, active
|
||||
thread, audible radius, and auto-route settings through CultCache-backed state.
|
||||
|
||||
When enabled, the Face voice surface can start active or enabled endpoints,
|
||||
stop active speech, clear local transcript counters, and route speech by the
|
||||
scene/proximity model. Fensalir supplies the audio output lane; Aquarium decides
|
||||
which Face should speak and why.
|
||||
|
||||
## Projects
|
||||
|
||||
- `src/Aquarium.Epiphany`: runtime, render plan, scene builder, persistent
|
||||
state, voice routing, camera rig, and shaders.
|
||||
state, voice routing, camera rig, UI commands, 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
|
||||
- `scripts`: 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.
|
||||
|
|
@ -50,7 +108,8 @@ This repo currently references sibling Fensalir source projects at
|
|||
|
||||
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.
|
||||
contract. If a behavior names Epiphany roles, client voice policy, agent
|
||||
meaning, or scene semantics, it belongs here.
|
||||
|
||||
## Build
|
||||
|
||||
|
|
@ -104,7 +163,7 @@ memory.
|
|||
## Docs
|
||||
|
||||
- `docs/epiphany-agent-sdf-visual-language.md`: renderer-facing visual grammar
|
||||
for Epiphany organs.
|
||||
for Epiphany bodies.
|
||||
- `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.
|
||||
|
|
|
|||
|
|
@ -1,11 +1,17 @@
|
|||
# Epiphany Aquarium Docs
|
||||
|
||||
This repo is the Epiphany client, not the Fensalir engine.
|
||||
This repo is the Epiphany client, not the Fensalir engine. Read these docs when
|
||||
you are changing what the Aquarium means, how its bodies appear, or what client
|
||||
state survives between runs.
|
||||
|
||||
- `epiphany-agent-sdf-visual-language.md`: visual grammar for Self, role agents,
|
||||
and the cursor. Use this before changing Epiphany body shaders.
|
||||
- `epiphany-agent-sdf-visual-language.md`: visual grammar for Self, Face,
|
||||
Imagination, Eyes, Body, Hands, Soul, Life, and the cursor. Use this before
|
||||
changing Epiphany body shaders.
|
||||
- `engine-client-boundary.md`: dependency direction between Epiphany Aquarium
|
||||
and Fensalir.
|
||||
- `cult-runtime-surface.md`: typed CultCache documents and runtime state.
|
||||
- `cult-runtime-surface.md`: typed CultCache documents for camera/runtime
|
||||
state, renderer settings, and Face voice routing.
|
||||
|
||||
Persistent repo memory lives in `state/`.
|
||||
The top-level `README.md` describes the actual client loop: orbit camera,
|
||||
Grid/height-field construction, SDF role bodies, debug panel, and Face voice
|
||||
surface. Persistent repo memory lives in `../state/`.
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
{"timestamp":"2026-05-23T00:00:00+01:00","topic":"fensalir-repo-split","lesson":"Fensalir now lives in the adjacent repo at E:\\Projects\\Fensalir and owns the native host, renderer, contracts, fractal machinery, audio host, reload scripts, and engine demos. This repo is now only the Epiphany Aquarium client: src/Aquarium.Epiphany and src/Aquarium.Epiphany.AgentPreview. Client project references point to sibling Fensalir source projects until a package boundary exists; do not copy engine contracts or host scripts back into this repo.","files":["EpiphanyAquarium.sln","src/Aquarium.Epiphany/Aquarium.Epiphany.csproj","src/Aquarium.Epiphany.AgentPreview/Aquarium.Epiphany.AgentPreview.csproj","README.md","AGENTS.md","state/map.yaml","state/memory.json"],"source":"user directed Fensalir and engine demos into a new adjacent repo while this repo remains the Epiphany Aquarium client"}
|
||||
{"timestamp":"2026-05-23T19:17:04.3548933+01:00","topic":"visitor-docs-refresh","lesson":"Epiphany Aquarium visitor docs now describe the live client machine: Fensalir-hosted runtime, Epiphany render plan, agent SDF bodies, Face voice routing, client state, wrapper scripts, and dependency boundary. Keep README/docs focused on client semantics and Fensalir dependency direction.","files": ["README.md","docs/README.md","docs/cult-runtime-surface.md","state/README.md"],"source":"user asked both repos to describe the machines they contain for visitors"}
|
||||
{"date":"2026-05-23","topic":"visitor-docs","lesson":"Epiphany Aquarium visitor docs must describe the embodied client: Self, seven role bodies, cursor, Grid height field, orbit camera, Face voice surface, and CultCache client state. Saying only that it consumes Fensalir is not enough."}
|
||||
|
|
|
|||
Loading…
Reference in a new issue