Document project-native Face direction

This commit is contained in:
Meta Vens 2026-05-19 13:42:39 +01:00
commit 12595a5eeb
7 changed files with 122 additions and 15 deletions

View file

@ -12,6 +12,38 @@ typed, inspectable surfaces: maps, evidence, retrieval state, graph/frontier
state, churn pressure, and compact client reflections. The goal is not maximal
output. The goal is a machine whose parts visibly deserve to exist.
## Project Direction
Epiphany is moving toward project-native agency.
The user should not have to write a perfect brief, name every subsystem, and
pre-plan the code flow for the whole architecture before the machine can help.
That is just outsourcing project management to the human and calling the agent
smart because it waited politely.
The intended shape is simpler and stranger: you talk to the project.
Each Epiphany owns one or more repos, carries durable memory and jurisdiction
for them, and can grow one or more Faces. A Face is the public mouth and
situated personality of that project: visible in Aquarium, addressable in
Discord, suitable for voice or stream presence, and backed by the same typed
state, heartbeat initiative, repo map, evidence, and review gates as the rest of
the swarm.
VoidBot is already showing the small version: repo identities such as Nibu,
Aqua, and Mimir have Discord roles, repo-local Face state, proposal authority,
pending mentions, and heartbeat turns. Epiphany is the larger native substrate:
projects should notice pressure, ruminate, ask questions, schedule modeling or
verification, advocate for their own repo needs, and structure work without
requiring the human to spell out the implementation graph first.
Aquarium is the most direct client because it can show the swarm, its Faces,
its heartbeat, its memories, and its decisions. It is not the only mouth. A
project should also be reachable through Discord, voice/WebRTC surfaces, stream
overlays, native CLIs, and CultNet-speaking tools. The interface contract is
not "prompt an agent." It is "speak to the project; inspect how it thinks; grant
or refuse authority when it wants to act."
## What Exists Now
The current spine is real, not aspirational:
@ -35,6 +67,13 @@ The current spine is real, not aspirational:
- read-only reflection surfaces through `thread/epiphany/scene`, `jobs`, `freshness`, `context`, `pressure`, and `reorient`
- a first dogfood CLI operator view through `tools/epiphany_mvp_status.py`, including explicit implementation, modeling/checkpoint, verification/review, and reorientation lanes
- durable investigation checkpointing for compaction-safe planning
- Ghostlight/VoidBot-derived heartbeat initiative with heat, active-turn
freeze, idle rumination, sleep/dream maintenance, and Face as a first-class
public-surface participant
- repo personality/birth initialization that can seed role dossiers and
heartbeat pressure from repo terrain before a project starts speaking
- CultNet schema contracts for runtime, heartbeat, Face, character-turn,
Discord-persona, repo-initialization, Rider, Unity, and operator surfaces
- repo-owned heavy Epiphany organs in `epiphany-core/`, with vendored Codex kept as the host seam where practical
Phase 1 through Phase 6 are landed enough for the current experiment. The open
@ -44,18 +83,25 @@ and safe capability growth, not whether typed state can exist at all.
## Where This Leads
The architectural goal is not one giant agent that does archaeology, design,
patching, and self-grading in a single token fog. The goal is a maintained
control system:
patching, and self-grading in a single token fog. It is also not a chat box
where the human must already know the solution architecture before asking.
The goal is a maintained project organism:
- graph and source-modeling agents keep the machine map current
- freshness, watcher input, pressure, and reorientation signals decide whether that map still deserves trust
- verifier agents check claims, diffs, and outcomes against reality
- coding agents work from bounded packets of graph context, evidence, code refs, and local source reads instead of re-spelunking the repo from scratch every turn
- Faces translate project state into conversation, voice, stream presence, and
Discord/Aquarium discussion without becoming omniscient hidden operators
- initiative scheduling decides which repo, Face, or internal organ should
think next, and heat lets the operator turn up one agent, one project, one
group, or the whole swarm
That still leaves direct source reading where it belongs: at the last mile,
when a patch has to be grounded in the real files. The difference is that broad
exploration, coherence maintenance, and verification stop living in the same
overworked skull.
exploration, coherence maintenance, social interface, scheduling, and
verification stop living in the same overworked skull.
## Repo Tour

