Skip to content

ci: compare the agent context budget with the PR's base branch - #20

Merged
greaber merged 1 commit into
grant/mainfrom
grant/budget-check-against-base
Nov 20, 2026
Merged

greaber merged 1 commit into
grant/mainfrom
grant/budget-check-against-base

Conversation

@greaber

@greaber greaber commented Nov 20, 2026

Copy link
Copy Markdown
Owner

The Agent context budget check compared agentContextBudget.json with main, the fork's copy of upstream. The fork's agent context is larger than upstream's since #12 and #16 lengthened model-facing text, so every PR into grant/main failed this check (#13, #15, #17, #18, #19), even release PRs that change no agent text. It now compares with the PR's base branch (github.base_ref), so it fails only when a PR itself grows the context.

Check SHA Result
Workflow YAML parses (yaml.safe_load) ac47b7f ok
This PR's own Agent context budget run ac47b7f see the check below (compares with grant/main)

🤖 Generated with Claude Code

The check always compared with main, the fork's mirror of upstream, so
every PR into grant/main failed once the fork's agent context grew past
upstream's (#12, #16), even when the PR changed no agent text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Nov 20, 2026
@greaber
greaber merged commit 27cddb1 into grant/main Nov 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant