{"wiki":null,"facts":{"id":"fm-s1","name":"Foreman","machine_name":"FM-S1","owner":"agt_020","function":"Pipeline supervisor — detects dead processes, triggers recovery","process_type":"scheduled","schedule":"Continuous","process_name":"foreman","avatar_color":"#06b6d4","created_for":"Merlin must keep the build pipeline running smoothly and react to problems quickly. FM-S1 specifically watches continuously for processes that have stopped working or gotten stuck.","purpose":"FM-S1 automatically detects when pipeline tasks stop working — when their background processes die or hang. When found, FM-S1 marks the task as failed and alerts Albus (the systems engineer) for recovery. This prevents problems from hiding and lets Merlin focus on deciding how to replan rather than manually hunting for broken processes.","duties":"- Every 2 minutes, checks whether all running pipeline tasks still have live, responsive processes\n- Marks a task as failed if its process is dead or hasn't progressed within that droid type's timeout window\n- On service startup, scans for tasks left orphaned from the previous restart\n- Logs all findings to the activity record","constraints":"- Only watches pipeline execution tasks — does not monitor background services like metrics collection or cost tracking\n- Does not directly alert leadership; routes problems to Albus first so he can diagnose and decide the next step\n- Does not make decisions about replanning a failed task or what recovery should look like\n- Does not use Claude or any AI; relies only on system process checks and the database","status":"running","gender":"female","archetype":"watcher","building_block":"monitor","service_override":null}}