Skip to main content

Crate ainl_persona

Crate ainl_persona 

Source
Expand description

Persona evolution over AINL graph memory — soft axes, metadata-only signals.

See EvolutionEngine for the main entry point.

Re-exports§

pub use axes::AxisState;
pub use axes::PersonaAxis;
pub use engine::EvolutionEngine;
pub use engine::INGEST_SCORE_EPSILON;
pub use extractor::GraphExtractor;
pub use fitness::PersonaSnapshot;
pub use signals::MemoryNodeType;
pub use signals::RawSignal;

Modules§

axes
Named persona axes — soft spectra, not discrete classes.
engine
EvolutionEngine — persona axes with explicit extract / ingest / snapshot / write phases.
extractor
Pull raw persona signals from SqliteGraphStore for one agent.
fitness
Persona snapshot + fitness helpers (EMA targets live on AxisState).
persona_node
Persist evolved axis bundle as a dedicated PersonaNode row (read → patch → write).
signals
Metadata-driven RawSignal extraction from graph memory nodes.

Constants§

AXIS_EVOLUTION_SNAPSHOT
Stable alias for the same trait string (documentation / import ergonomics).
EVOLUTION_TRAIT_NAME
Canonical ainl_memory::PersonaNode::trait_name for axis-evolution bundles. graph_extractor (Prompt 2) should import this from the crate root when selecting persona rows for domain / formality signals — do not duplicate the string.