Add Weksa utterance state vector

This commit is contained in:
Meta Vens 2026-05-20 22:59:36 +01:00
commit fa505acb9f
12 changed files with 1947 additions and 15 deletions

File diff suppressed because it is too large Load diff

View file

@ -3,7 +3,6 @@ use anyhow::Result;
use anyhow::anyhow;
use chrono::SecondsFormat;
use epiphany_core::EpiphanyAgentMemoryEntry;
use epiphany_core::GhostlightMemory;
use epiphany_core::GhostlightPerceivedStateOverlay;
use epiphany_core::GhostlightTraitVector;
use epiphany_core::HeartbeatAgentReaction;
@ -11,8 +10,10 @@ use epiphany_core::HeartbeatAgentThoughtAppraisal;
use epiphany_core::HeartbeatAppraisalReview;
use epiphany_core::HeartbeatCandidateImplications;
use epiphany_core::HeartbeatEmotionalAppraisal;
use epiphany_core::HeartbeatParticipant;
use epiphany_core::HeartbeatParticipantLocalContext;
use epiphany_core::HeartbeatPersonalityProjection;
use epiphany_core::derive_agent_utterance_state;
use epiphany_core::dossier_profile_for_role;
use epiphany_core::load_agent_memory_entry_for_role;
use serde::Serialize;
@ -129,6 +130,9 @@ fn character_turn_packet(
mood: &str,
) -> Value {
let dossier_profile = dossier_profile_for_role(&entry.role_id);
let participant = character_loop_participant(entry, status);
let utterance_state =
derive_agent_utterance_state(entry, Some(&participant), Some(mood), source);
let projection_seed =
deterministic_projection_seed(entry, stimulus, source, mode, status, mood);
let appraisal_seed = deterministic_appraisal_seed(entry, &projection_seed, stimulus, source);
@ -153,6 +157,7 @@ fn character_turn_packet(
"status": status,
"mood": mood,
},
"utteranceState": utterance_state,
"projectedLocalContext": {
"identity": {
"name": entry.agent.identity.name,
@ -181,9 +186,6 @@ fn character_turn_packet(
"priority": value.priority,
"unforgivableIfBetrayed": value.unforgivable_if_betrayed,
})).collect::<Vec<_>>(),
"semanticMemories": entry.agent.memories.semantic.iter().map(memory_projection).collect::<Vec<_>>(),
"episodicMemories": entry.agent.memories.episodic.iter().map(memory_projection).collect::<Vec<_>>(),
"relationshipMemories": entry.agent.memories.relationship_summaries.iter().map(memory_projection).collect::<Vec<_>>(),
"perceivedStateOverlays": entry.agent.perceived_state_overlays.iter().take(6).map(perceived_overlay_projection).collect::<Vec<_>>(),
"privateNoteCount": entry.agent.identity.private_notes.len(),
},
@ -252,13 +254,23 @@ fn character_turn_packet(
})
}
fn memory_projection(memory: &GhostlightMemory) -> Value {
serde_json::json!({
"memoryId": memory.memory_id,
"summary": memory.summary,
"salience": memory.salience,
"confidence": memory.confidence,
})
fn character_loop_participant(
entry: &EpiphanyAgentMemoryEntry,
status: &str,
) -> HeartbeatParticipant {
HeartbeatParticipant {
agent_id: entry.agent.agent_id.clone(),
role_id: entry.role_id.clone(),
display_name: entry.agent.identity.name.clone(),
initiative_speed: 1.0,
reaction_bias: 0.5,
interrupt_threshold: 0.5,
status: status.to_string(),
personality_cooldown_multiplier: 1.0,
mood_cooldown_multiplier: 1.0,
initiative_heat_multiplier: 1.0,
..HeartbeatParticipant::default()
}
}
#[derive(Clone, Debug)]
@ -772,6 +784,24 @@ fn run_smoke() -> Result<Value> {
&& packet["protocol"]["roleId"] == "face"
&& packet["protocol"]["dossierProfile"]["profileKind"] == "embodied_actor"
&& packet["projectedLocalContext"]["dossierProfile"]["profileKind"] == "embodied_actor"
&& packet["utteranceState"]["schemaVersion"] == "epiphany.agent_utterance_state.v0"
&& packet["utteranceState"]["identity"]["name"]
== packet["projectedLocalContext"]["identity"]["name"]
&& packet["utteranceState"]["personalityVectors"]["voiceStyle"].is_object()
&& packet["utteranceState"]["characterStateVector"]["compatibleHandoffSchema"]
== "weksa.utterance_embedding_handoff.v0.1"
&& packet["utteranceState"]["characterStateVector"]["values"]
.as_array()
.is_some_and(|values| values.len() == 64)
&& packet["projectedLocalContext"]
.get("semanticMemories")
.is_none()
&& packet["projectedLocalContext"]
.get("episodicMemories")
.is_none()
&& packet["projectedLocalContext"]
.get("relationshipMemories")
.is_none()
&& packet["projectionSeed"]["schema_version"] == "epiphany.personality_projection.v0"
&& packet["appraisalSeed"]["schema_version"] == "epiphany.agent_thought_appraisal.v0"
&& packet["reactionSeed"]["schema_version"] == "epiphany.agent_reaction.v0"
@ -797,6 +827,7 @@ fn run_smoke() -> Result<Value> {
"projectionSchema": packet["projectionSeed"]["schema_version"],
"appraisalSchema": packet["appraisalSeed"]["schema_version"],
"reactionSchema": packet["reactionSeed"]["schema_version"],
"utteranceStateSchema": packet["utteranceState"]["schemaVersion"],
"identityName": packet["projectedLocalContext"]["identity"]["name"],
"allowedOutputs": packet["allowedOutputs"],
"cognitionLanes": packet["cognitionLanes"]["schema_version"],

View file

@ -1,4 +1,5 @@
mod agent_memory;
mod agent_utterance_state;
mod distillation;
mod heartbeat_state;
mod memory_graph;
@ -35,6 +36,20 @@ pub use agent_memory::project_agent_memory_to_json_dir;
pub use agent_memory::review_agent_self_patch;
pub use agent_memory::review_agent_self_patch_document;
pub use agent_memory::validate_agent_memory_store;
pub use agent_utterance_state::AGENT_CHARACTER_STATE_VECTOR_SIZE;
pub use agent_utterance_state::AGENT_UTTERANCE_STATE_SCHEMA_VERSION;
pub use agent_utterance_state::AgentUtteranceActivation;
pub use agent_utterance_state::AgentUtteranceCharacterStateAudit;
pub use agent_utterance_state::AgentUtteranceCharacterStateSlot;
pub use agent_utterance_state::AgentUtteranceCharacterStateVector;
pub use agent_utterance_state::AgentUtteranceEmbeddingBasis;
pub use agent_utterance_state::AgentUtteranceIdentity;
pub use agent_utterance_state::AgentUtteranceMood;
pub use agent_utterance_state::AgentUtterancePersonalityVectors;
pub use agent_utterance_state::AgentUtteranceState;
pub use agent_utterance_state::AgentUtteranceValue;
pub use agent_utterance_state::WEKSA_UTTERANCE_HANDOFF_SCHEMA_VERSION;
pub use agent_utterance_state::derive_agent_utterance_state;
pub use cultcache_rs::CacheBackingStore;
pub use cultcache_rs::CultCache;
pub use cultcache_rs::CultCacheEnvelope;

View file

@ -154,7 +154,7 @@ remembers doctrine; the branch remembers the blade.
- Manual Codex-run rumination still has an explicit aftercare rule until Epiphany owns the full sleep consolidator. In the intended Epiphany cycle, sub-agents ruminate when idle and distill when they sleep; in this supervising Codex thread, a heartbeat/routine vigil is only physiology until a separate closing pass reviews the receipts and decides whether map, handoff, evidence, or role self-memory should change.
- The Face public-surface pass is landed as a bounded lane. Face's role dossier lives in `state/agents.msgpack`; `epiphany_specialists.toml` gives it a VoidBot-heartbeat-derived prompt stripped of moderation authority; `state/face-discord.toml` and the native `epiphany-face-discord` binary enforce that Face may interact only through #aquarium. Missing channel id or token writes candidate chat artifacts instead of posting elsewhere. If a Face has a persona name/avatar, `post` uses the shared Discord webhook pipe so each Epiphany can speak with its own nickname and avatar without a separate bot identity.
- The Void memory bridge is now native enough to keep the useful organs attached. `state/void-memory.toml` and `epiphany-void-memory` can check Void's Docker Postgres state spine, query Qdrant Discord-history and source/lore collections with the configured Ollama embedding model, and fetch raw archive context windows from Void's file-backed Discord archive. Native `epiphany-mvp-status` includes a `voidMemory` block so Aquarium/backend clients can inspect whether the mouth and memory are actually wired.
- The first Epiphany-native character-loop pass is landed. `epiphany-character-loop turn --role face --stimulus <text>` loads Face's typed dossier from `state/agents.msgpack`, builds typed projection/appraisal/reaction seeds from the shared heartbeat cognition documents, and emits an auditable `epiphany.character_turn_packet.v0` packet with projected local context, visible stimulus, allowed outputs, and guardrails. The same packet builder works for other role ids, because every organ already has a Ghostlight-shaped dossier.
- The Epiphany-native character-loop now emits a Weksa/AquaSynth-ready utterance-state seam. `epiphany-character-loop turn --role face --stimulus <text>` loads Face's typed dossier from `state/agents.msgpack`, builds typed projection/appraisal/reaction seeds from the shared heartbeat cognition documents, and emits an auditable `epiphany.character_turn_packet.v0` packet with `epiphany.agent_utterance_state.v0`. That utterance state is memory-free: identity, personality vectors, values, current mood, activation, 32 named affect dimensions, and the fixed 64-float `weksa.utterance_embedding_handoff.v0.1` character-state vector for AquaSynth/Weksa speech embedding. The same packet builder works for other role ids, because every organ already has a Ghostlight-shaped dossier.
- The heartbeat/Face operator API pass is landed. Native `epiphany-heartbeat-store status` returns machine-readable initiative state plus CultCache store presence, thought appraisals, and derived reactions; native `epiphany-face-discord bubble` writes Discord-independent `epiphany.face_bubble.v0` artifacts, and native `epiphany-mvp-status` includes `heartbeat` and `face` blocks. Aquarium should call native/backend surfaces rather than resurrecting deleted Python action shims.
- The native runtime-spine pass is landed as a first vertebra, not a full daemon. `state/runtime-spine.msgpack` is the default store, `.epiphany-dogfood/runtime-spine-job/runtime.msgpack` and `hello.cultnet` are the latest job/result smoke artifacts, and specialist launch/result flows now route through typed heartbeat/runtime-spine documents. Its CultNet hello advertises mutation contracts for runtime/session/job/memory/heartbeat/ledger documents, with coordinator-owned intent/receipt paths for writes.
- The Aetheria dogfood run has a contamination scar. The supervising Codex session directly edited and committed target-repo work on `E:\Projects\Aetheria-Economy` instead of only driving Epiphany lanes. Treat those Aetheria commits as supervisor-seeded implementation, not clean evidence that Epiphany coordinated the work. Future dogfood must run through the GUI/coordinator/fixed role lanes with auditable artifacts unless the user explicitly authorizes an operator intervention. Remember the sunburn: do not stare into the worker's objective until you become it.

View file

@ -21,6 +21,10 @@ developer's damp recollection.
- [dossier-profiles.md](./dossier-profiles.md):
explicit split between lean Epiphany work-organ dossiers and embodied
Ghostlight/Face personalities.
- [agent-utterance-state-schema.md](./agent-utterance-state-schema.md):
derived speech-conditioning subset for Weks, Aquarium, and other utterance
surfaces; it carries identity, trait vectors, mood, and activation without
memory records.
- [repo-personality-birth-projection.md](./repo-personality-birth-projection.md):
deterministic birth-time path from repo terrain to newborn trait lattice and
heartbeat seeds.

View file

@ -0,0 +1,57 @@
# Agent Utterance State Schema
`epiphany.agent_utterance_state.v0` is the compact speech-conditioning view for
Weks, Aquarium, Discord/voice bridges, and any other surface that needs an agent
to sound like itself without ingesting the whole Ghostlight dossier.
It is a derived document. The durable source of truth stays split where it
belongs:
- canonical identity, values, and trait vectors live in the Ghostlight-shaped
role dossier (`EpiphanyAgentMemoryEntry`)
- current load, heartbeat heat, cooldown multipliers, pending-turn state, and
mood pressure live in heartbeat participant state
- utterance systems consume the derived subset and do not read memories,
events, scenes, or relationship-memory records
## Shape
The document carries:
- `identity`: public name, roles, origin, and public description only
- `personalityVectors`: the six canonical trait-vector families used for voice
and behavior projection
- `values`: value labels and priorities that should bend speech tone
- `currentMood`: mood label plus a 32-axis named emotional state projection
covering valence, arousal, dominance, urgency, anger, despair, sadness, fear,
anxiety, disgust, contempt, annoyance, dismissal, flippancy, playfulness,
irony, tenderness, warmth, joy, excitement, fatigue, guardedness, confidence,
shame, pride, threat, secrecy, hesitation, emotional containment, thought
pressure, reaction intensity, and command force
- `activation`: awake/running status, current load, initiative speed,
interruptibility, cooldown multipliers, heat multiplier, pending-turn flag,
and last wake/finish timestamps
- `characterStateVector`: the 64-float deterministic
`weksa.utterance_embedding_handoff.v0.1` speaker-state lane; first 32 slots
are the current emotional state projection, later slots add activation and
slower speaker traits/context, with slot labels and uncertainties kept beside
the values
- `utteranceEmbeddingBasis`: bounded weighted text snippets generated from the
same typed fields for utterance embedding input
## Invariants
- No episodic memories.
- No semantic memories.
- No relationship summaries or linked memory ids.
- No private notes.
- No hidden JSON cargo.
- The `characterStateVector.values` array is exactly 64 floats. Resizing or
reordering slots is a schema-version change.
- The document may be serialized for CultNet, but in-process callers should use
the typed Rust structs.
If a caller needs autobiographical recall, it should ask the memory graph for a
separate context cut. Do not fatten this document until it becomes a second
dossier wearing stage makeup. That is how the old machine learned to lie
politely.

View file

@ -28,7 +28,9 @@ server object deserves to be duplicated into a second baroque schema maze.
- `epiphany.runtime.*`: native runtime-spine identity, session, job, job
result, and event documents.
- `epiphany.agent_*` and `epiphany.state-ledger`: durable typed state the swarm
actually lives on.
actually lives on, plus derived agent views such as
`epiphany.agent_utterance_state.v0` for speech-conditioning without memory
payloads.
- `epiphany.surface.*`: operator-safe projections for scene, freshness,
context, graph query, coordinator, roles, jobs, Face, Rider, Unity, repo
initialization, and related live surfaces.

View file

@ -0,0 +1,451 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://gamecult.dev/epiphany/cultnet/epiphany.agent-utterance-state.schema.json",
"title": "Epiphany Agent Utterance State",
"description": "Derived speech-conditioning subset of a Ghostlight agent dossier plus heartbeat mood/activation. Excludes memories.",
"type": "object",
"additionalProperties": false,
"properties": {
"schemaVersion": {
"const": "epiphany.agent_utterance_state.v0"
},
"source": {
"type": "string"
},
"roleId": {
"type": "string"
},
"agentId": {
"type": "string"
},
"dossierProfile": {
"type": "object",
"additionalProperties": false,
"properties": {
"profileKind": {
"enum": [
"lane_core",
"embodied_actor"
]
},
"canonicalDensity": {
"type": "string"
},
"relationshipModel": {
"type": "string"
},
"perceivedOverlayMode": {
"type": "string"
},
"growthChannels": {
"type": "array",
"items": {
"type": "string"
}
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"profileKind",
"canonicalDensity",
"relationshipModel",
"perceivedOverlayMode",
"growthChannels",
"notes"
]
},
"identity": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
},
"origin": {
"type": "string"
},
"publicDescription": {
"type": "string"
}
},
"required": [
"name",
"roles",
"origin",
"publicDescription"
]
},
"personalityVectors": {
"$ref": "#/definitions/personalityVectors"
},
"values": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"valueId": {
"type": "string"
},
"label": {
"type": "string"
},
"priority": {
"type": "number"
},
"unforgivableIfBetrayed": {
"type": "boolean"
}
},
"required": [
"valueId",
"label",
"priority",
"unforgivableIfBetrayed"
]
}
},
"currentMood": {
"type": "object",
"additionalProperties": false,
"properties": {
"label": {
"type": "string"
},
"source": {
"type": "string"
},
"emotionalDimensions": {
"type": "array",
"minItems": 32,
"maxItems": 32,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "number"
},
"sourcePath": {
"type": "string"
}
},
"required": [
"name",
"value",
"sourcePath"
]
}
},
"anxiety": {
"type": "number"
},
"urgency": {
"type": "number"
},
"arousal": {
"type": "number"
},
"thoughtPressure": {
"type": "number"
},
"guardedness": {
"type": "number"
},
"reactionIntensity": {
"type": "number"
},
"cooldownMultiplier": {
"type": "number"
}
},
"required": [
"label",
"emotionalDimensions",
"anxiety",
"urgency",
"arousal",
"thoughtPressure",
"guardedness",
"reactionIntensity",
"cooldownMultiplier"
]
},
"activation": {
"type": "object",
"additionalProperties": false,
"properties": {
"status": {
"type": "string"
},
"currentLoad": {
"type": "number"
},
"initiativeSpeed": {
"type": "number"
},
"reactionBias": {
"type": "number"
},
"interruptThreshold": {
"type": "number"
},
"personalityCooldownMultiplier": {
"type": "number"
},
"moodCooldownMultiplier": {
"type": "number"
},
"initiativeHeatMultiplier": {
"type": "number"
},
"effectiveCooldownMultiplier": {
"type": "number"
},
"pendingTurnActive": {
"type": "boolean"
},
"sceneId": {
"type": "string"
},
"lastWokeAt": {
"type": "string"
},
"lastFinishedAt": {
"type": "string"
}
},
"required": [
"status",
"currentLoad",
"initiativeSpeed",
"reactionBias",
"interruptThreshold",
"personalityCooldownMultiplier",
"moodCooldownMultiplier",
"initiativeHeatMultiplier",
"effectiveCooldownMultiplier",
"pendingTurnActive"
]
},
"characterStateVector": {
"type": "object",
"additionalProperties": false,
"properties": {
"schemaVersion": {
"const": "epiphany.agent_character_state_vector.v0"
},
"compatibleHandoffSchema": {
"const": "weksa.utterance_embedding_handoff.v0.1"
},
"source": {
"type": "string"
},
"dimensionality": {
"const": 64
},
"values": {
"type": "array",
"minItems": 64,
"maxItems": 64,
"items": {
"type": "number"
}
},
"slots": {
"type": "array",
"minItems": 64,
"maxItems": 64,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"index": {
"type": "integer",
"minimum": 0,
"maximum": 63
},
"name": {
"type": "string"
},
"value": {
"type": "number"
},
"sourcePath": {
"type": "string"
}
},
"required": [
"index",
"name",
"value",
"sourcePath"
]
}
},
"auditProjection": {
"type": "object",
"additionalProperties": false,
"properties": {
"currentStatePressure": {
"type": "array",
"items": {
"type": "string"
}
},
"speakerTraitPressure": {
"type": "array",
"items": {
"type": "string"
}
},
"deliveryShape": {
"type": "string"
}
},
"required": [
"currentStatePressure",
"speakerTraitPressure",
"deliveryShape"
]
},
"uncertainties": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"schemaVersion",
"compatibleHandoffSchema",
"source",
"dimensionality",
"values",
"slots",
"auditProjection",
"uncertainties"
]
},
"utteranceEmbeddingBasis": {
"type": "array",
"maxItems": 32,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"kind": {
"type": "string"
},
"path": {
"type": "string"
},
"weight": {
"type": "number"
},
"text": {
"type": "string"
}
},
"required": [
"kind",
"path",
"weight",
"text"
]
}
},
"contract": {
"type": "string"
}
},
"required": [
"schemaVersion",
"source",
"roleId",
"agentId",
"dossierProfile",
"identity",
"personalityVectors",
"values",
"currentMood",
"activation",
"characterStateVector",
"utteranceEmbeddingBasis",
"contract"
],
"definitions": {
"personalityVectors": {
"type": "object",
"additionalProperties": false,
"properties": {
"underlyingOrganization": {
"$ref": "#/definitions/traitVectorMap"
},
"stableDispositions": {
"$ref": "#/definitions/traitVectorMap"
},
"behavioralDimensions": {
"$ref": "#/definitions/traitVectorMap"
},
"presentationStrategy": {
"$ref": "#/definitions/traitVectorMap"
},
"voiceStyle": {
"$ref": "#/definitions/traitVectorMap"
},
"situationalState": {
"$ref": "#/definitions/traitVectorMap"
}
},
"required": [
"underlyingOrganization",
"stableDispositions",
"behavioralDimensions",
"presentationStrategy",
"voiceStyle",
"situationalState"
]
},
"traitVectorMap": {
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/traitVector"
}
},
"traitVector": {
"type": "object",
"additionalProperties": false,
"properties": {
"mean": {
"type": "number"
},
"plasticity": {
"type": "number"
},
"current_activation": {
"type": "number"
}
},
"required": [
"mean",
"plasticity",
"current_activation"
]
}
}
}

