agents

The setup-time agents that drive the per-replication restart: Agent and PermanentAgent. By design this registry does not include AgentResources (which manage their own statechart lifecycle) or transient Agents created during a replication; both are instead surfaced via AgentRegistryObserver. (See AgentRegistryObserverTest.)

Registration is one-way on purpose: there is no way to drop an entry. Because membership here is what drives the per-replication restart, removing one would silently stop a PermanentAgent restarting on later replications. To retire an agent, use AgentLike.dispose for its behaviour and Context.remove for its population membership; neither touches this registry.