10]. * * @return array */ public function subscribed_events(): array; /** * Handle a task within the context budget. Must never throw for expected * failures — return AgentResult::failed() so the journal can fingerprint it. * * @param Task $task The task. * @param AgentContext $context Execution context. */ public function handle( Task $task, AgentContext $context ): AgentResult; /** * Self-check for the sentinel's daily sweep. * * @param AgentContext $context Execution context. */ public function self_check( AgentContext $context ): HealthReport; }