Skip to content

fix(ci): compare agent context budget with the PR base - #6

Merged
djgilcrease merged 1 commit into
t3/create-plugin-systemfrom
fix/plugin-pr-budget-base
Nov 10, 2026
Merged

djgilcrease merged 1 commit into
t3/create-plugin-systemfrom
fix/plugin-pr-budget-base

Conversation

@djgilcrease

Copy link
Copy Markdown
Owner

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, while main records 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.yml passes. 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 1 passes 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.

@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Nov 10, 2026
@djgilcrease
djgilcrease merged commit a3e3291 into t3/create-plugin-system Nov 10, 2026
9 of 20 checks passed
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
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