Skip to content

Commit 61fe39a

Browse files
committed
fix(prompts): budget greybeard-grok overage from ceremony fold-in + #1121 growth
1 parent a98cf9d commit 61fe39a

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

‎src/agent/prompt-sizes.test.ts‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,18 @@ const PROMPT_SIZE_BASELINE: Record<
7676

7777
/**
7878
* Deliberate budgets above baseline + allowance, with justification.
79-
* Empty after the origin/main rebase: every main budget fits within fresh
80-
* baseline + allowance (draper/warden included), and the entries where main
81-
* reads higher (intern, testsmith, gauntlet, prober) are stale-measurement
82-
* residue, not deliberate over-allowance.
79+
* greybeard: the grok residual (tool budget + 8-line ceremony, folded into the
80+
* canonical promptResidual seam verbatim under CL-8296) plus the upstream
81+
* greybeard-package growth (#1121) pushed greybeard-grok to 8218 chars,
82+
* 218 over the 8000 baseline + allowance budget. Trimming the greybeard body
83+
* is greybeard-lane-owned, so the overage is budgeted here instead; bytes
84+
* stay at the current budget level (measured 8248 < 9000).
8385
*/
8486
const PROMPT_SIZE_OVERRIDES: Partial<
8587
Record<DirectorId, { chars: number; bytes: number }>
86-
> = {};
88+
> = {
89+
greybeard: { chars: 8300, bytes: 9000 },
90+
};
8791

8892
const CHAR_ALLOWANCE = 2000;
8993
const BYTE_ALLOWANCE = 3000;

0 commit comments

Comments
 (0)