Files
gstack/test/fixtures/context-budget.json
garrytanandcapy-ai[bot] f63ed5f7bd feat(capy): vendored Capy skill, frozen bootstrapper and full wrapper bin/gstack-capy-session
capy/skill/gstack/ is the Drive skill's source of truth. scripts/install.sh
is a frozen bootstrapper: it prints gstack-capy-skill: wrapper <n> (<path>),
clones or fetches under .gstack-capy-install.lock, reads the remote
capy/support.env (FETCH_HEAD), fast-forwards a clean unpinned checkout below
GSTACK_MIN_REVISION (refusing dirty, diverged or pinned checkouts with the
exact commands; GSTACK_CAPY_AUTO_UPGRADE=0 disables), and execs the
checkout's own bin/gstack-capy-session with GSTACK_CAPY_LOCK_HELD=1 so the
held lock is never taken twice. Offline it says the remote minimum is
unknown. A Drive copy older than GSTACK_CAPY_MIN_WRAPPER prints an owner
action (CAPY_WRAPPER_STALE). SKILL.md: check at session start, install
lazily before the first workflow, the GSTACK_LAUNCH line, the trailer rule,
the subagent first-report line, gstack-pregate sealed before any push, and
the autoplan/DRIVER.md pointer. The context-budget fixture gains the skill's
entry.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
2026-10-13 01:24:25 +00:00

70 lines
2.0 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": 7396,
"eagerPerInvocation": {
"autoplan": 17055,
"benchmark": 7849,
"benchmark-models": 4231,
"browse": 8961,
"browser-skills/hackernews-frontpage": 371,
"canary": 13520,
"capy/skill/gstack": 2225,
"careful": 1328,
"codex": 15598,
"context-restore": 10995,
"context-save": 10588,
"cso": 4702,
"design-consultation": 16277,
"design-html": 14555,
"design-review": 35819,
"design-shotgun": 14980,
"deslop-shared-libs": 3448,
"devex-review": 20204,
"diagram": 4336,
"document-generate": 11809,
"document-release": 10235,
"eval-plan": 9323,
"freeze": 1194,
"gstack": 4289,
"gstack-upgrade": 5793,
"guard": 1082,
"health": 11521,
"investigate": 12583,
"ios-clean": 8280,
"ios-design-review": 8477,
"ios-fix": 8170,
"ios-qa": 11742,
"ios-sync": 8295,
"land-and-deploy": 19003,
"landing-report": 8993,
"learn": 8708,
"make-pdf": 5348,
"office-hours": 24914,
"open-gstack-browser": 4981,
"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": 11156,
"plan-ceo-review": 20974,
"plan-design-review": 22321,
"plan-devex-review": 17595,
"plan-eng-review": 13479,
"plan-tune": 14773,
"qa": 13497,
"qa-only": 11543,
"retro": 19033,
"review": 21059,
"scrape": 7354,
"setup-browser-cookies": 3628,
"setup-deploy": 11413,
"setup-gbrain": 15696,
"ship": 21161,
"skillify": 11648,
"spec": 14922,
"sync-gbrain": 15477,
"test-audit": 10333,
"unfreeze": 457
}
}