3.4 KiB
Repo Personality Birth Projection
This note explains how a newborn repo's personality reaches the actual Epiphany body.
Before this was wired correctly, startup could enrich memories and tweak heartbeat timing while leaving the canonical trait lattice full of generic placeholder mush. That was nonsense. This is the repair receipt.
Source Paths
The live implementation is in:
Birth-Time Flow
epiphany-repo-personality does four relevant things:
- scouts repo terrain and history
- reduces those signals into repo axis scores
- emits role-local
rolePersonalityProjectioncandidates - during
accept-init, optionally stamps canonical trait bundles and heartbeat seeds into the newborn stores
Projection Inputs
Each role projection currently carries:
traitDeltasheartbeatDeltasdefaultMoodPressure- candidate memory/goal/value/private-note pressure
The role-local input axes are selected by role_axes(...). For example:
- Self cares about
boundary_severity,contract_strictness,state_hygiene,churn_spiral_risk,production_pressure - Eyes cares about
source_fidelity,protocol_intolerance,runtime_proximity,novelty_hunger,verification_environment_need - Hands cares about
production_pressure,actuation_risk,contract_strictness,consolidation_drive,churn_spiral_risk
Canonical Trait Templates
Each organ has a standing six-trait template:
- one trait in
underlying_organization - one in
stable_dispositions - one in
behavioral_dimensions - one in
presentation_strategy - one in
voice_style - one in
situational_state
Those templates are the current live Epiphany skeleton. Repo personality does not invent new trait names at startup. It modulates the standing ones.
Stamp Math
When accept-init --apply-trait-seeds true runs for repo-personality,
Epiphany deterministically derives an AgentCanonicalTraitSeed for each role
family entry.
For the first five families, a role axis delta is applied to the standing template:
mean = template.mean + delta * 0.22plasticity = template.plasticity + abs(delta) * 0.08current_activation = template.current_activation + delta * 0.28
All values are clamped into 0..1.
For situational_state, Epiphany computes a mood-derived delta from:
urgencyanxietycuriosity
Current weighting:
- urgency:
0.50 - anxiety:
0.35 - curiosity:
0.15
That mood delta is then applied through the same template formula.
Mutation Boundaries
This path is birth-only.
It is not part of normal reviewed selfPatch because live personality drift
should not casually rewrite the lattice every time a lane has a feeling.
Current sanctioned routes are:
- initial role-shell provisioning
repo-personalitybirth-time trait seeding- later work through explicit future machinery, if we choose to build it
Related Stores
- canonical organ state:
state/agents.msgpack - heartbeat physiology:
state/agent-heartbeats.msgpack - initialization receipts:
state/repo-initialization.msgpack
Operator Rule
If a newborn repo wakes up with rich memory text but generic baseline = 0.5
trait mush, the plumbing is broken. Do not call that personality. Call it a
clerical error and fix the organ.