Files
gstack/test/fixtures/context-budget.json
T
Garry TanandClaude Fable 5 e4dce128de feat(test): context-budget ratchet — CI ceilings on always-on + eager token ledgers
New free test grades the two ledgers nothing else guards: the full-frontmatter
always-on catalog (aggregate) and per-skill eager tokens (SKILL.md +
forced-read refs), via checkBudget from lib/context-bill.ts. Ceilings live in
test/fixtures/context-budget.json with x1.05/x1.10 headroom; regenerate with
bun test/helpers/capture-context-budget.ts. New skills fail until consciously
budgeted; removed skills fail until the fixture is refreshed; reductions
ratchet the ceilings down so wins lock in.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-24 16:00:58 +00:00

67 lines
1.9 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": 6423,
"eagerPerInvocation": {
"autoplan": 27445,
"benchmark": 10114,
"benchmark-models": 9086,
"browse": 15469,
"browser-skills/hackernews-frontpage": 371,
"canary": 15492,
"careful": 919,
"codex": 26760,
"connect-chrome": 9687,
"context-restore": 14506,
"context-save": 15123,
"cso": 20096,
"design-consultation": 18557,
"design-html": 20573,
"design-review": 29138,
"design-shotgun": 19603,
"devex-review": 20496,
"diagram": 9104,
"document-generate": 17251,
"document-release": 15048,
"freeze": 990,
"gstack": 8806,
"gstack-upgrade": 3981,
"guard": 889,
"health": 15704,
"investigate": 16357,
"ios-clean": 13881,
"ios-design-review": 14062,
"ios-fix": 13835,
"ios-qa": 16132,
"ios-sync": 14005,
"land-and-deploy": 28990,
"landing-report": 14416,
"learn": 14086,
"make-pdf": 10214,
"office-hours": 26763,
"open-gstack-browser": 9687,
"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": 16436,
"plan-ceo-review": 24431,
"plan-design-review": 23872,
"plan-devex-review": 21713,
"plan-eng-review": 18652,
"plan-tune": 19660,
"qa": 23445,
"qa-only": 17927,
"retro": 24885,
"review": 29309,
"scrape": 9196,
"setup-browser-cookies": 8377,
"setup-deploy": 15246,
"setup-gbrain": 25164,
"ship": 23847,
"skillify": 17092,
"spec": 22662,
"sync-gbrain": 18874,
"unfreeze": 393
}
}