code: def _init_options(self, kwargs):
          
          self.options = self.task_config.options
          if self.options is None:
              self.options = {}
          if kwargs:
              self.options.update(kwargs)
  
          # Handle dynamic lookup of project_config values via $project_config.attr
          for option, value in list(self.options.items()):
              try:
                  if value.startswith("$project_config."):
                      attr = value.replace("$project_config.", "", 1)
                      self.options[option] = getattr(self.project_config, attr, None)
              except AttributeError:
                  pass
docs: Initializes self.options