      return state
  
  
  class NativeProcess(ManagerProcess):
    def __init__(self, name, cwd, cmdline, enabled=True, onroad=True, offroad=False, callback=None, unkillable=False, sigkill=False, watchdog_max_dt=None):
      self.name = name
      self.cwd = cwd
      self.cmdline = cmdline
      self.enabled = enabled
      self.onroad = onroad
 
</s> remove     self.onroad = onroad
    self.offroad = offroad
    self.callback = callback
    self.unkillable = unkillable
 </s> add  </s> remove   onroad = True
  offroad = False
  callback: Optional[Callable[[bool, Params, car.CarParams], bool]] = None
 </s> add   should_run: Callable[[bool, Params, car.CarParams], bool]
  def __init__(self, name, cwd, cmdline, should_run, enabled=True, sigkill=False, watchdog_max_dt=None):
      return state
  
  
  class NativeProcess(ManagerProcess):
  def __init__(self, name, cwd, cmdline, should_run, enabled=True, sigkill=False, watchdog_max_dt=None):
      self.name = name
      self.cwd = cwd
      self.cmdline = cmdline
      self.enabled = enabled
      self.onroad = onroad
keep keep keep keep replace keep keep keep keep keep
 manager: refactor process starting logic (#29574)

* refactor into sane api

* always set

* cleanup

* cleanup

* and there too

* fix order

* fail

* and ensure we test

* pass test

pass test

* order

* only diff not related

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com> 
selfdrive/manager/process.py