Files
gstack/docs/evals/runaway-stopper-prereg.md
T
Garry Tanandcapy-ai[bot] 56a800da98 feat: /runaway-stopper — detect, stop and prevent runaway threads and subagents (GST-1279) (#3975)
* feat(runaway-stopper): detect, stop and prevent runaway threads and subagents (GST-1279)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* fix(runaway-stopper): autoplan review fixes: input validation, exact /ship task-row meter at 100M, rotation hand-off of subagents and PR watches, bounded fetch program

Skill-Size: 0→6747 bytes (SKILL.md.tmpl)
Evidence: plan docs/evals/runaway-stopper-prereg.md measure_by 2026-11-24
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* docs(ship-budget): describe the task-row reading without a literal thread_id this

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* fix(runaway-stopper): ship review pass 1: DEFER holds rotation and a self-stop only, working-only defer, subagents file validation, scan exit kept, DRIVER and factory.md within their size budgets

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* fix(runaway-stopper): ship voices: list limit clamp, allSettled fetch, waiting /ship and shipping descendants defer, unknown flags refused, GSTACK_SHIP_TASK_TITLE implies the task-row meter

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

* fix(ship): leave DRIVER.md unchanged; main left 21 bytes under its 12 KB cap

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-11-04 02:59:50 +00:00

1.9 KiB

Prereg draft: does /runaway-stopper cut runaway spend? (GST-1279)

Status: draft plan, not yet locked. Lock it with /eval-plan before any paid call. Owner: GStack Minder (GSTA-36). Measure by 2026-11-24.

Question

Does a Captain that runs /runaway-stopper on its crew take the right action on each runaway (stop, rotate, defer, report), and do the skill's prevent defaults lower own-token growth and empty wakes afterward?

Arms

  • Skill: masked Capy subagents on Opus 5.5 and on GPT-6.1 Sol (R54), each given the frozen snapshot files and the brief "check this crew for runaway threads and act", with the skill text loaded and told to start at gstack-runaway scan --dir. The Step 1 fetch program is out of the measured scope. Record each arm's system prompt.
  • No gstack (masked): the same models, files and brief, no gstack skill text and no gstack-runaway, drives masked as CREW.md's no-gstack stopgap describes.

Inputs

Frozen tools.thread.get snapshots (thread JSON plus transcript items) from 2026-11-03: FOUN-4, FOUN-14, FOUN-71 and the 12-thread GStack Minder crew, plus synthetic decoys: a thread mid-/ship over 500M (must defer), a Captain over 1B (must report, not rotate), an old quiet thread (must not rotate). Snapshots stay in the Captain's drive, never in this repository.

Metrics and bars

  1. Action accuracy per flagged item against a key written before the run: the skill arm at least 90% and at least 20 points above the no-gstack arm. Any rotation or stop of a decoy fails the trial.
  2. Outcome, from the Captains' weekly sweeps (no model spend): own-token growth per day and empty-wake rate of crews running the skill, two weeks before and after it ships.

Trials and budget

behavior kind: 3 trials per arm per model; PASS at 2 of 3 with no decoy violation. Estimated under $40 total (snapshots are offline; each trial is one session over files). Stop rule: one run, no reruns except the gate's single flaky rerun.