Expand description
Agent supervisor for process lifecycle management.
The AgentSupervisor manages the full lifecycle of kernel-managed
agents: spawn, stop, restart, inspect, and watch. It wraps the
existing AgentLoop spawn mechanism without replacing it, adding
capability enforcement, resource tracking, and process table integration.
Structs§
- Agent
Supervisor - Manages the lifecycle of kernel-managed agent processes.
- Enclave
Config - Placeholder configuration for TEE enclaves (D14, C8).
- Restart
Budget - Restart budget: max N restarts within M seconds.
- Restart
Tracker - Restart state tracking per supervised agent.
- Spawn
Request - Request to spawn a new supervised agent process.
- Spawn
Result - Result of a successful agent spawn.
Enums§
- Resource
Check Result - Result of a resource limit check.
- Restart
Strategy - Supervisor restart strategy (Erlang-inspired).
- Spawn
Backend - Execution backend for spawning an agent process.
Functions§
- check_
resource_ usage - Check resource usage against limits and return the worst result.