Files
gstack/test/fixtures/context-budget.json
T
Garry TanandClaude Fable 5 c11e44b93a fix(test): adversarial findings — stable root key, symlink-alias dedupe, fixture-shape guard
Adversarial review (Claude subagent) verified the fixture's root-skill key was
the capture machine's checkout dirname: any non-gstack-named clone (every
Conductor worktree) failed the free suite, and the documented re-run-the-capture
recovery baked the local dirname into the committed fixture — silent corruption
through the tool's own protocol. The root skill is now pinned to ROOT_SKILL_KEY
('gstack', its frontmatter name). Symlink aliases are realpath-deduped (census
precedent): connect-chrome no longer gets its own ceiling, so Windows checkouts
that materialize the symlink as a plain file can't fail the stale-ceiling
set-equality test. New guards: fixture-shape validation (a string alwaysOnTotal
can no longer silently disable the ceiling), a mutation pin that the filter
shrinks the always-on ledger vs the raw bill, an alwaysOnTotal violation test
(the branch was load-bearing with only under-budget coverage), and an atomic
temp+rename fixture write. Fixture regenerated: 59 ceilings, alwaysOnTotal 6344.
Deferred with a TODO: anchoring transformFrontmatter's denylist strip to the
frontmatter block (latent, zero live collisions, pre-existing path).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-25 02:53:25 +00:00

66 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": 6344,
"eagerPerInvocation": {
"autoplan": 27445,
"benchmark": 10114,
"benchmark-models": 9086,
"browse": 15469,
"browser-skills/hackernews-frontpage": 371,
"canary": 15492,
"careful": 919,
"codex": 26760,
"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": 29370,
"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": 25250,
"ship": 23847,
"skillify": 17092,
"spec": 22662,
"sync-gbrain": 18874,
"unfreeze": 393
}
}