{"wiki":{"id":1058,"slug":"fm-s2","entity_type":"droid","entity_id":"fm-s2","title":"Foreman Twin","prose_md":"## About\n\nForeman Twin is an on-demand health-check droid that gives [[agt_020]] an instant snapshot of the [[pipeline]]. When Merlin suspects something is wrong—a process stuck, a recent cascade of failures—he triggers this droid instead of waiting for a scheduled check. It scans for crashed jobs that were never cleaned up, lists every droid currently executing, and tallies failures from the last hour, logging everything in a single digest.\n\nThe droid belongs to the **watcher** family, a standard reusable pattern that 14 droids across multiple agents (including [[agt_001]], [[agt_010]], [[agt_015]], and others) use to keep an eye on system health. However, the Foreman Twin configuration is unique to Merlin—no other agent runs a droid with that exact name or the same on-demand snapshot logic. It acts purely as a diagnostic assistant, feeding data to [[monitoring]] routines without taking any action itself.\n\nForeman Twin is **pure software**—it never calls Claude or any large language model. Its value is in speed and focus: read the pipeline state, count and list, report. Merlin consults the results to decide whether to replan, attempt a manual recovery, or escalate to a deeper investigation.","namesake_json":"{\"engine\": \"software\", \"model\": null, \"claude_purpose\": null, \"family\": \"watcher\", \"family_size\": 14, \"is_unique\": true}","profile_pic_path":"avatars/droid/fm-s2.png","source_hash":"0b8a3b05ca812e77d3568d6df0107768c2f76e94d55022241766747c9afd234b","status":"active","last_generated_at":"2026-07-27 03:33:13","created_at":"2026-07-27 03:32:59","updated_at":"2026-08-08 03:26:29"},"facts":{"id":"fm-s2","name":"Foreman Twin","machine_name":"FM-S2","owner":"agt_020","function":"On-demand pipeline health check","process_type":"triggered","schedule":"On demand","process_name":"foreman_twin","avatar_color":"#94a3b8","created_for":"Merlin is responsible for keeping the build pipeline running day-to-day and making tactical decisions — such as whether to change the plan or restart something when problems happen. To make those decisions well, Merlin needs to see what's currently happening. FM-S2 helps by giving Merlin an on-demand snapshot of pipeline health.","purpose":"When Merlin suspects a problem or needs to understand the current state, FM-S2 delivers an instant health snapshot — what's running, what recently failed, what processes may be stuck. This lets Merlin diagnose issues faster and decide whether to replan or attempt recovery without having to wait for scheduled checks.","duties":"FM-S2 scans for crashed processes that were not cleaned up, lists all currently executing droids, counts recent failures (last hour), and logs the findings. It runs only when manually triggered, not on a schedule.","constraints":"FM-S2 does not fix failures, restart droids, or make decisions. It only reads the pipeline state and reports what it sees. Merlin interprets the data and decides on next steps.","status":"retired","gender":"male","archetype":"watcher","building_block":"monitor","service_override":null,"enabled":0,"task_key":null,"model_free":0},"page":{"type":"droid","page_class":"main","class_label":"Main page","kind_label":"Droid","kind_gloss":"","listed":true}}