Align daily ambient context optimizer with proxy-aware CLI guidance#36738
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
Update daily ambient context optimizer for CLI proxy feature checks
Align daily ambient context optimizer with proxy-aware CLI guidance
Jun 3, 2026
Copilot created this pull request from a session on behalf of
pelikhan
June 3, 2026 21:55
View session
pelikhan
reviewed
Jun 3, 2026
|
|
||
| Also review proxy/CLI feature readiness for each sampled workflow: | ||
|
|
||
| - GH Proc enabled (check `features.gh-proc: true` or an equivalent GH Proc enablement marker in frontmatter) |
| 2. reduce broad skill loading or oversized skill fusion | ||
| 3. simplify or remove low-value inline agents | ||
| 4. move deterministic data gathering out of the main prompt | ||
| 5. enable GH Proc, `gh-proxy`, and `cli-proxy` when missing, then rewrite MCP-tool-oriented problem wording to CLI-form commands |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Collaborator
|
@copilot merge main and recompile |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Daily Ambient Context Optimizer workflow to be proxy-aware (GitHub gh-proxy + cli-proxy) and to prefer CLI-based operational guidance over MCP-tool-specific instructions, so its optimization recommendations better match the repository’s intended execution model.
Changes:
- Enabled
tools.cli-proxy: trueandtools.github.mode: gh-proxyfor the optimizer workflow and regenerated its compiled lockfile accordingly. - Replaced MCP-tool-specific run collection instructions with equivalent
gh aw logs/gh aw auditCLI commands. - Refreshed multiple workflow lockfiles (notably GitHub MCP server container version bumps as part of regeneration/sync).
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/daily-ambient-context-optimizer.md | Enables cli-proxy + gh-proxy and rewrites run/audit collection guidance to gh aw CLI form; adds proxy-readiness checks and recommendation policy notes. |
| .github/workflows/daily-ambient-context-optimizer.lock.yml | Regenerated compiled workflow to start/stop CLI proxy, adjust injected prompt guidance, and align MCP CLI mounting/server list with proxy execution. |
| .github/workflows/daily-code-metrics.lock.yml | Regenerated lock manifest (includes GitHub MCP server container version bump). |
| .github/workflows/chaos-pr-bundle-fuzzer.lock.yml | Regenerated lock manifest (includes GitHub MCP server container version bump). |
| .github/workflows/agentic-token-trend-audit.lock.yml | Regenerated lock manifest (includes GitHub MCP server container version bump). |
| .github/workflows/agentic-token-audit.lock.yml | Regenerated lock manifest (includes GitHub MCP server container version bump). |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 6/6 changed files
- Comments generated: 0
This was referenced Jun 4, 2026
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.
This update makes the daily ambient context optimizer evaluate whether GitHub
gh-proxyandcli-proxyare enabled in sampled workflows. When they are missing, it now drives recommendations to enable them and rewrites MCP-tool-oriented problem wording into CLI-form instructions.Data collection switched to CLI form
gh awCLI commands so optimizer guidance matches proxy-enabled execution patterns.Feature-readiness review added
tools.github.mode: gh-proxytools.cli-proxy: trueOptimizer workflow now proxy-enabled
tools.github.mode: gh-proxytools.cli-proxy: trueRecommendation policy tightened
Report structure alignment
Branch sync and regeneration
maininto this branch.