Skip to content

Reduce Smoke Codex first-request prompt surface by enabling GitHub gh-proxy mode#36828

Merged
pelikhan merged 3 commits into
mainfrom
copilot/ambient-context-daily-optimizer-again
Jun 4, 2026
Merged

Reduce Smoke Codex first-request prompt surface by enabling GitHub gh-proxy mode#36828
pelikhan merged 3 commits into
mainfrom
copilot/ambient-context-daily-optimizer-again

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jun 4, 2026

The ambient context analysis identified prompt bloat in Smoke Codex, with the <mcp-clis> block far larger than peer workflows. This change applies the highest-leverage recommendation by switching GitHub tooling to gh-proxy, reducing always-injected CLI context.

  • What changed

    • Added tools.github.mode: gh-proxy to .github/workflows/smoke-codex.md.
    • Recompiled the workflow, updating .github/workflows/smoke-codex.lock.yml to reflect the new tool injection path and metadata hashes.
  • Why this matters

    • Targets one of the largest controllable contributors to first-request size in smoke-codex.
    • Aligns Smoke Codex with the leaner GitHub MCP CLI injection pattern already used elsewhere.
  • Config delta (source workflow)

    tools:
      github:
        mode: gh-proxy

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Set tools.github.mode to gh-proxy on smoke-codex.md Reduce Smoke Codex first-request prompt surface by enabling GitHub gh-proxy mode Jun 4, 2026
Copilot AI requested a review from pelikhan June 4, 2026 05:04
@pelikhan pelikhan marked this pull request as ready for review June 4, 2026 05:05
Copilot AI review requested due to automatic review settings June 4, 2026 05:05
@pelikhan
Copy link
Copy Markdown
Collaborator

pelikhan commented Jun 4, 2026

@copilot merge main and recompile

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to reduce the first-request prompt surface area for the Smoke Codex workflow by explicitly enabling tools.github.mode: gh-proxy, and includes a broad set of regenerated *.lock.yml workflows that now pin certain container images by digest.

Changes:

  • Set tools.github.mode: gh-proxy in .github/workflows/smoke-codex.md.
  • Regenerated many workflow lockfiles, updating gh-aw-manifest metadata and download_docker_images.sh arguments to use digest-pinned images for gh-aw-mcpg and (where present) github-mcp-server.
Show a summary per file
File Description
.github/workflows/smoke-codex.md Explicitly sets tools.github.mode: gh-proxy for Smoke Codex.
.github/workflows/workflow-skill-extractor.lock.yml Regenerated lockfile; pins gh-aw-mcpg/github-mcp-server images by digest and updates download step.
.github/workflows/weekly-editors-health-check.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/video-analyzer.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/update-astro.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/test-workflow.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/test-dispatcher.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/smoke-workflow-call.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/smoke-temporary-id.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/smoke-service-ports.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/smoke-opencode.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/smoke-crush.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/smoke-copilot-sdk.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/smoke-ci.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/smoke-agent-public-none.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/smoke-agent-public-approved.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/smoke-agent-all-none.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/smoke-agent-all-merged.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/research.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/repo-tree-map.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/pr-nitpick-reviewer.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/pr-description-caveman.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/pr-code-quality-reviewer.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/issue-triage-agent.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/github-remote-mcp-auth-test.lock.yml Regenerated lockfile; digest-pins gh-aw-mcpg image and updates download step.
.github/workflows/github-mcp-tools-report.lock.yml Regenerated lockfile; digest-pins gh-aw-mcpg image and updates download step.
.github/workflows/firewall.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/example-permissions-warning.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/docs-noob-tester.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/designer-drift-audit.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/dependabot-go-checker.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/dependabot-burner.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/daily-team-evolution-insights.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/daily-syntax-error-quality.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/daily-skill-optimizer.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/daily-sentrux-report.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/daily-regulatory.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/daily-malicious-code-scan.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/daily-byok-ollama-test.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/copilot-pr-merged-report.lock.yml Regenerated lockfile; digest-pins gh-aw-mcpg image and updates download step.
.github/workflows/codex-github-remote-mcp-test.lock.yml Regenerated lockfile; digest-pins gh-aw-mcpg image and updates download step.
.github/workflows/bot-detection.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/blog-auditor.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/agentic-token-optimizer.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.
.github/workflows/ace-editor.lock.yml Regenerated lockfile; digest-pins MCP-related images and updates download step.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 175/241 changed files
  • Comments generated: 1

Comment on lines 39 to 46
@@ -41,6 +41,7 @@ tools:
cache-memory: true
comment-memory: true
github:
mode: gh-proxy
playwright:
mode: cli
…xt-daily-optimizer-again

# Conflicts:
#	.github/workflows/daily-cache-strategy-analyzer.lock.yml
#	.github/workflows/daily-fact.lock.yml
#	.github/workflows/daily-observability-report.lock.yml
#	.github/workflows/dev.lock.yml
#	.github/workflows/duplicate-code-detector.lock.yml
#	.github/workflows/grumpy-reviewer.lock.yml
#	.github/workflows/issue-arborist.lock.yml
#	.github/workflows/necromancer.lock.yml
#	.github/workflows/schema-feature-coverage.lock.yml
#	.github/workflows/smoke-call-workflow.lock.yml
#	.github/workflows/smoke-codex.lock.yml

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan pelikhan merged commit 66c165e into main Jun 4, 2026
@pelikhan pelikhan deleted the copilot/ambient-context-daily-optimizer-again branch June 4, 2026 05:17
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Jun 4, 2026

@copilot merge main and recompile

Done in f67dca45bb: merged main into this branch, resolved merge conflicts, and recompiled smoke-codex (.github/workflows/smoke-codex.lock.yml).

Copilot AI restored the copilot/ambient-context-daily-optimizer-again branch June 4, 2026 05:18
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.

[ambient-context] Daily Ambient Context Optimizer - 2026-06-04

3 participants