Files
gstack/test/fixtures/context-budget.json
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

77 lines
2.1 KiB
JSON

{
"_comment": "Context-budget ratchet ceilings (~tokens). Regenerate: bun test/helpers/capture-context-budget.ts. Headroom: alwaysOnTotal x1.05, eagerPerInvocation x1.1. Graded by test/context-budget-ratchet.test.ts via lib/context-bill.ts checkBudget.",
"alwaysOnTotal": 8000,
"eagerPerInvocation": {
"autoplan": 11289,
"benchmark": 8043,
"benchmark-models": 4086,
"browse": 8943,
"browser-skills/hackernews-frontpage": 371,
"canary": 7738,
"captain": 6551,
"capy/skill/gstack": 5315,
"careful": 1239,
"codex": 9890,
"context-restore": 6287,
"context-save": 5101,
"cso": 4902,
"design-consultation": 10513,
"design-html": 8896,
"design-motion": 4724,
"design-review": 22175,
"design-shotgun": 9318,
"deslop-shared-libs": 3411,
"devex-review": 15303,
"diagram": 4286,
"document-generate": 6013,
"document-release": 4454,
"eval-plan": 5107,
"freeze": 1115,
"gstack": 5350,
"gstack-upgrade": 6297,
"guard": 1000,
"health": 5816,
"investigate": 7795,
"ios-clean": 2436,
"ios-design-review": 2604,
"ios-fix": 2307,
"ios-qa": 5905,
"ios-sync": 2465,
"land-and-deploy": 13585,
"landing-report": 3269,
"learn": 2124,
"make-pdf": 5204,
"modernize": 3772,
"office-hours": 11467,
"open-gstack-browser": 4872,
"openclaw/skills/gstack-openclaw-ceo-review": 2764,
"openclaw/skills/gstack-openclaw-investigate": 1429,
"openclaw/skills/gstack-openclaw-office-hours": 4433,
"openclaw/skills/gstack-openclaw-retro": 2542,
"pair-agent": 5293,
"plan-ceo-review": 15776,
"plan-design-review": 14687,
"plan-devex-review": 12215,
"plan-eng-review": 11369,
"plan-tune": 9215,
"qa": 7644,
"qa-only": 5726,
"retro": 13484,
"review": 15417,
"runaway-stopper": 3841,
"scrape": 7312,
"setup-browser-cookies": 3507,
"setup-deploy": 5738,
"setup-gbrain": 10009,
"ship": 15913,
"skillify": 5849,
"spec": 9136,
"sync-gbrain": 9749,
"test-audit": 4622,
"ubicloud": 3971,
"unfreeze": 409,
"verify": 2896,
"write-skill": 2264
}
}