diff --git a/epiphany-core/src/agent_memory.rs b/epiphany-core/src/agent_memory.rs index ae4377ba..1a859285 100644 --- a/epiphany-core/src/agent_memory.rs +++ b/epiphany-core/src/agent_memory.rs @@ -247,6 +247,24 @@ pub struct AgentMemoryReview { pub applied: Option, } +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[serde(rename_all = "snake_case")] +pub enum EpiphanyDossierProfileKind { + LaneCore, + EmbodiedActor, +} + +#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +#[serde(rename_all = "camelCase")] +pub struct EpiphanyDossierProfile { + pub profile_kind: EpiphanyDossierProfileKind, + pub canonical_density: String, + pub relationship_model: String, + pub perceived_overlay_mode: String, + pub growth_channels: Vec, + pub notes: Vec, +} + #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct AgentCanonicalTraitSeed { @@ -546,6 +564,7 @@ pub fn agent_memory_status(store_path: impl AsRef) -> Result { "roleId": role_id, "agentId": entry.agent.agent_id, "displayName": entry.agent.identity.name, + "dossierProfile": dossier_profile_for_role(role_id), "semanticMemories": entry.agent.memories.semantic.len(), "episodicMemories": entry.agent.memories.episodic.len(), "relationshipMemories": entry.agent.memories.relationship_summaries.len(), @@ -570,6 +589,44 @@ pub fn agent_memory_status(store_path: impl AsRef) -> Result { })) } +pub fn dossier_profile_for_role(role_id: &str) -> EpiphanyDossierProfile { + match role_id { + "face" => EpiphanyDossierProfile { + profile_kind: EpiphanyDossierProfileKind::EmbodiedActor, + canonical_density: "dense_ghostlight_core_preferred".to_string(), + relationship_model: "relationship_summaries_and_directional_stance_matter".to_string(), + perceived_overlay_mode: "observer_local_and_fallible".to_string(), + growth_channels: vec![ + "heartbeat appraisal and reaction".to_string(), + "character-loop interpretation".to_string(), + "episodic and relationship memory accumulation".to_string(), + "reviewed selfPatch".to_string(), + "sleep/distillation".to_string(), + ], + notes: vec![ + "Face should behave like an embodied, responsive, and fallible public creature rather than a thin tool wrapper.".to_string(), + "Dense Ghostlight-style canonical families, perceived overlays, and relationship pressure are appropriate here.".to_string(), + ], + }, + _ => EpiphanyDossierProfile { + profile_kind: EpiphanyDossierProfileKind::LaneCore, + canonical_density: "lean_role_lattice".to_string(), + relationship_model: "role_local_summary_only".to_string(), + perceived_overlay_mode: "minimal_until_a_real_need_exists".to_string(), + growth_channels: vec![ + "reviewed selfPatch".to_string(), + "heartbeat rumination pressure".to_string(), + "sleep/distillation".to_string(), + "birth-time repo personality and memory seeding".to_string(), + ], + notes: vec![ + "Most standing Epiphany organs need sharp role identity, room to grow, and resistance to personality sludge more than they need full dramatic embodiment.".to_string(), + "Sparse canonical bundles are acceptable here as long as memory, goals, values, and private notes can deepen over time.".to_string(), + ], + }, + } +} + pub fn project_agent_memory_to_json_dir( store_path: impl AsRef, output_dir: impl AsRef, @@ -1250,6 +1307,17 @@ mod tests { Ok(()) } + #[test] + fn dossier_profiles_distinguish_face_from_lane_organs() { + let face = dossier_profile_for_role("face"); + assert_eq!(face.profile_kind, EpiphanyDossierProfileKind::EmbodiedActor); + assert_eq!(face.canonical_density, "dense_ghostlight_core_preferred"); + + let hands = dossier_profile_for_role("implementation"); + assert_eq!(hands.profile_kind, EpiphanyDossierProfileKind::LaneCore); + assert_eq!(hands.canonical_density, "lean_role_lattice"); + } + fn sample_agent_json(agent_id: &str, name: &str) -> String { serde_json::json!({ "schema_version": AGENT_MEMORY_SCHEMA_VERSION, diff --git a/epiphany-core/src/bin/epiphany-character-loop.rs b/epiphany-core/src/bin/epiphany-character-loop.rs index 0dae062d..972bd324 100644 --- a/epiphany-core/src/bin/epiphany-character-loop.rs +++ b/epiphany-core/src/bin/epiphany-character-loop.rs @@ -1,10 +1,11 @@ +use anyhow::anyhow; use anyhow::Context; use anyhow::Result; -use anyhow::anyhow; use chrono::SecondsFormat; +use epiphany_core::dossier_profile_for_role; +use epiphany_core::load_agent_memory_entry_for_role; use epiphany_core::EpiphanyAgentMemoryEntry; use epiphany_core::GhostlightMemory; -use epiphany_core::load_agent_memory_entry_for_role; use serde_json::Value; use std::env; use std::fs; @@ -115,6 +116,7 @@ fn character_turn_packet( status: &str, mood: &str, ) -> Value { + let dossier_profile = dossier_profile_for_role(&entry.role_id); serde_json::json!({ "schema_version": CHARACTER_TURN_SCHEMA_VERSION, "protocol": { @@ -123,6 +125,7 @@ fn character_turn_packet( "mode": mode, "roleId": entry.role_id, "agentId": entry.agent.agent_id, + "dossierProfile": dossier_profile, "turnKind": "stimulus_response", "responseContract": "Respond from projected local state and visible stimulus; do not leak hidden agent streams or invent omniscient truth.", }, @@ -147,6 +150,7 @@ fn character_turn_packet( "time": entry.world.time.label, "canonContext": entry.world.canon_context, }, + "dossierProfile": dossier_profile_for_role(&entry.role_id), "activeGoals": entry.agent.goals.iter().map(|goal| serde_json::json!({ "goalId": goal.goal_id, "description": goal.description, @@ -262,6 +266,8 @@ fn run_smoke() -> Result { let ok = packet["schema_version"] == CHARACTER_TURN_SCHEMA_VERSION && packet["protocol"]["bundle"] == "epiphany.character_loop" && packet["protocol"]["roleId"] == "face" + && packet["protocol"]["dossierProfile"]["profileKind"] == "embodied_actor" + && packet["projectedLocalContext"]["dossierProfile"]["profileKind"] == "embodied_actor" && packet["projectedLocalContext"]["identity"]["name"] .as_str() .is_some_and(|name| !name.trim().is_empty()) @@ -280,6 +286,7 @@ fn run_smoke() -> Result { "bundle": packet["protocol"]["bundle"], "roleId": packet["protocol"]["roleId"], "agentId": packet["protocol"]["agentId"], + "dossierProfile": packet["protocol"]["dossierProfile"]["profileKind"], "identityName": packet["projectedLocalContext"]["identity"]["name"], "allowedOutputs": packet["allowedOutputs"], "cognitionLanes": packet["cognitionLanes"]["schema_version"], diff --git a/epiphany-core/src/lib.rs b/epiphany-core/src/lib.rs index 6f851585..6a97c51e 100644 --- a/epiphany-core/src/lib.rs +++ b/epiphany-core/src/lib.rs @@ -13,10 +13,13 @@ pub use agent_memory::AgentCanonicalTraitSeed; pub use agent_memory::AgentMemoryReview; pub use agent_memory::AgentSelfPatch; pub use agent_memory::EpiphanyAgentMemoryEntry; +pub use agent_memory::EpiphanyDossierProfile; +pub use agent_memory::EpiphanyDossierProfileKind; pub use agent_memory::GhostlightMemory; pub use agent_memory::agent_memory_status; pub use agent_memory::apply_agent_canonical_trait_seeds; pub use agent_memory::apply_agent_self_patch; +pub use agent_memory::dossier_profile_for_role; pub use agent_memory::load_agent_memory_entry_for_role; pub use agent_memory::migrate_agent_memory_json_dir_to_cultcache; pub use agent_memory::project_agent_memory_to_json_dir; diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 083baa0f..c0adfdd0 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -38,6 +38,7 @@ remembers doctrine; the branch remembers the blade. - CultNet APIs are advertised as compatible schemas plus mutation contracts. Hello frames now expose readable document types, allowed operations, mutation authority, typed intent document types, and typed receipt document types; Aquarium should use those contracts to submit state changes and watch receipts rather than growing a little bespoke verb zoo. - The native runtime-spine hello now publishes the interactive surface catalog, not just the deep runtime bones. In addition to runtime/session/job/memory/heartbeat/ledger documents, Aquarium-discoverable contracts now advertise scene, pressure, reorient, CRRC, jobs, roles, role-result, reorient-result, planning, coordinator, Face, Void memory, repo initialization/birth runner, Rider bridge, and Unity bridge surfaces, with explicit read-only versus coordinator-owned intent/receipt posture. The point is to let Aquarium discover operator affordances from CultNet instead of hard-coding a secret menu of verbs. - Epiphany now owns the canonical schema paperwork locally under `schemas/`. The key receipts are `schemas/ghostlight.agent-state.schema.json`, `schemas/canonical-agent-state-schema.md`, `schemas/agent-state-variable-glossary.md`, `schemas/repo-personality-birth-projection.md`, and `schemas/heartbeat-state-schema.md`. If a standing trait name like `routing_discipline` changes, or if dossier/heartbeat/birth-projection semantics move, update those docs in the same pass instead of relying on old Ghostlight notes or live store archaeology. +- The schema doctrine now makes the dossier split explicit: most resident Epiphany organs are `lane_core` dossiers with a lean role lattice and growth via rumination/distillation, while Face is an `embodied_actor` dossier that should trend toward dense Ghostlight-family personality, relationship pressure, and fallible character-loop response. `epiphany-agent-memory-store status` and `epiphany-character-loop` now surface that classification on the wire. - Repo personality initialization now has a terrain-reduced plan and native birth surface. `epiphany-repo-personality scout/project/agent-packet/status` scouts local git repos, scores body taxonomy/history temperament/memory doctrine, writes typed CultCache terrain/profile/role-projection MessagePack stores, emits JSON/Markdown inspection exports, and renders a birth-only Repo Personality Distiller specialist prompt packet. `epiphany-repo-personality startup` now checks for accepted personality/memory initialization records, launches packet generation only when absent, and `accept-init` can route reviewed role `selfPatch` candidates into initial role memory, stamp the newborn Ghostlight trait lattice from deterministic role projections, and seed heartbeat physiology from the same typed role personality projections. The birth specialists are startup-only initialization actuators, not heartbeat lanes; heartbeat receives only the accepted physiology seed. `epiphany-repo-birth-runner` now owns the startup-only execution path: plan mode writes Codex execution prompts/schemas/accept commands, and run mode invokes `codex exec` with the packet schema and captures reviewable `result.json`. The remaining seam is Aquarium review/action surfacing. After accepted birth, personality drift belongs to heartbeat, mood, rumination, sleep consolidation, lived evidence, and reviewed `selfPatch`, not repeated startup distillation. - Repo trajectory initialization is now a separate birth-only organ. `epiphany-repo-personality` derives a typed `repo_trajectory_report` from early-history, recent-history, doctrine/content excerpts, and deterministic theme scoring, and `trajectory-packet` renders a startup-only Repo Trajectory Distiller prompt/packet so Self can review historical direction, self-image, implicit goals, and anti-goals before the newborn wakes. - Repo memory initialization is now split from personality initialization. `epiphany-repo-personality memory-packet` renders a birth-only Repo Memory Distiller packet from the same typed terrain/profile/projection store plus bounded source excerpts. It gives each organ its own mission filter: Self for routing/authority, Face for public surface, Imagination for plans/backlog, Eyes for prior art, Body for architecture, Hands for implementation habits, Soul for evidence, and Life for continuity. The output is still a Self-reviewed petition, not direct memory mutation. diff --git a/schemas/README.md b/schemas/README.md index 53b203ff..03f4a437 100644 --- a/schemas/README.md +++ b/schemas/README.md @@ -17,7 +17,10 @@ developer's damp recollection. human-facing explanation of how Epiphany uses the Ghostlight agent-state shape. - [agent-state-variable-glossary.md](./agent-state-variable-glossary.md): - current role-lattice glossary for the standing Epiphany organs. + full Ghostlight-family glossary plus current Epiphany role-lattice receipts. +- [dossier-profiles.md](./dossier-profiles.md): + explicit split between lean Epiphany work-organ dossiers and embodied + Ghostlight/Face personalities. - [repo-personality-birth-projection.md](./repo-personality-birth-projection.md): deterministic birth-time path from repo terrain to newborn trait lattice and heartbeat seeds. diff --git a/schemas/agent-state-variable-glossary.md b/schemas/agent-state-variable-glossary.md index 15d57a2e..19ca97b1 100644 --- a/schemas/agent-state-variable-glossary.md +++ b/schemas/agent-state-variable-glossary.md @@ -1,13 +1,20 @@ # Agent State Variable Glossary -This is the current human-facing glossary for Epiphany's live Ghostlight-shaped -role lattice. +This is the current human-facing glossary for Epiphany's Ghostlight-shaped +state surface. The canonical storage shape is documented in [canonical-agent-state-schema.md](./canonical-agent-state-schema.md). The live Rust structures live in [agent_memory.rs](/E:/Projects/EpiphanyAgent/epiphany-core/src/agent_memory.rs). +This document now covers two things: + +1. the dense Ghostlight family vocabulary used by embodied actors +2. the current standing Epiphany role lattice used by the resident organs + +Those are related, not identical. + ## Trait Vector Components Every canonical scalar-like trait uses three numbers: @@ -31,6 +38,138 @@ This is enough to separate character from moment, which is a small mercy. | `voice_style` | the communication texture of that organ | | `situational_state` | what pressure it tends to carry when active | +## Dense Embodied Profile Vocabulary + +These are the canonical Ghostlight-family labels appropriate for +`embodied_actor` dossiers such as Face and scene characters. + +### Underlying Organization + +| Label | Meaning | +| --- | --- | +| `self_coherence` | how integrated and stable the agent's sense of self is under pressure | +| `contingent_worth` | how much felt worth depends on approval, utility, status, purity, or external validation | +| `shame_sensitivity` | how painful exposure, correction, failure, or diminishment feels | +| `reciprocity_capacity` | ability to sustain mutual obligation rather than purely extractive or avoidant relations | +| `mentalization_quality` | ability to model other minds with nuance instead of flattening them into threat, need, or utility | +| `authenticity_tolerance` | capacity to be known without immediately retreating into performance or concealment | +| `mask_rigidity` | how necessary and inflexible the performed self is | +| `external_regulation_dependence` | how much stability depends on other people, scripts, or surrounding structure | + +### Stable Dispositions + +| Label | Meaning | +| --- | --- | +| `novelty_seeking` | attraction to new experience and unproven paths | +| `conformity` | preference for accepted norms and group expectations | +| `status_hunger` | desire for rank, recognition, or visible superiority | +| `risk_tolerance` | willingness to accept danger, uncertainty, or loss | +| `sociability` | baseline draw toward company and social energy | +| `baseline_threat_sensitivity` | default readiness to detect danger or betrayal | +| `aesthetic_appetite` | sensitivity to beauty, style, symbolism, or expressive environment | +| `ideological_rigidity` | resistance to revising beliefs or explanatory frames | + +### Behavioral Dimensions + +| Label | Meaning | +| --- | --- | +| `interpersonal_warmth` | tendency to express care or welcome | +| `drive` | goal pressure, persistence, and forward force | +| `grandiosity` | inflated self-importance or self-mythologizing | +| `validation_seeking` | need for reassurance or recognition | +| `anxiety` | anticipatory fear or instability under uncertainty | +| `control_pressure` | urge to manage people, situations, or outcomes tightly | +| `hostility` | readiness toward anger, contempt, or attack | +| `suspicion` | expectation that others hide traps or bad faith | +| `rigidity` | difficulty adapting under new evidence | +| `withdrawal` | tendency to disengage or retreat | +| `volatility` | speed and intensity of emotional swings | +| `attachment_seeking` | pull toward closeness, reassurance, or being chosen | +| `distance_seeking` | push toward space, opacity, and autonomy | + +### Presentation Strategy + +| Label | Meaning | +| --- | --- | +| `charm` | performs warmth, ease, or charisma to influence contact | +| `compliance` | performs agreement or harmless cooperation | +| `superiority` | performs being above others, more competent, or less vulnerable | +| `detachment` | performs cool distance or emotional unavailability | +| `seductiveness` | performs desirability or intimate leverage | +| `competence_theater` | performs capability and control, sometimes beyond what is actually secure | +| `moral_theater` | performs righteousness, purity, or ethical authority | +| `strategic_opacity` | controls what others can know | +| `cultivated_harmlessness` | performs being safe, small, useful, or beneath concern | +| `abrasive_boundary` | performs bite or difficulty to keep others from pressing closer | +| `ironic_distance` | performs irony or joking distance to avoid naked sincerity | + +### Voice Style + +| Label | Meaning | +| --- | --- | +| `dryness` | understated or deadpan phrasing | +| `verbal_warmth` | inviting, reassuring, or socially soft phrasing | +| `formality` | formal structure, titles, or careful address | +| `verbosity` | longer turns and elaboration | +| `pace` | quick movement through turns or topic shifts | +| `plainspoken_directness` | plain, concrete, blunt speech | +| `lexical_precision` | exact word choice and careful distinctions | +| `technical_density` | specialist terms or heavy systems language | +| `technical_compression` | terse expert shorthand | +| `figurative_language` | metaphor, image, or symbolic framing | +| `lyricism` | musical, poetic, or sensuous language | +| `narrative_detail` | concrete scene detail and sequence | +| `emotional_explicitness` | direct naming of feelings or needs | +| `pointedness` | sharp or barbed precision | +| `self_disclosure` | volunteers private motives or history | +| `hedging` | caveats, uncertainty markers, or softeners | +| `certainty_marking` | signals confidence or finality | +| `politeness` | courtesy and face-saving language | +| `coded_politeness` | politeness used to imply criticism, threat, or hierarchy | +| `ritualized_address` | formulaic greetings, titles, prayers, or ceremonial phrases | +| `register_switching` | shifts register by audience or pressure | +| `dialect_marking` | regional, class, occupational, or subcultural speech markers | +| `theatricality` | drama, persona, flourish, or rhetorical display | +| `humor` | jokes, wit, teasing, or comic framing | +| `conversational_dominance` | takes or controls the floor | +| `listening_responsiveness` | reflects or adapts to what the other just said | +| `question_asking` | uses questions to probe, invite, or corner | +| `profanity` | taboo, sacred, or deliberately coarse language | + +### Situational State + +| Label | Meaning | +| --- | --- | +| `exhaustion` | depletion or low reserve | +| `scarcity_pressure` | pressure from money, supplies, time, space, or safety scarcity | +| `humiliation` | felt diminishment or exposure | +| `panic` | acute overwhelm or threat response | +| `triumph` | victory, vindication, or emotional lift | +| `grief` | active loss or mourning | +| `overstimulation` | sensory, social, cognitive, or emotional overload | +| `grievance_activation` | resentment or retaliatory moral charge | +| `acute_shame` | immediate shame flare or self-disgust | +| `perceived_status_threat` | sense that rank, dignity, competence, or face is under threat | + +### Relationship Stance + +Relationship stance is directional and especially important for embodied actors. + +| Label | Meaning | +| --- | --- | +| `trust` | expectation that the target will not exploit vulnerability | +| `respect` | recognition of competence, integrity, or seriousness | +| `resentment` | accumulated grievance or unpaid emotional debt | +| `dependence` | need for the target's care, access, protection, or recognition | +| `fear` | expectation that the target can or will cause harm | +| `fascination` | captivation, attraction, fixation, or unresolved interest | +| `obligation` | felt debt, duty, or promise | +| `envy` | pain around what the target has, is, or receives | +| `moral_disgust` | aversion rooted in perceived corruption or wrongness | +| `perceived_status_gap` | felt difference in rank, leverage, or dignity | +| `expectation_of_care` | belief that the target may protect or soothe | +| `expectation_of_betrayal` | belief that the target may abandon, expose, or exploit | + ## Standing Epiphany Organs The current live swarm carries one named trait per family per organ. @@ -125,6 +264,6 @@ The current live swarm carries one named trait per family per organ. ## Status Note -These names are current live Epiphany doctrine, not inherited Ghostlight core -labels. If they change in code or in the standing role shells, update this file -in the same pass. +These standing names are current live Epiphany doctrine, not a replacement for +the dense Ghostlight family vocabulary above. If they change in code or in the +standing role shells, update this file in the same pass. diff --git a/schemas/canonical-agent-state-schema.md b/schemas/canonical-agent-state-schema.md index 2c9a8d10..bb4740bd 100644 --- a/schemas/canonical-agent-state-schema.md +++ b/schemas/canonical-agent-state-schema.md @@ -86,12 +86,28 @@ Current activation is how hot it is right now. ## Epiphany-Specific Policy -Epiphany no longer uses Ghostlight's old idea of one universal required label -set across all agents. The current standing swarm uses one named trait per -family per organ, with role-local semantics. That is deliberate. +Epiphany now treats the wire schema as one shared body shape with two explicit +profiles layered over it: -The goal is not to force Self and Hands into the same fake psychological -spreadsheet. The goal is to keep each organ's identity explicit and queryable. +1. `lane_core` +2. `embodied_actor` + +See [dossier-profiles.md](./dossier-profiles.md). + +The important distinction is: + +- most standing Epiphany organs want a lean role lattice with room to grow + through memory, rumination, and distillation +- Face and Ghostlight-style characters want a denser, more fallible, more + relationship-heavy personality surface + +So the schema stays shared, but the expected population density changes by +profile. + +Epiphany does **not** currently require every standing organ to populate the +full old Ghostlight trait inventory. That would be fake precision. But the +full embodied Ghostlight families remain canonical, available, and appropriate +for Face and character-grade agents. ## Mutation Boundaries @@ -112,6 +128,11 @@ Canonical trait bundles currently change through two sanctioned paths: That birth-time route is documented in [repo-personality-birth-projection.md](./repo-personality-birth-projection.md). +Face and future embodied actors are still expected to evolve through richer +event, relationship, appraisal, and distillation flows. The current narrow +`selfPatch` contract is enough for lane-core growth, but it is not the end of +the story for fully embodied personalities. + ## Project Truth Versus Self Truth These dossiers are not the same thing as thread state. @@ -131,5 +152,6 @@ world model. ## Related Contracts - [agent-state-variable-glossary.md](./agent-state-variable-glossary.md) +- [dossier-profiles.md](./dossier-profiles.md) - [heartbeat-state-schema.md](./heartbeat-state-schema.md) - [repo-personality-birth-projection.md](./repo-personality-birth-projection.md) diff --git a/schemas/dossier-profiles.md b/schemas/dossier-profiles.md new file mode 100644 index 00000000..cc79d568 --- /dev/null +++ b/schemas/dossier-profiles.md @@ -0,0 +1,110 @@ +# Dossier Profiles + +Epiphany uses one Ghostlight-shaped storage schema with two explicit operating +profiles. + +This split exists because "what makes a coding organ effective" and "what makes +a public-facing or dramatic personality feel embodied and fallible" are not the +same problem, even if they share a skeleton. + +## Profiles + +### `lane_core` + +Intended for: + +- Self +- Imagination +- Eyes +- Body +- Hands +- Soul +- Life + +These organs need: + +- sharp role identity +- stable working values +- durable mission-relevant memory +- enough personality texture to steer rumination, timing, and self-modification +- resistance to personality sludge and faux-human overfitting + +They do **not** need every old Ghostlight trait slot populated just to cosplay +depth. + +Recommended shape: + +- one standing canonical trait per family minimum +- goals, values, semantic memory, and private notes always present +- relationship and perceived-overlay surfaces optional and narrow +- self-modification primarily through: + - reviewed `selfPatch` + - heartbeat rumination pressure + - sleep/distillation + - birth-time repo personality/memory seeding + +Failure mode if overbuilt: + +- the organ becomes theatrical instead of useful +- working memory fills with fake interiority instead of sharper judgment +- every lane starts behaving like a roleplay goblet with a compiler strapped to it + +### `embodied_actor` + +Intended for: + +- Face +- Ghostlight scene characters +- any future public, social, or dramatic agent that must react as a situated + person rather than a narrow work organ + +These agents need: + +- denser canonical personality surfaces +- relationship pressure +- perceived-state fallibility +- episodic accumulation that actually colors reaction +- response shaped by appraisal, not just policy +- room to misread, overread, hesitate, overcompensate, or project + +Recommended shape: + +- dense Ghostlight family maps using the canonical label inventory +- active use of `relationship_summaries` +- meaningful `perceived_state_overlays` +- character-loop interpretation and reaction as first-class behavior +- growth through: + - events + - relationships + - appraisal/reaction cycles + - reviewed self-memory mutation + - sleep/distillation + +Failure mode if underbuilt: + +- Face becomes a status printer with eyeliner +- Ghostlight characters become omniscient utility daemons wearing skin + +## Current State + +Right now the storage schema supports both profiles, but the live standing +Epiphany role shells are still mostly sparse. That is acceptable for the lane +organs and a current limitation for Face. + +So the policy is: + +- sparse lane-core dossiers are fine when they improve work +- Face should trend toward embodied-actor richness +- do not pretend those are the same requirement + +## Wire Visibility + +The distinction should be visible to tools, not hidden in a footnote. + +Current typed surfaces expose dossier profile classification through: + +- `epiphany-agent-memory-store status` +- `epiphany-character-loop` packets + +If a future surface consumes role dossiers without surfacing profile kind, it is +already drifting back toward folklore. diff --git a/state/ledgers.msgpack b/state/ledgers.msgpack index 930bd787..481baeb5 100644 Binary files a/state/ledgers.msgpack and b/state/ledgers.msgpack differ diff --git a/state/map.yaml b/state/map.yaml index 95639d30..a1b1e857 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -119,6 +119,7 @@ accepted_design: - 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 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. - 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.