FrankenCrew: I stitched a Go kernel watchdog, a Kiro Crew, and a WhatsApp poll into one server monster
I wrote this post as part of the Kiroween 2026 hackathon, where FrankenCrew is my entry in the Frankenstein category. Small Linux servers die in a predictable way. One process leaks memory, the kernel spends more and more time reclaiming pages, every request slows down, and finally the OOM killer picks a victim. On a company fleet an on-call engineer gets paged. On a side project, a student lab,…
For the Kiroween 2026 hackathon, I composed FrankenCrew, a single server solution integrating three distinct components. This server, known as the FrankenCrew, tackles small Linux server crashes that typically follow memory leaks, kernel page reclaim delays, and ultimately the OOM killer picking a target. Often, on-call engineers are paged or students and lab users may not notice until the next morning.
The FrankenCrew is composed of three distinct parts: Reflexes, Thinking, and Human-in-the-loop. Reflexes are deterministic, fast-acting actions, while Thinking involves LLM agents analyzing logs and proposing fixes. Human-in-the-loop refers to irreversible actions like restarts or reloads, which require human approval.
The Reflexes component, known as the Sentinel, is a small Go daemon that monitors memory.current, memory.pressure (PSI), and memory.events once per second. It also wakes up early when the kernel signals a PSI trigger or a memory.events change. The Sentinel uses an exponentially weighted moving average (EWMA) to project the time to OOM and assigns a severity.
If a P1 or P2 incident is detected, the reflex engine applies a bounded action such as memory.reclaim or a runtime MemoryHigh throttle, each capped at 25% of the current memory usage.
The Thinking component of FrankenCrew is made up of a Kiro Crew of four agents, who triage the incident and write a plan. Anything that requires irreversible actions, such as restarts or reloads, is handled by a human who votes on the suggested solution via a WhatsApp poll. The vote creates an Ed25519 cryptographic token, bound to the incident and plan hash, which the Sentinel then verifies before performing any action.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to