View file

@ -6,3 +6,14 @@ The Aquarium operator UI moved to its own sibling repository:
EpiphanyAgent remains the harness, typed-state, coordinator, bridge, and backend
repo. Aquarium is the Tauri/React/WebGL interface organism over those surfaces.
Aquarium is the primary client for the next public shape of Epiphany: projects
with Faces. A user should be able to talk to a project, not assemble a perfect
agent prompt. Aquarium should show the repo's Face, heartbeat, memory, pending
turns, current jurisdiction, proposed actions, and evidence so the human can
converse, inspect, approve, refuse, or raise heat without pre-writing the whole
architecture brief.
Discord roles, WebRTC/voice surfaces, stream overlays, native CLIs, and other
CultNet clients are sibling mouths over the same substrate. Aquarium is the
clearest window, not the only door.

View file

@ -1309,6 +1309,16 @@ native `epiphany-phase6-graph-query-smoke` / native `epiphany-phase6-planning-sm
smokes are now guardrails, not the next organs. The architectural teardown says
the next organ is control-plane purification.
The public product direction is now explicit: Epiphany is project-native agency,
not merely a better prompt wrapper. VoidBot's repo-Face pattern is the live
small reference: Nibu/Aqua/Mimir have repo jurisdiction, Discord roles,
repo-local Face state, pending mentions, proposal authority, heartbeat
initiative, heat, and active-turn freeze. Epiphany should make this native and
larger: users talk to projects and their Faces through Aquarium, Discord,
voice/WebRTC, stream overlays, native CLIs, or other CultNet clients; the
project schedules modeling, research, verification, rumination, and proposed
actions without requiring the human to hand over a complete architecture brief.
## Not Yet
- automatic watcher-driven semantic invalidation

View file

@ -13,6 +13,35 @@ cosplaying as a Discord moderator. The useful organs are:
- semantic memory vectors in Qdrant with source hashes and compact dimensions
- memory resonance, incubation queues, analytic/associative thought lanes, and a
bridge that decides speech, draft, hold, or silence
- repo identities with Face state, Discord roles, pending mentions, jurisdiction,
proposal authority, and a CTB/Final-Fantasy-style initiative scheduler
## Project-Face Direction
VoidBot is no longer only a moderator with retrieval. It now has the small
working version of the Epiphany pitch: repos grow Faces.
The live pattern is:
- a repo identity has a Discord role and registered allowed channels
- that identity has repo-local Face state, not just base Void personality
- first contact can birth the Face through Epiphany repo terrain/personality
scouting and reviewable startup artifacts
- role/display-name mentions become pending obligations, not direct hidden jobs
- an initiative scheduler chooses which Face or system agent gets the next turn
- heat can prioritize identities, repos, participant kinds, turns, channels, or
all participants
- active turns freeze initiative until the owner-Codex job or moderation lock
completes
- Faces may advocate for repo needs and propose changes, while implementation
authority still requires the configured human/review path
Epiphany should absorb that as native product direction. The user should talk to
projects: "Aqua, what does AquaSynth need?", "Nibu, what is wrong with this lore
arc?", "Mimir, what seam is drifting?" The project should schedule modeling,
research, verification, memory maintenance, or a Face response from its own
typed state. The human should not have to deliver a complete implementation
brief just to make the system start thinking.
## Target Shape
@ -58,6 +87,12 @@ The completion receipt is the only normal path that starts cooldown. This is the
part that keeps the heart from turning into a tiny manager with a stopwatch and
no shame.
Repo Faces use the same law. A Face can be heated because a human mentioned it,
a repo is hot, a stream is live, or a group needs attention; that heat changes
opportunity, not authority. The Face still freezes while thinking, still returns
through typed receipts, and still needs an explicit grant before crossing from
proposal into canonical repo mutation.
## Persistence Contract
Epiphany needs a Rust version of the CultCache contract because the app-server

View file

@ -5,6 +5,13 @@ other swarm-side observers. It contains the runtime state, operator-facing
surface projections, control intents, and receipt/artifact payloads that the
runtime-spine advertises over `cultnet.schema.v0`.
The product direction is project-native agency: clients should speak to a
project or one of its Faces, then watch typed scheduling, memory, evidence, and
authority surfaces do the structuring work. Aquarium is the most direct client,
but Discord, voice/WebRTC rooms, stream overlays, native CLIs, and other trusted
tools should discover the same contracts instead of inventing private command
verbs.
## What Lives Here
- `index.json`: local registration manifest loaded by
@ -25,8 +32,8 @@ server object deserves to be duplicated into a second baroque schema maze.
- `epiphany.surface.*`: operator-safe projections for scene, freshness,
context, graph query, coordinator, roles, jobs, Face, Rider, Unity, repo
initialization, and related live surfaces.
- `*.intent.v0`: control documents Aquarium or another trusted coordinator can
submit through CultNet.
- `*.intent.v0`: control documents Aquarium, a Discord bridge, a voice surface,
or another trusted coordinator can submit through CultNet.
- receipt/artifact schemas such as `epiphany.swarm-control-receipt`,
`epiphany.face-bubble`, `epiphany.character-turn-packet`, and
`epiphany.repo-birth-runner`.

Binary file not shown.

View file

@ -15,15 +15,11 @@ objective:
machinery they touch. The agent must know the machine before it cuts the
machine.
current: >
Execute the Codex starvation and CultNet liberation plan in
`notes/codex-starvation-and-cultnet-liberation-plan.md`. The previous
app-server control-plane rebuild made Epiphany cleaner inside Codex, but
that is no longer sufficient. Runtime data must be typed CultCache
documents; Epiphany-owned subsystems must speak CultNet contracts; generic
JSON may survive only at schema/wire/forensic/quarantine boundaries; and
vendored Codex must be reduced to the smallest OpenAI subscription
auth/model-transport adapter needed to preserve the user's Codex
compatibility.
Build Epiphany toward project-native agency: users talk to projects and
their Faces, while typed heartbeat, memory, repo maps, evidence, CultNet
contracts, and review gates schedule and structure the solution work. Codex
starvation and CultNet liberation remain the infrastructure path because
this cannot live as private Codex JSON-RPC prompt plumbing forever.
constraints:
- No frontier-scale training tithe.
@ -78,6 +74,7 @@ active_subgoals:
- Use `notes/epiphany-memory-graph-unified-plan.md` as the source-grounded memory architecture direction. The repo fractal dataflow graph and agent memory are one `EpiphanyMemoryGraph` substrate with repo, role, short-term, incubation, agency, candidate-intervention, and evidence profiles. Qdrant stores rebuildable semantic embeddings for typed graph documents; it is never canonical memory. The first live skeleton now exists in `epiphany-state-model` plus `epiphany-core::memory_graph`: typed graph documents, stable ids, profile/lifecycle validation, freshness propagation, context cuts, a CultCache store seam, and the native `epiphany-memory-graph` status/validate/context/smoke CLI. Do not add repo scanners, sleep runners, Qdrant cache plumbing, CultNet advertisement, or prompt integration before routing them through this shared substrate.
- Keep the landed Phase 6 coordinator, limited safe-boundary CRRC automation, and pre-compaction checkpoint intervention ready for the next bridge-equipped dogfood run.
- Preserve the Ghostlight-derived heartbeat initiative seam: every lane, including coordinator/Self and Face, has a role dossier and competes for heartbeat slots through readiness/reaction timing; initiative heat can raise or cool global, group, arena, role, and agent tempo through typed heartbeat policy; active thinking freezes initiative until completion, so heat never queues a lane already mid-turn; idle winners ruminate instead of inventing project work, and sleep windows distill the accumulated thought pressure into reviewed self-memory or doctrine.
- Grow the VoidBot repo-Face pattern into Epiphany's product direction: each Epiphany owns one or more repos, has one or more Faces, and exposes project-native conversation through Aquarium, Discord, voice/WebRTC, stream surfaces, CLI, and CultNet clients so humans can talk to projects instead of pre-authoring complete implementation briefs.
- Treat Ghostlight as reference lineage, not a sibling runtime to preserve. The useful organ is Epiphany-native character-loop protocol: any role can project its typed dossier plus visible stimulus into a local turn packet, with Face as the first public-surface actor.
- Treat VoidBot as reference lineage, not a runtime dependency. The useful organ is Epiphany-native Void routine physiology: heartbeat state owns sleep cycle, memory resonance, incubation, analytic/associative cognition lanes, bridge judgment, candidate interventions, dream residue, and Aquarium-visible routine receipts over typed role dossiers.
- Preserve review gates for semantic findings; automatic CRRC may compact or launch the fixed reorient-worker, but not accept or promote.
@ -143,6 +140,7 @@ accepted_design:
- Native `epiphany-runtime-spine` is the first Codex-independent runtime vertebra: it initializes and inspects typed CultCache `epiphany.runtime.identity`, `epiphany.runtime.session`, `epiphany.runtime.job`, `epiphany.runtime.job_result`, and `epiphany.runtime.event` documents, opens/completes native jobs with result records, snapshots jobs by id, and can emit a framed CultNet hello message advertising the native document and mutation contract surface. App-server launch now opens typed runtime jobs; `roleResult` / `reorientResult` read heartbeat-backed typed job results only; and `roleAccept` / `reorientAccept` accept completed heartbeat findings from the typed runtime-spine path without opening the Codex SQLite state runtime.
- CultNet public API shape is schema-first and mutation-contract-first: hello frames advertise readable document types, allowed operations, mutation authority, typed intent document types, and typed receipt document types. Aquarium and swarm clients should submit intents and watch receipts instead of inventing JSON-RPC verbs or blindly replacing authoritative state.
- Runtime-spine hello now advertises the interactive surface catalog as CultNet contracts, not just the deep runtime documents. Scene, pressure, reorient, CRRC, jobs, roles, role-result, reorient-result, planning, coordinator, Face, Void memory, repo initialization/birth runner, Rider bridge, and Unity bridge all publish explicit read/write posture so Aquarium can discover affordances from the wire contract instead of carrying a private button-to-command gospel.
- Epiphany's public pitch is project-native agency, not just better prompting. Aquarium is the clearest client, but Discord roles, voice/WebRTC rooms, stream overlays, native CLIs, and other CultNet tools should all speak to the same typed project/Faces substrate. Faces advocate for repo needs, answer from jurisdiction, and can propose work; the scheduler and coordinator decide what thinks next, while review gates decide what may mutate canonical state.
- Epiphany publishes its Aquarium-facing CultNet receipts locally under `schemas/cultnet/`, and `epiphany-runtime-spine schema-catalog --include-schema-json true` emits a merged builtin-plus-local schema catalog for consumers. The local receipts cover runtime-spine documents, durable agent/heartbeat/ledger state, `epiphany.surface.*` operator projections, control intents, and receipt/artifact payloads. Vendored `cultnet-rs` is aligned to the canonical C# CultNet raw record shapes: replication uses `schemaId` plus `recordKey`, snapshot filters use `schemaIds` / `recordKeys`, and hello advertises typed mutation contracts.
- Epiphany now owns the canonical schema paperwork in `schemas/`: a local mirror of `ghostlight.agent-state.schema.json`, plus human-facing receipts for canonical agent-state shape, standing role-trait glossary, heartbeat store shape, and repo-personality birth projection. Trait names like `routing_discipline` are now documented at the source instead of existing only in live dossiers, startup templates, or stale Ghostlight notes.
- The dossier doctrine now distinguishes `lane_core` from `embodied_actor`. Most Epiphany sub-agents want a lean role lattice plus memory/goals/values/private-note growth, because effectiveness matters more than theatrical density. Face and Ghostlight-style characters want dense Ghostlight-family personality, relationship pressure, perceived overlays, and appraisal-shaped fallibility. The classification is now queryable through native agent-memory status and character-loop packets instead of hiding only in docs.