View file

@ -23,6 +23,9 @@
"type": "object",
"additionalProperties": true
},
"utteranceState": {
"$ref": "epiphany.agent-utterance-state.schema.json"
},
"projectedLocalContext": {
"type": "object",
"additionalProperties": true
@ -66,6 +69,7 @@
"source",
"createdAt",
"stimulus",
"utteranceState",
"projectedLocalContext",
"projectionSeed",
"appraisalSeed",

View file

@ -111,6 +111,17 @@
"title": "Epiphany Agent Memory",
"path": "epiphany.agent.memory.schema.json"
},
{
"schemaId": "https://gamecult.dev/epiphany/cultnet/epiphany.agent-utterance-state.schema.json",
"kind": "document_payload",
"wireContracts": [
"cultnet.schema.v0"
],
"schemaVersion": "epiphany.agent_utterance_state.v0",
"documentType": "epiphany.agent_utterance_state",
"title": "Epiphany Agent Utterance State",
"path": "epiphany.agent-utterance-state.schema.json"
},
{
"schemaId": "https://gamecult.dev/epiphany/cultnet/epiphany.agent-heartbeat.schema.json",
"kind": "document_payload",

Binary file not shown.

View file

@ -145,7 +145,7 @@ accepted_design:
- 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.
- Face packets now expose deterministic Ghostlight-style projection, appraisal, and reaction seeds built from local canonical traits, relationship memories, perceived overlays, and visible stimulus. This makes embodied response machinery available to the public mouth without granting omniscience or silent state mutation. Multiple Face actors remain part of the long-plan; the current singular `face` role is an MVP simplification, not the intended endpoint.
- Face packets now expose deterministic Ghostlight-style projection, appraisal, and reaction seeds built from local canonical traits, relationship pressure, perceived overlays, and visible stimulus. They also carry `epiphany.agent_utterance_state.v0`: a memory-free speech-conditioning document derived from the role dossier plus heartbeat physiology, including a 32-axis current emotional-state projection and the fixed 64-float `weksa.utterance_embedding_handoff.v0.1` character-state vector for AquaSynth/Weksa utterance embedding. This makes embodied response machinery available to the public mouth without granting omniscience, leaking memories into speech embeddings, or silently mutating state. Multiple Face actors remain part of the long-plan; the current singular `face` role is an MVP simplification, not the intended endpoint.
- Repo personality initialization is now specified as a map-reduce projection, not a hand-written vibe pass: read-only scouts score body taxonomy, history temperament, and memory doctrine across nearby repos, reduce them into normalized variance criteria, and emit reviewable `repoTerrainReport`, `repoPersonalityProfile`, and `rolePersonalityProjection` candidates before touching agent memory.
- Native `epiphany-repo-personality` is the first startup-personality scout and birth-only distiller packet renderer: it deterministically inventories local git repos, scores repo terrain/history/state surfaces, writes typed CultCache terrain/profile/role-projection MessagePack stores, emits JSON/Markdown inspection glass, and renders a Repo Personality Distiller specialist prompt packet for Self-reviewed first role-memory petitions. The distiller must run only when a repo/swarm has no accepted personality initialization; after that, personality drift belongs to heartbeat, mood, rumination, sleep consolidation, lived evidence, and reviewed `selfPatch`. Startup routing now checks accepted initialization records, generates missing startup-only packets only once, applies reviewed birth memory and heartbeat physiology seeds, and leaves later drift alone. Birth specialists are not heartbeat lanes; heartbeat receives only accepted seed pressure.
- Repo memory initialization is a separate birth-only organ from repo personality initialization. `epiphany-repo-personality memory-packet` uses the typed terrain/profile/projection store plus bounded source excerpts from doctrine, docs, state, research, contracts, verification, runtime, and code surfaces to render a Repo Memory Distiller packet with one mission-specific brief for Self, Face, Imagination, Eyes, Body, Hands, Soul, and Life. It petitions Self with role-specific Ghostlight-shaped memory candidates; it does not mutate memory, set objectives, copy raw dumps, or reset living memory after startup.
@ -177,7 +177,7 @@ accepted_design:
- `state/ledgers.msgpack`, `epiphany-core::EpiphanyStateLedgerEntry`, the `epiphany-state-ledger-store` binary, and the native `epiphany-state` CLI now own durable branch and evidence ledgers. The old tracked JSON ledger files and the migration/projection CLI hatches are gone.
- CultCache inspection, cross-language schema synchronization, and debug display tooling belong in CultLib, not in EpiphanyAgent. Epiphany should consume typed CultCache documents and expose product-specific status through its API, while general polyglot domain loading/inspection lives with the shared CultCache ecosystem.
- VoidBot's current routine is reference lineage only. Epiphany's native routine pass lives in Rust as `epiphany-heartbeat-store routine`: it reads typed role dossiers, projects typed memory-resonance pair documents, maintains incubation themes, runs analytic and associative cognition lanes, writes bridge syntheses/saturation/tension, produces reviewed candidate interventions, advances typed sleep/dream-cycle state, and writes an auditable routine receipt while leaving project truth and role memory mutation on their dedicated reviewed surfaces. Qdrant-backed memory vectors remain a future enhancement; the current native pass uses bounded local resonance over typed memories.
- `epiphany-character-loop` now advertises `epiphany.cognition_lanes.v0` and `epiphany.cognition_bridge.v0` in every character-turn packet, and its projection/appraisal/reaction seeds reuse the typed heartbeat cognition documents before artifact serialization. Face and future role-local actors must run an analytic lane and an associative lane, then let the bridge choose bubble, draft, finding, silence, or bounded `selfPatch`; those lanes shape attention but do not mutate project truth.
- `epiphany-character-loop` now advertises `epiphany.cognition_lanes.v0` and `epiphany.cognition_bridge.v0` in every character-turn packet, and its projection/appraisal/reaction seeds reuse the typed heartbeat cognition documents before artifact serialization. Its utterance-state projection is the Weksa/AquaSynth speech seam: typed identity, trait vectors, values, current mood, activation, 32 named affect dimensions, and a 64-float character-state vector, with episodic/semantic/relationship memories deliberately excluded. Face and future role-local actors must run an analytic lane and an associative lane, then let the bridge choose bubble, draft, finding, silence, or bounded `selfPatch`; those lanes shape attention but do not mutate project truth.
- The Rust CultCache-compatible contract now lives in dedicated upstream `https://github.com/GameCult/cultcache-rs` and is vendored as `vendor/cultcache-rs`. Epiphany should consume it as the canonical typed MessagePack persistence seam instead of growing an embedded local copy like an unsanctioned organ.
- `state/face-discord.toml` and the native `epiphany-face-discord` binary are the Face Discord boundary. Face may interact only through #aquarium; missing or mismatched channel configuration produces candidate chat artifacts instead of posting elsewhere. When a Face has a configured persona name/avatar, posting uses the shared Discord webhook pipe so each Epiphany can speak with its own nickname and avatar without needing a separate bot identity.
- `state/void-memory.toml` and the native `epiphany-void-memory` binary are the first Void memory bridge: Epiphany can check Void's Docker Postgres state spine, query Qdrant Discord-history and source/lore vector collections through the configured Ollama embedding model, and fetch raw archive context windows from Void's Discord archive. Raw archive rows remain evidence for Face and Eyes, not public speech.