Skip to main content

Interface: PersonalityMutation

Defined in: packages/agentos/src/cognition/emergent/PersonalityMutationStore.ts:42

A single persisted personality mutation record.

Represents a specific HEXACO trait adjustment made by the agent, along with its current strength (which decays over time) and the reasoning that motivated the change.

Properties​

agentId​

agentId: string

Defined in: packages/agentos/src/cognition/emergent/PersonalityMutationStore.ts:47

The agent that made this mutation.


baselineValue​

baselineValue: number

Defined in: packages/agentos/src/cognition/emergent/PersonalityMutationStore.ts:59

The trait value before this mutation was applied.


createdAt​

createdAt: number

Defined in: packages/agentos/src/cognition/emergent/PersonalityMutationStore.ts:73

Unix epoch millisecond timestamp of when this mutation was recorded.


delta​

delta: number

Defined in: packages/agentos/src/cognition/emergent/PersonalityMutationStore.ts:53

The signed delta applied to the trait value. Positive = increase, negative = decrease.


id​

id: string

Defined in: packages/agentos/src/cognition/emergent/PersonalityMutationStore.ts:44

Unique mutation identifier (format: pm_<timestamp>_<random>).


mutatedValue​

mutatedValue: number

Defined in: packages/agentos/src/cognition/emergent/PersonalityMutationStore.ts:62

The trait value after this mutation was applied.


reasoning​

reasoning: string

Defined in: packages/agentos/src/cognition/emergent/PersonalityMutationStore.ts:56

Free-text reasoning explaining why the agent chose to mutate this trait.


strength​

strength: number

Defined in: packages/agentos/src/cognition/emergent/PersonalityMutationStore.ts:70

Current strength of this mutation in the range (0, 1].

Starts at 1.0 when recorded and decays each consolidation cycle. When strength drops to 0.1 or below, the mutation is pruned.


trait​

trait: string

Defined in: packages/agentos/src/cognition/emergent/PersonalityMutationStore.ts:50

The HEXACO trait that was mutated (e.g., 'openness', 'conscientiousness').