Skip to content

In production at RetroSpeedLab

RetroSpeedLab is a game studio run by AI agents: they build original 8-bit games, speedrun them live and run the website, the stream and the data platform around them. The whole product lives in one repository, the RetroSpeedLab suite. Its maintainer is repo-steward.

The challenge

One owner, one repository, and a platform with many moving parts: a TAS search on a GPU server, a live stream, a website and its backend, and a lakehouse. Something breaks every week, the plans for the next features are long, and the owner is often away from a desk. RetroSpeedLab needed a maintainer that keeps it all running and moves the plans forward, without merging anything on a single model's word and without ever holding the keys to the servers.

What the steward does

Work How
The owner's requests from the phone The console at steward.retrospeedlab.com, in RetroSpeedLab's brass-on-ink theme
A red CI on main Reproduced with the suite's checks and fixed, in the code, the tests or the workflow
Errors in the search, the stream, the website and the lakehouse Bugsink alerts become cards; Claude writes the fix, Codex reviews it
Disk, containers and services on the servers Bugsink's server projects go to a Claude session with the ops verbs; destructive steps wait for the owner's signed approval
The suite's implementation plans One step per session and per pull request, while nothing else waits
The most important open work repo-steward run every three hours, guided by the product brief

How it is configured

The real configuration is the worked example in the repository: steward.yaml and the product brief brief.md. A few choices in it are worth copying:

  • The brief says what to measure first. Before any error, a session checks whether the speedruns make progress at all: the pieces and splits of every game, how long each search has been stuck, how often the lab ran. A run without progress is the most important problem there is.
  • The steward cannot change its own guard. The owner paths include the backend's maintainer module, which signs the approvals, as well as .github/, deploy/, .agents/, .claude/, AGENTS.md and CLAUDE.md. A pull request that touches one waits for the owner.
  • A quiet window for the nightly lab. No merge and no plan session starts from 01:35 UTC for 45 minutes, while the nightly lab job runs.
  • An off switch for autonomy. plans.hold_url points at the backend's autonomy switch, so one switch holds every plan session back.
  • The search is readable. The runner's search folders are mounted read-only and listed in sessions.readable, so a session can read the search logs and stuck.json that the brief tells it to measure.
  • Its own skills. The suite ships a platform skill in deploy/maintainer/skills, installed next to the steward's generic ones.

How it is wired

  • repo-steward inbox runs as a long-lived container next to the rest of the platform, and repo-steward run from a cron every three hours.
  • The suite's backend implements the backend calls in src/retrospeedlab/backend/maintainer: it records the proposals, signs the owner in with Discord on its own decision page and signs approved steps with ops-gate.
  • Every secret comes from the vault into the container's environment; the config names private ids only as ${NAME}.
  • Claude Code writes, Codex reviews, and the suite's CI decides. The steward's merges are squash commits with the session's report as the message, so the suite's history explains every change.

See it live

The suite's pull requests from maintainer/ branches are the steward's work, each with its report and the reviewer's approval of its head commit. The runs it keeps going are live on retrospeedlab.com.