$reason ) ), 0.0 ); } /** * The agent declines the task (wrong scope, disabled subsystem…). * * @param string $reason Refusal reason. */ public static function refused( string $reason ): self { return new self( self::STATUS_REFUSED, array( 'reason' => $reason ), 1.0 ); } /** * Whether the orchestrator must dispatch a verification pass. */ public function requires_verification(): bool { return $this->needs_verification || ( self::STATUS_OK === $this->status && $this->confidence < 0.6 ); } }