Repository navigation
fix(ci): compare agent context budget with the PR base - #6
Merged
Merged
Conversation
djgilcrease
added a commit
that referenced
this pull request
Nov 17, 2026
fix(ci): compare agent context budget with the PR base
djgilcrease
added a commit
that referenced
this pull request
Nov 18, 2026
fix(ci): compare agent context budget with the PR base
djgilcrease
added a commit
that referenced
this pull request
Nov 19, 2026
fix(ci): compare agent context budget with the PR base
djgilcrease
added a commit
that referenced
this pull request
Nov 20, 2026
fix(ci): compare agent context budget with the PR base
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.
The agent-context workflow compares every PR with
main, so contributions targeting the prototype integration branch fail on context growth already present in their target. PR #4 reproduces this: both its head and target record 50,056 MCP tool-list bytes, whilemainrecords 48,217.Compare against the PR event's pinned
base.sha, passed through an environment variable, and retain the existing growth rejection and explicit maintainer-acceptance behavior. This neither edits the budget nor accepts new context growth. It fixes the baseline for every non-main target and still compares main-targeting PRs against main.Validation:
actionlint .github/workflows/agent-context-budget.ymlpasses. Executing the actual workflow shell step against disposable Git repositories confirms unchanged prototype context passes, the old-main control fails, new growth fails, and the existing explicit acceptance flag still passes.vp run check:changed origin/t3/create-plugin-system --concurrency 1passes format, typechecks and the selected tests.PR #4 was merged externally by djgilcrease while this inherited gate failure and other hosted checks were unresolved. This follow-up does not turn its pending checks into passing evidence; stable plugin release and discussion announcements remain gated on verification.
Implemented by gpt-6.1-sol (high) through the Codex harness on behalf of Dj Gilcrease.