Skip to content

fix: preserve Dependabot burner remediation instructions - #78183

Merged
pelikhan merged 4 commits into
mainfrom
pelikhan/jubilant-waffle
Nov 16, 2026
Merged

pelikhan merged 4 commits into
mainfrom
pelikhan/jubilant-waffle

Conversation

@pelikhan

Copy link
Copy Markdown
Collaborator

Why

Dependabot Burner selected the open dependency PRs but exhausted its five tool-permission denials before remediation in run 43604134669. Separately, implicit inline-agent extraction stopped the remediator at its first H2 heading, dropping its result, validation, and PR-creation instructions.

Approach

  • Explicitly close every inline agent and keep the orchestrator and extracted remediation contracts within the 7,500-byte instruction budget.
  • Narrow analyzer tool access, document the actual github and safeoutputs executables, stop shell calls after a denial, and prevent nested or repeated analysis.
  • Skip retry synthesis only when history analysis confirms a first attempt with no maintainer feedback; unavailable feedback remains unknown.
  • Give generated job concurrency groups a run-specific discriminator while preserving workflow-level serialization.

Regressions exercise the actual runtime extraction and SDK agent loading, complete remediation sections, prompt byte limits, compiled permission policy, and previously denied probes. Existing credentials, firewall, denial budget, protected-file policy, all-ecosystem selection, and one replacement PR limit remain unchanged.

Validation

  • node --test scripts/dependabot-burner-selection.test.cjs scripts/workflow-tool-contracts.test.cjs: 21 tests passed.
  • make recompile: all 368 workflows compiled; only the burner lock changed.
  • Diagnostic ./gh-aw compile dependabot-burner --dry-run --no-check-update --json: gate and shellcheck passed with two existing nonblocking experimental notices. The committed lock is the production compilation, not the diagnostic lock.
  • make agent-report-progress: passed, including instruction-prefix and workflow-lock freshness checks.
  • Read-only security review: PASS for the exact committed source, lock, and test hashes; no confirmed vulnerabilities.

Limitations

This fixes the audited abort and missing remediation instructions, not every dependency-validation limitation. Existing parameterized Go/Python checks can remain unavailable under the unchanged shell policy and must be reported as per-PR blockers. The workflow-specific executable contract takes precedence over generic pagination examples. No workflow was dispatched, so hosted remediation remains unverified.

Keep complete inline remediation prompts, constrain analysis tools, and avoid repeated retry discovery under the existing workflow permission policy.

Co-authored-by: Copilot <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@pelikhan
pelikhan marked this pull request as ready for review November 16, 2026 00:05
Copilot AI adaptive review requested due to automatic review settings November 16, 2026 00:05
pelikhan and others added 2 commits November 16, 2026 00:17
Preserve upstream single-worker Dependabot orchestration and parent-owned publication while retaining complete bounded worker extraction and regression coverage.

Co-authored-by: Copilot <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Include base-branch commits published during conflict resolution and validation.

Co-authored-by: Copilot <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The workflow’s commit ban and blanket shell shutdown after a validation denial block the Git preparation and safeoutputs commands needed to publish validated dependency updates.

1 open issue
What changed in this PR

This PR preserves Dependabot Burner’s complete remediation instructions during inline-agent extraction and tightens agent behavior within gh-aw’s instruction budget.

Changes:

  • Add explicit agent boundaries, narrower tool lists, and clearer executable, denial, and retry guidance.
  • Give generated jobs run-specific concurrency groups while retaining workflow-level serialization.
  • Extend regression coverage for runtime extraction, prompt sizes, and compiled tool permissions.
File Description
scripts/​dependabot-burner-selection.test.cjs Adds runtime agent-loading, prompt-completeness, size-limit, and permission checks.
.github/​workflows/​dependabot-burner.md Defines complete agent contracts, bounded retry handling, and a job concurrency discriminator.
.github/​workflows/​dependabot-burner.lock.yml Refreshes generated metadata, agent tool declarations, and job concurrency groups.

Review effort: Max (dynamic)

Check the full runtime agent identity list and rely on the exact remediator tool allowlist rather than alias-unsafe blacklist guards.

Co-authored-by: Copilot <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
@pelikhan
pelikhan merged commit 222f662 into main Nov 16, 2026
53 checks passed
@pelikhan
pelikhan deleted the pelikhan/jubilant-waffle branch November 16, 2026 00:50
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants