Derive prompt size budgets from a checked-in baseline - #992
Merged
TheGreatAxios merged 2 commits intoSep 13, 2026
Merged
TheGreatAxios merged 2 commits into
TheGreatAxios merged 2 commits into
Conversation
The checked-in emil snapshot predates the CMO restore; the rebased tree measures 22770 chars / 22922 bytes on grok, which exceeds the derived budget. Refresh the baseline so the budget covers the restored prompt.
Collaborator
Author
|
Fixed the stale emil baseline (commit a407a12). PROMPT_SIZE_BASELINE.emil was pre-CL-7801 residue (14653/14765); verified live against the post-restore tree (emil grok measures 22770 chars / 22922 bytes) and updated the entry to { chars: 22770, bytes: 22922 }, which derives budgets of 24800/26000. prompt-sizes suite: 7 pass, 0 fail; tsc --noEmit clean. No merge — returning to the train. |
Collaborator
Author
|
Fix verified: checked out PR head a407a12 in an isolated worktree — bun test src/agent/prompt-sizes.test.ts 7 pass / 0 fail (including every assembled prompt stays within budget), bun run typecheck clean. git log origin/main..HEAD is exactly the two intended commits (8c2f780 + a407a12, emil baseline {22770, 22922}). Proceeding to merge check. |
TheGreatAxios
marked this pull request as ready for review
September 13, 2026 19:35
TheGreatAxios
added a commit
that referenced
this pull request
Sep 14, 2026
* Derive prompt size budgets from a checked-in baseline snapshot * Correct emil baseline for the CL-7801 full-fidelity restore The checked-in emil snapshot predates the CMO restore; the rebased tree measures 22770 chars / 22922 bytes on grok, which exceeds the derived budget. Refresh the baseline so the budget covers the restored prompt.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces parallel CHAR/BYTE_BUDGET records with a single baseline snapshot + budgetFor(). Per-director churn eliminated; growth guardrail preserved.
Closes CL-7910