Skip to main content

Module spawn_customizer

Module spawn_customizer 

Source
Expand description

Classic-mob agent memory (docs/design/agent-memory-architecture.md §8.2, §9.1) without the identity-first orchestration layer.

Memory is keyed by AgentIdentity, which every mob member already has — it does not require the continuity/roster machinery. This module carries the BASIC memory surface onto the classic mob path through meerkat-mob’s pre-build seam (meerkat_mob::SpawnMemberCustomizer, applied to every member spawn including resume restores): the Recorder memory tool and the echo-safe build-time injection block. The ADVANCED lifecycle features (distill-on-respawn/reset/retire, exit interviews, per-turn ambient injection) stay bound to IdentityRuntime.

Per-turn injection on the classic path is a deliberate no-op: the P0.1 echo-safety default is AgentMemoryPerTurnInjection::Off, and the classic send path has no injection hook yet. A classic-mob per-turn hook is a scoped follow-up (see the design doc §9.1); until then budgeted only takes effect on identity-first members.

Structs§

MemorySpawnCustomizer
Per-spawn memory customizer for classic (roster-less) mobs. One instance serves the whole mob runtime; recorder dispatchers are re-created per spawn, so the tool surface stays restore-safe exactly like the identity-first customize_build path.