Agent Platform Configuration
Core configuration for AgentPlatform
Functions
Default no-op instrumentation: the core creates no span unless an observability module contributes a real AgentInstrumentation adapter (registered @Primary), which then wins by-type injection and org.springframework.beans.factory.ObjectProvider.getIfUnique. Keeping this bean unconditional (no @ConditionalOnMissingBean) makes resolution order-independent.
Runtime repository, decorated for durability when the application supplies an AgentProcessSnapshotStore. Without a store this is the in-memory repository exactly as before, so behaviour is unchanged for applications that add nothing.
Fallback if we don't have a more interesting logger
Create a ModelProvider bean named "modelProvider".
Used for process id generation
Gets registered as an event listener