Interface PersonalityMutation

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.

interface PersonalityMutation {
    id: string;
    agentId: string;
    trait: string;
    delta: number;
    reasoning: string;
    baselineValue: number;
    mutatedValue: number;
    strength: number;
    createdAt: number;
}

Properties

id: string

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

agentId: string

The agent that made this mutation.

trait: string

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

delta: number

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

reasoning: string

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

baselineValue: number

The trait value before this mutation was applied.

mutatedValue: number

The trait value after this mutation was applied.

strength: number

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.

createdAt: number

Unix epoch millisecond timestamp of when this mutation was recorded.